709 lines
12 KiB
CSS
709 lines
12 KiB
CSS
:root {
|
|
color-scheme: light dark;
|
|
--bg: #f6f7f9;
|
|
--surface: #ffffff;
|
|
--surface-2: #f0f2f5;
|
|
--border: #e1e4ea;
|
|
--text: #1b1f27;
|
|
--muted: #5f6878;
|
|
--faint: #8a93a3;
|
|
--accent: #2f6fed;
|
|
--accent-soft: #e7eefe;
|
|
--good: #1f8a4c;
|
|
--good-soft: #e3f4ea;
|
|
--warn: #9a6400;
|
|
--warn-soft: #fbf0d9;
|
|
--bad: #b3261e;
|
|
--bad-soft: #fbe6e4;
|
|
--shadow: 0 10px 30px rgba(20, 28, 45, 0.12);
|
|
--radius: 10px;
|
|
--mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;
|
|
--sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--bg: #0f1216;
|
|
--surface: #161a20;
|
|
--surface-2: #1d222a;
|
|
--border: #2a303a;
|
|
--text: #e6e9ef;
|
|
--muted: #a0a8b6;
|
|
--faint: #737c8c;
|
|
--accent: #6e9bff;
|
|
--accent-soft: #1c2740;
|
|
--good: #5fcf8e;
|
|
--good-soft: #15291e;
|
|
--warn: #e8b457;
|
|
--warn-soft: #2d2413;
|
|
--bad: #f28b82;
|
|
--bad-soft: #321a19;
|
|
--shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
|
|
}
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Elements with their own display value must still honour the hidden attribute. */
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font: 15px/1.45 var(--sans);
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select {
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
a {
|
|
color: var(--accent);
|
|
}
|
|
|
|
svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 2;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
flex: none;
|
|
}
|
|
|
|
.visually-hidden {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* --- Top bar ----------------------------------------------------------- */
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
padding: 14px 24px;
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-weight: 650;
|
|
color: var(--text);
|
|
text-decoration: none;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 6px;
|
|
background:
|
|
linear-gradient(var(--surface), var(--surface)) 5px 6px / 12px 2px no-repeat,
|
|
linear-gradient(var(--surface), var(--surface)) 5px 10px / 12px 2px no-repeat,
|
|
linear-gradient(var(--surface), var(--surface)) 5px 14px / 8px 2px no-repeat,
|
|
var(--accent);
|
|
}
|
|
|
|
.stats {
|
|
display: flex;
|
|
gap: 22px;
|
|
margin: 0;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.stats div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.stats dt {
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
color: var(--faint);
|
|
}
|
|
|
|
.stats dd {
|
|
margin: 0;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* --- Search ------------------------------------------------------------ */
|
|
|
|
.layout {
|
|
max-width: 1180px;
|
|
margin: 0 auto;
|
|
padding: 22px 24px 60px;
|
|
}
|
|
|
|
.search-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.search-box {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 0 14px;
|
|
height: 48px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--muted);
|
|
transition: border-color 0.15s, box-shadow 0.15s;
|
|
}
|
|
|
|
.search-box:focus-within {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px var(--accent-soft);
|
|
}
|
|
|
|
.search-box input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
font-size: 16px;
|
|
color: var(--text);
|
|
}
|
|
|
|
kbd {
|
|
font: 12px var(--mono);
|
|
padding: 1px 6px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 5px;
|
|
color: var(--faint);
|
|
}
|
|
|
|
.select select {
|
|
height: 48px;
|
|
padding: 0 34px 0 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--surface)
|
|
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
|
|
no-repeat right 10px center / 16px;
|
|
appearance: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.select-small select {
|
|
height: 32px;
|
|
border-radius: 999px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.filters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
height: 32px;
|
|
padding: 0 13px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
background: var(--surface);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.chip[aria-pressed='true'],
|
|
.chip-active {
|
|
border-color: var(--accent);
|
|
background: var(--accent-soft);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.chip-active button {
|
|
border: 0;
|
|
background: none;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
color: inherit;
|
|
padding: 0 0 0 2px;
|
|
}
|
|
|
|
/* --- Results ----------------------------------------------------------- */
|
|
|
|
.summary {
|
|
margin: 20px 2px 10px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.release-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.release-list:empty {
|
|
display: none;
|
|
}
|
|
|
|
.release {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.release:first-child {
|
|
border-top: 0;
|
|
}
|
|
|
|
.release:hover,
|
|
.release.selected {
|
|
background: var(--surface-2);
|
|
}
|
|
|
|
.release-main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
padding: 12px 0 12px 16px;
|
|
border: 0;
|
|
background: none;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.release-main:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.release-name {
|
|
font-weight: 560;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.release-name.obfuscated {
|
|
font-family: var(--mono);
|
|
font-size: 13px;
|
|
font-weight: 450;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.release-meta {
|
|
font-size: 12.5px;
|
|
color: var(--faint);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.release-side {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding-right: 10px;
|
|
flex: none;
|
|
}
|
|
|
|
.release-size {
|
|
width: 76px;
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
font-size: 13.5px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.badges {
|
|
display: flex;
|
|
gap: 6px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
height: 22px;
|
|
padding: 0 8px;
|
|
border-radius: 6px;
|
|
font-size: 11.5px;
|
|
font-weight: 560;
|
|
white-space: nowrap;
|
|
background: var(--surface-2);
|
|
color: var(--muted);
|
|
}
|
|
|
|
.badge-good {
|
|
background: var(--good-soft);
|
|
color: var(--good);
|
|
}
|
|
|
|
.badge-warn {
|
|
background: var(--warn-soft);
|
|
color: var(--warn);
|
|
}
|
|
|
|
.badge-bad {
|
|
background: var(--bad-soft);
|
|
color: var(--bad);
|
|
}
|
|
|
|
.badge-accent {
|
|
background: var(--accent-soft);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.icon-button {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
border: 1px solid transparent;
|
|
border-radius: 8px;
|
|
background: none;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.icon-button:hover {
|
|
border-color: var(--border);
|
|
background: var(--surface);
|
|
color: var(--text);
|
|
}
|
|
|
|
.more {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: 38px;
|
|
padding: 0 16px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
font-weight: 560;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.button:hover {
|
|
border-color: var(--faint);
|
|
}
|
|
|
|
.button-primary {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
color: #fff;
|
|
}
|
|
|
|
.button-primary:hover {
|
|
filter: brightness(1.07);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.empty {
|
|
text-align: center;
|
|
color: var(--muted);
|
|
padding: 40px 0;
|
|
}
|
|
|
|
/* --- Detail drawer ----------------------------------------------------- */
|
|
|
|
.scrim {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(10, 14, 20, 0.35);
|
|
z-index: 10;
|
|
}
|
|
|
|
.drawer {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: min(640px, 100%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--surface);
|
|
border-left: 1px solid var(--border);
|
|
box-shadow: var(--shadow);
|
|
z-index: 11;
|
|
animation: slide-in 0.18s ease-out;
|
|
}
|
|
|
|
@keyframes slide-in {
|
|
from {
|
|
transform: translateX(24px);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.drawer-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
padding: 20px 20px 14px 24px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.drawer-title {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 4px;
|
|
font-size: 11.5px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
color: var(--faint);
|
|
}
|
|
|
|
.drawer h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
line-height: 1.3;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.drawer-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 18px 24px 40px;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.facts {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
gap: 12px 18px;
|
|
margin: 0 0 22px;
|
|
}
|
|
|
|
.facts dt {
|
|
font-size: 11.5px;
|
|
color: var(--faint);
|
|
}
|
|
|
|
.facts dd {
|
|
margin: 2px 0 0;
|
|
font-weight: 560;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.link-button {
|
|
border: 0;
|
|
padding: 0;
|
|
background: none;
|
|
color: var(--accent);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
font-weight: 560;
|
|
}
|
|
|
|
.notice {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: flex-start;
|
|
padding: 11px 14px;
|
|
margin-bottom: 18px;
|
|
border-radius: 8px;
|
|
font-size: 13.5px;
|
|
}
|
|
|
|
.notice-bad {
|
|
background: var(--bad-soft);
|
|
color: var(--bad);
|
|
}
|
|
|
|
.notice-warn {
|
|
background: var(--warn-soft);
|
|
color: var(--warn);
|
|
}
|
|
|
|
.progress {
|
|
height: 6px;
|
|
margin-top: 8px;
|
|
border-radius: 99px;
|
|
background: var(--border);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress span {
|
|
display: block;
|
|
height: 100%;
|
|
background: currentColor;
|
|
}
|
|
|
|
.section-title {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
margin: 24px 0 8px;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.section-title small {
|
|
font-weight: 500;
|
|
text-transform: none;
|
|
letter-spacing: 0;
|
|
color: var(--faint);
|
|
}
|
|
|
|
.file-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.file-table td {
|
|
padding: 7px 8px 7px 0;
|
|
border-top: 1px solid var(--border);
|
|
vertical-align: top;
|
|
}
|
|
|
|
.file-table tr:first-child td {
|
|
border-top: 0;
|
|
}
|
|
|
|
.file-table .name {
|
|
font-family: var(--mono);
|
|
font-size: 12.5px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.file-table .posted {
|
|
display: block;
|
|
margin-top: 2px;
|
|
font-size: 11.5px;
|
|
color: var(--faint);
|
|
}
|
|
|
|
.file-table .num {
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
color: var(--muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.file-table .state {
|
|
width: 22px;
|
|
text-align: center;
|
|
}
|
|
|
|
.ok {
|
|
color: var(--good);
|
|
}
|
|
|
|
.missing {
|
|
color: var(--faint);
|
|
}
|
|
|
|
.skeleton {
|
|
height: 14px;
|
|
margin: 10px 0;
|
|
border-radius: 4px;
|
|
background: linear-gradient(90deg, var(--surface-2), var(--border), var(--surface-2));
|
|
background-size: 200% 100%;
|
|
animation: shimmer 1.2s infinite linear;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
to {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
/* --- Small screens ----------------------------------------------------- */
|
|
|
|
@media (max-width: 720px) {
|
|
.topbar,
|
|
.layout {
|
|
padding-left: 14px;
|
|
padding-right: 14px;
|
|
}
|
|
|
|
.stats {
|
|
gap: 14px;
|
|
}
|
|
|
|
.search-row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.release {
|
|
flex-wrap: wrap;
|
|
gap: 0;
|
|
}
|
|
|
|
.release-main {
|
|
padding-right: 16px;
|
|
}
|
|
|
|
.release-side {
|
|
width: 100%;
|
|
padding: 0 10px 10px 16px;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.release-size {
|
|
width: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
kbd {
|
|
display: none;
|
|
}
|
|
}
|