aboutsummaryrefslogtreecommitdiff
path: root/.themes/FlatColor/gtk-3.0/widgets/switch.css
diff options
context:
space:
mode:
authorschererleander <leander@leander-scherer.de>2024-03-11 17:12:20 +0100
committerschererleander <leander@leander-scherer.de>2024-03-11 17:12:20 +0100
commitb77a7d585cf6cf2420dd770e42ba5b1e08a4e12c (patch)
tree1e609feaf2356f80ea95cc0f61fc2ecddc875f6b /.themes/FlatColor/gtk-3.0/widgets/switch.css
parentbe73020a8d6d0beefdedf6f2c2c1ffa3cc8a82b6 (diff)
initial commit
Diffstat (limited to '.themes/FlatColor/gtk-3.0/widgets/switch.css')
-rw-r--r--.themes/FlatColor/gtk-3.0/widgets/switch.css42
1 files changed, 42 insertions, 0 deletions
diff --git a/.themes/FlatColor/gtk-3.0/widgets/switch.css b/.themes/FlatColor/gtk-3.0/widgets/switch.css
new file mode 100644
index 0000000..6b2170b
--- /dev/null
+++ b/.themes/FlatColor/gtk-3.0/widgets/switch.css
@@ -0,0 +1,42 @@
+/**********
+ * switch *
+ **********/
+GtkSwitch {
+ padding: 4px;
+ border-radius: 0;
+ font: bold condensed;
+}
+
+GtkSwitch.slider {
+ border-width: 0;
+ border-radius: 0;
+ border-style: none;
+ background-color: @theme_base_color;
+ background-image: none;
+}
+
+GtkSwitch.slider:insensitive {
+ background-color: @theme_bg_color;
+ background-image: none;
+}
+
+GtkSwitch.trough {
+ border-width: 1px;
+ border-style: solid;
+ border-color: @theme_bg_color;
+ background-color: @switch_bg_color;
+ background-image: none;
+ color: @theme_selected_fg_color;
+}
+
+GtkSwitch.trough:active {
+ background-color: @theme_selected_bg_color;
+ background-image: none;
+ color: @theme_selected_fg_color;
+}
+
+GtkSwitch.trough:insensitive {
+ background-color: shade(@theme_bg_color, 1.04);
+ background-image: none;
+ color: mix(@theme_text_color, @theme_base_color, 0.4);
+}