Skip to content

Commit b158689

Browse files
fix: your slot colors for all states
1 parent 77ca644 commit b158689

File tree

1 file changed

+14
-36
lines changed

1 file changed

+14
-36
lines changed

src/features/Navigation/slotsRenderer.module.css

Lines changed: 14 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,9 @@
1818
border-color: rgba(113, 124, 152, 0.5);
1919
background: #071017;
2020

21-
&.your-slot-group:hover {
22-
border-color: rgba(42, 126, 223, 0.8);
23-
}
24-
25-
&.your-slot-group:active {
26-
border-color: #379bf3;
27-
}
28-
2921
&.selected-slot-group {
3022
border-color: #717c98;
3123
background: #1a2641;
32-
33-
&.your-slot-group:hover {
34-
border-color: #2a7edf;
35-
}
36-
37-
&.your-slot-group:active {
38-
border-color: #379bf3;
39-
}
4024
}
4125
}
4226

@@ -68,7 +52,7 @@
6852
}
6953

7054
&.future-slot-group {
71-
height: 22px;
55+
height: 24px;
7256
background: #111;
7357
border-color: rgba(67, 67, 67, 0.5);
7458

@@ -91,27 +75,20 @@
9175
border-color: rgba(212, 73, 73, 0.5);
9276
background: #1f0404;
9377

94-
&.your-slot-group:hover {
95-
border-color: rgba(42, 126, 223, 0.8);
96-
}
97-
98-
&.your-slot-group:active {
99-
border-color: #379bf3;
100-
}
101-
10278
&.selected-slot-group {
10379
border-color: rgba(212, 73, 73, 0.5);
10480
background: #370808;
105-
106-
&.your-slot-group:hover {
107-
border-color: #2a7edf;
108-
}
10981
}
11082
}
11183

11284
&.your-slot-group {
11385
border-top-width: 3px;
11486
border-color: #2a7edf !important;
87+
88+
&:hover,
89+
&:active {
90+
border-color: #379bf3 !important;
91+
}
11592
}
11693
}
11794

@@ -147,14 +124,15 @@
147124
background-origin: border-box;
148125
}
149126

150-
&:has(.next-slot-group.your-slot-group):hover,
151-
&:has(.previous-slot-group.your-slot-group):hover {
152-
background: rgba(42, 126, 223, 0.8);
153-
}
127+
&:has(.next-slot-group.your-slot-group),
128+
&:has(.previous-slot-group.your-slot-group) {
129+
border-top-width: 3px;
130+
background: #2a7edf;
154131

155-
&:has(.next-slot-group.your-slot-group):active,
156-
&:has(.previous-slot-group.your-slot-group):active {
157-
background: #379bf3;
132+
&:hover,
133+
&:active {
134+
background: #379bf3;
135+
}
158136
}
159137
}
160138

0 commit comments

Comments
 (0)