Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (74 loc) · 2.28 KB
/
Copy pathstyle.css
File metadata and controls
87 lines (74 loc) · 2.28 KB
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
/*
* DVB Monitor - default stylesheet
*
* This is Qt's stylesheet language (QSS). It looks like CSS, but it is not CSS:
* there are no variables, so colours are written out in full each time.
*
* The four rules under "THE KNOBS" are the ones worth changing first.
* Everything below them is chrome you can mostly ignore.
*
* Rows grow to fit whatever font-size you set here, so making the text bigger
* Just Works. Column WIDTHS are not set here though - those live in the
* `columns:` section of your config.yaml. If you make the text much bigger, the
* app will tell you on startup which columns have become too narrow.
*/
/* ============================================================
* THE KNOBS
* ============================================================ */
/* the departure rows: line number, destination, minutes */
QLabel[class="grid_cell"] {
font-size: 12pt;
color: #ffffff;
background-color: #1a1a1a;
border: 1px solid #2a2a2a;
padding: 2px;
}
/* the "# / Dest / t" headings above the departures */
QLabel[class="grid_header"] {
font-size: 12pt;
font-weight: bold;
color: #ffffff;
background-color: #333333;
border: 1px solid #555555;
padding: 2px;
}
/* the stop name above each table */
QLabel[class="haltestelle_header"] {
font-size: 18pt;
font-weight: bold;
color: yellow;
}
/* the timestamp line along the bottom */
QLabel[class="footer"] {
font-size: 8pt;
color: #ffffff;
}
/* ============================================================
* EVERYTHING ELSE
* ============================================================ */
/* the window itself */
QMainWindow, QWidget {
background-color: #1a1a1a;
}
/* the refresh button, and the prev/next buttons when you monitor enough stops */
QPushButton {
background-color: #333333;
color: #ffffff;
border: 1px solid #555555;
padding: 4px;
}
QPushButton:pressed {
background-color: #555555;
}
/* stop name when the API failed but old departures are still on screen */
QLabel[class="haltestelle_header_stale"] {
font-size: 18pt;
font-weight: bold;
color: #cc9900;
}
/* stop name when the API failed and there is nothing left to show */
QLabel[class="haltestelle_header_error"] {
font-size: 18pt;
font-weight: bold;
color: #ff6666;
}