WLED/wled00/data/style.css

107 lines
1.9 KiB
CSS
Raw Normal View History

2020-05-17 20:09:39 +02:00
body {
font-family: Verdana, sans-serif;
text-align: center;
background: #222;
color: #fff;
2021-06-06 20:36:19 +02:00
line-height: 200%%; /* %% because of AsyncWebServer */
2020-05-17 20:09:39 +02:00
margin: 0;
}
hr {
border-color: #666;
}
button {
background: #333;
color: #fff;
font-family: Verdana, sans-serif;
border: 0.3ch solid #333;
border-radius: 24px;
2020-05-17 20:09:39 +02:00
display: inline-block;
font-size: 20px;
margin: 12px 8px 8px;
padding: 8px 12px;
min-width: 48px;
2021-04-03 00:15:28 +02:00
cursor: pointer;
2020-05-17 20:09:39 +02:00
}
.toprow {
top: 0;
position: sticky;
background-color:#222;
z-index:1;
}
2020-05-17 20:09:39 +02:00
.helpB {
text-align: left;
position: absolute;
width: 60px;
}
input {
background: #333;
color: #fff;
font-family: Verdana, sans-serif;
border: 0.5ch solid #333;
}
input[type="number"] {
width: 4em;
font-size: medium;
margin: 2px;
}
input[type="number"].big {
width: 80px;
}
input[type="number"].small {
width: 40px;
}
select {
margin: 2px;
font-size: medium;
}
input[type="checkbox"] {
/* Double-sized Checkboxes */
-ms-transform: scale(2); /* IE */
-moz-transform: scale(2); /* FF */
-webkit-transform: scale(2); /* Safari and Chrome */
-o-transform: scale(2); /* Opera */
transform: scale(2);
margin-right: 10px;
2020-05-17 20:09:39 +02:00
}
select {
background: #333;
color: #fff;
font-family: Verdana, sans-serif;
border: 0.5ch solid #333;
}
td {
padding: 2px;
}
.d5 {
width: 4.5em !important;
}
2021-06-04 23:08:30 +02:00
#toast {
opacity: 0;
background-color: #444;
border-radius: 5px;
bottom: 64px;
color: #fff;
font-size: 17px;
padding: 16px;
pointer-events: none;
position: fixed;
text-align: center;
z-index: 5;
transform: translateX(-50%%); /* %% because of AsyncWebServer */
max-width: 90%%; /* %% because of AsyncWebServer */
left: 50%%; /* %% because of AsyncWebServer */
}
#toast.show {
opacity: 1;
background-color: #264;
animation: fadein 0.5s, fadein 0.5s 2.5s reverse;
}
#toast.error {
opacity: 1;
background-color: #b21;
animation: fadein 0.5s;
}