-
Notifications
You must be signed in to change notification settings - Fork 0
/
amethystTheme.qss
220 lines (187 loc) · 6.4 KB
/
amethystTheme.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
/*-----QWidget-----*/
QWidget {
background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1,
stop:0 #3A1D47, stop:1 #501B6B); /* Dark amethyst background gradient */
color: #E0D4E5; /* Light lavender for text */
font-family: 'Bahnschrift Light'; /* Modern, sleek font */
}
/*-----QLabel-----*/
QLabel {
background-color: transparent;
color: #CBAACB; /* Soft pinkish lavender for labels */
font-weight: bold;
font-family: 'Bahnschrift Light';
}
/*-----QPushButton-----*/
QPushButton {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #9E8AB7, stop:1 #674D77); /* Gradient from lighter to darker purple */
color: #FFF; /* Bright white text for maximum contrast */
font-weight: bold;
font-family: 'Bahnschrift Light';
border: 2px solid #D6C1DE; /* Light purple border to enhance visibility */
border-radius: 8px;
padding: 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Adding shadow for depth */
}
QPushButton::disabled {
background-color: #504153; /* Muted dark purple for disabled state */
color: #837E9F; /* Light grey for text when disabled */
}
QPushButton::hover {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #BFA5CC, stop:1 #7D5FA6); /* Lighter gradient on hover for more visual feedback */
}
QPushButton::pressed {
background-color: #563D68; /* Very deep purple when pressed */
border-color: #8A77A6; /* Adjusting border color for pressed state */
}
/*-----QCheckBox-----*/
QCheckBox {
background-color: transparent;
color: #CBAACB; /* Soft pinkish lavender text */
font-weight: bold;
font-family: 'Bahnschrift Light';
border: none;
border-radius: 5px;
}
QCheckBox::indicator {
background-color: #674D77; /* Darker purple background */
border: 1px solid #8967AA; /* Light purple border */
width: 12px;
height: 12px;
}
QCheckBox::indicator:checked {
background-color: #5A3773; /* Deeper purple for checked state */
border: 1px solid #D8BFD8; /* Thistle color border */
}
QCheckBox::indicator:unchecked:hover {
border: 1px solid #B394C0; /* Lighter purple border on hover */
}
QCheckBox::disabled {
color: #837E9F; /* Greyish lavender text for disabled state */
}
QCheckBox::indicator:disabled {
background-color: #504153; /* Muted purple background for disabled state */
border: 1px solid #837E9F;
}
/*-----QLineEdit-----*/
QLineEdit {
background-color: #4E3546; /* Dark amethyst background */
color: #E0D4E5; /* Light lavender text */
font-family: 'Bahnschrift Light';
border: 2px solid #5A3773; /* Darker purple border for better visibility */
padding: 5px;
}
/*-----QTextEdit-----*/
QTextEdit {
background-color: #4E3546; /* Dark amethyst background */
color: #E0D4E5; /* Light lavender text for good readability */
font-family: 'Bahnschrift Light';
border: 2px solid #5A3773; /* Clearly visible purple border */
padding: 5px;
}
/*-----QListView-----*/
QListView {
background-color: #3A1D47; /* Dark amethyst background */
color: #E0D4E5; /* Light lavender for items */
font-weight: bold;
font-family: 'Bahnschrift Light';
border-radius: 4px;
padding: 5px;
}
QListView::item {
background-color: #501B6B; /* Medium amethyst for item backgrounds */
color: #E0D4E5; /* Light lavender for item text */
padding: 10px;
}
QListView::item:selected {
background-color: #6C488F; /* Lighter amethyst for selected item */
color: #FFFFFF; /* White text */
}
QListView::item:hover {
background-color: #7D5FA6; /* Very light purple on hover */
color: #FFFFFF; /* White text */
}
QComboBox QAbstractItemView {
outline: 0px;
}
/*-----QTableWidget/QTableView-----*/
QTableWidget, QTableView {
background-color: #3A1D47; /* Dark amethyst background */
color: #E0D4E5; /* Light lavender for text */
font-family: 'Bahnschrift Light';
gridline-color: #5A3773; /* Darker purple grid lines */
selection-background-color: #6C488F; /* Lighter amethyst for selected cells */
selection-color: #FFFFFF; /* White text for selected cells */
border: 2px solid #501B6B; /* Medium amethyst border */
}
QTableWidget::item, QTableView::item {
background-color: #501B6B; /* Medium amethyst for item backgrounds */
color: #E0D4E5; /* Light lavender for item text */
padding: 5px;
}
QTableWidget::item:selected, QTableView::item:selected {
background-color: #7D5FA6; /* Very light purple on selection */
color: #FFFFFF; /* White text */
}
QTableWidget::item:hover, QTableView::item:hover {
background-color: #674D77; /* Darker purple on hover */
color: #FFFFFF; /* White text */
}
/*-----QHeaderView (for table headers)-----*/
QHeaderView::section {
background-color: #501B6B; /* Medium amethyst background */
color: #E0D4E5; /* Light lavender text */
font-family: 'Bahnschrift Light';
font-weight: bold;
border: 1px solid #5A3773; /* Darker purple border */
padding: 8px;
text-align: center;
}
QHeaderView::section:horizontal {
background-color: #674D77; /* Darker purple background for horizontal header */
color: #FFFFFF; /* White text */
}
QHeaderView::section:vertical {
background-color: #674D77; /* Darker purple background for vertical header */
color: #FFFFFF; /* White text */
}
/*-----QScrollBar (for table scrollbars)-----*/
QScrollBar:horizontal {
border: none;
background: #3A1D47; /* Dark amethyst background */
height: 15px;
margin: 0px 20px 0 20px;
}
QScrollBar::handle:horizontal {
background: #6C488F; /* Lighter amethyst handle */
min-width: 20px;
border-radius: 4px;
}
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
border: none;
background: none;
}
QScrollBar:vertical {
border: none;
background: #3A1D47; /* Dark amethyst background */
width: 15px;
margin: 20px 0px 20px 0px;
}
QScrollBar::handle:vertical {
background: #6C488F; /* Lighter amethyst handle */
min-height: 20px;
border-radius: 4px;
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
border: none;
background: none;
}
QScrollBar::add-page, QScrollBar::sub-page {
background: none;
}
/*-----QTableView Corner Button-----*/
QTableCornerButton::section {
background-color: #3A1D47; /* Match the background color of the table */
}