PluginProbe
Code Snippets / trunk
Code Snippets vtrunk
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
← All changes | css/common/_modal.scss +30 -14 3.10.2 → trunk View file →
@@ -1,4 +1,6 @@
1 +@use 'theme';
2 +
1 3 .code-snippets-modal {
2 4 .components-modal__header {
3 5 padding-block-end: 24px;
4 6 }
@@ -6,9 +8,9 @@
6 8 .components-modal__content {
7 9 padding: 0;
8 10 display: flex;
9 11 flex-flow: column;
10 - background: #f6f7f7;
12 + background: var(--cs-color-surface-subtle);
11 13 overflow: initial;
12 14 max-inline-size: 100%;
13 15 }
14 16
@@ -27,15 +29,15 @@
27 29 overflow-y: auto;
28 30 }
29 31
30 32 .modal-footer {
31 - border-block-start: 1px solid #e2e2e4;
33 + border-block-start: 1px solid var(--cs-color-border-subtle);
32 34 display: flex;
33 35 flex-flow: row-reverse;
34 36 justify-content: space-between;
35 37 align-items: center;
36 38 inset-block-end: 0;
37 - background: #f6f7f7;
39 + background: var(--cs-color-surface-subtle);
38 40 inline-size: 100%;
39 41 padding: 11px 19px;
40 42
41 43 .button-link {
@@ -54,9 +56,9 @@
54 56
55 57 .components-modal__frame.code-snippets-preview-modal {
56 58 min-inline-size: 520px;
57 59 min-block-size: 240px;
58 - inline-size: min(900px, 90vw);
60 + inline-size: var(--cs-preview-modal-inline-size);
59 61 max-block-size: 85vh;
60 62
61 63 @media (width <= 600px) {
62 64 min-inline-size: 90vw;
@@ -115,13 +117,14 @@
115 117 .code-snippets-preview-modal__footer {
116 118 display: flex;
117 119 align-items: center;
118 120 justify-content: space-between;
121 + flex-wrap: wrap;
119 122 flex-shrink: 0;
120 123 gap: 16px;
121 124 padding: 11px 19px;
122 - border-block-start: 1px solid #e2e2e4;
123 - background: #f6f7f7;
125 + border-block-start: 1px solid var(--cs-color-border-subtle);
126 + background: var(--cs-color-surface-subtle);
124 127 }
125 128
126 129 .code-snippets-preview-modal__priority {
127 130 display: flex;
@@ -127,13 +130,13 @@
127 130 display: flex;
128 131 align-items: center;
129 132 gap: 8px;
130 133 font-size: 14px;
131 - color: #646970;
134 + color: var(--cs-color-text-muted);
132 135
133 136 .code-snippets-preview-modal__priority-value {
134 137 font-weight: 600;
135 - color: #2c3337;
138 + color: var(--cs-color-text);
136 139 }
137 140 }
138 141
139 142 .code-snippets-preview-modal__buttons {
@@ -138,8 +141,9 @@
138 141
139 142 .code-snippets-preview-modal__buttons {
140 143 display: flex;
141 144 align-items: center;
145 + flex-wrap: wrap;
142 146 gap: 8px;
143 147
144 148 .button {
145 149 border-radius: 5px;
@@ -149,21 +153,33 @@
149 153 .button-link.code-snippets-preview-modal__trash {
150 154 min-block-size: 38px;
151 155 padding-block: 0;
152 156 padding-inline: 16px;
153 - border: 1px solid #b32d2e;
157 + border: 1px solid var(--cs-color-error);
154 158 border-radius: 5px;
155 - background: #f6f7f7;
159 + background: var(--cs-color-surface-subtle);
156 160 line-height: 2.5715;
157 161 font-weight: 400;
158 - color: #b32d2e;
162 + color: var(--cs-color-error);
159 163 text-decoration: none;
160 164
161 165 &:hover,
162 166 &:focus {
163 - border-color: #d63638;
164 - background: #f0f0f1;
165 - color: #d63638;
167 + border-color: var(--cs-color-error);
168 + background: var(--cs-color-surface-muted);
169 + color: var(--cs-color-error);
166 170 }
167 171 }
168 172 }
169 173 }
174 +
175 +.components-modal__content {
176 + .action-buttons {
177 + display: flex;
178 + justify-content: flex-end;
179 + }
180 +
181 + .components-button.is-secondary {
182 + box-shadow: none;
183 + }
184 +}
185 +