eesyphp/static/css/app.css

126 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;
}
2020-04-18 00:51:33 +02:00
p {
text-align: justify;
}
2020-04-18 00:51:33 +02:00
img {
max-width: 100%;
}
2020-04-18 00:51:33 +02:00
/*
* 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 {
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 {
margin-left: 1em !important;
2020-04-18 00:51:33 +02:00
}
label.required::after {
content: " *";
2020-04-18 00:51:33 +02:00
}
.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 {
padding-top: calc(0.375rem + 1px);
padding-bottom: calc(0.375rem + 1px);
2022-04-24 18:30:02 +02:00
margin-bottom: 0;
font-size: inherit;
line-height: 1.5;
2020-04-18 00:51:33 +02:00
}