| @@ -2,18 +2,9 @@ | ||
| 2 | 2 | .components-modal__content { |
| 3 | 3 | min-inline-size: 550px; |
| 4 | 4 | } |
| 5 | 5 | |
| 6 | - .action-buttons { | |
| 7 | - display: flex; | |
| 8 | - justify-content: flex-end; | |
| 9 | - } | |
| 10 | - | |
| 11 | - .components-button.is-secondary { | |
| 12 | - box-shadow: none; | |
| 13 | - } | |
| 14 | - | |
| 15 | - .notice { | |
| 6 | + .banner { | |
| 16 | 7 | margin-inline: 0; |
| 17 | 8 | } |
| 18 | 9 | } |
| 19 | 10 | |
| @@ -22,9 +13,9 @@ | ||
| 22 | 13 | align-items: center; |
| 23 | 14 | gap: 5px; |
| 24 | 15 | |
| 25 | 16 | .dashicons-warning { |
| 26 | - color: #b32d2e; | |
| 17 | + color: var(--cs-color-error); | |
| 27 | 18 | } |
| 28 | 19 | |
| 29 | 20 | .snippet-tags-container &, |
| 30 | 21 | .snippet-description-container & { |
| @@ -31,8 +22,16 @@ | ||
| 31 | 22 | float: inline-end; |
| 32 | 23 | } |
| 33 | 24 | } |
| 34 | 25 | |
| 26 | +.snippet-tags-container { | |
| 27 | + label { | |
| 28 | + font-size: 1.16em; | |
| 29 | + font-weight: 600; | |
| 30 | + text-transform: unset; | |
| 31 | + } | |
| 32 | +} | |
| 33 | + | |
| 35 | 34 | .code-line-explanation { |
| 36 | 35 | display: flex; |
| 37 | 36 | cursor: default; |
| 38 | 37 | font-size: inherit; |
| @@ -68,9 +67,9 @@ | ||
| 68 | 67 | color: #3d9970; |
| 69 | 68 | } |
| 70 | 69 | |
| 71 | 70 | .remove { |
| 72 | - color: #b32d2e; | |
| 71 | + color: var(--cs-color-error); | |
| 73 | 72 | } |
| 74 | 73 | |
| 75 | 74 | .action { |
| 76 | 75 | cursor: pointer; |
| @@ -82,22 +81,10 @@ | ||
| 82 | 81 | } |
| 83 | 82 | } |
| 84 | 83 | } |
| 85 | 84 | |
| 86 | -.cloud-connect-modal { | |
| 87 | - .icons-group { | |
| 88 | - display: flex; | |
| 89 | - align-items: center; | |
| 90 | - justify-content: center; | |
| 91 | - | |
| 92 | - .dashicons { | |
| 93 | - inline-size: 50px; | |
| 94 | - block-size: 50px; | |
| 95 | - font-size: 50px; | |
| 96 | - } | |
| 97 | - } | |
| 98 | - | |
| 99 | - .action-buttons { | |
| 100 | - display: flex; | |
| 101 | - justify-content: flex-end; | |
| 102 | - } | |
| 85 | +// The tags field sits in the lower form area, not the sidebar. Its help text | |
| 86 | +// takes the component's own grey, 4.05:1 on this surface, from an injected | |
| 87 | +// single-class rule; two classes outrank it and the muted token clears 4.5:1. | |
| 88 | +.snippet-tags-container .components-form-token-field__help { | |
| 89 | + color: var(--cs-color-text-muted); | |
| 103 | 90 | } |