[gnome-themes-standard/wip/sass] more SASS like indentation



commit 48b1002922a5d1d9abe42856189780c46bf1d0a1
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri May 23 11:52:34 2014 +0200

    more SASS like indentation

 themes/Adwaita/gtk-3.0/_common.scss           |   32 +++++++++++--------------
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |   31 +++++++++++------------
 themes/Adwaita/gtk-3.0/gtk-contained.css      |   31 +++++++++++------------
 3 files changed, 44 insertions(+), 50 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 3796c9f..75898c9 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -87,30 +87,27 @@
 }
 
 .gtkstyle-fallback {
-    background-color: $theme_bg_color;
-    color: $theme_fg_color;
-}
-
-.gtkstyle-fallback:prelight {
+  background-color: $theme_bg_color;
+  color: $theme_fg_color;
+  &:prelight {
     background-color: lighten($theme_bg_color, 10%);
     color: $theme_fg_color;
-}
-
-.gtkstyle-fallback:active {
+  }
+  &:active {
     background-color: darken($theme_bg_color, 10%);
     color: $theme_fg_color;
-}
-
-.gtkstyle-fallback:insensitive {
+  }
+  &:insensitive {
     background-color: $_insensitive_bg_color;
     color: $_insensitive_fg_color;
-}
-
-.gtkstyle-fallback:selected {
+  }
+  &:selected {
     background-color: $selected_bg_color;
     color: $selected_fg_color;
+  }
 }
 
+
 GtkImage,
 GtkImage:insensitive,
 GtkLabel,
@@ -122,7 +119,9 @@ GtkGrid:insensitive {
     background-color: transparent;
 }
 
-// spinner animation
+/*********************
+ * Spinner Animation *
+ *********************/
 
 @keyframes spin {
     to { -gtk-icon-transform: rotate(1turn); }
@@ -133,7 +132,6 @@ GtkGrid:insensitive {
   background-color: blue;
   opacity: 0; // non spinning spinner makes no sense
   -gtk-icon-source: url("assets/spinner.svg");
-
   &:active {
     opacity: 1;
     animation: spin 1s linear infinite;
@@ -689,5 +687,3 @@ GtkScrolledWindow.frame {
     border-color: transparent;
   }
 }
-
-
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index d968a98..47081dc 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -61,22 +61,18 @@
 .gtkstyle-fallback {
   background-color: #393f3f;
   color: #eeeeec; }
-
-.gtkstyle-fallback:prelight {
-  background-color: #515a5a;
-  color: #eeeeec; }
-
-.gtkstyle-fallback:active {
-  background-color: #212424;
-  color: #eeeeec; }
-
-.gtkstyle-fallback:insensitive {
-  background-color: transparent;
-  color: white; }
-
-.gtkstyle-fallback:selected {
-  background-color: #2a76c6;
-  color: white; }
+  .gtkstyle-fallback:prelight {
+    background-color: #515a5a;
+    color: #eeeeec; }
+  .gtkstyle-fallback:active {
+    background-color: #212424;
+    color: #eeeeec; }
+  .gtkstyle-fallback:insensitive {
+    background-color: transparent;
+    color: white; }
+  .gtkstyle-fallback:selected {
+    background-color: #2a76c6;
+    color: white; }
 
 GtkImage,
 GtkImage:insensitive,
@@ -88,6 +84,9 @@ GtkGrid,
 GtkGrid:insensitive {
   background-color: transparent; }
 
+/*********************
+ * Spinner Animation *
+ *********************/
 @keyframes spin {
   to {
     -gtk-icon-transform: rotate(1turn); } }
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index d85e923..07b6680 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -61,22 +61,18 @@
 .gtkstyle-fallback {
   background-color: #ededed;
   color: #2e3436; }
-
-.gtkstyle-fallback:prelight {
-  background-color: white;
-  color: #2e3436; }
-
-.gtkstyle-fallback:active {
-  background-color: lightgray;
-  color: #2e3436; }
-
-.gtkstyle-fallback:insensitive {
-  background-color: transparent;
-  color: #748489; }
-
-.gtkstyle-fallback:selected {
-  background-color: #729fcf;
-  color: white; }
+  .gtkstyle-fallback:prelight {
+    background-color: white;
+    color: #2e3436; }
+  .gtkstyle-fallback:active {
+    background-color: lightgray;
+    color: #2e3436; }
+  .gtkstyle-fallback:insensitive {
+    background-color: transparent;
+    color: #748489; }
+  .gtkstyle-fallback:selected {
+    background-color: #729fcf;
+    color: white; }
 
 GtkImage,
 GtkImage:insensitive,
@@ -88,6 +84,9 @@ GtkGrid,
 GtkGrid:insensitive {
   background-color: transparent; }
 
+/*********************
+ * Spinner Animation *
+ *********************/
 @keyframes spin {
   to {
     -gtk-icon-transform: rotate(1turn); } }


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