[gnome-themes-standard] Widgets: fix switches on primary toolbars, resized the resize grip, added linked t



commit c6a58ce9aefaf9ec10714424a38039ab049adb78
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Jan 24 09:04:36 2012 +0100

    Widgets: fix switches on primary toolbars,
             resized the resize grip,
             added linked text entries.

 themes/Adwaita/gtk-3.0/gnome-applications.css  |    9 +------
 themes/Adwaita/gtk-3.0/gtk-backgrounds.css     |    8 ++++++
 themes/Adwaita/gtk-3.0/gtk-widgets-borders.css |    3 +-
 themes/Adwaita/gtk-3.0/gtk-widgets.css         |   33 ++++++++++++++++-------
 themes/Adwaita/gtk-3.0/gtk.css                 |    2 +
 5 files changed, 36 insertions(+), 19 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index e257bbd..9dd9cee 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -216,14 +216,7 @@ GeditPanel .notebook {
 }
 
 GeditWindow .notebook {
-    border-width: 1 0 1 0;
-}
-
-GeditStatusbar {
-    padding: 1 0 0 0;
-    border-width: 1 0 0 0;
-    border-style: solid;
-    border-color: @borders;
+    border-width: 1 0;
 }
 
 /* gnome-documents */
diff --git a/themes/Adwaita/gtk-3.0/gtk-backgrounds.css b/themes/Adwaita/gtk-3.0/gtk-backgrounds.css
index 969830d..3a25c96 100644
--- a/themes/Adwaita/gtk-3.0/gtk-backgrounds.css
+++ b/themes/Adwaita/gtk-3.0/gtk-backgrounds.css
@@ -42,6 +42,14 @@ background-color: red;
     background-color: @unfocused_button_background;
 }
 
+/* Unfocused prelit button background */
+
+.button:hover:backdrop {
+    background-image: none;
+    background-color: @unfocused_button_hover_background;
+}
+
+
 /* Entry background */
 .entry,
 GtkComboBox.combobox-entry .button,
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
index 4cc6e1c..3a285dc 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
@@ -68,7 +68,7 @@ GtkSwitch.trough:active {
 /* primary toolbar - focused element borders */
 .primary-toolbar .entry:focus,
 .primary-toolbar .button:active:focus,
-.primary-toolbar GtkComboBox.combobox-entry .entry:focus,
+.primary-toolbar GtkComboBox.bobox-entry .entry:focus,
 .primary-toolbar .button.raised:focus:active,
 .primary-toolbar .raised .button:focus:active,
 .primary-toolbar .button.raised.default:active,
@@ -173,6 +173,7 @@ GtkSwitch.trough:backdrop,
 .primary-toolbar .button.raised:backdrop,
 .primary-toolbar .raised .button:backdrop,
 .primary-toolbar .entry:backdrop,
+.primary-toolbar GtkSwitch.trough:backdrop,
 .inline-toolbar.toolbar .button:backdrop { 
     border-image: url("borders/primary-toolbar-generic-border-unfocused.svg") 4 / 4 stretch;
     border-radius: 3;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index a58c705..9e0a013 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -40,6 +40,8 @@
     -adwaita-focus-border-color: alpha(@theme_text_color, 0.3);
     -adwaita-focus-border-radius: 2;
     -adwaita-focus-border-dashes: 1;
+    -GtkWindow-resize-grip-width: 13;
+    -GtkWindow-resize-grip-height: 13;   
 }
 
 /***************
@@ -98,11 +100,6 @@ GtkWindow:backdrop {
     color: @unfocused_insensitive_fg_color;
 }
 
-GtkImage,
-GtkImage:insensitive {
-    background-color: transparent;
-}
-
 /************
  * Tooltips *
  ************/
@@ -192,6 +189,11 @@ GtkTreeView .separator:backdrop,
     background-color: @theme_unfocused_base_color;
 }
 
+GtkImage,
+GtkImage:insensitive {
+    background-color: transparent;
+}
+
 /****************
  * Text Entries *
  ****************/
@@ -707,6 +709,7 @@ GtkComboBox.combobox-entry .button {
 }
 
 /* Middle button */
+.linked .entry,
 .linked .button,
 .linked .button:active,
 .linked .button:active:hover,
@@ -720,6 +723,7 @@ GtkComboBox.combobox-entry .button {
 }
 
 /* Leftmost button */
+.linked .entry:first-child,
 .linked .button:first-child,
 .linked .button:active:first-child,
 .linked .button:active:hover:first-child,
@@ -733,6 +737,7 @@ GtkComboBox.combobox-entry .button {
 }
 
 /* Rightmost button */
+.linked .entry:last-child,
 .linked .button:last-child,
 .linked .button:active:last-child,
 .linked .button:active:hover:last-child,
@@ -746,6 +751,7 @@ GtkComboBox.combobox-entry .button {
 }
 
 /* Linked single button */
+.linked .entry:only-child,
 .linked .button:only-child,
 .linked .button:active:only-child,
 .linked .button:active:hover:only-child,
@@ -1019,17 +1025,19 @@ GtkLinkButton * {
 }
 
 .notebook tab .button,
-.notebook tab .button:active {
-    padding: 1;
-
-    border-style: none;
+.notebook tab .button:active,
+.notebook tab .button:hover {
     border-image: none;
-    background-color: transparent;
+    border-style: none;
     background-image: none;
+    background-color: transparent;
 }
 
+
 .notebook tab .button {
     color: @internal_element_color;
+    border-style: none;
+    border-image: none;
 }
 
 .notebook tab .button *:hover {
@@ -1040,6 +1048,7 @@ GtkLinkButton * {
     color: @theme_selected_bg_color;
 }
 
+
 /**************
  * ComboBoxes *
  **************/
@@ -1788,6 +1797,10 @@ GtkSwitch.slider {
     color: shade (@switch_slider_color, 0.95);
 }
 
+.primary-toolbar GtkSwitch.slider {
+    padding: 3;
+}
+
 GtkSwitch.slider:insensitive {
     background-image: none;
 
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 5d2c349..a645173 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -92,6 +92,8 @@
 @define-color button_hover_gradient_color_a @theme_base_color;
 @define-color button_hover_gradient_color_b shade (@button_gradient_color_a, 0.94);
 
+ define-color unfocused_button_hover_background @unfocused_theme_base_color;
+
 @define-color button_raised_gradient_color_a @button_gradient_color_a;
 @define-color button_raised_gradient_color_b @button_gradient_color_b;
 @define-color button_raised_linked_shadow alpha(@theme_base_color, 0.70);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]