[gnome-themes-standard] Widget theme: gedit styling, some nautilus and infobars tweaks.



commit 8adf00e48904cbdda5d9408d66eb0662557b0e52
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Dec 23 20:12:45 2011 +0100

    Widget theme: gedit styling, some nautilus and infobars tweaks.

 themes/Adwaita/gtk-3.0/gnome-applications.css |   75 +++++++++++++++++++++++--
 themes/Adwaita/gtk-3.0/gtk-widgets.css        |   54 ++++++++++++++++++
 2 files changed, 124 insertions(+), 5 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index 320fc15..b184515 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -71,33 +71,54 @@ NautilusQueryEditor.info {
     border-color: darker (@nautilus_cluebar_color);
 
     border-radius: 0;
-    border-width: 1 0;
+    border-width: 0 0 1 0;
     border-style: solid;
 }
 
+/*
+NautilusTrashBar.info:first-child,
+NautilusXContentBar.info:first-child,
+NautilusSearchBar.info:first-child,
+NautilusQueryEditor.info:first-child {
+    border-width: 1 0;
+}*/
+
+/* This will make the location entry tall as buttons.
+   Buttons are too tall btw, then it's ugly */
+/*NautilusLocationEntry.entry {
+    -GtkEntry-inner-border: 9;
+}*/
+
+NautilusLocationEntry.entry {
+    padding-left: 4;
+    padding-right: 4;
+}
+
 NautilusSearchBar .entry,
 NautilusSearchBar .entry:focus {
     border-image: none;
     border-color: darker(@nautilus_cluebar_color);
     border-style: solid;
     border-width: 1;
+    padding-left: 4;
+    padding-right: 4;
 
     -GtkEntry-inner-border: 3;
 }
 
-NautilusSearchBar .entry.image {
+/*NautilusSearchBar .entry.image {
     color: @nautilus_cluebar_color;
-}
+}*/
 
 .nautilus-cluebar-label {
     font: bold;
     color: @theme_base_color;
 }
 
-#nautilus-search-button *:active,
+/*#nautilus-search-button *:active,
 #nautilus-search-button *:active:prelight {
     color: darker (@nautilus_cluebar_color);
-}
+}*/
 
 NautilusFloatingBar {
     background-color: @info_bg_color;
@@ -150,6 +171,50 @@ NautilusWindow > GtkGrid > .pane-separator:hover:window-unfocused {
     color: shade (@theme_bg_color, 0.9);
 }
 
+/* gedit */
+
+GeditWindow .pane-separator, 
+GeditWindow .pane-separator:hover {
+   border-width: 0 1 1 1;
+   border-style: solid;
+   border-color: @borders;
+   background-color: shade(@theme_bg_color, 0.95);
+   color: @borders;
+}
+
+GeditPanel {
+    background-color: red;
+}
+
+GeditPanel .toolbar {
+    border-style: none;
+    background-color: transparent;
+}
+
+GeditWindow .sidebar {
+    background-color: @theme_base_color;
+    border-width: 0 0 1 0;
+    border-style: solid;
+    border-color: @borders;
+    
+}
+
+GeditPanel .notebook {
+    padding: 2;
+    border-width: 1 0;
+}
+
+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;
+}
+
 /* gnome-documents */
 .documents-dropdown,
 .documents-dropdown .view {
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 4962938..e184f17 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -521,6 +521,7 @@ GtkComboBox.combobox-entry .button {
     -GtkButton-image-spacing: 4;
     -GtkButton-interior-focus: true;
     -GtkButton-default-border: 0;
+    -GtkButton-inner-boder: 3;
 
     color: @theme_text_color;
 
@@ -1166,9 +1167,12 @@ GtkComboBox.combobox-entry .entry:first-child,
 GtkComboBox.combobox-entry .entry:focus:first-child,
 GtkComboBox.combobox-entry .entry:window-unfocused:first-child,
 GtkComboBox.combobox-entry .button:first-child,
+GtkComboBox.combobox-entry .button:hover:first-child,
 GtkComboBox.combobox-entry .button:focus:first-child,
 GtkComboBox.combobox-entry .button:active:first-child,
+GtkComboBox.combobox-entry .button:active:hover:first-child,
 GtkComboBox.combobox-entry .button:active:focus:first-child,
+GtkComboBox.combobox-entry .button:active:focus:hover:first-child,
 GtkComboBox.combobox-entry .button:insensitive:first-child,
 GtkComboBox.combobox-entry .button:window-unfocused:first-child {
     border-image-width: 3 0 4 3;
@@ -1180,9 +1184,12 @@ GtkComboBox.combobox-entry .entry:last-child,
 GtkComboBox.combobox-entry .entry:focus:last-child,
 GtkComboBox.combobox-entry .entry:window-unfocused:last-child,
 GtkComboBox.combobox-entry .button:last-child,
+GtkComboBox.combobox-entry .button:hover:last-child,
 GtkComboBox.combobox-entry .button:focus:last-child,
 GtkComboBox.combobox-entry .button:active:last-child,
+GtkComboBox.combobox-entry .button:active:hover:last-child,
 GtkComboBox.combobox-entry .button:active:focus:last-child,
+GtkComboBox.combobox-entry .button:active:focus:hover:last-child,
 GtkComboBox.combobox-entry .button:insensitive:last-child,
 GtkComboBox.combobox-entry .button:window-unfocused:last-child {
     border-image-width: 3 3 4 0;
@@ -1193,9 +1200,12 @@ GtkComboBox.combobox-entry .button:window-unfocused:last-child {
 .primary-toolbar GtkComboBox.combobox-entry .entry:first-child,
 .primary-toolbar GtkComboBox.combobox-entry .entry:focus:first-child,
 .primary-toolbar GtkComboBox.combobox-entry .button:first-child,
+.primary-toolbar GtkComboBox.combobox-entry .button:hover:first-child,
 .primary-toolbar GtkComboBox.combobox-entry .button:focus:first-child,
 .primary-toolbar GtkComboBox.combobox-entry .button:active:first-child,
+.primary-toolbar GtkComboBox.combobox-entry .button:active:hover:first-child,
 .primary-toolbar GtkComboBox.combobox-entry .button:active:focus:first-child,
+.primary-toolbar GtkComboBox.combobox-entry .button:active:focus:hover:first-child,
 .primary-toolbar GtkComboBox.combobox-entry .button:insensitive:first-child,
 .primary-toolbar GtkComboBox.combobox-entry .button:window-unfocused:first-child {
     border-image-width: 4 0 4 4;
@@ -1206,9 +1216,12 @@ GtkComboBox.combobox-entry .button:window-unfocused:last-child {
 .primary-toolbar GtkComboBox.combobox-entry .entry:last-child,
 .primary-toolbar GtkComboBox.combobox-entry .entry:focus:last-child,
 .primary-toolbar GtkComboBox.combobox-entry .button:last-child,
+.primary-toolbar GtkComboBox.combobox-entry .button:hover:last-child,
 .primary-toolbar GtkComboBox.combobox-entry .button:focus:last-child,
+.primary-toolbar GtkComboBox.combobox-entry .button:focus:hover:last-child,
 .primary-toolbar GtkComboBox.combobox-entry .button:active:last-child,
 .primary-toolbar GtkComboBox.combobox-entry .button:active:focus:last-child,
+.primary-toolbar GtkComboBox.combobox-entry .button:active:focus:hover:last-child,
 .primary-toolbar GtkComboBox.combobox-entry .button:insensitive:last-child
 .primary-toolbar GtkComboBox.combobox-entry .button:window-unfocused:last-child {
     border-image-width: 4 4 4 0;
@@ -1709,6 +1722,7 @@ GtkCheckButton:selected:focus {
     background-color: transparent;
 }
 
+
 /****************
  * GtkAssistant *
  ****************/
@@ -2032,6 +2046,46 @@ GtkCalendar.highlight {
     border-width: 0;
 }
 
+GtkInfoBar .button,
+GtkInfoBar .button:insensitive,
+GtkInfoBar .button:active,
+GtkInfoBar .button:focus,
+GtkInfoBar .button:active:focus,
+.info .button,
+.info .button:insensitive,
+.info .button:active,
+.info .button:focus,
+.info .button:active:focus,
+.warning .button,
+.warning .button:insensitive,
+.warning .button:active,
+.warning .button:focus,
+.warning .button:active:focus,
+.question .button,
+.question .button:insensitive,
+.question .button:active,
+.question .button:focus,
+.question .button:active:focus,
+.error .button,
+.error .button:insensitive,
+.error .button:active,
+.error .button:focus,
+.error .button:active:focus {
+    border-image: none;
+
+    border-color: shade(@borders, 0.9);
+    border-style: solid;
+    border-width: 1;
+}
+
+GtkInfoBar,
+.info,
+.warning,
+.question,
+.error {
+    text-shadow: 0 1 alpha(black, 0.15);
+}
+
 .info {
     background-color: @info_bg_color;
     color: @info_fg_color;



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