mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2025-09-16 13:28:38 -07:00
Fixed #153
This commit is contained in:
@@ -7,6 +7,19 @@
|
|||||||
@return unquote("alpha(#{$c}, #{$a})");
|
@return unquote("alpha(#{$c}, #{$a})");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@function gtkmix($c1,$c2,$r) {
|
||||||
|
$ratio: 1 - $r / 100%; // match SCSS mix()
|
||||||
|
@return unquote("mix(#{$c1},#{$c2},#{$ratio})");
|
||||||
|
}
|
||||||
|
|
||||||
|
@function gtkshade($c,$s) {
|
||||||
|
@return unquote("shade(#{$c},#{$s})");
|
||||||
|
}
|
||||||
|
|
||||||
|
@function gtkcolor($c) {
|
||||||
|
@return unquote("@#{$c}");
|
||||||
|
}
|
||||||
|
|
||||||
@function on($color, $state: 'primary') {
|
@function on($color, $state: 'primary') {
|
||||||
// Allow 'light' or 'dark' to $color
|
// Allow 'light' or 'dark' to $color
|
||||||
@if ($color == 'light') { $color: $white; }
|
@if ($color == 'light') { $color: $white; }
|
||||||
|
@@ -3543,19 +3543,33 @@ frame {
|
|||||||
statusbar & > border { border: none; } // for backward compatibility
|
statusbar & > border { border: none; } // for backward compatibility
|
||||||
}
|
}
|
||||||
|
|
||||||
actionbar > revealer > box {
|
actionbar {
|
||||||
padding: $space-size;
|
&.toolbar { // reset
|
||||||
border-spacing: 0;
|
background-color: transparent;
|
||||||
box-shadow: inset 0 1px $border;
|
padding: 0;
|
||||||
background-color: $base;
|
border-spacing: 0;
|
||||||
background-clip: border-box;
|
border: none;
|
||||||
border: none;
|
box-shadow: none;
|
||||||
|
|
||||||
button, entry,
|
> revealer > box {
|
||||||
menubutton, menubutton > button,
|
background-color: $base-alt;
|
||||||
splitbutton, splitbutton > button,
|
}
|
||||||
spinbutton {
|
}
|
||||||
margin: 0;
|
|
||||||
|
> revealer > box {
|
||||||
|
padding: $space-size;
|
||||||
|
border-spacing: 0;
|
||||||
|
box-shadow: inset 0 1px $border;
|
||||||
|
background-color: $base;
|
||||||
|
background-clip: border-box;
|
||||||
|
border: none;
|
||||||
|
|
||||||
|
button, entry,
|
||||||
|
menubutton, menubutton > button,
|
||||||
|
splitbutton, splitbutton > button,
|
||||||
|
spinbutton {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user