[gnome-shell/wip/sass: 18/98] theme: checkboxes
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/sass: 18/98] theme: checkboxes
- Date: Fri, 20 Feb 2015 14:18:42 +0000 (UTC)
commit c9f9ac0f3532c849b132349f8edf448beb3611b4
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 e161d49..3d079c8 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 521c06b..aeca48f 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;
@@ -1937,6 +1919,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]