richie-education 2.33.1-dev6 → 2.33.1-dev7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -208,6 +208,11 @@
|
|
|
208
208
|
@include sv-flex(0, 0, auto);
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
+
// Define color variable for default item color on hover then available variants
|
|
212
|
+
@if r-theme-val(topbar, item-hover-color) {
|
|
213
|
+
--r--menu--item--hover--color: #{r-theme-val(topbar, item-hover-color)};
|
|
214
|
+
}
|
|
215
|
+
|
|
211
216
|
& > a {
|
|
212
217
|
@include sv-flex(1, 0, 100%);
|
|
213
218
|
display: flex;
|
|
@@ -228,6 +233,7 @@
|
|
|
228
233
|
@include media-breakpoint-up($r-topbar-breakpoint) {
|
|
229
234
|
position: relative;
|
|
230
235
|
|
|
236
|
+
// If there is no default hover color we assume there is also no variant
|
|
231
237
|
@if r-theme-val(topbar, item-hover-color) {
|
|
232
238
|
&::after {
|
|
233
239
|
content: '';
|
|
@@ -236,7 +242,7 @@
|
|
|
236
242
|
left: 0;
|
|
237
243
|
right: 0;
|
|
238
244
|
height: 8px;
|
|
239
|
-
background-color: r
|
|
245
|
+
background-color: var(--r--menu--item--hover--color);
|
|
240
246
|
border-top-left-radius: 0.2rem;
|
|
241
247
|
border-top-right-radius: 0.2rem;
|
|
242
248
|
}
|