mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-10 18:34:18 +08:00
24 lines
1.1 KiB
CSS
24 lines
1.1 KiB
CSS
@layer page {
|
|
/* SSH-Keys renders its whole view as a single bare <div> in #view with no .cbi-section wrapper, so
|
|
* its text sits frameless over the wallpaper while every other page gets an opaque card. There
|
|
* is no section markup to hook, so that lone wrapper is given the same card (the values are
|
|
* theme/30-tables.css's `.cbi-section`).
|
|
*
|
|
* Scoped to this page on purpose: a general "card any bare #view > div" was tried and reverted —
|
|
* it also wrapped whole tabbed views (Startup). Other bare-view pages get their own entry
|
|
* here. */
|
|
body[data-page="admin-system-admin-sshkeys"] #view > div {
|
|
background: var(--fs-panel);
|
|
border: var(--fs-hairline);
|
|
border-radius: var(--fs-radius-lg);
|
|
padding: var(--fs-space-4);
|
|
}
|
|
|
|
/* An authorized_keys entry is a ~400-char base64 blob: the one dynlist that must not
|
|
* take theme/60-inputs.css's 440px cap. Must live in `page` — in `base` it was dead,
|
|
* since a layer beats specificity and theme's plain `.cbi-dynlist` capped it anyway. */
|
|
body[data-page="admin-system-admin-sshkeys"] .cbi-dynlist {
|
|
max-width: none;
|
|
}
|
|
}
|