diff options
Diffstat (limited to 'public/stylesheets/admin.css')
| -rw-r--r-- | public/stylesheets/admin.css | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index a36ece5b..94e6c546 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css | |||
| @@ -56,6 +56,14 @@ | |||
| 56 | 56 | ||
| 57 | --radius: 6px; | 57 | --radius: 6px; |
| 58 | 58 | ||
| 59 | /* The desktop label band: #wrapper's left gutter, which row labels reach | ||
| 60 | back into. --label-column plus --label-gap must equal --page-gutter, or | ||
| 61 | a row's content no longer starts where the page's other elements do. */ | ||
| 62 | --page-gutter: 125px; | ||
| 63 | --page-gutter-neg: -125px; | ||
| 64 | --label-column: 115px; | ||
| 65 | --label-gap: 10px; | ||
| 66 | |||
| 59 | /* Type scale. Everything secondary is --text-sm; --text-xs is for hints | 67 | /* Type scale. Everything secondary is --text-sm; --text-xs is for hints |
| 60 | and paths. */ | 68 | and paths. */ |
| 61 | --text-xs: 0.75rem; | 69 | --text-xs: 0.75rem; |
| @@ -141,7 +149,7 @@ input[type=radio] { | |||
| 141 | 149 | ||
| 142 | @media(min-width:1016px) { | 150 | @media(min-width:1016px) { |
| 143 | #wrapper { | 151 | #wrapper { |
| 144 | margin: 0 125px; | 152 | margin: 0 var(--page-gutter); |
| 145 | } | 153 | } |
| 146 | } | 154 | } |
| 147 | 155 | ||
| @@ -1014,9 +1022,9 @@ form.button_to svg { | |||
| 1014 | @media(min-width:1016px) { | 1022 | @media(min-width:1016px) { |
| 1015 | .layout_row { | 1023 | .layout_row { |
| 1016 | display: grid; | 1024 | display: grid; |
| 1017 | grid-template-columns: 115px 1fr; | 1025 | grid-template-columns: var(--label-column) 1fr; |
| 1018 | column-gap: 10px; | 1026 | column-gap: var(--label-gap); |
| 1019 | margin-left: -125px; | 1027 | margin-left: var(--page-gutter-neg); |
| 1020 | } | 1028 | } |
| 1021 | 1029 | ||
| 1022 | #edit_grid .layout_row { | 1030 | #edit_grid .layout_row { |
| @@ -1449,7 +1457,7 @@ form.button_to svg { | |||
| 1449 | "body body"; | 1457 | "body body"; |
| 1450 | column-gap: 2rem; | 1458 | column-gap: 2rem; |
| 1451 | align-items: start; | 1459 | align-items: start; |
| 1452 | margin-left: -125px; | 1460 | margin-left: var(--page-gutter-neg); |
| 1453 | } | 1461 | } |
| 1454 | #main_fields { grid-area: main; } | 1462 | #main_fields { grid-area: main; } |
| 1455 | #metadata_details { grid-area: meta; } | 1463 | #metadata_details { grid-area: meta; } |
| @@ -1551,10 +1559,6 @@ input#menu_item_title { | |||
| 1551 | padding: 5px; | 1559 | padding: 5px; |
| 1552 | height: 250px; | 1560 | height: 250px; |
| 1553 | } | 1561 | } |
| 1554 | |||
| 1555 | #admin_overview { | ||
| 1556 | margin-left: -125px; | ||
| 1557 | } | ||
| 1558 | } | 1562 | } |
| 1559 | 1563 | ||
| 1560 | .page_actions { | 1564 | .page_actions { |
