[gimp-help-2] Change HTML guibutton layout



commit aa2c1d4ccea2826003c29467184ceb4e2cd84460
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date:   Mon Feb 1 20:33:10 2010 +0100

    Change HTML guibutton layout
    
    Icons look better on transparent background. Button text is highlighted
    using a bold italics font.

 stylesheets/gimp-help-screen.css |   10 +++++++++-
 stylesheets/gimp22.css           |   10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/stylesheets/gimp-help-screen.css b/stylesheets/gimp-help-screen.css
index f2da3eb..82cab3c 100644
--- a/stylesheets/gimp-help-screen.css
+++ b/stylesheets/gimp-help-screen.css
@@ -600,11 +600,19 @@ pre.programlisting {
   border: 0;
 }
 
-.guimenu,.guisubmenu,.guimenuitem,.guilabel,.guibutton {
+.guimenu,.guisubmenu,.guimenuitem,.guilabel {
   color: #0e2426;
   border-color: #eeeeec;
   background-color: #999;
 }
+/* these elements typically contain text and/or <img> */
+.guibutton,.guiicon {
+  color: inherit;
+  background-color: transparent;
+  font-style: italic;
+  font-weight: bolder;
+  white-space: nowrap;
+}
 /* For text only (<guiicon><inlinemediaobject><textobject>) */
 .guiicon .inlinemediaobject span {
   color: #0e2426;
diff --git a/stylesheets/gimp22.css b/stylesheets/gimp22.css
index 486abae..7c47bcb 100644
--- a/stylesheets/gimp22.css
+++ b/stylesheets/gimp22.css
@@ -553,9 +553,17 @@
 		background-color: inherit;
 		border: 0;
 	}
-	.guimenu,.guisubmenu,.guimenuitem,.guilabel,.guibutton {
+	.guimenu,.guisubmenu,.guimenuitem,.guilabel {
 		background-color: #eee;
 	}
+	/* these elements typically contain text and/or <img> */
+	.guibutton,.guiicon {
+		color: inherit;
+		background-color: transparent;
+		font-style: italic;
+		font-weight: bolder;
+		white-space: nowrap;
+	}
 	/* For text only (<guiicon><inlinemediaobject><textobject>) */
 	.guiicon .inlinemediaobject span {
 		color: black;



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