[gtk+] Adwaita: style .subtitle like .dim-label



commit b02837b2c27ad45055b8175a82984a8964e21e0e
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Mon Jul 7 14:17:51 2014 +0200

    Adwaita: style .subtitle like .dim-label

 gtk/resources/theme/Adwaita/_common.scss           |    1 +
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    3 ++-
 gtk/resources/theme/Adwaita/gtk-contained.css      |    3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index dc3b76c..9aa4348 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -701,6 +701,7 @@ GtkComboBox {
   .subtitle {
     font-size: 80%;
     padding: 0 12px;
+    @extend .dim-label;
   }
   .header-bar-separator,
   & > GtkBox > .separator.vertical {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index af1bd13..b3682d6 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -108,7 +108,8 @@
   border: 1px solid #215d9c;
   background-color: rgba(33, 93, 156, 0.2); }
 
-.dim-label {
+.dim-label, .titlebar .subtitle,
+.header-bar .subtitle {
   opacity: 0.55;
   text-shadow: none; }
 
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 3523dfe..2c51365 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -108,7 +108,8 @@
   border: 1px solid #4a90d9;
   background-color: rgba(74, 144, 217, 0.2); }
 
-.dim-label {
+.dim-label, .titlebar .subtitle,
+.header-bar .subtitle {
   opacity: 0.55;
   text-shadow: none; }
 


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