SpaceApper/options/options.css

97 lines
1.5 KiB
CSS
Raw Permalink Normal View History

2024-12-10 19:54:24 +01:00
:root {
--c-text: #000;
--c-background: #fff;
--c-btn-background: #e7e7e7;
@media (prefers-color-scheme: dark) {
--c-text: #fff;
--c-background: #27272a;
--c-btn-background: #555;
}
}
2024-07-28 23:22:45 +02:00
html {
2024-12-10 19:54:24 +01:00
background-color: var(--c-background);
2024-07-28 23:22:45 +02:00
font-family: sans-serif;
2024-12-10 19:54:24 +01:00
box-sizing: content-box;
margin: 0;
height: 100%;
}
body {
box-sizing: content-box;
margin: 0;
height: 100%;
}
form {
box-sizing: content-box;
height: 100%;
margin: 0;
2024-07-28 23:22:45 +02:00
}
button {
2024-12-10 19:54:24 +01:00
color: var(--c-text);
background-color: var(--c-btn-background);
2024-07-28 23:22:45 +02:00
border-radius: 5px;
border: none;
padding: 5px 10px;
box-shadow: none;
}
.btn-primary {
color: #fff;
background-color: #7a01d0;
}
#spaces {
2024-12-10 19:54:24 +01:00
color: var(--c-text);
2024-07-28 23:22:45 +02:00
width: 100%;
border-collapse: collapse;
}
#spaces td {
border-bottom: 1px solid #999;
border-top: 1px solid #999;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}
#spaces td:first-of-type {
border-left: none;
}
#spaces td:last-of-type {
border-right: none;
}
#spaces thead td {
font-weight: bold;
padding: 10px;
}
#spaces tbody input {
2024-12-10 19:54:24 +01:00
background-color: var(--c-background);
2024-07-28 23:22:45 +02:00
border: none;
2024-12-10 19:54:24 +01:00
color: var(--c-text);
2024-07-28 23:22:45 +02:00
height: 100%;
width: 100%;
font-size: inherit;
padding: 10px;
box-sizing: border-box;
}
#spaces tbody button {
margin: 10px;
}
#actions {
width: 100%;
margin: 10px 0;
text-align: right;
}
#actions button:first-of-type {
margin-right: 5px;
}