diff --git a/data/config/setup.ini b/data/config/setup.ini index aaa0e2f2a..bffb29e92 100644 --- a/data/config/setup.ini +++ b/data/config/setup.ini @@ -18,6 +18,7 @@ authors = Joel Holdsworth|Christian Thäter|Hermann Voßeler|Stefan Kangas| copyright = 2007 - 2015 [Gui] -stylesheet = gtk-lumiera.css +#stylesheet = lumiera.css +stylesheet = lumiera-light-theme-complement.css iconpath = $ORIGIN/../../share/lumiera/icons:$ORIGIN/gui/icons:~/.lumiera/icons resourcepath = $ORIGIN/../../share/lumiera/gui:$ORIGIN/gui diff --git a/src/common/configfacade.cpp b/src/common/configfacade.cpp index 3841f14eb..74d915aea 100644 --- a/src/common/configfacade.cpp +++ b/src/common/configfacade.cpp @@ -35,7 +35,7 @@ ** @todo as of 2016, this seems not to be used much, if at all. ** The GTK-UI, which in itself is very preliminary, retrieves ** some values from configuration, most notably the name of - ** the GTK stylesheet (`gtk-lumiera.css` is the default) + ** the GTK stylesheet (`lumiera.css` is the default) */ diff --git a/src/gui/lumiera-light-theme-complement.css b/src/gui/lumiera-light-theme-complement.css new file mode 100644 index 000000000..841c07fa1 --- /dev/null +++ b/src/gui/lumiera-light-theme-complement.css @@ -0,0 +1,25 @@ +/* + lumiera-light-theme-complement.css - minimal supplement for GTK-3 light style sheet + + Copyright (C) Lumiera.org + 2018, Hermann Vosseler + + Styles and Graphics of the Lumiera GUI can be used and redistributed + under the the terms of the GNU General Public License version 2 or + above, or (at your option) under Creative Commons CC-By-SA. + +* ********************************************************/ + + +/* CSS stylesheet to provide the additional definitions + * required to run the Lumiera GTK UI with a typical + * "light" standard system theme + */ + + + + +/* ---------- Styles for Lumiera Widgets ---------- */ + + +/* ---------- Styles for special markup ---------- */ diff --git a/src/gui/gtk-lumiera.css b/src/gui/lumiera.css similarity index 98% rename from src/gui/gtk-lumiera.css rename to src/gui/lumiera.css index 6e22479ca..d9aa1a722 100644 --- a/src/gui/gtk-lumiera.css +++ b/src/gui/lumiera.css @@ -1,5 +1,5 @@ /* - gtk-lumiera.css - GTK-3 style sheet for the Lumiera GUI + lumiera.css - GTK-3 style sheet for the Lumiera GUI Copyright (C) Lumiera.org 2014, Hermann Vosseler @@ -275,3 +275,6 @@ class "gtkmm__CustomObject_TimelineRuler" style:highest "timeline_ruler" class "gtkmm__CustomObject_TimelineHeaderWidget" style:highest "timeline_header_widget" */ + + +/* ---------- Styles for special markup ---------- */ diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index ea598d09e..0479d1cdb 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -5293,6 +5293,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ CSS genügt +

+ + +
+ +
+
+ + + + + + + + + + + + + + + +

+ füge möglichst hoch in der Hierarchie Regeln ein, +

+

+ die ein property auf den Wert 'inherit' setzten +

+ + +
+ + + + + +

+ z.B. in den Block mit den "default-Regeln" +

+

+   * { +

+

+     color:            inherit; /* by default inherit content colour from parent widget */ +

+

+     background-color: inherit; +

+

+ } +

+ + +
+
+
+
+ + + +
+
@@ -37990,14 +38121,25 @@ - + + + + + + + + + + + +