WebLDAPPasswd/src/static/webldappasswd.css

130 lines
2.3 KiB
CSS

/*
Copyright (c) 2021, Philipp Matthias Schäfer (philipp.matthias.schaefer@posteo.de)
This file is part of the WebLDAPPasswd application.
The WebLDAPPasswd application is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License or (at your
option) any later version.
The WebLDAPPasswd application is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
for more details.
You should have received a copy of the GNU General Affero Public License along
with the WebLDAPPasswd. If not, see <https://www.gnu.org/licenses/>.
*/
* {
box-sizing: border-box;
}
body {
margin: 0px;
display: grid;
grid-template-columns: 1fr;
justify-items: center;
font-size: 18pt;
font-family: sans-serif;
}
body * {
width: 720px;
}
h1 {
text-align: center;
}
form {
display: grid;
grid-template-columns: 1fr;
}
input {
height: 2em;
padding: 0.25em 0.5em;
border: 2px solid black;
background-color: #fff;
font-family: inherit;
font-size: 18pt;
line-height: 1;
}
button:focus, button:hover, input:focus, input:hover {
box-shadow: 0px 0px 0px 2px #707070;
}
button:focus, input:focus {
border-color: #000000;
outline: 3px solid transparent;
}
button {
height: 2em;
padding: 0.25em 0.5em;
justify-self: center;
background-color: #fff;
border: 2px solid black;
font-family: inherit;
font-size: 18pt;
line-height: 1;
}
button:active {
transform: scale(0.9);
}
button:disabled {
color: #707070;
transform: scale(1);
box-shadow: none;
outline: none;
border-color: #707070;
}
label, button, a {
margin-top: 1em;
margin-bottom: 0.2em;
}
a {
color: black;
font-size: 80%;
}
#modal {
display: none;
margin: 0px;
position: absolute;
z-index: 32767;
background: white;
height: 100%;
width: 100%;
border: 10px solid rgba(0, 0, 0, 0.5);
flex-direction: column;
justify-content: center;
align-items: center;
}
#modal span {
display: flex;
align-items: center;
}
#modal span img {
height: 2em;
width: 2em;
}