aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-03-24 12:14:17 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-03-24 18:00:38 +0100
commit8a0542ed7f8652a0404708f3eebc36fb9c081632 (patch)
tree3d8014aca56e41322a3f3e285ead998ecb3250c1
parent21ec1e765413ee195d4f2612e84d7b728f6feb11 (diff)
downloadarctica-greeter-8a0542ed7f8652a0404708f3eebc36fb9c081632.tar.gz
arctica-greeter-8a0542ed7f8652a0404708f3eebc36fb9c081632.tar.bz2
arctica-greeter-8a0542ed7f8652a0404708f3eebc36fb9c081632.zip
src/main-window.vala: Render the back-button with black background and white border. As arrow we have a white png.
-rw-r--r--src/main-window.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main-window.vala b/src/main-window.vala
index 1d33ec1..cc72aef 100644
--- a/src/main-window.vala
+++ b/src/main-window.vala
@@ -163,7 +163,10 @@ public class MainWindow : Gtk.Window
var style = new Gtk.CssProvider ();
style.load_from_data ("* {background-color: transparent;
%s
- }".printf(shadow_style), -1);
+ }
+ *.high_contrast {background-color: black;
+ border-color: white;
+ }".printf(shadow_style), -1);
var context = back_button.get_style_context();
context.add_provider (style,
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);