Ship the Go/SQLite API and Web UI, Chrome/Brave capture addon, Docker Compose, Pangolin reverse-proxy support, and a user-crontab watchdog so the binary stays running without systemd.
135 lines
1.8 KiB
CSS
135 lines
1.8 KiB
CSS
body {
|
|
width: 320px;
|
|
margin: 0;
|
|
padding: 14px;
|
|
font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
|
|
background: #121820;
|
|
color: #e8eef4;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 1.25rem;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.sub {
|
|
margin: 0.2rem 0 1rem;
|
|
color: #8b98a5;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.3rem;
|
|
margin-bottom: 0.7rem;
|
|
font-size: 0.8rem;
|
|
color: #8b98a5;
|
|
}
|
|
|
|
input {
|
|
padding: 0.45rem 0.55rem;
|
|
border-radius: 6px;
|
|
border: 1px solid #2c3640;
|
|
background: #0f1419;
|
|
color: #e8eef4;
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
padding: 0.55rem 0.7rem;
|
|
background: #ff4500;
|
|
color: #fff;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button.secondary {
|
|
background: #2c3640;
|
|
margin-top: 0.6rem;
|
|
}
|
|
|
|
.error {
|
|
color: #ff8f8f;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
a {
|
|
color: #4a9eff;
|
|
}
|
|
|
|
.muted {
|
|
color: #8b98a5;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.blocklist {
|
|
margin: 1rem 0 0.5rem;
|
|
padding-top: 0.75rem;
|
|
border-top: 1px solid #2c3640;
|
|
}
|
|
|
|
.blocklist h2 {
|
|
margin: 0 0 0.25rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.blocklist .hint {
|
|
margin: 0 0 0.6rem;
|
|
color: #8b98a5;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.blocklist-add {
|
|
display: flex;
|
|
gap: 0.4rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.blocklist-add input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.blocklist-add button {
|
|
width: auto;
|
|
padding: 0.45rem 0.7rem;
|
|
}
|
|
|
|
.blocklist-items {
|
|
list-style: none;
|
|
margin: 0.4rem 0 0;
|
|
padding: 0;
|
|
max-height: 160px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.blocklist-items li {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
padding: 0.35rem 0;
|
|
border-bottom: 1px solid #1c2430;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.blocklist-items button.remove {
|
|
width: auto;
|
|
padding: 0.25rem 0.5rem;
|
|
background: #2c3640;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
#blocklistStatus {
|
|
margin: 0.25rem 0;
|
|
}
|
|
|
|
#blocklistStatus.error {
|
|
color: #ff8f8f;
|
|
}
|
|
|