Server settings header lede under the title, read-only boxes match inputs, space under tabs
Browse files at this commita0bbdaeb15ab596218493f9b8091a357e3ad5b74Parent: a053f44- style
- server settings header lede under the title, read-only boxes match inputs, space under tabs
3 changed files +32 -3
- style/_pull.scss +5 -0
- style/_repo.scss +1 -1
- style/main.scss +26 -2
style/_pull.scssmodified+5 -0
| @@ -674,6 +674,11 @@ | |||
| 674 | } | 674 | } |
| 675 | } | 675 | } |
| 676 | 676 | ||
| 677 | +// A card right under the tab bar (admin tabbed pages) gets breathing room. | ||
| 678 | +.subnav + .card { | ||
| 679 | + margin-top: 16px; | ||
| 680 | +} | ||
| 681 | + | ||
| 677 | // Narrow screens: the diff scrolls inside its own box, never the page. | 682 | // Narrow screens: the diff scrolls inside its own box, never the page. |
| 678 | 683 | ||
| 679 | @media (max-width: 600px) { | 684 | @media (max-width: 600px) { |
style/_repo.scssmodified+1 -1
| @@ -5,7 +5,7 @@ | |||
| 5 | // Header: name with the visibility pill on the left, outline actions on the right. | 5 | // Header: name with the visibility pill on the left, outline actions on the right. |
| 6 | .page-head { | 6 | .page-head { |
| 7 | align-items: flex-start; | 7 | align-items: flex-start; |
| 8 | - gap: 16px 24px; | 8 | + gap: 6px 24px; |
| 9 | margin-bottom: 12px; | 9 | margin-bottom: 12px; |
| 10 | } | 10 | } |
| 11 | 11 | ||
style/main.scssmodified+26 -2
| @@ -307,9 +307,19 @@ main { | |||
| 307 | display: flex; | 307 | display: flex; |
| 308 | align-items: center; | 308 | align-items: center; |
| 309 | justify-content: space-between; | 309 | justify-content: space-between; |
| 310 | - gap: 12px; | 310 | + gap: 4px 12px; |
| 311 | flex-wrap: wrap; | 311 | flex-wrap: wrap; |
| 312 | margin-bottom: 16px; | 312 | margin-bottom: 16px; |
| 313 | + | ||
| 314 | + // A lede under the title sits on its own line, left aligned. | ||
| 315 | + > p { | ||
| 316 | + flex: 1 0 100%; | ||
| 317 | + margin: 0; | ||
| 318 | + } | ||
| 319 | + | ||
| 320 | + > h1:has(+ p) { | ||
| 321 | + margin-bottom: 0; | ||
| 322 | + } | ||
| 313 | } | 323 | } |
| 314 | 324 | ||
| 315 | .repo-title { | 325 | .repo-title { |
| @@ -6195,8 +6205,22 @@ button.ci-job-last { | |||
| 6195 | } | 6205 | } |
| 6196 | } | 6206 | } |
| 6197 | 6207 | ||
| 6198 | -.srv-fixed { | 6208 | +.srv-field .srv-fixed { |
| 6209 | + display: flex; | ||
| 6210 | + align-items: center; | ||
| 6211 | + box-sizing: border-box; | ||
| 6212 | + width: 100%; | ||
| 6213 | + min-height: var(--control-h); | ||
| 6214 | + padding: 0 12px; | ||
| 6215 | + border: 1px solid var(--border); | ||
| 6216 | + border-radius: var(--radius-md); | ||
| 6217 | + background: var(--code-bg); | ||
| 6218 | + color: var(--text-2); | ||
| 6219 | + font-family: var(--mono); | ||
| 6220 | + font-size: inherit; | ||
| 6221 | + line-height: 1.25rem; | ||
| 6199 | overflow-wrap: anywhere; | 6222 | overflow-wrap: anywhere; |
| 6223 | + word-break: normal; | ||
| 6200 | } | 6224 | } |
| 6201 | 6225 | ||
| 6202 | .srv-reset { | 6226 | .srv-reset { |