mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-05 23:13:19 +00:00
update
This commit is contained in:
parent
a1b1bacc1f
commit
3e7da73c61
@ -494,7 +494,7 @@
|
||||
box-shadow: none; //
|
||||
}
|
||||
|
||||
@mixin undershoot($p, $c: $wm_shadow, $neighbor: false) {
|
||||
@mixin undershoot($p, $c: $wm_shadow, $neighbor: false, $style: default) {
|
||||
//
|
||||
// undershoot
|
||||
//
|
||||
@ -525,9 +525,9 @@
|
||||
} @else {
|
||||
@error "Unknown position #{$p}"
|
||||
}
|
||||
|
||||
|
||||
#{$_selector} undershoot.#{$p} {
|
||||
box-shadow: inset $_border_pos $borders_color;
|
||||
box-shadow: if($style == 'default', none, inset $_border_pos $borders_color);
|
||||
background: linear-gradient(to $_direction, gtkalpha($c, .25), transparent 6px);
|
||||
}
|
||||
}
|
||||
|
@ -527,30 +527,30 @@ toolbarview.undershoot-bottom scrolledwindow {
|
||||
}
|
||||
|
||||
toolbarview.undershoot-top scrolledwindow {
|
||||
@include undershoot(top);
|
||||
@include undershoot(top, $style: 'compact');
|
||||
}
|
||||
|
||||
toolbarview.undershoot-bottom scrolledwindow {
|
||||
@include undershoot(bottom);
|
||||
@include undershoot(bottom, $style: 'compact');
|
||||
}
|
||||
|
||||
scrolledwindow {
|
||||
&.undershoot-top {
|
||||
@include undershoot(top);
|
||||
@include undershoot(top, $style: 'compact');
|
||||
}
|
||||
|
||||
&.undershoot-bottom {
|
||||
@include undershoot(bottom)
|
||||
@include undershoot(bottom, $style: 'compact');
|
||||
}
|
||||
|
||||
&.undershoot-start {
|
||||
&:dir(ltr) { @include undershoot(left); }
|
||||
&:dir(rtl) { @include undershoot(right); }
|
||||
&:dir(ltr) { @include undershoot(left, $style: 'compact'); }
|
||||
&:dir(rtl) { @include undershoot(right, $style: 'compact'); }
|
||||
}
|
||||
|
||||
&.undershoot-end {
|
||||
&:dir(ltr) { @include undershoot(right); }
|
||||
&:dir(rtl) { @include undershoot(left); }
|
||||
&:dir(ltr) { @include undershoot(right, $style: 'compact'); }
|
||||
&:dir(rtl) { @include undershoot(left, $style: 'compact'); }
|
||||
}
|
||||
}
|
||||
|
||||
@ -597,30 +597,30 @@ toolbarview.undershoot-bottom scrolledwindow {
|
||||
}
|
||||
|
||||
toolbarview.undershoot-top scrolledwindow {
|
||||
@include undershoot(top);
|
||||
@include undershoot(top, $style: 'compact');
|
||||
}
|
||||
|
||||
toolbarview.undershoot-bottom scrolledwindow {
|
||||
@include undershoot(bottom);
|
||||
@include undershoot(bottom, $style: 'compact');
|
||||
}
|
||||
|
||||
scrolledwindow {
|
||||
&.undershoot-top {
|
||||
@include undershoot(top);
|
||||
@include undershoot(top, $style: 'compact');
|
||||
}
|
||||
|
||||
&.undershoot-bottom {
|
||||
@include undershoot(bottom)
|
||||
@include undershoot(bottom, $style: 'compact');
|
||||
}
|
||||
|
||||
&.undershoot-start {
|
||||
&:dir(ltr) { @include undershoot(left); }
|
||||
&:dir(rtl) { @include undershoot(right); }
|
||||
&:dir(ltr) { @include undershoot(left, $style: 'compact'); }
|
||||
&:dir(rtl) { @include undershoot(right, $style: 'compact'); }
|
||||
}
|
||||
|
||||
&.undershoot-end {
|
||||
&:dir(ltr) { @include undershoot(right); }
|
||||
&:dir(rtl) { @include undershoot(left); }
|
||||
&:dir(ltr) { @include undershoot(right, $style: 'compact'); }
|
||||
&:dir(rtl) { @include undershoot(left, $style: 'compact'); }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user