Fix hound
This commit is contained in:
parent
f39e4da135
commit
ed70ee8e10
@ -2,7 +2,7 @@
|
|||||||
display: none;
|
display: none;
|
||||||
position: absolute; /* please don't change 'position' */
|
position: absolute; /* please don't change 'position' */
|
||||||
opacity: map_get($theme, rail-default-opacity);
|
opacity: map_get($theme, rail-default-opacity);
|
||||||
transition: height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;
|
transition: height 0.2s linear, width 0.2s ease-in-out, border-radius 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin scrollbar-rail-hover($theme) {
|
@mixin scrollbar-rail-hover($theme) {
|
||||||
@ -13,7 +13,7 @@
|
|||||||
position: absolute; /* please don't change 'position' */
|
position: absolute; /* please don't change 'position' */
|
||||||
background: map_get($theme, bar-bg);
|
background: map_get($theme, bar-bg);
|
||||||
border-radius: map_get($theme, border-radius);
|
border-radius: map_get($theme, border-radius);
|
||||||
transition: height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;
|
transition: height 0.2s linear, width 0.2s ease-in-out, border-radius 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin scrollbar-hover($theme) {
|
@mixin scrollbar-hover($theme) {
|
||||||
@ -24,8 +24,8 @@
|
|||||||
&.ps-in-scrolling {
|
&.ps-in-scrolling {
|
||||||
&.ps-x > .ps-scrollbar-x-rail {
|
&.ps-x > .ps-scrollbar-x-rail {
|
||||||
@include scrollbar-rail-hover($theme);
|
@include scrollbar-rail-hover($theme);
|
||||||
background: map_get($theme, bar-x-rail-hover-bg);
|
|
||||||
height: map_get($theme, scrollbar-x-rail-hover-height);
|
height: map_get($theme, scrollbar-x-rail-hover-height);
|
||||||
|
background: map_get($theme, bar-x-rail-hover-bg);
|
||||||
|
|
||||||
> .ps-scrollbar-x {
|
> .ps-scrollbar-x {
|
||||||
@include scrollbar-hover($theme);
|
@include scrollbar-hover($theme);
|
||||||
@ -34,8 +34,8 @@
|
|||||||
}
|
}
|
||||||
&.ps-y > .ps-scrollbar-y-rail {
|
&.ps-y > .ps-scrollbar-y-rail {
|
||||||
@include scrollbar-rail-hover($theme);
|
@include scrollbar-rail-hover($theme);
|
||||||
background: map_get($theme, bar-y-rail-hover-bg);
|
|
||||||
width: map_get($theme, scrollbar-y-rail-hover-width);
|
width: map_get($theme, scrollbar-y-rail-hover-width);
|
||||||
|
background: map_get($theme, bar-y-rail-hover-bg);
|
||||||
|
|
||||||
> .ps-scrollbar-y {
|
> .ps-scrollbar-y {
|
||||||
@include scrollbar-hover($theme);
|
@include scrollbar-hover($theme);
|
||||||
|
@ -5,14 +5,14 @@ $ps-rail-default-opacity: 1 !default;
|
|||||||
$ps-rail-container-hover-opacity: 1 !default;
|
$ps-rail-container-hover-opacity: 1 !default;
|
||||||
$ps-rail-hover-opacity: 1 !default;
|
$ps-rail-hover-opacity: 1 !default;
|
||||||
|
|
||||||
$ps-bar-bg: #aaa !default;
|
$ps-bar-bg: #AAA !default;
|
||||||
$ps-bar-hover-bg: #aaa !default;
|
$ps-bar-hover-bg: #AAA !default;
|
||||||
|
|
||||||
$ps-bar-x-rail-bg: linear-gradient(180deg, transparent 50%, #eee 50%) !default;
|
$ps-bar-x-rail-bg: linear-gradient(180deg, transparent 50%, #EEE 50%) !default;
|
||||||
$ps-bar-x-rail-hover-bg: linear-gradient(180deg, transparent 50%, #eee 50%) !default;
|
$ps-bar-x-rail-hover-bg: linear-gradient(180deg, transparent 50%, #EEE 50%) !default;
|
||||||
|
|
||||||
$ps-bar-y-rail-bg: linear-gradient(90deg, transparent 50%, #eee 50%) !default;
|
$ps-bar-y-rail-bg: linear-gradient(90deg, transparent 50%, #EEE 50%) !default;
|
||||||
$ps-bar-y-rail-hover-bg: linear-gradient(90deg, transparent 50%, #eee 50%) !default;
|
$ps-bar-y-rail-hover-bg: linear-gradient(90deg, transparent 50%, #EEE 50%) !default;
|
||||||
|
|
||||||
// Sizes
|
// Sizes
|
||||||
$ps-scrollbar-x-rail-bottom: 0 !default;
|
$ps-scrollbar-x-rail-bottom: 0 !default;
|
||||||
|
Loading…
Reference in New Issue
Block a user