Move inline CSS to layout.css

This commit is contained in:
Alexandre Iooss 2022-03-11 18:22:29 +01:00
parent 5973612776
commit 3a0e08f3f5
6 changed files with 58 additions and 50 deletions

37
photo21/static/layout.css Normal file
View file

@ -0,0 +1,37 @@
/* Login view */
.login {
max-width: 35rem;
}
.login .asteriskField {
display: none;
}
.login .form-group {
margin-top: 0.5em;
}
/* Upload view */
.upload-drop-zone {
height: 10em;
line-height: 10em;
border-width: 2px;
color: #a3a3a3;
border-style: dashed;
border-color: #a3a3a3;
border-radius: 0.5em;
text-align: center;
margin-bottom: 0.5em;
}
.upload-drop-zone.drop {
color: #222;
border-color: #222;
background-color: rgba(163, 163, 163, 0.274);
}
/* Language selector */
.lang-select {
border: none;
background: none;
color: inherit;
cursor: pointer;
text-decoration: underline;
}