push
This commit is contained in:
+70
-6
@@ -52,6 +52,14 @@ p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 1px var(--space-1);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* ---- page frame ---------------------------------------------------------- */
|
||||
|
||||
.container {
|
||||
@@ -66,6 +74,8 @@ p {
|
||||
padding-bottom: var(--space-8);
|
||||
}
|
||||
|
||||
/* ---- header ---------------------------------------------------------------- */
|
||||
|
||||
.site-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
@@ -77,7 +87,8 @@ p {
|
||||
}
|
||||
|
||||
.site-header__inner {
|
||||
display: flex;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto 1fr;
|
||||
align-items: center;
|
||||
gap: var(--space-4);
|
||||
height: var(--header-height);
|
||||
@@ -94,22 +105,67 @@ p {
|
||||
}
|
||||
|
||||
.site-header__nav {
|
||||
display: flex;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
|
||||
.site-header__nav a {
|
||||
padding: var(--space-2) var(--space-4);
|
||||
border-radius: var(--radius-full);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
color: var(--color-text-dim);
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border-radius: var(--radius-sm);
|
||||
transition: background 120ms ease, color 120ms ease;
|
||||
}
|
||||
|
||||
.site-header__nav:hover {
|
||||
.site-header__nav a:hover {
|
||||
color: var(--color-text);
|
||||
background: var(--color-surface);
|
||||
}
|
||||
|
||||
.site-header__spacer {
|
||||
flex: 1;
|
||||
.site-header__nav a.is-active {
|
||||
color: var(--color-accent-text);
|
||||
background: var(--color-accent);
|
||||
}
|
||||
|
||||
.site-header__actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
|
||||
/* ---- icon buttons ----------------------------------------------------------- */
|
||||
|
||||
.icon-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border: none;
|
||||
border-radius: var(--radius-full);
|
||||
background: transparent;
|
||||
color: var(--color-text-dim);
|
||||
cursor: pointer;
|
||||
transition: background 120ms ease, color 120ms ease;
|
||||
}
|
||||
|
||||
.icon-btn:hover {
|
||||
background: var(--color-surface);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.icon-btn.is-active {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.icon-btn svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
/* ---- footer ------------------------------------------------------------------ */
|
||||
|
||||
.site-footer {
|
||||
border-top: 1px solid var(--color-border);
|
||||
padding: var(--space-4) 0 var(--space-5);
|
||||
@@ -130,3 +186,11 @@ p {
|
||||
.site-footer a:hover {
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
/* ---- responsive ---------------------------------------------------------------- */
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.site-header__nav a {
|
||||
padding: var(--space-2) var(--space-3);
|
||||
}
|
||||
}
|
||||
|
||||
+305
-72
@@ -3,7 +3,7 @@
|
||||
after the thing it styles (BEM-ish: block, block__element, block--modifier).
|
||||
Theme values come from tokens.css; never hardcode colors/sizes here if a
|
||||
token exists.
|
||||
*/
|
||||
*/
|
||||
|
||||
/* ---- buttons ------------------------------------------------------------- */
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-2) var(--space-4);
|
||||
padding: var(--space-2) var(--space-5);
|
||||
border: 1px solid var(--color-border-strong);
|
||||
border-radius: var(--radius-sm);
|
||||
border-radius: var(--radius-full);
|
||||
background: var(--color-surface-2);
|
||||
color: var(--color-text);
|
||||
font-size: var(--text-sm);
|
||||
@@ -22,7 +22,7 @@
|
||||
line-height: 1.3;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
transition: background 120ms ease, border-color 120ms ease;
|
||||
transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
@@ -97,7 +97,7 @@
|
||||
|
||||
select.field {
|
||||
appearance: none;
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2398a2b0' stroke-width='2'/%3E%3C/svg%3E");
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239a9a9a' stroke-width='2'/%3E%3C/svg%3E");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 12px center;
|
||||
padding-right: 32px;
|
||||
@@ -135,7 +135,7 @@ select.field {
|
||||
.tag {
|
||||
display: inline-block;
|
||||
padding: 2px var(--space-2);
|
||||
border-radius: var(--radius-sm);
|
||||
border-radius: var(--radius-full);
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
font-size: var(--text-xs);
|
||||
@@ -151,7 +151,7 @@ select.field {
|
||||
}
|
||||
|
||||
.chip {
|
||||
padding: var(--space-1) var(--space-3);
|
||||
padding: var(--space-1) var(--space-4);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-full);
|
||||
background: transparent;
|
||||
@@ -168,9 +168,61 @@ select.field {
|
||||
}
|
||||
|
||||
.chip--active {
|
||||
background: var(--color-surface);
|
||||
background: var(--color-accent);
|
||||
border-color: var(--color-accent);
|
||||
color: var(--color-text);
|
||||
color: var(--color-accent-text);
|
||||
}
|
||||
|
||||
/* ---- toggle switch --------------------------------------------------------- */
|
||||
|
||||
.switch {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
flex: 0 0 auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.switch input {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.switch__track {
|
||||
position: relative;
|
||||
width: 44px;
|
||||
height: 24px;
|
||||
border-radius: var(--radius-full);
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border-strong);
|
||||
transition: background 140ms ease, border-color 140ms ease;
|
||||
}
|
||||
|
||||
.switch__thumb {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: var(--radius-full);
|
||||
background: var(--color-text-dim);
|
||||
transition: transform 140ms ease, background 140ms ease;
|
||||
}
|
||||
|
||||
.switch input:checked + .switch__track {
|
||||
background: var(--color-accent);
|
||||
border-color: var(--color-accent);
|
||||
}
|
||||
|
||||
.switch input:checked + .switch__track .switch__thumb {
|
||||
transform: translateX(20px);
|
||||
background: var(--color-accent-text);
|
||||
}
|
||||
|
||||
.switch input:focus-visible + .switch__track {
|
||||
outline: 2px solid var(--color-accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* ---- media cards (poster) --------------------------------------------------- */
|
||||
@@ -184,23 +236,29 @@ select.field {
|
||||
|
||||
.card__poster {
|
||||
position: relative;
|
||||
display: block;
|
||||
aspect-ratio: var(--poster-aspect);
|
||||
border-radius: var(--radius-md);
|
||||
overflow: hidden;
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
transition: border-color 120ms ease, transform 120ms ease;
|
||||
transition: border-color 120ms ease, box-shadow 120ms ease;
|
||||
}
|
||||
|
||||
.card:hover .card__poster {
|
||||
border-color: var(--color-border-strong);
|
||||
transform: translateY(-2px);
|
||||
border-color: var(--color-accent);
|
||||
box-shadow: 0 0 0 1px var(--color-accent);
|
||||
}
|
||||
|
||||
.card__poster img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 220ms ease;
|
||||
}
|
||||
|
||||
.card:hover .card__poster img {
|
||||
transform: scale(1.04);
|
||||
}
|
||||
|
||||
.card__poster--empty {
|
||||
@@ -236,8 +294,8 @@ select.field {
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 3px;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
height: 4px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.card__progress i {
|
||||
@@ -301,62 +359,6 @@ select.field {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* ---- modal ----------------------------------------------------------------- */
|
||||
|
||||
.modal-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 100;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: var(--space-4);
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.modal {
|
||||
width: 100%;
|
||||
max-width: 460px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-surface);
|
||||
box-shadow: var(--shadow-2);
|
||||
}
|
||||
|
||||
.modal__head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4) var(--space-5);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.modal__title {
|
||||
font-size: var(--text-lg);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.modal__body {
|
||||
padding: var(--space-5);
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.modal__hint {
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
.modal__actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-4) var(--space-5);
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
/* ---- toast ----------------------------------------------------------------- */
|
||||
|
||||
.toast {
|
||||
@@ -366,9 +368,9 @@ select.field {
|
||||
z-index: 110;
|
||||
transform: translateX(-50%);
|
||||
max-width: min(90vw, 480px);
|
||||
padding: var(--space-2) var(--space-4);
|
||||
padding: var(--space-2) var(--space-5);
|
||||
border: 1px solid var(--color-border-strong);
|
||||
border-radius: var(--radius-md);
|
||||
border-radius: var(--radius-full);
|
||||
background: var(--color-surface);
|
||||
box-shadow: var(--shadow-2);
|
||||
font-size: var(--text-sm);
|
||||
@@ -419,3 +421,234 @@ select.field {
|
||||
color: var(--color-text-dim);
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
/* ---- player controls --------------------------------------------------------- */
|
||||
|
||||
.player-wrap {
|
||||
--pc-progress: 0%;
|
||||
position: relative;
|
||||
aspect-ratio: var(--player-aspect);
|
||||
border-radius: var(--radius-md);
|
||||
overflow: hidden;
|
||||
background: #000;
|
||||
border: 1px solid var(--color-border);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.player-wrap video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
/* top-left back button */
|
||||
.player-back {
|
||||
position: absolute;
|
||||
top: var(--space-3);
|
||||
left: var(--space-3);
|
||||
z-index: 5;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: var(--radius-full);
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
color: #fff;
|
||||
backdrop-filter: blur(6px);
|
||||
opacity: 0;
|
||||
transform: translateY(-4px);
|
||||
transition: opacity 160ms ease, transform 160ms ease, background 120ms ease;
|
||||
}
|
||||
|
||||
.player-back:hover {
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.player-back svg {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
/* centered big play (shown when paused) */
|
||||
.player-bigplay {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
z-index: 4;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 76px;
|
||||
height: 76px;
|
||||
border: none;
|
||||
border-radius: var(--radius-full);
|
||||
background: color-mix(in srgb, var(--color-accent) 90%, transparent);
|
||||
color: var(--color-accent-text);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
box-shadow: var(--shadow-2);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 160ms ease, transform 160ms ease;
|
||||
}
|
||||
|
||||
.player-bigplay:hover {
|
||||
transform: translate(-50%, -50%) scale(1.05);
|
||||
}
|
||||
|
||||
.player-bigplay svg {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
/* bottom controls bar */
|
||||
.player-controls {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 6;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: var(--space-4) var(--space-4) var(--space-3);
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
|
||||
opacity: 0;
|
||||
transform: translateY(6px);
|
||||
transition: opacity 160ms ease, transform 160ms ease;
|
||||
}
|
||||
|
||||
.player-controls__bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.player-controls__spacer {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.pc-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
flex: 0 0 auto;
|
||||
border: none;
|
||||
border-radius: var(--radius-sm);
|
||||
background: transparent;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
transition: background 120ms ease;
|
||||
}
|
||||
|
||||
.pc-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.14);
|
||||
}
|
||||
|
||||
.pc-btn:focus-visible {
|
||||
outline: 2px solid var(--color-accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.pc-btn svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.pc-btn--text {
|
||||
width: auto;
|
||||
padding: 0 var(--space-2);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--font-weight-bold);
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.pc-btn.is-on {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.pc-time {
|
||||
flex: 0 0 auto;
|
||||
font-size: var(--text-xs);
|
||||
font-variant-numeric: tabular-nums;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.pc-quality {
|
||||
flex: 0 0 auto;
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
color: var(--color-accent);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* range inputs (seek + volume) */
|
||||
.pc-seek,
|
||||
.pc-vol {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
height: 4px;
|
||||
border-radius: var(--radius-full);
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
var(--color-accent) var(--pc-progress),
|
||||
rgba(255, 255, 255, 0.28) var(--pc-progress)
|
||||
);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.pc-seek {
|
||||
width: 100%;
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.pc-vol {
|
||||
width: 72px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.pc-seek::-webkit-slider-thumb,
|
||||
.pc-vol::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
border-radius: 50%;
|
||||
background: var(--color-accent);
|
||||
border: none;
|
||||
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.pc-seek::-moz-range-thumb,
|
||||
.pc-vol::-moz-range-thumb {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
border-radius: 50%;
|
||||
background: var(--color-accent);
|
||||
border: none;
|
||||
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
/* show back + controls when hovered or flagged */
|
||||
.player-wrap:hover .player-controls,
|
||||
.player-wrap:hover .player-back,
|
||||
.player-wrap--controls .player-controls,
|
||||
.player-wrap--controls .player-back {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.player-wrap:hover .player-bigplay,
|
||||
.player-wrap--controls .player-bigplay {
|
||||
/* big play only when paused — handled by .player-wrap--paused below */
|
||||
}
|
||||
|
||||
.player-wrap--paused .player-bigplay {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
+131
-17
@@ -156,23 +156,7 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ---- watch: player ------------------------------------------------------------- */
|
||||
|
||||
.player-wrap {
|
||||
position: relative;
|
||||
aspect-ratio: var(--player-aspect);
|
||||
border-radius: var(--radius-md);
|
||||
overflow: hidden;
|
||||
background: #000;
|
||||
border: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.player-wrap video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
background: #000;
|
||||
}
|
||||
/* ---- watch: player (.player-wrap + controls live in components.css) ------------- */
|
||||
|
||||
.player-status {
|
||||
position: absolute;
|
||||
@@ -415,6 +399,121 @@
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
/* ---- settings ------------------------------------------------------------------ */
|
||||
|
||||
.settings {
|
||||
display: grid;
|
||||
grid-template-columns: 200px minmax(0, 1fr);
|
||||
gap: var(--space-6);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.settings__nav {
|
||||
position: sticky;
|
||||
top: calc(var(--header-height) + var(--space-5));
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
|
||||
.settings__navlink {
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border-radius: var(--radius-full);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
color: var(--color-text-dim);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.settings__navlink:hover {
|
||||
color: var(--color-text);
|
||||
background: var(--color-surface);
|
||||
}
|
||||
|
||||
.settings__navlink.is-active {
|
||||
color: var(--color-accent-text);
|
||||
background: var(--color-accent);
|
||||
}
|
||||
|
||||
.settings__content {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.settings__card {
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-surface);
|
||||
padding: var(--space-5);
|
||||
scroll-margin-top: calc(var(--header-height) + var(--space-4));
|
||||
}
|
||||
|
||||
.settings__card h2 {
|
||||
font-size: var(--text-xl);
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.settings__hint {
|
||||
color: var(--color-text-dim);
|
||||
font-size: var(--text-sm);
|
||||
margin-bottom: var(--space-4);
|
||||
max-width: 60ch;
|
||||
}
|
||||
|
||||
.settings__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-2);
|
||||
margin: var(--space-4) 0;
|
||||
}
|
||||
|
||||
.settings__status {
|
||||
font-size: var(--text-sm);
|
||||
min-height: 1.2em;
|
||||
}
|
||||
|
||||
.settings__status--ok {
|
||||
color: var(--color-success);
|
||||
}
|
||||
|
||||
.settings__status--err {
|
||||
color: var(--color-danger);
|
||||
}
|
||||
|
||||
.provider-list {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
margin-top: var(--space-4);
|
||||
}
|
||||
|
||||
.provider {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-3) var(--space-4);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-surface-2);
|
||||
cursor: pointer;
|
||||
transition: border-color 120ms ease;
|
||||
}
|
||||
|
||||
.provider:hover {
|
||||
border-color: var(--color-border-strong);
|
||||
}
|
||||
|
||||
.provider__name {
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.provider__note {
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
/* ---- responsive ---------------------------------------------------------------- */
|
||||
|
||||
@media (max-width: 720px) {
|
||||
@@ -444,4 +543,19 @@
|
||||
.search-bar__form {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.settings {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.settings__nav {
|
||||
position: static;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.settings__card {
|
||||
padding: var(--space-4);
|
||||
}
|
||||
}
|
||||
|
||||
+18
-18
@@ -8,20 +8,20 @@
|
||||
|
||||
:root {
|
||||
/* ---- palette (retheme here) ----------------------------------------- */
|
||||
--color-bg: #0b0d10; /* page background */
|
||||
--color-surface: #14171c; /* cards, panels */
|
||||
--color-surface-hover: #1c2129; /* hover state for surfaces */
|
||||
--color-surface-2: #191d24; /* inputs, alt surfaces */
|
||||
--color-border: #262c35; /* default borders */
|
||||
--color-border-strong: #39424f; /* visible borders / hover borders */
|
||||
--color-text: #eceff3; /* primary text */
|
||||
--color-text-dim: #98a2b0; /* secondary text */
|
||||
--color-text-faint: #5f6b7a; /* tertiary text */
|
||||
--color-accent: #4f8cff; /* brand / primary action color */
|
||||
--color-accent-hover: #6ea1ff;
|
||||
--color-accent-text: #ffffff; /* text on accent buttons */
|
||||
--color-bg: #0a0a0a; /* page background */
|
||||
--color-surface: #141414; /* cards, panels */
|
||||
--color-surface-hover: #1d1d1d; /* hover state for surfaces */
|
||||
--color-surface-2: #1a1a1a; /* inputs, alt surfaces */
|
||||
--color-border: #262626; /* default borders */
|
||||
--color-border-strong: #3a3a3a; /* visible borders / hover borders */
|
||||
--color-text: #f2f2f2; /* primary text */
|
||||
--color-text-dim: #9a9a9a; /* secondary text */
|
||||
--color-text-faint: #5c5c5c; /* tertiary text */
|
||||
--color-accent: #00e08b; /* brand / primary action color */
|
||||
--color-accent-hover: #33ecab;
|
||||
--color-accent-text: #04110a; /* text on accent buttons */
|
||||
--color-danger: #ff6b6b;
|
||||
--color-success: #46c98f;
|
||||
--color-success: #00e08b;
|
||||
--color-star: #ffc94d; /* rating stars */
|
||||
|
||||
/* ---- typography ------------------------------------------------------ */
|
||||
@@ -51,12 +51,12 @@
|
||||
--space-8: 64px;
|
||||
|
||||
/* ---- shape ------------------------------------------------------------- */
|
||||
--radius-sm: 6px;
|
||||
--radius-md: 10px;
|
||||
--radius-lg: 14px;
|
||||
--radius-sm: 8px;
|
||||
--radius-md: 12px;
|
||||
--radius-lg: 16px;
|
||||
--radius-full: 999px;
|
||||
--shadow-1: 0 2px 8px rgba(0, 0, 0, 0.35);
|
||||
--shadow-2: 0 12px 40px rgba(0, 0, 0, 0.5);
|
||||
--shadow-1: 0 2px 8px rgba(0, 0, 0, 0.45);
|
||||
--shadow-2: 0 12px 40px rgba(0, 0, 0, 0.6);
|
||||
|
||||
/* ---- layout ------------------------------------------------------------ */
|
||||
--container-max: 1280px;
|
||||
|
||||
Reference in New Issue
Block a user