[gtk+] Adwaita: fix treeview spinbutton style
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: fix treeview spinbutton style
- Date: Sun, 20 Mar 2016 22:33:58 +0000 (UTC)
commit 524ca3c2d5218d47af9b9f6da2b7bb37c53c9920
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Sun Mar 20 23:33:25 2016 +0100
Adwaita: fix treeview spinbutton style
gtk/theme/Adwaita/_common.scss | 16 ++++++++--------
gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++-------
gtk/theme/Adwaita/gtk-contained.css | 14 +++++++-------
3 files changed, 22 insertions(+), 22 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 53be300..3b5692a 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1171,14 +1171,14 @@ spinbutton {
}
// Misc
- treeview & {
- entry,
- entry:focus {
- padding: 1px;
- border-width: 1px 0;
- border-color: $selected_bg_color;
- border-radius: 0;
- box-shadow: none;
+ treeview &:not(.vertical) {
+ min-height: 0;
+ border-style: none;
+ border-radius: 0;
+
+ entry {
+ min-height: 0;
+ padding: 1px 2px;
}
}
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 28544b7..c6d2c63 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1412,13 +1412,13 @@ spinbutton.vertical button.down {
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none; }
-treeview spinbutton entry,
-treeview spinbutton entry:focus {
- padding: 1px;
- border-width: 1px 0;
- border-color: #215d9c;
- border-radius: 0;
- box-shadow: none; }
+treeview spinbutton:not(.vertical) {
+ min-height: 0;
+ border-style: none;
+ border-radius: 0; }
+ treeview spinbutton:not(.vertical) entry {
+ min-height: 0;
+ padding: 1px 2px; }
/**************
* ComboBoxes *
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 85de7b9..5a40f39 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1418,13 +1418,13 @@ spinbutton.vertical button.down {
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none; }
-treeview spinbutton entry,
-treeview spinbutton entry:focus {
- padding: 1px;
- border-width: 1px 0;
- border-color: #4a90d9;
- border-radius: 0;
- box-shadow: none; }
+treeview spinbutton:not(.vertical) {
+ min-height: 0;
+ border-style: none;
+ border-radius: 0; }
+ treeview spinbutton:not(.vertical) entry {
+ min-height: 0;
+ padding: 1px 2px; }
/**************
* ComboBoxes *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]