Adwaita: simplify treeview:drop(active) code

This commit is contained in:
Lapo Calamandrei 2016-03-21 19:42:54 +01:00
parent 73fe852be0
commit ee94f9ff89
3 changed files with 15 additions and 30 deletions

View File

@ -1605,21 +1605,14 @@ treeview.view {
border-left-color: mix($backdrop_fg_color, $backdrop_bg_color, 50%);
border-top: $backdrop_bg_color;
}
&.before:drop(active) {
border-style: solid none none none;
border-width: 1px;
border-color: mix($fg_color, $selected_bg_color, 50%);
}
&.after:drop(active) {
border-style: none none solid none;
border-width: 1px;
border-color: mix($fg_color, $selected_bg_color, 50%);
}
&:drop(active) {
border-style: solid none;
border-width: 1px;
border-color: mix($fg_color, $selected_bg_color, 50%);
border-color: $selected_borders_color;
&.after { border-top-style: none; }
&.before { border-bottom-style: none; }
}
&.expander {

View File

@ -1991,18 +1991,14 @@ treeview.view {
treeview.view:backdrop {
border-left-color: #676b6b;
border-top: #393f3f; }
treeview.view.before:drop(active) {
border-style: solid none none none;
border-width: 1px;
border-color: #88a6c4; }
treeview.view.after:drop(active) {
border-style: none none solid none;
border-width: 1px;
border-color: #88a6c4; }
treeview.view:drop(active) {
border-style: solid none;
border-width: 1px;
border-color: #88a6c4; }
border-color: #0f2b48; }
treeview.view:drop(active).after {
border-top-style: none; }
treeview.view:drop(active).before {
border-bottom-style: none; }
treeview.view.expander {
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
color: #b3b3b2; }

View File

@ -1998,18 +1998,14 @@ treeview.view {
treeview.view:backdrop {
border-left-color: #babbbb;
border-top: #e8e8e7; }
treeview.view.before:drop(active) {
border-style: solid none none none;
border-width: 1px;
border-color: #3c6288; }
treeview.view.after:drop(active) {
border-style: none none solid none;
border-width: 1px;
border-color: #3c6288; }
treeview.view:drop(active) {
border-style: solid none;
border-width: 1px;
border-color: #3c6288; }
border-color: #184472; }
treeview.view:drop(active).after {
border-top-style: none; }
treeview.view:drop(active).before {
border-bottom-style: none; }
treeview.view.expander {
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
color: #6d7172; }