init
This commit is contained in:
commit
ce1095bb24
27 changed files with 621 additions and 0 deletions
102
app/static/css/styles.css
Normal file
102
app/static/css/styles.css
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 20px;
|
||||
background-color: #f7f7f7;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
form {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
input, select, button {
|
||||
padding: 8px;
|
||||
margin: 5px;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
button {
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
padding: 10px 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button.green {
|
||||
background-color: #4CAF50;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button.red {
|
||||
background-color: #e53935;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button.orange {
|
||||
background-color: orange;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.fahrer-eintrag {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.licht {
|
||||
display: inline-block;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin: 10px;
|
||||
border-radius: 50%;
|
||||
background-color: grey;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.licht.rot.aktiv {
|
||||
background-color: red;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.licht.gruen {
|
||||
background-color: green !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(10, 10, 10, 0.9);
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
color: white;
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
.ampel-klein {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 10px auto;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.ergebnis {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.fahrerbox {
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
color: white;
|
||||
flex: 1 1 200px;
|
||||
}
|
||||
Reference in a new issue