mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2025-09-15 21:08:39 -07:00
Fixed #153
This commit is contained in:
@@ -7,6 +7,19 @@
|
||||
@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') {
|
||||
// Allow 'light' or 'dark' to $color
|
||||
@if ($color == 'light') { $color: $white; }
|
||||
|
@@ -3543,19 +3543,33 @@ frame {
|
||||
statusbar & > border { border: none; } // for backward compatibility
|
||||
}
|
||||
|
||||
actionbar > revealer > box {
|
||||
padding: $space-size;
|
||||
border-spacing: 0;
|
||||
box-shadow: inset 0 1px $border;
|
||||
background-color: $base;
|
||||
background-clip: border-box;
|
||||
border: none;
|
||||
actionbar {
|
||||
&.toolbar { // reset
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
border-spacing: 0;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
|
||||
button, entry,
|
||||
menubutton, menubutton > button,
|
||||
splitbutton, splitbutton > button,
|
||||
spinbutton {
|
||||
margin: 0;
|
||||
> revealer > box {
|
||||
background-color: $base-alt;
|
||||
}
|
||||
}
|
||||
|
||||
> 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