EnergyVenom's picture
Deploy frontend-polish 38ae493: coworkers in Ask and on the run page, run page fixes, settings/admin/library layouts
1825659 verified
Raw History Blame Contribute Delete
2.01 kB
/* Settings, admin, library, environment and account pages in the reference style. Tokens only. */
/* data-heavy pages use the wide content width instead of the 960px reading column */
.fpt-main[data-reading='true'] > .mantine-Stack-root.adm-wide > :not(.fpt-topbar) { max-width: var(--w-wide); }
/* a grid of cards that fills the width (Settings > Advanced, Test environments) */
.adm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp-3); }
.adm-grid-pods { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--sp-4); }
.adm-grid > .fpt-tile { flex: none !important; }
/* Settings: the topic list and the content as two columns that use the width; one column under 1024px */
.adm-settings[data-orientation='vertical'] { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--sp-8); align-items: start; }
.adm-settings[data-orientation='vertical'] > .mantine-Tabs-list { width: auto; flex: none; position: sticky; top: calc(var(--topbar-h) + var(--sp-4)); }
.adm-settings[data-orientation='vertical'] > .mantine-Tabs-panel { padding-left: 0 !important; padding-top: 0 !important; max-width: none; min-width: 0; }
.adm-settings[data-orientation='horizontal'] > .mantine-Tabs-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
/* filter bars sit in a hairline card, like Test runs */
.adm-filters { padding: var(--sp-3) var(--sp-4); }
/* notes that explain a page wrap instead of running off the edge */
.adm-note { overflow-wrap: anywhere; }
.adm-note .mantine-Alert-message { white-space: normal; }
/* Account: what it is on the left, the form on the right; stacked on narrow screens */
.adm-split { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 420px); gap: var(--sp-6) var(--sp-8); align-items: start; }
.adm-split-text .trio-card-h { margin-bottom: var(--sp-1); }
@media (max-width: 767px) { .adm-split { grid-template-columns: minmax(0, 1fr); } }