Fix hound

This commit is contained in:
Jesús Arroyo Torrens 2017-09-27 18:15:05 +02:00
parent f39e4da135
commit ed70ee8e10
2 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@
display: none;
position: absolute; /* please don't change 'position' */
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) {
@ -13,7 +13,7 @@
position: absolute; /* please don't change 'position' */
background: map_get($theme, bar-bg);
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) {
@ -24,8 +24,8 @@
&.ps-in-scrolling {
&.ps-x > .ps-scrollbar-x-rail {
@include scrollbar-rail-hover($theme);
background: map_get($theme, bar-x-rail-hover-bg);
height: map_get($theme, scrollbar-x-rail-hover-height);
background: map_get($theme, bar-x-rail-hover-bg);
> .ps-scrollbar-x {
@include scrollbar-hover($theme);
@ -34,8 +34,8 @@
}
&.ps-y > .ps-scrollbar-y-rail {
@include scrollbar-rail-hover($theme);
background: map_get($theme, bar-y-rail-hover-bg);
width: map_get($theme, scrollbar-y-rail-hover-width);
background: map_get($theme, bar-y-rail-hover-bg);
> .ps-scrollbar-y {
@include scrollbar-hover($theme);

View File

@ -5,14 +5,14 @@ $ps-rail-default-opacity: 1 !default;
$ps-rail-container-hover-opacity: 1 !default;
$ps-rail-hover-opacity: 1 !default;
$ps-bar-bg: #aaa !default;
$ps-bar-hover-bg: #aaa !default;
$ps-bar-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-hover-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-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-bg: linear-gradient(90deg, transparent 50%, #EEE 50%) !default;
$ps-bar-y-rail-hover-bg: linear-gradient(90deg, transparent 50%, #EEE 50%) !default;
// Sizes
$ps-scrollbar-x-rail-bottom: 0 !default;