Files
Fil-A-Management/filament/static/filament/app.css
T

1421 lines
27 KiB
CSS

/* Self-hosted, dependency-free UI. */
:root {
color-scheme: light;
--ink: #172833;
--muted: #4d6069;
--green: #095d50;
--light: #dff2e9;
--line: #27455424;
--paper: #edf3f5;
--danger: #a12f40;
--surface: rgb(255 255 255 / 72%);
--surface-solid: #f8fbfc;
--ambient-purple: #d9dffb;
--ambient-green: #d3efe4;
--focus: #2864ab;
--panel-edge: rgb(255 255 255 / 95%);
--nav-active: linear-gradient(120deg, #d4ede2, #e6f3ee);
--nav-outline: #16756026;
--hover: #145e5710;
--nav-icon-bg: rgb(255 255 255 / 68%);
--avatar-bg: #d7eee3;
--badge-bg: #11645712;
--badge-text: #305e54;
--danger-button: #a12f40;
--danger-button-hover: #812232;
--privacy-bg: linear-gradient(125deg, #e8f8ee, #def2eaad);
--control-border: #7c979e;
--control-bg: rgb(255 255 255 / 84%);
--table-heading: #e8eff487;
--table-hover: #dcefe870;
--row-muted: #e5eaee;
--row-muted-badge: #27455414;
--row-ordered: #ffe6ce;
--row-arrived: #d6efdd;
--dialog-backdrop: rgb(23 40 51 / 45%);
--swatch-outline: rgb(20 47 55 / 40%);
--message-bg: #e1f0e6;
--message-text: #24613f;
--radius: 20px;
--shadow: 0 14px 36px rgb(28 62 83 / 8%), inset 0 1px 0 rgb(255 255 255 / 85%);
font-family:
Inter,
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
sans-serif;
color: var(--ink);
background: var(--paper);
}
:root[data-theme="dark"] {
color-scheme: dark;
--ink: #e4eef2;
--muted: #a9bac4;
--green: #86ddc4;
--light: #203e3c;
--line: #93b0bf38;
--paper: #10181f;
--danger: #ffa2aa;
--surface: rgb(26 40 49 / 86%);
--surface-solid: #1b2933;
--ambient-purple: #25263e;
--ambient-green: #183a38;
--focus: #9ac5ff;
--panel-edge: #9fbac626;
--nav-active: linear-gradient(120deg, #264741, #203737);
--nav-outline: #86ddc438;
--hover: #86ddc418;
--nav-icon-bg: #111c24;
--avatar-bg: #264741;
--badge-bg: #76cdb323;
--badge-text: #a5e0cf;
--danger-button: #a12f40;
--danger-button-hover: #872637;
--privacy-bg: linear-gradient(125deg, #223d37, #1b302fbf);
--control-border: #67808a;
--control-bg: #14212a;
--table-heading: #283945;
--table-hover: #263d44;
--row-muted: #29343e;
--row-muted-badge: #afc5d022;
--row-ordered: #493421;
--row-arrived: #213e32;
--dialog-backdrop: rgb(6 11 16 / 72%);
--swatch-outline: #a5bbc680;
--message-bg: #223e33;
--message-text: #ade1c4;
--shadow: 0 14px 36px rgb(0 0 0 / 24%), inset 0 1px 0 rgb(255 255 255 / 5%);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background:
radial-gradient(ellipse at 88% 2%, var(--ambient-purple), transparent 55%),
radial-gradient(ellipse at 24% 5%, var(--ambient-green), transparent 52%), var(--paper);
background-repeat: no-repeat;
background-size: 100% 56rem;
}
a {
color: var(--green);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
button,
input,
select,
textarea {
font: inherit;
}
button,
a,
input,
select {
touch-action: manipulation;
}
button {
cursor: pointer;
}
:focus-visible {
outline: 3px solid var(--focus);
outline-offset: 3px;
}
.shell {
--shell-padding: clamp(16px, 2.3vw, 34px);
position: relative;
display: grid;
grid-template-columns: 238px minmax(0, 1fr);
align-items: start;
gap: clamp(24px, 3.5vw, 54px);
min-height: 100svh;
max-width: 1640px;
margin-inline: auto;
padding: var(--shell-padding);
}
.theme-toggle {
position: absolute;
z-index: 2;
top: var(--shell-padding);
right: var(--shell-padding);
width: 44px;
height: 44px;
padding: 0;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--surface-solid);
color: var(--green);
box-shadow: var(--shadow);
font-size: 22px;
line-height: 1;
}
.theme-toggle:hover {
background: var(--light);
}
.theme-sun,
[data-theme="dark"] .theme-moon {
display: none;
}
[data-theme="dark"] .theme-sun {
display: inline;
}
.shell:not(.shell--guest) .theme-toggle:not([hidden]) ~ .main-wrap main {
padding-top: 56px;
}
.sidebar {
position: sticky;
top: 24px;
max-height: calc(100vh - 48px);
overflow: auto;
padding: 22px 16px 16px;
display: flex;
flex-direction: column;
background: var(--surface-solid);
border: 1px solid var(--panel-edge);
border-radius: var(--radius);
box-shadow: var(--shadow);
}
@supports (backdrop-filter: blur(16px)) {
.sidebar,
.login-card {
background: var(--surface);
backdrop-filter: blur(16px);
}
}
.brand {
display: flex;
align-items: center;
gap: 8px;
font-size: 16px;
font-weight: 800;
color: var(--ink);
line-height: 1.1;
white-space: nowrap;
margin: 0 0 24px;
}
.brand:hover {
text-decoration: none;
}
.brand-icon {
display: grid;
place-items: center;
flex: 0 0 34px;
height: 34px;
border-radius: 10px;
background: linear-gradient(145deg, #197f6b, #134b50);
box-shadow: 0 5px 12px rgb(12 88 76 / 23%);
font-size: 21px;
color: #fff;
}
.nav-label {
font-size: 10px;
letter-spacing: 1.6px;
font-weight: 700;
color: var(--muted);
margin: 20px 10px 7px;
}
nav > a {
display: flex;
gap: 9px;
align-items: center;
padding: 9px 10px;
color: var(--muted);
font-size: 13px;
font-weight: 550;
border-radius: 11px;
margin: 3px 0;
}
nav > a[aria-current] {
background: var(--nav-active);
color: var(--green);
box-shadow: inset 0 0 0 1px var(--nav-outline);
font-weight: 700;
}
nav > a:hover,
.profile-link:hover,
.profile-link[aria-current] {
background-color: var(--hover);
text-decoration: none;
}
.nav-icon {
display: grid;
flex: 0 0 26px;
width: 26px;
height: 26px;
place-items: center;
border-radius: 8px;
background: var(--nav-icon-bg);
color: var(--green);
font-size: 15px;
}
.sidebar-bottom {
margin-top: 24px;
padding-top: 12px;
border-top: 1px solid var(--line);
}
.profile-link {
display: flex;
gap: 12px;
align-items: center;
color: var(--ink);
padding: 7px;
min-width: 0;
border-radius: 11px;
overflow-wrap: anywhere;
}
.profile-link small,
td small {
display: block;
margin-top: 4px;
font-size: 11px;
color: var(--muted);
}
.avatar {
flex-shrink: 0;
background: var(--avatar-bg);
color: var(--green);
width: 38px;
height: 38px;
border-radius: 12px;
display: grid;
place-items: center;
font-size: 15px;
font-weight: 700;
}
.profile-link strong {
font-size: 13px;
}
.logout {
border: 0;
background: none;
color: var(--muted);
padding: 10px 12px;
margin-left: 44px;
border-radius: 9px;
font-size: 12px;
}
.logout:hover {
background: var(--hover);
color: var(--ink);
}
.main-wrap {
min-width: 0;
}
.badge {
display: inline-block;
background: var(--badge-bg);
padding: 5px 10px;
border-radius: 999px;
color: var(--badge-text);
font-size: 11px;
font-weight: 600;
white-space: nowrap;
}
main {
padding: clamp(16px, 3vw, 42px) 0 36px;
}
.page-heading {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
margin-bottom: clamp(22px, 3vw, 36px);
}
.order-page-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.article-copy {
display: flex;
align-items: center;
gap: 10px;
}
.article-copy [hidden] {
display: none;
}
.article-copy .article-copy-icon-button {
min-height: 30px;
min-width: 30px;
padding: 0;
border-radius: 6px;
}
.article-copy-icon {
position: relative;
width: 16px;
height: 16px;
}
.article-copy-icon::before,
.article-copy-icon::after {
content: "";
position: absolute;
width: 8px;
height: 10px;
border: 1px solid currentColor;
border-radius: 2px;
}
.article-copy-icon::before {
top: 0;
left: 1px;
}
.article-copy-icon::after {
right: 1px;
bottom: 0;
background: var(--surface-solid);
}
.article-copy-icon-button[data-copy-state] {
background: var(--light);
}
.article-copy-icon-button[data-copy-state="copied"] .article-copy-icon::before {
content: "✓";
position: static;
border: 0;
}
.article-copy-icon-button[data-copy-state="copied"] .article-copy-icon::after {
display: none;
}
.eyebrow {
letter-spacing: 2px;
font-size: 10px;
font-weight: 750;
color: var(--green);
margin: 0 0 12px;
}
h1 {
font-size: clamp(1.85rem, 3.4vw, 3rem);
letter-spacing: -0.045em;
line-height: 1.08;
margin: 0 0 10px;
font-weight: 760;
}
h2 {
font-size: 17px;
margin: 0;
}
h3 {
font-size: 19px;
margin: 12px 0;
}
p {
line-height: 1.65;
}
.muted {
font-size: 14px;
color: var(--muted);
margin: 0;
}
.button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 44px;
padding: 10px 16px;
border-radius: 11px;
background: linear-gradient(145deg, #117765, #09584e);
box-shadow: 0 4px 12px rgb(10 87 71 / 20%);
color: #fff;
border: 1px solid var(--green);
font-size: 13px;
font-weight: 700;
text-align: center;
flex-shrink: 0;
}
.button:hover {
background: #105542;
text-decoration: none;
}
.secondary {
background: var(--surface);
box-shadow: none;
color: var(--green);
border-color: var(--line);
}
.secondary:hover {
background: var(--light);
}
.danger {
background: var(--danger-button);
border-color: var(--danger-button);
}
.danger:hover {
background: var(--danger-button-hover);
}
.stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
margin-bottom: 28px;
}
.stat,
.panel,
.login-card {
border: 1px solid var(--panel-edge);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow);
}
.stat {
padding: clamp(16px, 2vw, 25px);
}
.stat > span {
font-size: 12px;
color: var(--muted);
}
.stat strong {
display: block;
font-size: clamp(1.75rem, 3vw, 2.6rem);
font-variant-numeric: tabular-nums;
line-height: 1;
letter-spacing: -0.04em;
margin: 12px 0 8px;
}
.stat small {
font-size: 11px;
color: var(--muted);
}
.privacy {
background: var(--privacy-bg);
}
.privacy strong {
font-size: clamp(1.55rem, 2.6vw, 2.1rem);
color: var(--green);
}
.panel {
overflow: hidden;
margin-bottom: 22px;
}
.panel-heading {
padding: 22px 24px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
border-bottom: 1px solid var(--line);
}
.slicer-tip .panel-heading {
align-items: flex-start;
flex-wrap: wrap;
}
.slicer-tip h2,
.slicer-tip > p {
overflow-wrap: anywhere;
}
.slicer-tip > p {
margin: 0;
padding: 18px 24px;
}
.stock-panel-heading {
flex-wrap: wrap;
}
.list-search {
margin-bottom: 18px;
}
.stock-search.list-search input {
width: min(24rem, 100%);
}
.handover-quantity {
max-width: 16rem;
}
.stock-search {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
max-width: 100%;
}
.stock-search input {
width: min(13rem, 100%);
min-width: 0;
flex: 1 1 10rem;
min-height: 44px;
padding: 8px 12px;
border: 1px solid var(--control-border);
border-radius: 10px;
background: var(--surface-solid);
color: var(--ink);
font-size: 13px;
font-weight: 500;
}
.stock-search a {
font-size: 13px;
}
.inventory-tabs {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 20px;
}
.inventory-tabs > a {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 40px;
padding: 7px 14px;
border: 1px solid var(--line);
border-radius: 10px;
background: var(--surface);
color: var(--ink);
font-size: 13px;
}
.inventory-tabs > a[aria-current="page"] {
background: var(--light);
color: var(--green);
}
.stock-spool-brand {
display: block;
margin-top: 4px;
color: var(--muted);
}
.spool-totals {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.discard-spool-option {
margin-bottom: 12px;
}
.table-wrap {
/* Keep absolute screen-reader labels inside the horizontally scrolling table. */
position: relative;
overflow-x: auto;
}
table {
width: 100%;
border-collapse: collapse;
text-align: left;
font-size: 13px;
}
th {
padding: 14px 22px;
background: var(--table-heading);
color: var(--muted);
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 650;
}
td {
padding: 17px 22px;
border-top: 1px solid var(--line);
}
tbody tr:hover,
tbody tr:focus-within {
background: var(--table-hover);
}
td.quantity {
font-size: 18px;
font-weight: 700;
color: var(--green);
}
.variant-preview {
display: flex;
align-items: center;
gap: 10px;
min-width: 8rem;
}
.article-number {
font-variant-numeric: tabular-nums;
overflow-wrap: anywhere;
}
.history-date {
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.history-pagination {
border-top: 1px solid var(--line);
font-size: 13px;
}
.order-row--unavailable,
.order-row--unavailable:hover,
.order-row--unavailable:focus-within,
.spool-row--in-use,
.spool-row--in-use:hover {
background: var(--row-muted);
color: var(--muted);
}
.spool-row--in-use .badge {
color: var(--muted);
background: var(--row-muted-badge);
}
.spool-row--in-use td.quantity {
color: inherit;
}
.order-row--ordered,
.order-row--ordered:hover,
.order-row--ordered:focus-within {
background: var(--row-ordered);
}
.order-row--arrived,
.order-row--arrived:hover,
.order-row--arrived:focus-within {
background: var(--row-arrived);
}
.order-status-form {
display: grid;
gap: 6px;
min-width: 10rem;
}
.order-status-form select {
width: 100%;
min-height: 36px;
padding: 6px 8px;
border: 1px solid var(--control-border);
border-radius: 8px;
background: var(--control-bg);
color: var(--ink);
}
.order-amount-form input[type="text"] {
width: 7.5rem;
min-height: 36px;
padding: 6px 8px;
border: 1px solid var(--control-border);
border-radius: 8px;
background: var(--control-bg);
color: var(--ink);
font-variant-numeric: tabular-nums;
}
.order-amount-total {
font-variant-numeric: tabular-nums;
font-weight: 700;
white-space: nowrap;
}
.order-missing-costs {
display: block;
font-weight: 400;
text-transform: none;
}
.order-list-amount {
padding: 16px 20px;
}
.order-list-amount label {
display: block;
font-weight: 650;
margin-bottom: 8px;
}
.order-list-amount-controls {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.order-status-form button {
justify-self: start;
min-height: 34px;
padding: 5px 10px;
}
.order-person-heading {
flex-wrap: wrap;
}
.order-item-actions {
display: flex;
align-items: center;
gap: 6px;
}
.order-item-actions .order-icon-button {
width: 34px;
min-height: 34px;
padding: 0;
font-size: 21px;
line-height: 1;
}
.order-item-actions .order-delete-icon {
color: var(--danger);
}
.order-table .article-number [data-article-code] {
white-space: nowrap;
}
.person-order-status-form {
display: flex;
flex-wrap: wrap;
align-items: center;
}
.person-order-status-form select {
width: auto;
max-width: 100%;
}
.order-selection {
display: grid;
gap: 10px;
margin: 16px 0;
padding: 0;
border: 0;
}
.order-selection label {
display: flex;
align-items: baseline;
gap: 8px;
}
.order-selection-item small,
.order-alternative small {
display: block;
color: var(--muted);
}
.order-selection-item select {
margin-top: 4px;
}
.order-alternative {
margin-top: 18px;
}
.order-alternative label {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 4px;
}
.order-page-actions [aria-current="page"] {
text-decoration: underline;
}
.inventory-table .stock-color {
border-top: 1px solid var(--line);
background: transparent;
color: var(--ink);
font-size: inherit;
letter-spacing: normal;
text-transform: none;
}
.stock-sort-link {
display: inline-flex;
align-items: center;
gap: 0.4rem;
color: inherit;
text-decoration: none;
}
.stock-sort-link:hover,
.stock-sort-link:focus-visible {
text-decoration: underline;
}
.stock-marketplace-note {
display: block;
margin-top: 5px;
color: var(--muted);
font-size: 11px;
font-weight: 400;
}
.inventory-table th[aria-sort] .stock-sort-link {
color: var(--green);
}
.inventory-table .stock-group + .stock-group tr:first-child > * {
border-top-width: 2px;
}
.inventory-table .actions {
min-width: 11rem;
}
.inventory-table .actions > a + a {
display: block;
margin: 6px 0 0;
}
.consume-button {
min-height: 36px;
padding: 6px 10px;
font-size: 12px;
}
.consume-dialog {
width: min(34rem, calc(100% - 2rem));
padding: clamp(18px, 4vw, 30px);
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface-solid);
color: var(--ink);
box-shadow: var(--shadow);
}
.consume-dialog::backdrop {
background: var(--dialog-backdrop);
}
.consume-dialog h2 {
margin-bottom: 8px;
}
.inventory-dialog {
width: min(46rem, calc(100% - 2rem));
}
.inventory-dialog-heading {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
}
.inventory-dialog [role="status"]:empty {
display: none;
}
.consume-options {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 16px 0;
}
.consume-options button:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.variant-thumbnail {
position: relative;
display: grid;
place-items: center;
flex: 0 0 48px;
width: 48px;
height: 48px;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 10px;
background: var(--surface-solid);
color: var(--green);
}
.variant-thumbnail-placeholder {
font-size: 22px;
}
.variant-thumbnail img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: contain;
background: #fff;
}
.model-thumbnail {
flex-basis: 60px;
width: 60px;
height: 60px;
}
.actions {
white-space: nowrap;
font-size: 12px;
}
.actions a + a {
margin-left: 14px;
}
.danger-link,
.warning {
color: var(--danger);
}
.empty {
max-width: 480px;
margin: auto;
text-align: center;
padding: 60px 28px;
}
.empty p {
font-size: 13px;
color: var(--muted);
margin: 12px 0 24px;
}
.empty-icon {
display: inline-grid;
place-items: center;
width: 56px;
height: 56px;
border-radius: 18px;
background: var(--light);
color: var(--green);
font-size: 31px;
}
.hint {
font-size: 12px;
color: var(--muted);
}
.form-panel {
padding: 28px;
max-width: 850px;
}
.variant-panel {
overflow: visible;
}
.article-search {
margin-bottom: 16px;
border-bottom: 1px solid var(--line);
}
.article-search-visible {
padding-bottom: 16px;
}
.article-search summary {
padding: 0 0 12px;
color: var(--green);
cursor: pointer;
font-size: 13px;
font-weight: 650;
}
.article-search summary .muted {
font-size: inherit;
font-weight: 500;
}
.article-lookup {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px;
}
.article-lookup > :is(input, select) {
flex: 1 1 230px;
min-width: 0;
}
.form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}
.field {
margin-bottom: 20px;
}
.form-grid .field {
margin: 0;
}
.field label {
display: block;
font-size: 13px;
font-weight: 650;
margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
width: 100%;
padding: 11px 12px;
border: 1px solid var(--control-border);
border-radius: 10px;
background: var(--control-bg);
color: var(--ink);
min-height: 44px;
}
.field textarea {
display: block;
resize: vertical;
}
.field input:disabled {
background: var(--paper);
}
.color-picker {
position: relative;
}
.color-trigger,
.color-choices button {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
min-height: 44px;
padding: 9px 12px;
color: var(--ink);
text-align: left;
}
.color-trigger {
border: 1px solid var(--control-border);
border-radius: 10px;
background: var(--control-bg);
}
.color-trigger::after {
content: "";
flex: 0 0 7px;
height: 7px;
margin: 0 4px 4px auto;
border-right: 2px solid var(--muted);
border-bottom: 2px solid var(--muted);
transform: rotate(45deg);
}
.color-choices {
position: absolute;
z-index: 2;
inset: calc(100% + 6px) 0 auto;
max-height: min(16rem, 50vh);
overflow-y: auto;
padding: 5px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--surface-solid);
box-shadow: var(--shadow);
}
.color-choices button {
border: 0;
border-radius: 7px;
background: transparent;
}
.color-choices button:hover,
.color-choices button[aria-pressed="true"] {
background: var(--light);
}
.color-choices button:focus-visible {
outline-offset: -3px;
}
.color-dot {
display: inline-block;
flex: 0 0 16px;
width: 16px;
height: 16px;
border: 1px solid var(--swatch-outline);
border-radius: 50%;
}
.color-dot--unknown {
border: 1px dashed var(--control-border);
}
.field small,
.helptext {
color: var(--muted);
font-size: 11px;
line-height: 1.6;
}
.form-actions {
display: flex;
gap: 12px;
border-top: 1px solid var(--line);
padding-top: 22px;
margin-top: 22px;
}
.back-link {
display: inline-block;
font-size: 12px;
margin-bottom: 24px;
}
.errorlist {
font-size: 12px;
color: var(--danger);
padding-left: 18px;
}
.message {
padding: 14px 18px;
background: var(--message-bg);
color: var(--message-text);
font-size: 13px;
border-radius: 12px;
margin-bottom: 24px;
}
.shell--guest {
grid-template-columns: minmax(0, 1fr);
grid-template-rows: auto 1fr;
gap: 0;
}
.shell--guest .sidebar {
position: static;
justify-self: start;
padding: 10px 14px;
}
.shell--guest .brand {
margin: 0;
}
.shell--guest main {
display: grid;
align-content: center;
min-height: min(68svh, 45rem);
}
.login-card {
width: min(100%, 440px);
padding: clamp(22px, 4vw, 42px);
margin: 0 auto;
}
.login-card h1 {
font-size: clamp(1.85rem, 4vw, 2.4rem);
}
.login-card form {
margin-top: 28px;
}
.full {
width: 100%;
}
.sr-only,
.skip:not(:focus) {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
}
.skip:focus {
position: absolute;
z-index: 9;
background: var(--surface-solid);
padding: 15px;
}
.split {
display: grid;
grid-template-columns: 1.5fr 1fr;
gap: 22px;
}
.people {
display: flex;
gap: 7px;
flex-wrap: wrap;
}
.person {
background: var(--paper);
border-radius: 8px;
padding: 5px 8px;
font-size: 11px;
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
gap: 18px;
}
.printer-card {
padding: 24px;
}
.printer-card h2,
.printer-card h3 {
font-size: 20px;
margin: 10px 0;
}
.printer-card .actions {
margin-top: 22px;
}
.printer-equipment {
margin-top: 18px;
overflow-wrap: anywhere;
}
.printer-equipment-heading {
display: flex;
justify-content: space-between;
align-items: baseline;
flex-wrap: wrap;
gap: 8px;
border-top: 1px solid var(--line);
padding: 12px 0;
font-size: 13px;
}
.printer-equipment-heading h4 {
margin: 0;
}
.printer-equipment-list {
margin: 0 0 12px;
padding: 0;
list-style: none;
font-size: 13px;
}
.printer-equipment-list li + li {
margin-top: 10px;
}
.printer-equipment-list .actions {
margin-top: 4px;
font-size: 12px;
}
.profile-settings {
overflow-wrap: anywhere;
}
.shared-member {
margin-bottom: 12px;
overflow-wrap: anywhere;
scroll-margin-top: 16px;
}
.shared-member-heading {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px 12px;
padding: 14px 18px;
cursor: pointer;
list-style: none;
}
.shared-member-heading::-webkit-details-marker {
display: none;
}
.shared-member-heading::before {
content: "";
width: 0;
height: 0;
border-block: 5px solid transparent;
border-left: 7px solid var(--green);
}
.shared-member-heading:hover {
background: var(--hover);
}
.shared-member-heading:focus-visible {
outline-offset: -4px;
border-radius: var(--radius);
}
.shared-member[open] > .shared-member-heading {
border-bottom: 1px solid var(--line);
}
.shared-member[open] > .shared-member-heading::before {
transform: rotate(90deg);
}
.shared-member-name {
font-weight: 700;
}
.shared-member-stats {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.profile-settings .form-panel {
min-width: 0;
}
.profile-printers,
.shared-printers {
padding: 18px;
}
.profile-printers .printer-card {
margin-bottom: 0;
}
.shared-printers .profile-printers {
padding: 0;
}
.shared-printers > h3 {
margin: 0 0 12px;
font-size: 1rem;
}
.sharing-options {
display: grid;
gap: 6px;
margin: 16px 0;
}
.sharing-option {
display: flex;
align-items: center;
gap: 10px;
min-height: 44px;
cursor: pointer;
}
.sharing-option input {
width: 18px;
height: 18px;
flex-shrink: 0;
accent-color: var(--green);
}
.notice {
padding: 20px 24px;
background: var(--light);
border-radius: 12px;
font-size: 12px;
color: var(--green);
margin-bottom: 24px;
}
@media (max-width: 1100px) {
.shell:not(.shell--guest) {
grid-template-columns: 204px minmax(0, 1fr);
}
.brand {
font-size: 14px;
}
.page-heading {
align-items: flex-start;
}
td,
th {
padding-left: 15px;
padding-right: 15px;
}
.stats {
gap: 12px;
}
}
@media (max-width: 760px) {
.shell {
--shell-padding: 12px;
display: block;
}
.shell .theme-toggle {
top: calc(var(--shell-padding) + 8px);
right: calc(var(--shell-padding) + 8px);
}
.theme-toggle:not([hidden]) + .sidebar .brand {
margin-right: 46px;
}
.shell:not(.shell--guest) .theme-toggle:not([hidden]) ~ .main-wrap main {
padding-top: 26px;
}
.shell--guest .theme-toggle:not([hidden]) + .sidebar {
margin-right: 52px;
}
.sidebar {
position: static;
max-height: none;
overflow: visible;
padding: 14px;
}
.brand {
font-size: 18px;
margin-bottom: 12px;
}
.sidebar > .nav-label,
nav .nav-label {
display: none;
}
nav {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 3px 5px;
}
nav > a {
padding: 6px;
min-height: 44px;
margin: 0;
font-size: 12px;
gap: 6px;
overflow-wrap: anywhere;
}
.sidebar-bottom {
padding: 7px 0 0;
margin-top: 8px;
display: flex;
justify-content: space-between;
align-items: center;
}
.profile-link small {
display: none;
}
.avatar {
width: 28px;
height: 28px;
}
.logout {
margin-left: 0;
min-height: 44px;
}
main {
padding: 26px 2px 18px;
}
.page-heading {
display: block;
margin-bottom: 22px;
}
.page-heading > .button {
margin-top: 16px;
}
.order-page-actions {
margin-top: 16px;
}
.stats {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.privacy {
grid-column: 1/-1;
}
.privacy > span {
display: block;
}
.privacy strong {
font-size: 22px;
display: block;
margin: 7px 0;
}
.privacy small {
display: block;
}
.stat {
padding: 17px;
}
.stat strong {
font-size: 28px;
}
.panel-heading {
padding: 18px;
}
.form-grid,
.split {
grid-template-columns: 1fr;
}
.form-panel {
padding: 22px;
}
.form-actions {
flex-wrap: wrap;
}
.shell--guest .sidebar {
display: inline-flex;
}
.empty {
padding: 40px 20px;
}
}