eesyphp/static/css/app.css

116 lines
1.6 KiB
CSS
Raw Normal View History

2020-04-18 00:51:33 +02:00
/*
* Main interface components
*/
body {
2022-04-24 18:30:02 +02:00
font-family: arial, sans-serif;
color: #606060;
2020-04-18 00:51:33 +02:00
}
main[role="main"] {
2022-04-24 18:30:02 +02:00
margin-top: 1em;
2020-04-18 00:51:33 +02:00
}
a.navbar-brand img {
2022-04-24 18:30:02 +02:00
height: 27px;
2020-04-18 00:51:33 +02:00
}
footer {
font-size: 0.9em;
2020-04-18 00:51:33 +02:00
}
footer div.compute-times {
font-size: 0.6em;
2020-04-18 00:51:33 +02:00
}
/*
* Login form
*/
body.signin {
display: flex;
align-items: center;
padding-top: 40px;
padding-bottom: 40px;
background-color: #f5f5f5;
}
.form-signin {
max-width: 330px;
padding: 15px;
}
.form-signin .form-floating:focus-within {
z-index: 2;
}
.form-signin input[name="username"] {
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.form-signin input[name="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
2020-04-18 00:51:33 +02:00
/*
* Common helpers
*/
.center { text-align: center; }
p { text-align: justify; }
img { max-width: 100%; }
/*
* Messages/errors & fatal errors
*/
.fatal_error_msg {
2022-04-24 18:30:02 +02:00
font-size: 0.8em;
color: #777;
text-align: center;
font-style: italic;
2020-04-18 00:51:33 +02:00
}
.alert p {
2022-04-24 18:30:02 +02:00
text-align: center;
2020-04-18 00:51:33 +02:00
}
/*
* Tables
*/
th a, th a:hover {
2022-04-24 18:30:02 +02:00
color: #000;
text-decoration: none;
}
2020-04-18 00:51:33 +02:00
/*
* Forms
*/
.form-inline .form-control, .form-inline label, .form-inline input, .form-inline select, .form-inline button {
2022-04-24 18:30:02 +02:00
margin-left: 1em!important;
2020-04-18 00:51:33 +02:00
}
label.required::after {
content: " *";
}
.form-error {
2022-04-24 18:30:02 +02:00
color: #dc3545;
2020-04-18 00:51:33 +02:00
}
.invalid-feedback {
2022-04-24 18:30:02 +02:00
display: block;
2020-04-18 00:51:33 +02:00
}
span.form-control-plaintext {
2022-04-24 18:30:02 +02:00
padding-top: calc(.375rem + 1px);
padding-bottom: calc(.375rem + 1px);
margin-bottom: 0;
font-size: inherit;
line-height: 1.5;
2020-04-18 00:51:33 +02:00
}