This commit is contained in:
jxxghp
2023-09-14 17:22:23 +08:00
parent 7cce57496d
commit 948e65d383
3 changed files with 24 additions and 25 deletions
-2
View File
@@ -17,7 +17,6 @@
// ️ This mixin is inspired from vuetify for adding hover styles via before pseudo element // ️ This mixin is inspired from vuetify for adding hover styles via before pseudo element
@mixin before-pseudo() { @mixin before-pseudo() {
position: relative; position: relative;
@media (hover) {
&::before { &::before {
position: absolute; position: absolute;
background: currentcolor; background: currentcolor;
@@ -30,7 +29,6 @@
pointer-events: none; pointer-events: none;
} }
} }
}
// ——— Light background generator ——————— // // ——— Light background generator ——————— //
// ️ With this you have to give text color to the component you want light bg // ️ With this you have to give text color to the component you want light bg
-2
View File
@@ -8,7 +8,6 @@
// ️ This mixin is inspired from vuetify for adding hover styles via before pseudo element // ️ This mixin is inspired from vuetify for adding hover styles via before pseudo element
@mixin before-pseudo() { @mixin before-pseudo() {
position: relative; position: relative;
@media (hover) {
&::before { &::before {
position: absolute; position: absolute;
border-radius: inherit; border-radius: inherit;
@@ -21,7 +20,6 @@
pointer-events: none; pointer-events: none;
} }
} }
}
@mixin bordered-skin($component, $border-property: "border", $important: false) { @mixin bordered-skin($component, $border-property: "border", $important: false) {
#{$component} { #{$component} {
+4 -1
View File
@@ -70,12 +70,15 @@ function handleNavScroll(evt: Event) {
<slot name="nav-items" :update-is-vertical-nav-scrolled="updateIsVerticalNavScrolled"> <slot name="nav-items" :update-is-vertical-nav-scrolled="updateIsVerticalNavScrolled">
<PerfectScrollbar <PerfectScrollbar
tag="ul" tag="ul"
class="nav-items" class="nav-items d-none d-lg-block"
:options="{ wheelPropagation: false }" :options="{ wheelPropagation: false }"
@ps-scroll-y="handleNavScroll" @ps-scroll-y="handleNavScroll"
> >
<slot /> <slot />
</PerfectScrollbar> </PerfectScrollbar>
<ul class="nav-items d-lg-none overflow-auto">
<slot />
</ul>
</slot> </slot>
<slot name="after-nav-items" /> <slot name="after-nav-items" />