[Sugar-devel] [PATCH sugar-artwork][DESIGN][PROPOSAL] Use the same style as Browse in all GtkNotebooks

Daniel Francis francis at sugarlabs.org
Sun Sep 16 15:39:54 EDT 2012


BrowseNotebook is already used in Terminal and Browse, let's set it as the default GtkNotebook style.

Signed-off-by: Daniel Francis <francis at sugarlabs.org>
---
 gtk3/theme/gtk-widgets.css.em | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 9059b49..c2351f0 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -297,36 +297,28 @@ GtkComboBox .separator {
 }
 
 .notebook tab {
-    background-color: @button_grey;
-    color: @white;
-}
-
-.notebook tab:active {
-    background-color: @selection_grey;
-}
-
-/* Browse notebook */
-
-BrowseNotebook.notebook tab {
     background-color: @selection_grey;
+    color: @white;
 }
 
-BrowseNotebook.notebook tab GtkLabel {
+.notebook tab GtkLabel {
     color: @white;
 }
 
-BrowseNotebook.notebook tab .button {
-    border-radius: $(toolbutton_padding)px;
+.notebook tab:active {
+    background-color: @toolbar_grey;
 }
 
-BrowseNotebook.notebook tab:active {
-    background-color: @toolbar_grey;
+.notebook tab .button {
+    border-radius: $(toolbutton_padding)px;
 }
 
-BrowseNotebook.notebook tab:active *:active {
+.notebook tab:active *:active {
     color: @white;
 }
 
+/* Browse Widgets */
+
 BrowseLinkInfo {
     color: @white;
 }
-- 
1.7.11.4



More information about the Sugar-devel mailing list