[gnome-themes-standard] Widget theme: some borders and backgrounds cleanup, set treeview background to theme_base_color.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widget theme: some borders and backgrounds cleanup, set treeview background to theme_base_color.
- Date: Mon, 5 Dec 2011 17:18:02 +0000 (UTC)
commit 6db60ee8945aa2385b4820186b58c86917530132
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Mon Dec 5 18:17:52 2011 +0100
Widget theme: some borders and backgrounds cleanup, set treeview background to theme_base_color.
themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css | 8 ++++++++
themes/Adwaita/gtk-3.0/gtk-widgets-borders.css | 10 ++++++++++
themes/Adwaita/gtk-3.0/gtk-widgets.css | 6 ++++++
3 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
index 18ba24c..1d97d07 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
@@ -12,6 +12,7 @@
color-stop (0.2, @button_gradient_color_a),
color-stop (0.8, @button_gradient_color_b),
to (@button_gradient_color_b));
+ background-color: none;
}
/* Pushed button background */
@@ -27,6 +28,7 @@
left top, left bottom,
from (@button_border),
to (alpha(@button_border, 0)));
+ background-color: none;
}
/* Flipped pushed button background for vertical progressbar through and the like */
@@ -43,6 +45,7 @@
.primary-toolbar .button.raised:hover,
.primary-toolbar .raised .button:hover,
.primary-toolbar GtkComboBox .button:hover {
+ background-color: none;
background-image: -gtk-gradient (linear,
left top, left bottom,
from (@button_hover_gradient_color_a),
@@ -78,6 +81,7 @@
.button:active:insensitive,
.primary-toolbar .button:active:insensitive,
.primary-toolbar GtkComboBox .button:active:insensitive {
+ background-color: none;
background-image: -gtk-gradient (linear,
left top, left bottom,
from (shade (@insensitive_bg_color, 0.95)),
@@ -116,6 +120,7 @@ column-header.button:active:hover:focus,
column-header .button:active:hover:focus,
column-header.button:active:focus,
column-header .button:active:focus {
+ background-color: none;
background-image: -gtk-gradient(linear,
left top, left bottom,
from(shade(@entry_background_a, 0.9)),
@@ -133,6 +138,7 @@ GtkComboBox.combobox-entry .button:insensitive {
.primary-toolbar .toolbar,
.primary-toolbar.toolbar,
.inline-toolbar.toolbar {
+ background-color: none;
background-image: -gtk-gradient (linear,
left top,
left bottom,
@@ -145,6 +151,7 @@ GtkComboBox.combobox-entry .button:insensitive {
/* Active switch background*/
GtkSwitch.trough:active,
GtkScale.progressbar {
+ background-color: none;
background-image: -gtk-gradient (linear,
left top, left bottom,
from (@switch_trough_active_bg_a),
@@ -152,6 +159,7 @@ GtkScale.progressbar {
}
GtkScale.progressbar.vertical {
+ background-color: none;
background-image: -gtk-gradient (linear,
left top, right top,
from (@switch_trough_active_bg_a),
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
index 901a829..a9f2cc0 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
@@ -68,6 +68,8 @@ GtkSwitch.trough:active {
border-image: url("borders/primary-toolbar-generic-border.svg") 4 / 4 stretch;
border-radius: 3;
border-width: 2;
+ border-style: solid;
+ border-color: transparent;
}
/* primary toolbar - focused element borders */
@@ -85,6 +87,8 @@ GtkSwitch.trough:active {
border-image: url("borders/primary-toolbar-generic-border-focused.svg") 4 / 4 stretch;
border-radius: 3;
border-width: 2;
+ border-style: solid;
+ border-color: transparent;
}
/* primary toolbar - generic button borders */
@@ -98,6 +102,9 @@ GtkSwitch.trough:active {
border-image: url("borders/primary-toolbar-button-border.svg") 4 / 4 stretch;
border-radius: 3;
border-width: 2;
+ border-style: solid;
+ border-color: transparent;
+
}
/* primary toolbar - focused button borders */
@@ -113,6 +120,9 @@ GtkSwitch.trough:active {
border-image: url("borders/primary-toolbar-button-border-focused.svg") 4 / 4 stretch;
border-radius: 3;
border-width: 2;
+ border-style: solid;
+ border-color: transparent;
+
}
/* column-headers borders */
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index b862878..e795602 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1407,6 +1407,12 @@ GtkTreeView {
-adwaita-focus-border-radius: 2;
-adwaita-focus-border-dashes: 1;
-adwaita-focus-border-color: mix(@theme_selected_fg_color, @theme_selected_bg_color, 0.30);
+
+ background-color: @theme_base_color;
+}
+
+GtkTreeView.view {
+ background-color: @theme_base_color;
}
/*column-header {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]