aboutsummaryrefslogtreecommitdiff
path: root/.themes/FlatColor/gtk-3.20/widgets/button.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.20/widgets/button.css
parentbe73020a8d6d0beefdedf6f2c2c1ffa3cc8a82b6 (diff)
initial commit
Diffstat (limited to '.themes/FlatColor/gtk-3.20/widgets/button.css')
-rw-r--r--.themes/FlatColor/gtk-3.20/widgets/button.css68
1 files changed, 68 insertions, 0 deletions
diff --git a/.themes/FlatColor/gtk-3.20/widgets/button.css b/.themes/FlatColor/gtk-3.20/widgets/button.css
new file mode 100644
index 0000000..e9a293b
--- /dev/null
+++ b/.themes/FlatColor/gtk-3.20/widgets/button.css
@@ -0,0 +1,68 @@
+/**********
+ * button *
+ **********/
+button {
+ padding: 4px 4px;
+ margin: 2px;
+ border-width: 2px;
+ border-style: solid;
+ border-color: @button_normal_color;
+ border-radius: 5px;
+ background-color: @button_normal_color;
+ color: @text_color;
+ background-repeat: no-repeat;
+ background-position: center;
+ box-shadow: 0 2.5px 4.5px @shadow;
+}
+
+button:focus {
+ color: @fg_color;
+ box-shadow: 0 2.5px 4.5px @shadow ,
+ inset 0 0 0 2px alpha(@selected_bg_color, 0.5);
+}
+
+button:active,
+button.toggle:checked {
+ color: @fg_color;
+ background-color: shade(@selected_bg_color, 0.83);
+ border-color: shade(@selected_bg_color, 0.83);
+ /*box-shadow: 0 1px 1px @shadow ,
+ inset 0 0 0 2px alpha(@fg_color, 0.25);*/
+ box-shadow: 0 1px 1px @shadow;
+}
+
+button:hover {
+ box-shadow: 0 2.5px 4.5px @shadow ,
+ inset 0 0 0 2px @selected_bg_color;
+ transition: box-shadow 300ms cubic-bezier(0, 0, 0.2, 1);
+ color: @fg_color;
+}
+
+button:active:hover,
+button.toggle:checked:hover {
+ box-shadow: 0 2.5px 4.5px @shadow ,
+ inset 0 0 0 2px alpha(@fg_color, 0.5);
+ transition: box-shadow 300ms cubic-bezier(0, 0, 0.2, 1);
+ color: @fg_color;
+}
+
+button:disabled {
+ background-color: mix(@color8, @color0, 0.40);
+ background-image: none;
+ color: mix(@text_color, @color0, 0.40);
+}
+
+button:active:disabled {}
+
+GtkLinkButton.button,
+GtkLinkButton.button:focus,
+GtkLinkButton.button:hover,
+GtkLinkButton.button:active,
+GtkLinkButton.button:focus:active,
+GtkLinkButton.button:focus:hover {}
+
+button.radio:checked {
+ color: @fg_color;
+ background-color: shade(@selected_bg_color, 0.83);
+ border-color: shade(@selected_bg_color, 0.83);
+} \ No newline at end of file