aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-02-04 07:04:28 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-02-04 07:04:28 +0100
commit62dbaeb72375f50c3bc9deffcec941d76c3fea84 (patch)
tree2f220ea1dee83c7eb7d745535ffd0e6f04728989 /src/interface-gtk
parentcff9fb167f27905cc07cb9d490c38ab7b266bc11 (diff)
downloadsciteco-62dbaeb72375f50c3bc9deffcec941d76c3fea84.tar.gz
Gtk UI: refactored fallback.css - use one section per UI component
Diffstat (limited to 'src/interface-gtk')
-rw-r--r--src/interface-gtk/fallback.css25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/interface-gtk/fallback.css b/src/interface-gtk/fallback.css
index 0482763..1be431b 100644
--- a/src/interface-gtk/fallback.css
+++ b/src/interface-gtk/fallback.css
@@ -8,26 +8,21 @@
* to fix it up or add other style customizations.
*/
-/*
- * Original STYLE_DEFAULT foregrounds on backgrounds:
- */
-#sciteco-cmdline {
- color: @sciteco_default_fg_color;
+.titlebar, /* info bar in CSD mode */
+#sciteco-info-bar,
+#sciteco-info-bar GtkLabel {
+ color: @sciteco_default_bg_color;
text-shadow: none;
- background-color: @sciteco_default_bg_color;
+ background-color: @sciteco_default_fg_color;
background-image: none;
}
/*
- * Reversed STYLE_DEFAULT colors:
* The "question" class refers to G_MESSAGE_QUESTION.
* This is used for showing user-level messages for the sole
* reason that there is no class for G_MESSAGE_OTHER that
* we could use for styling.
*/
-#sciteco-info-bar,
-#sciteco-info-bar GtkLabel,
-.titlebar, /* info bar in CSD mode */
#sciteco-message-bar.question {
color: @sciteco_default_bg_color;
text-shadow: none;
@@ -35,9 +30,13 @@
background-image: none;
}
-/*
- * The popup widget (uses STYLE_CALLTIP)
- */
+#sciteco-cmdline {
+ color: @sciteco_default_fg_color;
+ text-shadow: none;
+ background-color: @sciteco_default_bg_color;
+ background-image: none;
+}
+
#sciteco-info-popup,
#sciteco-info-popup GtkLabel {
color: @sciteco_calltip_fg_color;