tesla-charge-controller/webapp/style.css

102 lines
1.5 KiB
CSS
Raw Normal View History

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