mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-27 07:39:46 +01:00
a23cf58d47
Some checks are pending
/ release (push) Waiting to run
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6459 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
24 lines
484 B
CSS
24 lines
484 B
CSS
.switch {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
align-items: center;
|
|
background: var(--color-menu);
|
|
border: 1px solid var(--color-input-border);
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
.switch .item {
|
|
color: var(--color-text);
|
|
padding: .5em 1.125em;
|
|
border-radius: var(--border-radius);
|
|
text-wrap: nowrap;
|
|
}
|
|
|
|
.switch .active.item {
|
|
background: var(--color-active);
|
|
outline: 1px solid var(--color-input-border);
|
|
}
|
|
|
|
.switch .item svg {
|
|
vertical-align: sub;
|
|
}
|