aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk/fallback.css
blob: c8f5431e19b60423775a35f06d7f5dfd4518d2fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*
 * This CSS will loaded as a fallback if there is no
 * $SCITECOCONFIG/.teco_css.
 * It tries to apply the current SciTECO color scheme
 * by using predefined variables (see sciteco(7)).
 * This may cause problems with your current Gtk theme.
 * You can copy this file to $SCITECOCONFIG/.teco_css
 * to fix it up or add other style customizations.
 */

/*
 * The info or title bar (#sciteco-info-bar).
 * The following classes are defined:
 *   - info-qregister: The title bar if a QRegister is edited
 *   - info-buffer: The title bar if a buffer is edited
 *   - dirty: The title bar for dirty buffers
 *   - type-label: The label showing the current document type
 *   - name-label: THe label showing the current document name
 */
.info-qregister,
.info-buffer {
	background-color: @sciteco_default_fg_color;
	background-image: none;
}

.info-qregister GtkLabel,
.info-buffer GtkLabel {
	color: @sciteco_default_bg_color;
	text-shadow: none;
}

.type-label {
	font-variant: small-caps;
	font-weight: 300; /* light */
}

.info-buffer.dirty .name-label {
	font-style: italic;
}

/*
 * Scintilla views
 */
ScintillaObject {}

/*
 * The message bar (#sciteco-message-bar).
 *
 * 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-message-bar.question {
	background-color: @sciteco_default_fg_color;
	background-image: none;
}

#sciteco-message-bar.question GtkLabel {
	color: @sciteco_default_bg_color;
	text-shadow: none;
}

/*
 * The command line area (#sciteco-cmdline)
 */
#sciteco-cmdline {
	color: @sciteco_default_fg_color;
	text-shadow: none;
	background-color: @sciteco_default_bg_color;
	background-image: none;
}

/*
 * The autocompletion popup (#sciteco-info-popup).
 * The following classes are defined:
 *   - highlight: A highlighted popup entry
 */
#sciteco-info-popup {
	background-color: @sciteco_calltip_bg_color;
	background-image: none;
}

#sciteco-info-popup GtkLabel {
	color: @sciteco_calltip_fg_color;
	text-shadow: none;
}

#sciteco-info-popup .highlight GtkLabel {
	font-weight: bold;
}