[gnome-themes-standard] sass nesting style for entry progressbars



commit d63063ea2213f7ad45367ed8eb87057961082819
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed May 21 19:52:10 2014 +0200

    sass nesting style for entry progressbars

 themes/Adwaita/gtk-3.0/_common.scss           |   19 ++++++++++---------
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |   17 ++++++++---------
 themes/Adwaita/gtk-3.0/gtk-contained.css      |   17 ++++++++---------
 3 files changed, 26 insertions(+), 27 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 055a025..1b256ac 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -189,6 +189,16 @@ GtkGrid:insensitive {
     color: $_backdrop_insensitive_color;
     background-image: linear-gradient(to bottom, $_backdrop_bg_color);
   }
+  
+  &.progressbar {
+    margin: 1px;
+    border-radius: 0;
+    border-width: 0 0 2px;
+    border-color: $theme_selected_bg_color;
+    border-style: solid;
+    background-image: none;
+    box-shadow: none;
+  }
 }
 
 .linked .entry {
@@ -204,15 +214,6 @@ GtkGrid:insensitive {
   }
 }
 
-.entry.progressbar {
-  margin: 1px;
-  border-radius: 0;
-  border-width: 0 0 2px;
-  border-color: $theme_selected_bg_color;
-  border-style: solid;
-  background-image: none;
-  box-shadow: none;
-}
 
 /***********
  * Buttons *
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 936da7c..085d9a9 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -136,6 +136,14 @@ GtkGrid:insensitive {
   .entry:backdrop:insensitive {
     color: white;
     background-image: linear-gradient(to bottom, #393f3f); }
+  .entry.progressbar {
+    margin: 1px;
+    border-radius: 0;
+    border-width: 0 0 2px;
+    border-color: #2a76c6;
+    border-style: solid;
+    background-image: none;
+    box-shadow: none; }
 
 .linked .entry:first-child {
   border-top-right-radius: 0;
@@ -145,15 +153,6 @@ GtkGrid:insensitive {
   border-top-left-radius: 0;
   border-bottom-left-radius: 0; }
 
-.entry.progressbar {
-  margin: 1px;
-  border-radius: 0;
-  border-width: 0 0 2px;
-  border-color: #2a76c6;
-  border-style: solid;
-  background-image: none;
-  box-shadow: none; }
-
 /***********
  * Buttons *
  ***********/
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index e6999ec..897d3db 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -136,6 +136,14 @@ GtkGrid:insensitive {
   .entry:backdrop:insensitive {
     color: #c7c7c7;
     background-image: linear-gradient(to bottom, #ededed); }
+  .entry.progressbar {
+    margin: 1px;
+    border-radius: 0;
+    border-width: 0 0 2px;
+    border-color: #729fcf;
+    border-style: solid;
+    background-image: none;
+    box-shadow: none; }
 
 .linked .entry:first-child {
   border-top-right-radius: 0;
@@ -145,15 +153,6 @@ GtkGrid:insensitive {
   border-top-left-radius: 0;
   border-bottom-left-radius: 0; }
 
-.entry.progressbar {
-  margin: 1px;
-  border-radius: 0;
-  border-width: 0 0 2px;
-  border-color: #729fcf;
-  border-style: solid;
-  background-image: none;
-  box-shadow: none; }
-
 /***********
  * Buttons *
  ***********/


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