File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,13 @@ const toasts = [
37
37
<span class = " toast-title" >{ toast .title } </span >
38
38
<span class = " toast-description" >{ toast .description } </span >
39
39
</div >
40
+ <div class = " black-friday-wrap" >
41
+ <div class = " black-friday" >
42
+ christmas
43
+ <br />
44
+ deal
45
+ </div >
46
+ </div >
40
47
</div >
41
48
</a >
42
49
))
@@ -226,36 +233,30 @@ const toasts = [
226
233
transform: translateY(-50%);
227
234
}
228
235
229
- html.dark .black-friday {
230
- background-color: #fff;
231
- color: #000;
232
- }
233
-
234
236
.black-friday {
235
237
transform: rotateZ(45deg);
236
- font-size: 8px ;
238
+ font-size: 7px ;
237
239
text-transform: uppercase;
238
- font-weight: 700 ;
239
- background-color: #111 ;
240
+ font-weight: 800 ;
241
+ background-color: #ff4545 ;
240
242
color: #fff;
241
- padding: 3px ;
243
+ padding: 2px ;
242
244
border-radius: 3px;
243
245
line-height: normal;
246
+ text-align: center;
244
247
}
245
248
246
249
@media screen and (max-height: 742px) {
247
250
body:has(#banner) .toasts-wrap {
248
251
display: none;
249
252
}
250
253
}
251
-
254
+
252
255
@media screen and (max-height: 704px) {
253
256
body:not(:has(#banner)) .toasts-wrap {
254
257
display: none;
255
258
}
256
259
}
257
-
258
-
259
260
</style >
260
261
<style is:global >
261
262
.toast-icon svg {
You can’t perform that action at this time.
0 commit comments