File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ input[type="checkbox"]:checked::after {
168
168
rect .card ,
169
169
line .arrow ,
170
170
// "line.arrow +" is required to override leaflet's style for "svg path" with "pointer-events: none"
171
- line .arrow + path .arrow {
171
+ line .arrow + path .arrow {
172
172
@extend %pointer ;
173
173
174
174
pointer-events : auto ;
@@ -195,7 +195,7 @@ line.arrow:hover,
195
195
// hover on arrow head
196
196
line .arrow :has (+ path .arrow :hover ),
197
197
// connection is active
198
- svg .active > line .arrow {
198
+ svg .active > line .arrow {
199
199
stroke : $arrow-color-hover ;
200
200
201
201
& + path .arrow {
@@ -308,7 +308,10 @@ main.hide-spoilers {
308
308
fill : list .nth ($other-color , 1 );
309
309
}
310
310
311
- & svg :hover > .card {
311
+ // card is hovered
312
+ & svg :hover > .card ,
313
+ // card is opened
314
+ & svg .active > .card {
312
315
fill : list .nth ($other-color , 2 );
313
316
}
314
317
}
You can’t perform that action at this time.
0 commit comments