* Re-enabled code.

pull/311/head
Megax 2016-04-10 13:37:56 +02:00
parent 30587005a9
commit a2de3658b3
2 changed files with 25 additions and 19 deletions
gtk-3.20/scss/widgets

View File

@ -53,13 +53,19 @@
&:selected { background-color: $selected_bg_color; } &:selected { background-color: $selected_bg_color; }
/*button { button {
&, &:hover, &:active, &:active *:disabled, &:disabled { &, &:hover, &:active, &:active *:disabled, &:disabled {
border-width: 0; border-width: 0;
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;
} }
}*/ }
separator {
padding: 0;
border-style: none;
background-color: shade($menu_bg_color, ($contrast + .1));
}
menuitem { menuitem {
min-height: 16px; min-height: 16px;
@ -70,8 +76,6 @@
//background-color: transparent; //background-color: transparent;
//background-image: none; //background-image: none;
//-GtkMenuItem-arrow-scaling: .5;
&:active, &:hover { &:active, &:hover {
border: 0; border: 0;
background-color: $selected_bg_color; background-color: $selected_bg_color;
@ -148,9 +152,9 @@
-gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); -gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
} }
//&:hover { background-color: mix($fg_color, $base_color, 10%); } &:hover { background-color: mix($fg_color, $base_color, .1); }
//&:backdrop { background-color: $backdrop_menu_color; } &:backdrop { background-color: $backdrop_menu_color; }
&:disabled { &:disabled {
color: transparent; color: transparent;
@ -160,6 +164,8 @@
} }
} }
.context-menu { font: initial; }
menuitem { menuitem {
accelerator { accelerator {
color: alpha($menu_fg_color, .6); color: alpha($menu_fg_color, .6);
@ -177,12 +183,6 @@
&:dir(rtl) { margin-left: 7px; } &:dir(rtl) { margin-left: 7px; }
} }
separator {
padding: 0;
border-style: none;
background-color: shade($menu_bg_color, ($contrast + .1));
}
window decoration { window decoration {
box-shadow: 0 2px 3px rgba(0,0,0,.2); box-shadow: 0 2px 3px rgba(0,0,0,.2);
} }
@ -240,9 +240,15 @@
background-color: shade($menu_bg_color, ($contrast + .5)); background-color: shade($menu_bg_color, ($contrast + .5));
background-image: none; background-image: none;
color: $menu_fg_color; color: $menu_fg_color;
&:hover {
background-image: none;
background-color: $selected_bg_color;
color: $selected_fg_color;
}
} }
.list-row, list row { list row {
&, & .button { &, & .button {
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;

View File

@ -98,7 +98,7 @@
&:selected { background-image: image($selected_bg_color); } // FIXME is this needed? &:selected { background-image: image($selected_bg_color); } // FIXME is this needed?
//&:backdrop { background-image: image($backdrop_borders_color); } &:backdrop { background-image: image($backdrop_borders_color); }
&.wide { &.wide {
min-width: 5px; min-width: 5px;
@ -107,11 +107,11 @@
background-image: image(border_normal($bg_color)), image(border_normal($bg_color)); background-image: image(border_normal($bg_color)), image(border_normal($bg_color));
background-size: 1px 1px, 1px 1px; background-size: 1px 1px, 1px 1px;
//&:backdrop { &:backdrop {
// background-color: $backdrop_bg_color; background-color: $backdrop_bg_color;
// background-image: image($backdrop_borders_color), background-image: image($backdrop_borders_color),
// image($backdrop_borders_color); image($backdrop_borders_color);
//} }
} }
} }