From 5fdee24bf5b276514a1dd701b53e7490145251ce Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Wed, 8 Oct 2014 05:16:43 +0200 Subject: [PATCH] stylesheet: default borders and entry appearance the problem seems to be the interplay with the installed user theme; what looks well with one theme is messed up with another one, quite insidious. Attempt to settle down on a set of default definitions for borders and element background colors, which make the Lumiera Gui "dark" but still respect the user's theme for geometry and widget style --- src/gui/gtk-lumiera.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/gui/gtk-lumiera.css b/src/gui/gtk-lumiera.css index fb758a0c4..9b81118c2 100644 --- a/src/gui/gtk-lumiera.css +++ b/src/gui/gtk-lumiera.css @@ -26,7 +26,8 @@ engine: adwaita; border-width: 1px; - background-clip: padding-box; + border-style: outset; + border-color: shade(@bg_color, 0.80); color: inherit; /* by default inherit content colour from parent widget */ } @@ -36,13 +37,12 @@ GtkWindow { background-color: @bg_color; } - .entry { + .entry, .view { /* any active or text input area */ background-color: @field_color; } -/* ---------- Styles for Standard Widgets ---------- */ /* style "medium_text" { @@ -90,7 +90,7 @@ style "default_base" = "medium_text" text[SELECTED] = { 1.0, 1.0, 1.0 } base[ACTIVE] = "#272a2f" - base[NORMAL] = "#1a1e20" + base[NORMAL] = "#1a1e20" ✔ base[PRELIGHT] = { 0.20, 0.20, 0.20 } base[INSENSITIVE] = "#4c5159" base[SELECTED] = { 0.25, 0.25, 0.25 } @@ -104,7 +104,13 @@ style "default_base" = "medium_text" } } -*//* +*/ +/* ---------- Styles for Standard Widgets ---------- */ + +GtkComboBox { + background-color: @field_color; +} +/* style "default_buttons_menus" { fg[ACTIVE] = { 1.0, 1.0, 1.0 }