Popover fixes

pull/224/head
Satyajit Sahoo 2014-12-14 18:16:10 +05:30
parent e2dc6ca7cc
commit bd61315575
2 changed files with 39 additions and 22 deletions

View File

@ -48,7 +48,7 @@
inset 0 1px alpha($dark_shadow, .12), inset 0 1px alpha($dark_shadow, .12),
inset -1px 0 alpha($dark_shadow, .1), inset -1px 0 alpha($dark_shadow, .1),
inset 0 -1px alpha($dark_shadow, .05), inset 0 -1px alpha($dark_shadow, .05),
0 1px 2px -1px shade($bg_color, 1.4); 0 1px 2px -1px shade($bg, 1.4);
&:selected, &:selected:focus { &:selected, &:selected:focus {
background-color: $selected_bg_color; background-color: $selected_bg_color;
@ -70,7 +70,7 @@
color: $selected_fg_color; color: $selected_fg_color;
} }
&.image.left { padding-right: ($spacing / 2); } &.image.left { padding-right: $spacing; }
} }
@include exports("entry") { @include exports("entry") {

View File

@ -118,8 +118,7 @@
&, &:focus, &:active, &:insensitive, &:active:insensitive { &, &:focus, &:active, &:insensitive, &:active:insensitive {
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;
border-color: transparent; border: none;
border-style: none;
box-shadow: none; box-shadow: none;
color: currentColor; color: currentColor;
} }
@ -189,11 +188,39 @@
> .toolbar .button { > .toolbar .button {
border-radius: 0; border-radius: 0;
border-width: 0; border-width: 0;
background-image: none;
background-color: transparent; background-color: transparent;
background-image: none;
} }
} }
.list {
background-color: transparent;
background-image: none;
}
.list-row {
&, &.button {
background-color: transparent;
background-image: none;
color: $menu_fg_color;
&:focus, &:hover, &:active {
background-image: none;
background-color: $selected_bg_color;
color: $selected_fg_color;
}
}
}
.frame {
border-color: border_normal($menu_bg_color);
border-radius: $roundness;
}
.entry { @include entry($menu_bg_color, $menu_fg_color); }
.button { @include button($menu_bg_color, $menu_fg_color); }
> .list, > .view, > .toolbar { background-color: transparent; } > .list, > .view, > .toolbar { background-color: transparent; }
.separator { .separator {
@ -206,24 +233,14 @@
} }
GtkModelButton.button { GtkModelButton.button {
&, &:focus, &:active, &:insensitive, &:active:insensitive { &, &:backdrop {
&, &:backdrop { @include button(transparent, currentColor);
background-color: transparent;
background-image: none;
border-color: transparent;
border-image: none;
border-style: none;
box-shadow: none;
color: $menu_fg_color;
}
}
&:focus:hover, &:active:hover, &:hover, &:selected { &:focus:hover, &:active:hover, &:hover, &:selected {
background-image: none; background-image: none;
background-color: $selected_bg_color; background-color: $selected_bg_color;
color: $selected_fg_color; color: $selected_fg_color;
border: none; }
border-radius: 2px;
} }
} }
} }