tesla-charge-controller/webapp/style.css

93 lines
1.3 KiB
CSS
Raw Normal View History

2024-01-23 10:40:56 +11:00
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
2024-01-23 14:03:03 +11:00
background-color: #333;
2024-01-23 14:17:55 +11:00
color: #333;
2024-01-23 10:40:56 +11:00
}
.container {
max-width: 40em;
margin: auto;
padding: 0.5em 2em;
border-radius: 10px;
2024-01-23 14:03:03 +11:00
background-color: #faf9fd;
2024-01-23 10:40:56 +11:00
}
.outlink {
display: block;
font-weight: bold;
margin-top: 0.5em;
}
a.outlink {
text-decoration: none;
color: rgb(52, 52, 246);
}
a.outlink:hover {
2024-01-23 14:17:55 +11:00
color: rgb(110, 100, 255);
2024-01-23 10:40:56 +11:00
}
.loading,
.loading * {
cursor: progress;
}
.disabled,
.disabled * {
cursor: not-allowed;
}
.selector {
padding: 1em;
background-color: gray;
2024-01-23 14:17:55 +11:00
color: #333;
2024-01-23 10:40:56 +11:00
width: max-content;
border: 0.2em;
border-radius: 6px;
}
label {
padding: 0.5em 1em;
margin: 0.5em;
font-weight: bold;
transition: all .2s 0s ease;
border-radius: 4px;
text-align: center;
}
input[type=radio] {
display: none;
}
input[type=radio]:checked+label {
background-color: white;
}
input[type=radio]:checked:disabled+label {
background-color: #ddd;
}
input[type=radio]:disabled+label {
color: #666;
2024-01-23 14:17:55 +11:00
}
@media (prefers-color-scheme: dark) {
body {
background-color: #222;
}
.container {
background-color: #444;
color: #f0f0f0;
}
a.outlink {
text-decoration: none;
color: rgb(94, 94, 252);
}
a.outlink:hover {
color: rgb(130, 120, 255);
}
2024-01-23 10:40:56 +11:00
}