From 8393a9a906af7f20800b404edb461d9e2d7982e8 Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Tue, 6 Oct 2020 16:08:55 +0200 Subject: [PATCH] Seperate the control box better --- camera.css | 4 ++++ main.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/camera.css b/camera.css index 7968bf7..e897a85 100644 --- a/camera.css +++ b/camera.css @@ -6,3 +6,7 @@ background: #dd0000; color: #ffffff; } + +.controlbox { + background: rgba(0,0,0,0.2); +} diff --git a/main.c b/main.c index f592258..cc3aed2 100644 --- a/main.c +++ b/main.c @@ -1517,6 +1517,10 @@ main(int argc, char *argv[]) GTK_STYLE_PROVIDER(provider), GTK_STYLE_PROVIDER_PRIORITY_USER); context = gtk_widget_get_style_context(error_box); + gtk_style_context_add_provider(context, + GTK_STYLE_PROVIDER(provider), + GTK_STYLE_PROVIDER_PRIORITY_USER); + context = gtk_widget_get_style_context(control_box); gtk_style_context_add_provider(context, GTK_STYLE_PROVIDER(provider), GTK_STYLE_PROVIDER_PRIORITY_USER);