-
Notifications
You must be signed in to change notification settings - Fork 0
/
nightshadeTheme.qss
250 lines (209 loc) · 7.09 KB
/
nightshadeTheme.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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
/*-----QWidget-----*/
QWidget {
background-color: #0D1117; /* GitHub dark background */
color: #C9D1D9; /* Light gray text for readability */
font-family: 'Bahnschrift Light'; /* Keep the modern font */
}
/*-----QLabel-----*/
QLabel {
background-color: transparent;
color: #C9D1D9; /* Light gray to match the GitHub style */
font-weight: bold;
font-family: 'Bahnschrift Light';
}
/*-----QPushButton-----*/
QPushButton {
background-color: #21262D; /* Darker gray for buttons */
color: #58A6FF; /* GitHub's blue for button text */
font-weight: bold;
font-family: 'Bahnschrift Light';
border-radius: 8px;
padding: 10px;
}
QPushButton::disabled {
background-color: #30363D; /* Even darker gray for disabled state */
color: #484F58; /* Dim gray for disabled text */
}
QPushButton::hover {
background-color: #30363D; /* Slightly lighter gray on hover */
}
QPushButton::pressed {
background-color: #161B22; /* Almost black when pressed */
}
/*-----QCheckBox-----*/
QCheckBox {
background-color: transparent;
color: #C9D1D9; /* Light gray text for visibility */
font-weight: bold;
font-family: 'Bahnschrift Light';
border: none;
border-radius: 5px;
}
QCheckBox::indicator {
background-color: #21262D; /* Dark gray background */
border: 1px solid #30363D; /* Slightly darker gray border */
width: 12px;
height: 12px;
}
QCheckBox::indicator:checked {
background-color: #58A6FF; /* GitHub blue for checked state */
border: 1px solid #58A6FF;
}
QCheckBox::indicator:unchecked:hover {
border: 1px solid #58A6FF; /* Highlight on hover */
}
QCheckBox::disabled {
color: #484F58; /* Disabled text color */
}
QCheckBox::indicator:disabled {
background-color: #30363D; /* Disabled indicator background */
border: 1px solid #484F58;
}
/*-----QLineEdit-----*/
QLineEdit {
background-color: #161B22; /* Very dark background for input fields */
color: #C9D1D9; /* Light gray text */
font-family: 'Bahnschrift Light';
border: 2px solid #21262D; /* Slightly lighter gray border */
padding: 5px;
}
/*-----QTextEdit-----*/
QTextEdit {
background-color: #161B22; /* Very dark background for text edit */
color: #C9D1D9; /* Light gray text */
font-family: 'Bahnschrift Light';
border: 2px solid #21262D; /* Slightly lighter gray border */
padding: 5px;
}
/*-----QListView-----*/
QListView {
background-color: #0D1117; /* Background color same as QWidget */
color: #C9D1D9; /* Text color same as QWidget */
font-weight: bold;
font-family: 'Bahnschrift Light';
border-radius: 4px;
padding: 5px;
}
QListView::item {
background-color: #21262D; /* Dark gray for items */
color: #C9D1D9;
padding: 10px;
}
QListView::item:selected {
background-color: #30363D; /* Slightly lighter gray for selected item */
color: #58A6FF; /* GitHub blue for selected text */
}
QListView::item:hover {
background-color: #30363D; /* Hover background color */
color: #C9D1D9;
}
/*-----QTreeView, QTableView & QTableWidget, QHeaderView, QScrollBar-----*/
/* Continue using the color scheme defined for QWidget, QLabel, QPushButton, etc., to ensure consistency */
/*-----QSlider-----*/
QSlider::groove:horizontal {
border: 1px solid #30363D; /* Dark border for groove */
height: 8px;
background: #21262D; /* Dark gray for the groove */
margin: 2px 0;
}
QSlider::handle:horizontal {
background: #58A6FF; /* GitHub blue for the handle */
border: 1px solid #21262D; /* Border color matching the groove */
width: 18px;
height: 18px;
margin: -5px 0;
border-radius: 9px;
}
QSlider::add-page:horizontal {
background: #30363D; /* Darker section of the slider */
}
QSlider::sub-page:horizontal {
background: #58A6FF; /* GitHub blue for the filled part of the slider */
}
/*-----QTableWidget/QTableView-----*/
QTableWidget, QTableView {
background-color: #0D1117; /* GitHub dark background */
color: #C9D1D9; /* Light gray text for readability */
gridline-color: #21262D; /* Grid lines color */
font-family: 'Bahnschrift Light'; /* Keep the modern font */
}
QTableWidget::item, QTableView::item {
background-color: #0D1117; /* Background color for table items */
color: #C9D1D9; /* Text color for table items */
padding: 5px;
border: none;
}
QTableWidget::item:selected, QTableView::item:selected {
background-color: #30363D; /* Slightly lighter gray for selected item */
color: #58A6FF; /* GitHub blue for selected text */
}
QTableWidget::item:hover, QTableView::item:hover {
background-color: #21262D; /* Darker gray on hover */
color: #C9D1D9;
}
/*-----QHeaderView (for table headers)-----*/
QHeaderView::section {
background-color: #21262D; /* Darker gray for header background */
color: #C9D1D9; /* Light gray text for headers */
font-family: 'Bahnschrift Light';
font-weight: bold;
border: 1px solid #30363D; /* Border for header sections */
padding: 5px;
}
QHeaderView::section:horizontal {
border-left: 1px solid #0D1117;
}
QHeaderView::section:vertical {
border-top: 1px solid #0D1117;
}
/*-----QScrollBar (for table scrollbars)-----*/
QScrollBar:vertical, QScrollBar:horizontal {
background: #0D1117; /* Background for the scrollbar */
width: 16px;
}
QScrollBar::handle:vertical, QScrollBar::handle:horizontal {
background: #21262D; /* Darker gray for the scrollbar handle */
min-height: 20px;
border-radius: 4px;
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical,
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
background: #161B22; /* Very dark background for buttons */
border: none;
width: 16px;
height: 16px;
subcontrol-origin: margin;
}
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical,
QScrollBar::left-arrow:horizontal, QScrollBar::right-arrow:horizontal {
image: url(:/images/arrow.png); /* Customize with your arrow image */
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical,
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
background: none;
}
/*-----QComboBox-----*/
QComboBox::down-arrow {
width: 15px; /* Larger width for the arrow */
height: 15px; /* Larger height for the arrow */
color: #58A6FF; /* Bright blue color for the arrow */
}
QComboBox QAbstractItemView {
background-color: #0D1117; /* Background color for the dropdown list */
color: #C9D1D9; /* Light gray text for the items */
border: 1px solid #30363D; /* Border around the dropdown list */
selection-background-color: #30363D; /* Slightly lighter gray for selected item */
selection-color: #58A6FF; /* GitHub blue for selected text */
font-family: 'Bahnschrift Light';
}
qtablewidget::item, QComboBox, QComboBox QAbstractItemView { outline: 0px;}
QComboBox {
border: 1px solid #58A6FF; /* Set all borders to red */
padding: 5px;
background-color: #0D1117; /* Background color */
color: #58A6FF; /* Text color */
}
/*-----QTableView Corner Button-----*/
QTableCornerButton::section {
background-color: #0D1117; /* Match the background color of the table */
}