summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLapo Calamandrei <calamandrei@gmail.com>2016-05-06 18:50:37 +0200
committerLapo Calamandrei <calamandrei@gmail.com>2016-05-06 18:50:37 +0200
commit4ece50a13c833b96e79cc6ecbb175290bc1a2b49 (patch)
tree516003aa8d6e30f1b07aa96290c18a11fc9afa9e
parent659329c16827ded9f993c9b0222086297b368be0 (diff)
downloadgtk+-4ece50a13c833b96e79cc6ecbb175290bc1a2b49.tar.gz
Adwaita: relocate a selector
relocate treview acceleditor > label in the treeview section and add a comment for a testcase.
-rw-r--r--gtk/theme/Adwaita/_common.scss6
-rw-r--r--gtk/theme/Adwaita/gtk-contained-dark.css5
-rw-r--r--gtk/theme/Adwaita/gtk-contained.css5
3 files changed, 6 insertions, 10 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index aed905baa9..6ba6355d81 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -422,10 +422,6 @@ entry {
}
}
-treeview acceleditor > label {
- background-color: $selected_bg_color;
-}
-
treeview entry {
&:focus {
&:dir(rtl), &:dir(ltr) { // specificity bump hack
@@ -1789,6 +1785,8 @@ treeview.view {
text-shadow: none;
}
}
+
+ acceleditor > label { background-color: $selected_bg_color; } // see tests/testaccel to test
}
%column_header_button {
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index ee142700d1..e975dc1fd6 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -400,9 +400,6 @@ entry:drop(active):not(:only-child) + button,
entry:drop(active):not(:only-child) + combobox > box > button.combo {
border-top-color: #4e9a06; }
-treeview acceleditor > label {
- background-color: #215d9c; }
-
treeview entry:focus:dir(rtl), treeview entry:focus:dir(ltr) {
background-color: #292929;
transition-property: color, background; }
@@ -2086,6 +2083,8 @@ treeview.view {
border-style: none;
box-shadow: inset 0 0 0 1px #292929;
text-shadow: none; }
+ treeview.view acceleditor > label {
+ background-color: #215d9c; }
treeview.view header button, treeview.view header button:hover, treeview.view header button:active {
padding: 0 6px;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 0b1e1549b0..4f14f71300 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -400,9 +400,6 @@ entry:drop(active):not(:only-child) + button,
entry:drop(active):not(:only-child) + combobox > box > button.combo {
border-top-color: #4e9a06; }
-treeview acceleditor > label {
- background-color: #4a90d9; }
-
treeview entry:focus:dir(rtl), treeview entry:focus:dir(ltr) {
background-color: #ffffff;
transition-property: color, background; }
@@ -2099,6 +2096,8 @@ treeview.view {
border-style: none;
box-shadow: inset 0 0 0 1px #ffffff;
text-shadow: none; }
+ treeview.view acceleditor > label {
+ background-color: #4a90d9; }
treeview.view header button, treeview.view header button:hover, treeview.view header button:active {
padding: 0 6px;