-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylesheet.qss
More file actions
198 lines (167 loc) · 5.84 KB
/
stylesheet.qss
File metadata and controls
198 lines (167 loc) · 5.84 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
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
/* General Styles */
QWidget {
background-color: #ffffff; /* Light background color */
color: #094067; /* Dark text color */
font-family: Helvetica, Arial;
}
/* Custom font for Headlines/Labels with a rounded background */
QLabel {
font-size: 15px;
color: #ffffff; /* Assuming white text for contrast */
background-color: #3da9fc; /* Button background color for visibility */
font-weight: bold;
padding: 2px; /* Padding to ensure text doesn't touch the border edge */
border: None; /* No border */
border-radius: 6px;
margin: 1px; /* Optional margin around the label */
/* Additional QLabel styles if needed */
}
/* Styles for QPushButton */
QPushButton {
background-color: #3da9fc; /* Button background color */
color: #ffffff; /* Light button text color */
border: None; /* No border */
border-radius: 4px;
padding: 5px 10px;
font-size: 14px;
font-weight: bold;
}
QPushButton:hover {
background-color: #90b4ce; /* Lighter secondary color for hover state */
}
QPushButton:pressed {
background-color: #ef4565; /* Tertiary color for pressed state */
}
QTextEdit {
background-color: #ffffff; /* Light background color for text edit */
border: 1px solid #90b4ce; /* Light secondary color for border */
border-radius: 4px;
padding: 4px;
color: #fffffe; /* Changed to black text color for better visibility */
}
/* Styles for QComboBox */
QComboBox {
background-color: #fffffe; /* Light background color for better visibility */
color: #5f6c7b; /* Dark text color for better visibility */
border: 1px solid #90b4ce; /* Light secondary color for border */
border-radius: 4px;
padding: 4px;
min-width: 6em;
}
QComboBox::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border-left-width: 1px;
border-left-color: #90b4ce; /* Light secondary color for border */
border-left-style: solid;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
QComboBox::down-arrow {
image: url(path/to/arrow.png); /* Replace with the actual path to the arrow image */
}
/* Style for QComboBox when it's expanded (showing the dropdown items) */
QComboBox QAbstractItemView {
border: 1px solid #90b4ce; /* Light secondary color for border */
selection-background-color: #3da9fc; /* Button background color for the selected item */
selection-color: #ffffff; /* Light button text color for the selected item */
background-color: #fffffe; /* Light background color for the dropdown */
color: #5f6c7b; /* Dark text color for the dropdown items */
}
/* Styles for QFrame used as a line */
QFrame {
background-color: #094067; /* Dark stroke color for lines */
}
/* Styles for the QMainWindow */
QMainWindow {
background-color: #ffffff; /* Light background color */
}
/* Additional styling for other widgets like QMenuBar, QStatusBar, QToolBar if they are used */
QMenuBar {
background-color: #ffffff; /* Light background color */
color: #094067; /* Dark text color */
border-bottom: 1px solid #90b4ce; /* Light secondary color for border */
}
QMenuBar::item {
spacing: 3px; /* spacing between menu bar items */
padding: 1px 4px;
background: transparent;
}
QMenuBar::item:selected {
background: #90b4ce; /* Light secondary color for selected menu bar item */
}
QMenuBar::item:pressed {
background: #ef4565; /* Tertiary color for pressed menu bar item */
}
/* Styles for QFileDialog */
QFileDialog {
background-color: #ffffff; /* Light background color */
color: #094067; /* Dark text color */
border: 1px solid #90b4ce; /* Light secondary color for border */
border-radius: 4px;
padding: 4px;
}
QFileDialog QListView, QFileDialog QTreeView {
background-color: #ffffff; /* Light background color */
border: 1px solid #90b4ce; /* Light secondary color for border */
border-radius: 4px;
padding: 4px;
}
QFileDialog QListView::item, QFileDialog QTreeView::item {
background-color: #ffffff; /* Light background color */
color: #094067; /* Dark text color */
}
QFileDialog QListView::item:selected, QFileDialog QTreeView::item:selected {
background-color: #90b4ce; /* Light secondary color for border */
color: #ffffff; /* Light text color */
}
QStatusBar {
background-color: #ffffff; /* Light background color */
color: #094067; /* Dark text color */
border-top: 1px solid #90b4ce; /* Light secondary color for border */
}
QToolBar {
background-color: #ffffff; /* Light background color */
border-bottom: 1px solid #90b4ce; /* Light secondary color for border */
}
QToolBar::separator {
background-color: #90b4ce; /* Light secondary color for border */
width: 1px;
height: 1px;
}
QToolButton {
background-color: #ffffff; /* Light background color */
border: 1px solid #90b4ce; /* Light secondary color for border */
border-radius: 4px;
padding: 4px;
}
QToolButton:hover {
background-color: #90b4ce; /* Light secondary color for border */
}
QToolButton:checked {
background-color: #ef4565; /* Tertiary color for pressed state */
}
QToolButton:pressed {
background-color: #ef4565; /* Tertiary color for pressed state */
}
QToolButton:disabled {
background-color: #ffffff; /* Light background color */
border: 1px solid #90b4ce; /* Light secondary color for border */
border-radius: 4px;
padding: 4px;
}
QToolButton:checked:disabled {
background-color: #ef4565; /* Tertiary color for pressed state */
}
QToolButton:pressed:disabled {
background-color: #ef4565; /* Tertiary color for pressed state */
}
/* Styles for QTabWidget */
QTabWidget::pane {
border: 1px solid #90b4ce; /* Light secondary color for border */
padding: 4px;
}
QTabWidget::tab-bar {
left: 5px; /* move to the right by 5px */
}