aboutsummaryrefslogtreecommitdiff
path: root/src/toggle-box.vala
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2022-12-06 03:03:43 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-02-06 08:30:01 +0100
commit41bd371dda0af150b729e5430450595376361cc0 (patch)
tree5f6e554476672009f541424174fc6b99b5521fa3 /src/toggle-box.vala
parent32d28d7bf2646fc7a0008937034246fcc96dbc8a (diff)
downloadarctica-greeter-41bd371dda0af150b729e5430450595376361cc0.tar.gz
arctica-greeter-41bd371dda0af150b729e5430450595376361cc0.tar.bz2
arctica-greeter-41bd371dda0af150b729e5430450595376361cc0.zip
src/toggle-box.vala: fix CSS style.
CSS element ids called "GtkElement" haven't been in use since 2014 and they never had a class called "element".
Diffstat (limited to 'src/toggle-box.vala')
-rw-r--r--src/toggle-box.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/toggle-box.vala b/src/toggle-box.vala
index 5502c1d..c157f60 100644
--- a/src/toggle-box.vala
+++ b/src/toggle-box.vala
@@ -65,12 +65,12 @@ public class ToggleBox : Gtk.Box
/* Tighten padding on buttons to not be so large, default color scheme for buttons */
var style = new Gtk.CssProvider ();
style.load_from_data ("* {padding: 8px;}\n"+
- "GtkButton {\n"+
+ "GtkButton, button {\n"+
" background-color: %s;\n".printf("rgba(0,0,0,0)")+
" background-image: none;"+
"}\n"+
- ".button:hover,\n"+
- ".button:hover:active {\n"+
+ "button:hover,\n"+
+ "button:hover:active {\n"+
" background-color: %s;\n".printf(AGSettings.get_string (AGSettings.KEY_TOGGLEBOX_BUTTON_BGCOLOR))+
"}\n", -1);
button.get_style_context ().add_provider (style, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);