CSS code formatiert.
This commit is contained in:
parent
69ebdda269
commit
41fbb999a7
1 changed files with 53 additions and 47 deletions
|
@ -1,101 +1,107 @@
|
||||||
/* Vereinheitlichter Look */
|
/* Vereinheitlichter Look */
|
||||||
body {
|
body {
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Gemeinsame Regeln für die Tabs */
|
/* Gemeinsame Regeln für die Tabs */
|
||||||
#tab-lights,
|
#tab-lights,
|
||||||
#tab-config,
|
#tab-config,
|
||||||
#tab-tde {
|
#tab-tde {
|
||||||
display: none;
|
display: none;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
color: black;
|
color: black;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sichtbarkeitsregeln für die Tabs */
|
/* Sichtbarkeitsregeln für die Tabs */
|
||||||
#tab-lights.visible,
|
#tab-lights.visible,
|
||||||
#tab-config.visible,
|
#tab-config.visible,
|
||||||
#tab-tde.visible {
|
#tab-tde.visible {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Gemeinsame Regeln für Tabellenzellen */
|
/* Gemeinsame Regeln für Tabellenzellen */
|
||||||
.pure-table td {
|
.pure-table td {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
|
vertical-align: top;
|
||||||
|
/* Hinzugefügt: vertikale Ausrichtung oben */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Stil für Formularelemente */
|
/* Stil für Formularelemente */
|
||||||
.pure-form input[type="number"] {
|
.pure-form input[type="number"] {
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pure-form select {
|
.pure-form select {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Stil für Buttons */
|
/* Stil für Buttons */
|
||||||
.pure-button {
|
.pure-button {
|
||||||
background-color: #5a5a5a;
|
background-color: #5a5a5a;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pure-button:hover {
|
.pure-button:hover {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Stil für die Toast-Nachrichten */
|
/* Stil für die Toast-Nachrichten */
|
||||||
.toast {
|
.toast {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.5s ease-in-out;
|
transition: opacity 0.5s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toast.success {
|
.toast.success {
|
||||||
background-color: #4caf50;
|
background-color: #4caf50;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toast.error {
|
.toast.error {
|
||||||
background-color: #f44336;
|
background-color: #f44336;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Stil für den Range-Slider */
|
/* Stil für den Range-Slider */
|
||||||
input[type=range] {
|
input[type=range] {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
width: 70%;
|
width: 70%;
|
||||||
height: 7px;
|
height: 7px;
|
||||||
margin: 4px 0;
|
margin: 4px 0;
|
||||||
background-color: #ddd;
|
background-color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=range]:focus {
|
input[type=range]:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Spezifischer Stil für Elemente mit ID, die mit "bri" beginnen */
|
/* Spezifischer Stil für Elemente mit ID, die mit "bri" beginnen */
|
||||||
[id^="bri"] {
|
[id^="bri"] {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-align {
|
||||||
|
vertical-align: top;
|
||||||
}
|
}
|
Loading…
Reference in a new issue