Initial
This commit is contained in:
165
static/style.css
Normal file
165
static/style.css
Normal file
@@ -0,0 +1,165 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
html {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
width: 100vw;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
color: #f2f3f2;
|
||||
background-color: #525252;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
margin:auto;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
form {
|
||||
width: 100vw;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
#unitNumber {
|
||||
width: 40vw;
|
||||
font-size: larger;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: larger;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: large;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#formExpansion {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 0.7rem 2rem;
|
||||
}
|
||||
|
||||
#formExpansion h3 {
|
||||
flex-basis: 100%;
|
||||
margin-top: 1.0rem;
|
||||
margin-bottom: 0rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#formExpansion h3:first-of-type {
|
||||
margin-top: 0rem;
|
||||
}
|
||||
|
||||
.checkbox-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
width: 5rem;
|
||||
}
|
||||
|
||||
.checkbox-wrapper input[type="checkbox"] {
|
||||
width: 1.8rem;
|
||||
height: 1.8rem;
|
||||
margin-top: 0rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.checkbox-wrapper label {
|
||||
text-transform: capitalize;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
||||
#formHidden {
|
||||
display: none;
|
||||
width: 100vw;
|
||||
margin: auto;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
#radio-group {
|
||||
width: 90vw;
|
||||
margin:auto;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
#radio-group p {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#radio-group label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 1rem;
|
||||
padding: 0.25rem 0.75rem; /* top/bottom 0.25rem, left/right 0.75rem */
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#radio-group input[type="radio"] {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
#commentsLabel {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
p {
|
||||
width: 90vw;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
button {
|
||||
width: 60px;
|
||||
height: 40px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
#formStatus {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 37.5vh;
|
||||
left: 13vw;
|
||||
width: 74vw;
|
||||
height: 25vh;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
border-radius: 25px;
|
||||
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.status-success {
|
||||
background-color: green;
|
||||
color: whitesmoke;
|
||||
}
|
||||
|
||||
.status-warn {
|
||||
background-color: yellow;
|
||||
color: black;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user