mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
v1.2.0-1
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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} {
|
||||||
|
|||||||
@@ -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" />
|
||||||
|
|||||||
Reference in New Issue
Block a user