WLED/wled00/data/style.css

182 lines
2.7 KiB
CSS
Raw Permalink Normal View History

2021-12-08 10:00:31 +01:00
html {
touch-action: manipulation;
}
2020-05-17 20:09:39 +02:00
body {
font-family: Verdana, sans-serif;
2021-12-08 10:00:31 +01:00
font-size: 1rem;
2020-05-17 20:09:39 +02:00
text-align: center;
background: #222;
color: #fff;
2021-12-08 10:00:31 +01:00
line-height: 200%;
2020-05-17 20:09:39 +02:00
margin: 0;
}
hr {
border-color: #666;
}
a, a:hover {
2021-11-24 12:38:54 +01:00
color: #28f;
text-decoration: none;
}
button, .btn {
2020-05-17 20:09:39 +02:00
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;
text-decoration: none;
2020-05-17 20:09:39 +02:00
}
2021-12-25 18:46:43 +01:00
button.sml {
padding: 8px;
border-radius: 20px;
font-size: 15px;
min-width: 40px;
margin: 0 0 0 10px;
}
.toprow {
top: 0;
position: sticky;
background-color:#222;
z-index:1;
}
.lnk {
border: 0;
}
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;
}
2021-10-03 20:48:08 +02:00
input:disabled {
color: #888;
}
2021-12-08 10:00:31 +01:00
input[type="text"],
input[type="number"],
select {
font-size: medium;
2022-01-23 11:43:39 +01:00
margin: 2px;
}
2020-05-17 20:09:39 +02:00
input[type="number"] {
width: 4em;
}
input[type="number"].xxl {
width: 100px;
}
2021-07-01 00:01:27 +02:00
input[type="number"].xl {
width: 85px;
}
2021-07-01 00:01:27 +02:00
input[type="number"].l {
2021-10-11 17:55:26 +02:00
width: 64px;
2021-06-30 21:53:22 +02:00
}
2021-07-01 00:01:27 +02:00
input[type="number"].m {
2021-10-11 17:55:26 +02:00
width: 56px;
}
2021-07-01 00:01:27 +02:00
input[type="number"].s {
2021-10-11 17:55:26 +02:00
width: 48px;
2021-06-30 21:53:22 +02:00
}
2021-07-01 00:01:27 +02:00
input[type="number"].xs {
2021-10-11 17:55:26 +02:00
width: 40px;
}
input[type="checkbox"] {
2021-06-27 22:19:03 +02:00
transform: scale(1.5);
margin-right: 10px;
2020-05-17 20:09:39 +02:00
}
2022-01-01 16:36:06 +01:00
td input[type="checkbox"] {
margin-right: revert;
2020-05-17 20:09:39 +02:00
}
input[type=file] {
font-size: 16px
}
2020-05-17 20:09:39 +02:00
select {
2021-12-08 10:00:31 +01:00
margin: 2px;
2020-05-17 20:09:39 +02:00
background: #333;
color: #fff;
font-family: Verdana, sans-serif;
border: 0.5ch solid #333;
}
2021-12-25 18:46:43 +01:00
tr {
line-height: 100%;
}
2020-05-17 20:09:39 +02:00
td {
padding: 2px;
}
.d5 {
width: 4rem !important;
2020-05-17 20:09:39 +02:00
}
2022-01-01 16:36:06 +01:00
.cal {
font-size:1.5rem;
cursor:pointer
}
#TMT table {
width: 100%;
2021-12-25 18:46:43 +01:00
}
#msg {
display: none;
}
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;
2021-12-08 10:00:31 +01:00
transform: translateX(-50%);
max-width: 90%;
left: 50%;
2021-06-04 23:08:30 +02:00
}
#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;
}
2021-12-08 10:00:31 +01:00
@media screen and (max-width: 767px) {
input[type="text"],
input[type="file"],
2021-12-08 10:00:31 +01:00
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"] {
font-size: 16px;
}
}
@media screen and (max-width: 480px) {
input[type="number"].s {
width: 40px;
}
input[type="number"].xs {
width: 32px;
}
input[type="file"] {
width: 224px;
}
#btns select {
width: 144px;
}
2021-12-08 10:00:31 +01:00
}