summaryrefslogtreecommitdiff
path: root/gui/resources/styles.qss
blob: 1f1b82f09e1f2f579998fd67b347f406cfed9463 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
* {
    font-family: "BigBlueTermPlusNerdFontMono", "monospace";
    font-size: 20pt;
    color: "#00cc00";
    background-color: "#000004";
}

/* main window */
QWidget {
}

QGroupBox {
    font-size: 17pt;
    background-color: "#000004";
    border: 4px solid ;
    border-radius: 0px;
    margin-bottom: 1ex; /* leave space at the bottom for the title */
}

QGroupBox::title {
    subcontrol-origin: margin;
    subcontrol-position: bottom left;
    border-radius: 0px;
    padding: 0 2px;
    background-color: "#00cc00";
    color: "#000000";
}

QLabel {
}

/* text entry */
QLineEdit {
    font-size: 15pt;
    border-radius: 0px;
    padding: 0 4px;
    selection-background-color: "#00cc00";
}

QTextEdit, QListView {
    font-size: 10pt;
    background-color: "#000004";
}

QPushButton {
    border: 4px solid "#00cc00";
}

QPushButton:pressed {
    color: "#000004";
    background-color: "#00cc00";
}

QPushButton:flat {
    border: none; /* no border for a flat push button */
}

QPushButton:default {
    border-color: "#00cc00";
}

QMenuBar {
    background-color: "#00cc00";
    spacing: 3px; /* spacing between menu bar items */
}

QMenuBar::item {
    padding: 1px 4px;
    background: transparent;
    border-radius: 4px;
}

QMenuBar::item:selected { /* when selected using mouse or keyboard */
    background: #a8a8a8;
}

QMenuBar::item:pressed {
    background: #888888;
}

QCheckBox {
    spacing: 5px;
}

QCheckBox::indicator {
    width: 13px;
    height: 13px;
    border: 2px solid "#00cc00";
}

QCheckBox::indicator:unchecked {
}

/* QCheckBox::indicator:unchecked:pressed { */
/*     image: url(:/images/checkbox_unchecked_pressed.png); */
/* } */

QCheckBox::indicator:checked {
    background: "#00cc00";
}

QSlider::groove:horizontal {
    height: 5px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
    background: "#00cc00";
    margin: 2px 0;
}

QSlider::handle:horizontal {
    background: "#00cc00";
    width: 10px;
    margin: -30px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
    border-radius: 3px;
}

QScrollBar:horizontal {
    border: 2px solid "#00cc00";
    height: 4px;
    margin: 0px 20px 0 20px;
}
QScrollBar::handle:horizontal {
    min-width: 20px;
}
QScrollBar::add-line:horizontal {
    border: 2px solid "#00cc00";
    width: 4px;
    subcontrol-position: right;
    subcontrol-origin: margin;
}

QScrollBar::sub-line:horizontal {
    border: 2px solid "#00cc00";
    width: 4px;
    subcontrol-position: left;
    subcontrol-origin: margin;
}

/* Local Variables: */
/* mode: css */
/* End: */