|
75 | 75 | // stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY |
76 | 76 | display: flex; |
77 | 77 |
|
78 | | - // stylelint-disable selector-max-class, selector-max-combinators, selector-max-specificity -- generated by polaris-migrator DO NOT COPY |
79 | | - &.statusCritical .PrimaryAction .Button { |
| 78 | + // stylelint-disable selector-max-class, selector-max-specificity -- generated by polaris-migrator DO NOT COPY |
| 79 | + &.statusCritical .PrimaryAction.Button { |
80 | 80 | border-color: var(--p-border-critical-subdued); |
81 | 81 | background: var(--p-surface-critical-subdued); |
82 | 82 |
|
|
96 | 96 | } |
97 | 97 | } |
98 | 98 |
|
99 | | - &.statusWarning .PrimaryAction .Button { |
| 99 | + &.statusWarning .PrimaryAction.Button { |
100 | 100 | border-color: var(--p-border-warning-subdued); |
101 | 101 | background: var(--p-surface-warning-subdued); |
102 | 102 |
|
|
116 | 116 | } |
117 | 117 | } |
118 | 118 |
|
119 | | - &.statusInfo .PrimaryAction .Button { |
| 119 | + &.statusInfo .PrimaryAction.Button { |
120 | 120 | border-color: var(--p-border-highlight-subdued); |
121 | 121 | background: var(--p-surface-highlight-subdued); |
122 | 122 |
|
|
136 | 136 | } |
137 | 137 | } |
138 | 138 |
|
139 | | - &.statusSuccess .PrimaryAction .Button { |
| 139 | + &.statusSuccess .PrimaryAction.Button { |
140 | 140 | border-color: var(--p-border-success-subdued); |
141 | 141 | background: var(--p-surface-success-subdued); |
142 | 142 |
|
|
155 | 155 | background: var(--p-surface-success-subdued); |
156 | 156 | } |
157 | 157 | } |
158 | | - // stylelint-enable selector-max-class, selector-max-combinators, selector-max-specificity |
159 | | -} |
160 | | - |
161 | | -.ContentWrapper { |
162 | | - margin-top: calc(-1 * var(--p-space-05)); |
163 | | - // stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY |
164 | | - flex: 1 1 auto; |
| 158 | + // stylelint-enable selector-max-class, selector-max-specificity |
165 | 159 | } |
166 | 160 |
|
167 | 161 | .withinContentContainer { |
|
176 | 170 | position: absolute; |
177 | 171 | } |
178 | 172 |
|
179 | | - .Ribbon { |
180 | | - padding-right: var(--p-space-4); |
181 | | - } |
182 | | - |
183 | 173 | @include banner-variants($in-page: false); |
184 | 174 |
|
185 | 175 | + .Banner { |
186 | 176 | margin-top: var(--p-space-2); |
187 | 177 | } |
188 | | - |
189 | | - .Actions { |
190 | | - padding: var(--p-space-3) 0 var(--p-space-1) 0; |
191 | | - } |
192 | 178 | } |
193 | 179 |
|
194 | 180 | .withinPage { |
|
206 | 192 | padding-right: var(--p-space-4); |
207 | 193 | } |
208 | 194 |
|
209 | | - .Actions { |
210 | | - padding-top: var(--p-space-4); |
211 | | - } |
212 | | - |
213 | 195 | .Dismiss { |
214 | 196 | // stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY |
215 | 197 | right: var(--p-space-4); |
|
225 | 207 | padding-right: calc(var(--p-space-8) + var(--p-icon-size-small)); |
226 | 208 | } |
227 | 209 |
|
228 | | -.Heading { |
229 | | - word-break: break-word; |
230 | | -} |
231 | | - |
232 | | -.Content { |
233 | | - // stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY |
234 | | - @include text-breakword; |
235 | | - padding: var(--p-space-05) 0; |
236 | | -} |
237 | | - |
238 | | -.Ribbon { |
239 | | - // stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY |
240 | | - flex: 0 0 var(--p-space-8); |
241 | | -} |
242 | | - |
243 | | -.PrimaryAction { |
244 | | - margin-right: var(--p-space-2); |
245 | | -} |
246 | | - |
247 | 210 | // We need pretty high specificity to do the descendant selectors |
248 | 211 | // onto the text, which needs to be the relative positioned wrapper |
249 | 212 | // so that the borders/ backgrounds do not extend outside of it. |
|
0 commit comments