cas-eleves/cas_eleves/static/css/cas-eleves.css

254 lines
4.3 KiB
CSS

body {
align-items: stretch;
background-color: #f5f5f5;
color: #4a4a4a;
display: flex;
flex-direction: column;
font-family:
BlinkMacSystemFont,
-apple-system,
"Segoe UI",
Roboto,
Oxygen,
Ubuntu,
Cantarell,
"Fira Sans",
"Droid Sans",
"Helvetica Neue",
Helvetica,
Arial,
sans-serif;
font-size: 1em;
font-weight: 400;
justify-content: space-between;
line-height: 1.5;
min-height: 100vh;
margin: 0;
position: relative;
text-align: center;
width: auto;
}
a {
color: #485fc7;
cursor: pointer;
text-decoration: none;
}
hr {
background-color: rgb(243, 244, 246);
margin: 1.5rem 0;
border: none;
display: block;
height: 2px;
}
header {
padding: 1.5rem 0;
}
img {
margin: auto;
height: auto;
max-width: 100%;
}
h1 {
color: #363636;
font-size: 2rem;
font-weight: 600;
line-height: 1.125;
margin-top: 3rem;
margin-bottom: 0;
}
h2 {
font-size: 1.5rem;
font-weight: 400;
margin-top: 0.5rem;
margin-bottom: 0;
}
footer {
background-color: #fafafa;
display: block;
padding: 3rem 1.5rem 6rem;
margin-top: 1.5rem;
}
main {
max-width: 500px;
margin: auto;
margin-top: 4rem;
}
.box {
background-color: #fff;
border-radius: 0.75rem;
box-shadow:
0 0.5em 1em -0.125em hsla(221deg, 14%, 4%, 0.1),
0 0px 0 1px hsla(221deg, 14%, 4%, 0.02);
padding: 1.25rem;
}
.box > h2 {
margin-top: 0;
font-size: 1.25rem;
}
form {
text-align: left;
}
label {
color: #363636;
display: block;
font-size: 1rem;
font-weight: 700;
margin-bottom: 0.5em;
}
label.checkbox {
cursor: pointer;
}
input[type="checkbox"] {
margin-right: 0.5em;
}
input:not([type="checkbox"]) {
-moz-appearance: none;
-webkit-appearance: none;
align-items: center;
appearance: none;
background-color: #fff;
border-radius: 4px;
border: 1px solid;
border-color: #dbdbdb;
box-shadow: inset 0 0.0625em 0.125em rgba(10, 10, 10, 0.05);
box-shadow: none;
box-sizing: border-box;
color: #363636;
display: inline-flex;
font-size: 1rem;
font-size: 1rem;
height: 2.5em;
justify-content: flex-start;
line-height: 1.5;
max-width: 100%;
padding-bottom: calc(0.5em - 1px);
padding-left: calc(0.75em - 1px);
padding-right: calc(0.75em - 1px);
padding-top: calc(0.5em - 1px);
position: relative;
vertical-align: top;
width: 100%;
}
input::placeholder {
color: rgba(54, 54, 54, 0.3);
}
input:not(:last-child) {
margin-bottom: 0.75rem;
}
input:hover,
select:hover {
border-color: #b5b5b5;
}
input:active,
input:focus {
border-color: rgb(66, 88, 255);
box-shadow: 0 0 0 0.125em rgba(72, 95, 199, 0.25);
outline: 0;
}
.help {
display: block;
font-size: 0.75rem;
margin-top: 0.25rem;
margin-bottom: 0.75rem;
}
button {
-moz-appearance: none;
-webkit-appearance: none;
align-items: center;
background-color: #fff;
border: 1px solid transparent;
border-color: #dbdbdb;
border-radius: 4px;
border-width: 1px;
box-shadow:
rgba(51, 51, 51, 0.05) 0px 1px 2px 0px,
rgba(51, 51, 51, 0.05) 0px 2px 4px 0px;
color: #363636;
cursor: pointer;
display: flex;
font-size: 1rem;
height: 2.5em;
justify-content: center;
line-height: 1.5;
margin: 0;
padding-bottom: calc(0.5em - 1px);
padding-left: 1em;
padding-right: 1em;
padding-top: calc(0.5em - 1px);
position: relative;
text-align: center;
user-select: none;
white-space: nowrap;
width: 100%;
}
button:hover {
border-color: #b5b5b5;
background-color: rgb(226, 228, 233);
color: #363636;
}
button:active {
background-color: rgb(240, 241, 244);
border-color: #4a4a4a;
color: #363636;
}
button:focus {
border-color: #485fc7;
color: #363636;
}
button:focus:not(:active) {
box-shadow: 0 0 0 0.125em rgba(72, 95, 199, 0.25);
}
/* Notifications */
.warning {
background-color: rgb(255, 240, 204);
border-radius: 0.375rem;
color: rgb(66, 46, 0);
margin-bottom: 1.5rem;
padding: 1.375em 1.5em;
text-align: justify;
}
.error {
background-color: rgb(255, 102, 133);
border-radius: 0.375rem;
color: rgb(26, 0, 5);
margin-bottom: 1.5rem;
padding: 1.375em 1.5em;
text-align: justify;
}
.success {
background-color: rgb(216, 243, 231);
border-radius: 0.375rem;
color: rgb(22, 70, 48);
margin: 0;
padding: 1.375em 1.5em;
text-align: justify;
}