[gnome-shell/wip/sass: 12/24] theme: checkboxes



commit c8c0f00329640334e5eafe52465d26bb4235b770
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Oct 8 15:09:09 2014 +0200

    theme: checkboxes

 data/theme/_common.scss          |   15 +++++++++++++++
 data/theme/_gnome-shell-old.scss |   22 ----------------------
 data/theme/gnome-shell.css       |   32 ++++++++++++++------------------
 3 files changed, 29 insertions(+), 40 deletions(-)
---
diff --git a/data/theme/_common.scss b/data/theme/_common.scss
index 864d0f0..179c892 100644
--- a/data/theme/_common.scss
+++ b/data/theme/_common.scss
@@ -104,6 +104,21 @@ StScrollBar {
   }
 }
 
+/* Check Boxes */
+
+.check-box {
+  StBoxLayout { spacing: .8em; }
+  StBin {
+    width: 24px;
+    height: 22px;
+    background-image: url("checkbox-off.svg");
+  }
+  &:focus Stbin { background-image: url("checkbox-off-focused.svg"); }
+  &:checked Stbin { background-image: url("checkbox.svg"); }
+  &:focus:checked Stbin { background-image: url("checkbox-focused.svg"); }
+}
+
+
 /* links */
 .shell-link {
   color: $link_color;
diff --git a/data/theme/_gnome-shell-old.scss b/data/theme/_gnome-shell-old.scss
index cf7989a..e3ffa06 100644
--- a/data/theme/_gnome-shell-old.scss
+++ b/data/theme/_gnome-shell-old.scss
@@ -21,29 +21,7 @@
 
 /* default text style */
 
-/* Check Boxes */
 
-.check-box StBoxLayout {
-    spacing: .8em;
-}
-
-.check-box StBin {
-    width: 24px;
-    height: 22px;
-    background-image: url("checkbox-off.svg");
-}
-
-.check-box:focus StBin {
-    background-image: url("checkbox-off-focused.svg");
-}
-
-.check-box:checked StBin {
-    background-image: url("checkbox.svg");
-}
-
-.check-box:focus:checked StBin {
-    background-image: url("checkbox-focused.svg");
-}
 
 /* Slider */
 
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 52d1878..a53d93f 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -18,24 +18,6 @@
  */
 /* Text Styles */
 /* default text style */
-/* Check Boxes */
-.check-box StBoxLayout {
-  spacing: .8em; }
-
-.check-box StBin {
-  width: 24px;
-  height: 22px;
-  background-image: url("checkbox-off.svg"); }
-
-.check-box:focus StBin {
-  background-image: url("checkbox-off-focused.svg"); }
-
-.check-box:checked StBin {
-  background-image: url("checkbox.svg"); }
-
-.check-box:focus:checked StBin {
-  background-image: url("checkbox-focused.svg"); }
-
 /* Slider */
 .slider {
   height: 1em;
@@ -1911,6 +1893,20 @@ StScrollBar {
     StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
       background-color: #215d9c; }
 
+/* Check Boxes */
+.check-box StBoxLayout {
+  spacing: .8em; }
+.check-box StBin {
+  width: 24px;
+  height: 22px;
+  background-image: url("checkbox-off.svg"); }
+.check-box:focus Stbin {
+  background-image: url("checkbox-off-focused.svg"); }
+.check-box:checked Stbin {
+  background-image: url("checkbox.svg"); }
+.check-box:focus:checked Stbin {
+  background-image: url("checkbox-focused.svg"); }
+
 /* links */
 .shell-link {
   color: #4a90d9; }


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