[gnome-shell/wip/sassWithSomeFixes: 37/62] theme: checkboxes
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/sassWithSomeFixes: 37/62] theme: checkboxes
- Date: Mon, 10 Nov 2014 16:11:20 +0000 (UTC)
commit ccb8c0007741025052d98ffd218f18aef82f191d
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 ----------------------
2 files changed, 15 insertions(+), 22 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]