Seperate the control box better

This commit is contained in:
Martijn Braam 2020-10-06 16:08:55 +02:00
parent bbec2094fb
commit 8393a9a906
2 changed files with 8 additions and 0 deletions

View File

@ -6,3 +6,7 @@
background: #dd0000;
color: #ffffff;
}
.controlbox {
background: rgba(0,0,0,0.2);
}

4
main.c
View File

@ -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);