-
Notifications
You must be signed in to change notification settings - Fork 0
/
lightTheme.qss
232 lines (196 loc) · 6.38 KB
/
lightTheme.qss
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
/*-----QWidget-----*/
QWidget {
background-color: #FFFFFF; /* Pure white background for maximum brightness */
color: #333333; /* Dark grey text for great readability */
font-family: 'Bahnschrift Light'; /* Maintain the sleek, modern font */
}
/*-----QLabel-----*/
QLabel {
background-color: transparent;
color: #333333; /* Dark grey text on a light background */
font-weight: bold;
font-family: 'Bahnschrift Light';
}
/*-----QPushButton-----*/
QPushButton {
background-color: #F0F0F0; /* Very light grey for buttons */
color: #0056B3; /* Deep blue for button text, providing a professional look */
font-weight: bold;
font-family: 'Bahnschrift Light';
border-radius: 8px;
padding: 10px;
}
QPushButton::disabled {
background-color: #E0E0E0; /* Slightly darker grey for disabled state */
color: #AAAAAA; /* Grey text for disabled appearance */
}
QPushButton::hover {
background-color: #D9D9D9; /* Light grey for hover state */
}
QPushButton::pressed {
background-color: #CCCCCC; /* Dark grey when pressed */
}
/*-----QCheckBox-----*/
QCheckBox {
background-color: transparent;
color: #333333; /* Dark grey for visible contrast */
font-weight: bold;
font-family: 'Bahnschrift Light';
border: none;
border-radius: 5px;
}
QCheckBox::indicator {
background-color: #F0F0F0; /* Very light grey background */
border: 1px solid #CCCCCC; /* Grey border */
width: 14px;
height: 14px;
}
QCheckBox::indicator:checked {
background-color: #0056B3; /* Deep blue for checked state */
border: 1px solid #0056B3; /* Matching border color */
}
QCheckBox::indicator:unchecked:hover {
border: 1px solid #0056B3; /* Highlight with deep blue on hover */
}
QCheckBox::disabled {
color: #AAAAAA; /* Grey text for disabled state */
}
QCheckBox::indicator:disabled {
background-color: #E0E0E0; /* Grey background for disabled state */
border: 1px solid #AAAAAA;
}
/*-----QLineEdit-----*/
QLineEdit {
background-color: #FFFFFF; /* White background for input fields */
color: #333333; /* Dark grey text for contrast */
font-family: 'Bahnschrift Light';
border: 1px solid #CCCCCC; /* Light grey border for subtle definition */
padding: 5px;
}
/*-----QTextEdit-----*/
QTextEdit {
background-color: #FFFFFF; /* White background for text editing */
color: #333333; /* Dark grey text */
font-family: 'Bahnschrift Light';
border: 1px solid #CCCCCC; /* Consistent light grey border */
padding: 5px;
}
/*-----QListView-----*/
QListView {
background-color: #FFFFFF; /* White background for consistency */
color: #333333; /* Dark grey text */
font-weight: bold;
font-family: 'Bahnschrift Light';
border-radius: 4px;
padding: 5px;
}
QListView::item {
background-color: #F0F0F0; /* Very light grey for items */
color: #333333;
padding: 10px;
}
QListView::item:selected {
background-color: #D9D9D9; /* Light grey for selected item */
color: #0056B3; /* Deep blue for selected text */
}
QListView::item:hover {
background-color: #D9D9D9; /* Light grey on hover */
color: #333333;
}
/*-----QTreeView, QTableView & QTableWidget, QHeaderView, QScrollBar-----*/
/* Utilize similar color schemes defined for QWidget, QLabel, QPushButton, etc., to ensure uniformity across the interface */
/*-----QSlider-----*/
QSlider::groove:horizontal {
border: 1px solid #CCCCCC; /* Light grey border for groove */
height: 8px;
background: #F0F0F0; /* Very light grey for the groove */
margin: 2px 0;
}
QSlider::handle:horizontal {
background: #0056B3; /* Deep blue for the handle */
border: 1px solid #CCCCCC; /* Light grey border */
width: 18px;
height: 18px;
margin: -5px 0;
border-radius: 9px;
}
QSlider::add-page:horizontal {
background: #D9D9D9; /* Light grey for the area after the handle */
}
QSlider::sub-page:horizontal {
background: #0056B3; /* Deep blue for the filled part of the slider */
}
/*-----QTableWidget/QTableView-----*/
QTableWidget, QTableView {
background-color: #FFFFFF; /* White background for the table */
color: #333333; /* Dark grey text for table content */
border: 1px solid #CCCCCC; /* Light grey border for table */
gridline-color: #E0E0E0; /* Slightly darker grey for gridlines */
font-family: 'Bahnschrift Light';
}
QTableWidget::item, QTableView::item {
padding: 8px; /* Padding for table cells */
background-color: #F0F0F0; /* Very light grey for table items */
color: #333333; /* Dark grey text */
}
QTableWidget::item:selected, QTableView::item:selected {
background-color: #D9D9D9; /* Light grey for selected item */
color: #0056B3; /* Deep blue text for selected items */
}
/*-----QHeaderView (for table headers)-----*/
QHeaderView::section {
background-color: #F0F0F0; /* Very light grey for header background */
color: #333333; /* Dark grey text for headers */
padding: 8px;
border: 1px solid #CCCCCC; /* Light grey border for headers */
font-family: 'Bahnschrift Light';
}
QHeaderView::section:horizontal {
border-top: none;
border-left: none;
border-right: 1px solid #CCCCCC;
}
QHeaderView::section:vertical {
border-left: none;
border-top: none;
border-bottom: 1px solid #CCCCCC;
}
/*-----QScrollBar (for table scrollbars)-----*/
QScrollBar:vertical {
border: 1px solid #CCCCCC;
background: #F0F0F0; /* Very light grey background */
width: 16px;
margin: 18px 0 18px 0;
}
QScrollBar::handle:vertical {
background: #D9D9D9; /* Light grey for the scrollbar handle */
min-height: 20px;
border-radius: 8px;
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
border: 1px solid #CCCCCC;
background: #F0F0F0;
height: 18px;
subcontrol-origin: margin;
}
QScrollBar::add-line:vertical:hover, QScrollBar::sub-line:vertical:hover {
background: #D9D9D9; /* Darker grey on hover */
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: none;
}
/* General ComboBox Styles */
QComboBox {
border: 1px solid #000000; /* Black border */
padding: 5px;
background-color: #FFFFFF; /* Background color */
color: #333333; /* Text color */
font-family: 'Bahnschrift Light';
}
QComboBox QAbstractItemView {
outline: 0px;
}
/*-----QTableView Corner Button-----*/
QTableCornerButton::section {
background-color: #FFFFFF; /* Match the background color of the table */
}