| 1 |
@use 'theme'; |
| 2 |
|
| 3 |
// Contextual page header row shared by the plugin admin screens: the page |
| 4 |
// title on the inline-start side and the primary page action, if any, |
| 5 |
// aligned to the inline-end side of the same row. |
| 6 |
.snippets-page-header { |
| 7 |
display: flex; |
| 8 |
align-items: center; |
| 9 |
justify-content: space-between; |
| 10 |
flex-wrap: wrap; |
| 11 |
gap: 16px 24px; |
| 12 |
margin-block: 8px 16px; |
| 13 |
|
| 14 |
h1, |
| 15 |
h2 { |
| 16 |
margin: 0; |
| 17 |
padding: 0; |
| 18 |
font-size: 26px; |
| 19 |
font-weight: 510; |
| 20 |
line-height: 1.25; |
| 21 |
} |
| 22 |
|
| 23 |
h1 { |
| 24 |
color: #1d2327; |
| 25 |
} |
| 26 |
|
| 27 |
h2 { |
| 28 |
color: theme.$control-text; |
| 29 |
} |
| 30 |
} |
| 31 |
|
| 32 |
.wrap .snippets-page-header .button.button-primary { |
| 33 |
padding: 12px; |
| 34 |
min-block-size: 0; |
| 35 |
border-radius: 5px; |
| 36 |
line-height: 1; |
| 37 |
font-size: 14px; |
| 38 |
font-weight: 700; |
| 39 |
} |
| 40 |
|
| 41 |
// One-line supporting description shown directly beneath the page title. |
| 42 |
.snippets-page-description { |
| 43 |
margin-block: 0 16px; |
| 44 |
font-size: 14px; |
| 45 |
line-height: 1.5; |
| 46 |
color: #646970; |
| 47 |
|
| 48 |
a { |
| 49 |
color: theme.$accent; |
| 50 |
text-decoration: underline; |
| 51 |
} |
| 52 |
} |
| 53 |
|