cas-eleves/customize_cas/static/css/style.css

248 lines
5 KiB
CSS
Raw Permalink Normal View History

2020-03-24 12:12:58 +01:00
@import url(fonts.css);
form {
display: flex;
align-items: stretch;
flex-direction: column; }
form .errorlist {
list-style-type: none;
margin: 0;
padding: 0;
font-size: 0.7em; }
form .errorlist li {
border-radius: 10px;
padding: 10px;
border: 1px solid #ff7979;
background-color: #ffdfdf;
color: #000000dd;
margin-bottom: 10px; }
form p {
margin: 5px 0;
width: 100%; }
.helptext {
font-size: 0.7em;
color: rgba(0, 0, 0, 0.65); }
input {
display: block;
width: 100%;
font: inherit;
font-size: 0.9em;
color: black; }
input[type="text"],
input[type="email"],
input[type="password"] {
background-color: white;
border: solid 1px rgba(0, 0, 0, 0.65);
padding: 5px 10px;
border-radius: 3px;
box-shadow: none; }
input[type="text"]:optional,
input[type="email"]:optional,
input[type="password"]:optional {
border-color: rgba(0, 0, 0, 0.4); }
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
border-color: #3c173d;
box-shadow: 0 0 1.5px 1px #3c173d; }
input[type="text"]:-moz-ui-invalid,
input[type="email"]:-moz-ui-invalid,
input[type="password"]:-moz-ui-invalid {
border-color: #ff7979;
box-shadow: 0 0 1.5px 1px #ff7979; }
input[type="checkbox"],
input[type="radio"] {
width: auto;
margin: 5px 10px; }
input[type="submit"] {
display: block;
text-decoration: none;
text-align: center;
font-size: 100%;
border-radius: 10px;
padding: 10px;
border: 1px solid #3c173d;
background-color: #d2bed3;
color: #000000dd; }
input[type="submit"]:hover {
background-color: #bda0be; }
input[type="submit"]:focus {
background-color: #a881aa;
box-shadow: 0 0 1.5px 1px #3c173d; }
.formfield {
padding: 5px;
margin: 10px 0; }
.error_field {
border-radius: 10px;
background-color: rgba(255, 223, 223, 0.4); }
.checkbox_input {
display: flex;
justify-content: space-evenly;
align-items: center; }
.checkbox_input .label_line {
order: 1;
flex: 1 1 500px; }
.checkbox_input input {
flex: 0 1 50px; }
.fieldgroup {
margin: 15px 0; }
html {
box-sizing: border-box; }
*, *:before, *:after {
box-sizing: inherit; }
body {
background-color: #f5f1f4;
font-size: 16pt;
font-family: "Open Sans";
color: #000000dd;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh; }
2020-03-24 15:38:37 +01:00
@media (max-width: 750px) {
body {
font-size: 12pt; } }
@media (max-width: 500px) {
body {
font-size: 11pt;
display: flex;
align-items: center;
justify-content: space-evenly; } }
2020-03-24 12:12:58 +01:00
header {
display: flex;
justify-content: space-between;
align-items: stretch;
margin: 0;
margin-bottom: 50px;
padding: 20px 30px;
padding-bottom: 0;
width: 700px; }
2020-03-24 15:38:37 +01:00
@media (max-width: 750px) {
header {
width: 450px; } }
@media (max-width: 500px) {
header {
display: none; } }
2020-03-24 12:12:58 +01:00
header #headtext {
display: flex;
flex-direction: column;
align-items: end;
justify-content: space-evenly;
font-size: 1.2em;
color: #3c173d;
font-weight: bold; }
2020-03-24 15:38:37 +01:00
.logo {
height: 100px;
max-width: 300px; }
#ens_logo_foot {
display: none; }
@media (max-width: 500px) {
#ens_logo_foot {
display: block;
margin: 30px; } }
2020-03-24 12:12:58 +01:00
main {
background-color: #ffffff;
border: 3px solid #3c173d;
border-radius: 20px;
2020-03-24 15:38:37 +01:00
padding: 15px;
width: 700px; }
@media (max-width: 750px) {
main {
width: 450px; } }
@media (max-width: 500px) {
main {
width: 90%; } }
2020-03-24 12:12:58 +01:00
main h2 {
2020-03-24 15:38:37 +01:00
font-size: 1.2em;
2020-03-24 12:12:58 +01:00
text-align: center;
color: #3c173d; }
2020-03-24 15:38:37 +01:00
@media (max-width: 500px) {
main h2 {
font-size: 1.1em; } }
2020-03-24 12:12:58 +01:00
a {
text-decoration: underline;
color: #3c173d;
border-radius: 3px; }
a:hover {
color: black; }
:focus {
outline: none;
box-shadow: 0 0 1.5px 1px #3c173d; }
::-moz-focus-inner {
border: none; }
button, .btn_row a {
display: block;
text-decoration: none;
text-align: center;
font-size: 100%;
border-radius: 10px;
padding: 10px;
border: 1px solid #3c173d;
background-color: #d2bed3;
color: #000000dd;
margin: 10px 5px; }
button:hover, .btn_row a:hover {
background-color: #bda0be; }
button:focus, .btn_row a:focus {
background-color: #a881aa;
box-shadow: 0 0 1.5px 1px #3c173d; }
button p, .btn_row a p {
margin: 0; }
.messages {
list-style-type: none;
margin: 10px 0;
padding: 0;
font-size: 0.8em; }
.messages li {
margin: 8px 0; }
.error {
border-radius: 10px;
padding: 10px;
border: 1px solid #ff7979;
background-color: #ffdfdf;
color: #000000dd; }
.info {
border-radius: 10px;
padding: 10px;
border: 1px solid #6562ff;
background-color: #c9c8ff;
color: #000000dd; }
.warning {
border-radius: 10px;
padding: 10px;
border: 1px solid #ffb406;
background-color: #ffd36c;
color: #000000dd; }
.success {
border-radius: 10px;
padding: 10px;
border: 1px solid #7af733;
background-color: #bafb95;
color: #000000dd; }
.antispam {
unicode-bidi: bidi-override;
direction: rtl; }