lumini_p30_control/firmware/html/style.css

107 lines
1.8 KiB
CSS
Raw Normal View History

/* Vereinheitlichter Look */
body {
2023-05-22 15:40:31 +02:00
font-family: Arial, sans-serif;
}
/* Gemeinsame Regeln für die Tabs */
#tab-lights,
#tab-config,
#tab-tde {
2023-05-22 15:40:31 +02:00
display: none;
background-color: #ffffff;
color: black;
font-weight: bold;
padding: 10px;
border-radius: 3px;
2023-05-05 10:22:52 +02:00
}
/* Sichtbarkeitsregeln für die Tabs */
#tab-lights.visible,
#tab-config.visible,
2023-05-05 10:22:52 +02:00
#tab-tde.visible {
2023-05-22 15:40:31 +02:00
display: block;
2023-05-05 10:22:52 +02:00
}
/* Gemeinsame Regeln für Tabellenzellen */
2023-05-05 10:22:52 +02:00
.pure-table td {
2023-05-22 15:40:31 +02:00
padding: 4px;
vertical-align: top;
/* Hinzugefügt: vertikale Ausrichtung oben */
2023-05-05 10:22:52 +02:00
}
/* Stil für Formularelemente */
2023-05-05 10:22:52 +02:00
.pure-form input[type="number"] {
2023-05-22 15:40:31 +02:00
width: 60px;
height: 20px;
border-radius: 3px;
border: 1px solid #ccc;
2023-05-05 10:22:52 +02:00
}
2023-05-05 10:22:52 +02:00
.pure-form select {
2023-05-22 15:40:31 +02:00
width: 80px;
height: 26px;
border-radius: 3px;
border: 1px solid #ccc;
background-color: #fff;
2023-05-05 10:22:52 +02:00
}
/* Stil für Buttons */
2023-05-05 10:22:52 +02:00
.pure-button {
2023-05-22 15:40:31 +02:00
background-color: #5a5a5a;
color: #fff;
border-radius: 3px;
border: none;
padding: 8px 12px;
font-size: 14px;
cursor: pointer;
2023-05-05 10:22:52 +02:00
}
2023-05-05 10:22:52 +02:00
.pure-button:hover {
2023-05-22 15:40:31 +02:00
background-color: #333;
2023-05-07 16:13:26 +02:00
}
/* Stil für die Toast-Nachrichten */
.toast {
2023-05-22 15:40:31 +02:00
position: fixed;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
padding: 10px;
border-radius: 5px;
color: #fff;
font-size: 16px;
font-weight: bold;
text-align: center;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.toast.success {
2023-05-22 15:40:31 +02:00
background-color: #4caf50;
}
.toast.error {
2023-05-22 15:40:31 +02:00
background-color: #f44336;
}
/* Stil für den Range-Slider */
input[type=range] {
2023-05-22 15:40:31 +02:00
-webkit-appearance: none;
width: 70%;
height: 7px;
margin: 4px 0;
background-color: #ddd;
}
input[type=range]:focus {
2023-05-22 15:40:31 +02:00
outline: none;
}
/* Spezifischer Stil für Elemente mit ID, die mit "bri" beginnen */
[id^="bri"] {
2023-05-22 15:40:31 +02:00
width: 50%;
}
2023-05-22 15:40:31 +02:00
.top-align {
vertical-align: top;
}