aboutsummaryrefslogtreecommitdiff
path: root/gtk-3.0/_common.scss
diff options
context:
space:
mode:
Diffstat (limited to 'gtk-3.0/_common.scss')
-rw-r--r--gtk-3.0/_common.scss43
1 files changed, 38 insertions, 5 deletions
diff --git a/gtk-3.0/_common.scss b/gtk-3.0/_common.scss
index d56bf8d..837c01d 100644
--- a/gtk-3.0/_common.scss
+++ b/gtk-3.0/_common.scss
@@ -1050,20 +1050,53 @@ GtkComboBox {
border-color: darken($selection_mode_bg, 4%);
box-shadow: none;
- &:backdrop { background-color: $selection_mode_bg; }
+ &:backdrop {
+ background-color: $selection_mode_bg;
+ color: transparentize($selected_fg_color, 0.4);
+ }
.subtitle:link { @extend *:link:selected; }
.button {
- @extend %selected-button
+ color: $selected_fg_color;
+ outline-color: transparentize($selected_fg_color, 0.7);
+ background-color: transparentize($selected_fg_color, 1);
+ border-color: transparentize($selected_fg_color, 1);
+
+ &.flat {
+ @include button(undecorated);
+ color: $selected_fg_color;
+ background-color: transparentize($selected_fg_color, 1);
+ }
+ &:hover {
+ color: $selected_fg_color;
+ outline-color: transparentize($selected_fg_color, 0.7);
+ background-color: transparentize($selected_fg_color, 0.95);
+ border-color: transparentize($selected_fg_color, 0.5);
+ }
+ &:active, &:checked {
+ color: $selected_fg_color;
+ outline-color: transparentize($selected_fg_color, 0.7);
+ background-color: transparentize(black, 0.8);
+ border-color: transparentize(black, 0.8);
+ }
+ &:insensitive {
+ color: transparentize($selected_fg_color, 0.6);
+ background-color: transparentize($selected_fg_color, 1);
+ border-color: transparentize($selected_fg_color, 1);
+
+ &:active, &:checked {
+ color: transparentize($selected_fg_color, 0.6);
+ background-color: transparentize(black, 0.85);
+ border-color: transparentize(black, 0.85);
+ }
+ }
}
.selection-menu {
box-shadow: none;
padding-left: 10px;
padding-right: 10px;
- padding-top: 12px;
- padding-bottom: 12px;
GtkArrow { -GtkArrow-arrow-scaling: 1; }
.arrow {
-gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
@@ -1087,7 +1120,7 @@ GtkComboBox {
padding-top: 5px; // less padding for ssd
padding-bottom: 5px; //
background-color: opacify($header_bg, 1);
- border-bottom: none;
+ border-bottom-width: 0;
&:backdrop { background-color: lighten(opacify($header_bg, 1), 3%); }
}