File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 106
106
}
107
107
108
108
.mini-list-item {
109
+ @include variables .elevated-content-border ;
110
+
109
111
background : var (--pub-neutral-bgColor );
110
112
border-radius : 4px ;
111
- box-shadow : 0px 2px 7px 0px var (--pub-home_card-box_shadow-color );
112
113
padding : 28px 30px 30px ; // title's top gap is about 2px (30-2 => 28)
113
114
margin-bottom : 10px ;
114
115
min-height : 100px ;
115
116
116
117
& :hover {
117
118
background : var (--pub-neutral-hover-bgColor );
118
- box-shadow : 0px 4px 9px 0px var (--pub-home_card_hover-box_shadow-color );
119
119
120
120
@media (min-width : variables .$device-desktop-min-width ) {
121
121
.mini-list-item-body {
Original file line number Diff line number Diff line change 244
244
}
245
245
}
246
246
247
+ @mixin elevated-content-border {
248
+ .light-theme & {
249
+ box-shadow : 0px 2px 7px 0px var (--pub-home_card-box_shadow-color );
250
+
251
+ & :hover {
252
+ box-shadow : 0px 4px 9px 0px var (--pub-home_card_hover-box_shadow-color );
253
+ }
254
+ }
255
+
256
+ .dark-theme & {
257
+ border : 1px solid var (--pub-home_card-box_shadow-color );
258
+
259
+ & :hover {
260
+ border-color : var (--pub-home_card_hover-box_shadow-color );
261
+ }
262
+ }
263
+ }
264
+
247
265
$device-desktop-min-width : 641px ;
248
266
$device-mobile-max-width : 640px ;
249
267
$device-tablet-max-width : 979px ;
You can’t perform that action at this time.
0 commit comments