* Menu list (gedit) fix style. Other fix.

pull/311/head
Megax 2016-04-10 14:11:40 +02:00
parent a2de3658b3
commit ed031512b9
2 changed files with 17 additions and 22 deletions
gtk-3.20/scss/widgets

View File

@ -53,14 +53,6 @@
&:selected { background-color: $selected_bg_color; }
button {
&, &:hover, &:active, &:active *:disabled, &:disabled {
border-width: 0;
background-color: transparent;
background-image: none;
}
}
separator {
padding: 0;
border-style: none;
@ -71,10 +63,7 @@
min-height: 16px;
min-width: 40px;
padding: $spacing;
//border: 0;
border-radius: 0;
//background-color: transparent;
//background-image: none;
&:active, &:hover {
border: 0;
@ -236,16 +225,25 @@
}
}
view, .view, list {
background-color: shade($menu_bg_color, ($contrast + .5));
background-image: none;
color: $menu_fg_color;
treeview.view {
&:hover, &:selected, &:selected:focus, &:backdrop:selected, &:backdrop:selected:focus { border-top-color: $selected_bg_color; }
&, &:backdrop { border-top-color: shade($menu_bg_color, ($contrast + .4)); }
}
view, .view, list {
&:hover {
background-image: none;
background-color: $selected_bg_color;
color: $selected_fg_color;
}
&, &:backdrop {
background-color: shade($menu_bg_color, ($contrast + .5));
background-image: none;
color: $menu_fg_color;
border-color: border_normal($menu_bg_color);
}
}
list row {
@ -272,13 +270,6 @@
button { @include button($menu_bg_color, $menu_fg_color); }
> list, > view, > toolbar { background-color: transparent; }
separator {
border: 0;
background-color: shade($menu_bg_color, ($contrast + .1));
font-size: 80%;
font-weight: bold;
}
}
modelbutton {

View File

@ -47,6 +47,7 @@
border: 1px solid darken($selected_bg_color, 10%);
background-color: transparentize(darken($selected_bg_color, 10%), 0.8);
}
treeview entry {
&.flat, & {
border-radius: 0;
@ -56,6 +57,7 @@
&:focus { border-color: $selected_bg_color; }
}
}
%column_header_button {
padding: 0 6px;
border-radius: 0;
@ -82,6 +84,7 @@
}
}
}
treeview.view {
-GtkTreeView-grid-line-width: 1;
-GtkTreeView-grid-line-pattern: '';
@ -127,6 +130,7 @@
border-left-color: mix($backdrop_fg_color, $backdrop_bg_color, 50%);
border-top: $backdrop_bg_color;
}
&:drop(active) {
border-style: solid none;
border-width: 1px;