|
1 HWForm,QDialog { |
|
2 background-image: url(":/res/Background.png"); |
|
3 background-position: bottom center; |
|
4 background-repeat: repeat-x; |
|
5 background-color: #141250; |
|
6 } |
|
7 |
|
8 * { |
|
9 color: #ffcc00; |
|
10 selection-background-color: #ffcc00; |
|
11 selection-color: #00351d; |
|
12 } |
|
13 |
|
14 QLineEdit, QListWidget, QTableView, QTextBrowser, QSpinBox, QComboBox, |
|
15 QComboBox QAbstractItemView, QMenu::item { |
|
16 background-color: rgba(13, 5, 68, 70%); |
|
17 } |
|
18 |
|
19 QComboBox::separator { |
|
20 border: solid; border-width: 3px; border-color: #ffcc00; |
|
21 } |
|
22 |
|
23 QPushButton, QListWidget, QTableView, QLineEdit, QHeaderView, |
|
24 QTextBrowser, QSpinBox, QToolBox, QComboBox, |
|
25 QComboBox QAbstractItemView, IconedGroupBox, |
|
26 .QGroupBox, GameCFGWidget, TeamSelWidget, SelWeaponWidget, |
|
27 QTabWidget::pane, QTabBar::tab { |
|
28 border: solid; |
|
29 border-width: 3px; |
|
30 border-color: #ffcc00; |
|
31 } |
|
32 |
|
33 QPushButton:hover, QLineEdit:hover, QListWidget:hover, |
|
34 QSpinBox:hover, QToolBox:hover, QComboBox:hover { |
|
35 border-color: yellow; |
|
36 } |
|
37 |
|
38 QLineEdit, QListWidget,QTableView, QTextBrowser, |
|
39 QSpinBox, QToolBox { |
|
40 border-radius: 10px; |
|
41 } |
|
42 |
|
43 QLineEdit, QLabel, QHeaderView, QListWidget, QTableView, |
|
44 QSpinBox, QToolBox::tab, QComboBox, QComboBox QAbstractItemView, |
|
45 IconedGroupBox, .QGroupBox, GameCFGWidget, TeamSelWidget, |
|
46 SelWeaponWidget, QCheckBox, QRadioButton, QPushButton { |
|
47 font: bold 13px; |
|
48 } |
|
49 SelWeaponWidget QTabWidget::pane, SelWeaponWidget QTabBar::tab:selected { |
|
50 background-position: bottom center; |
|
51 background-repeat: repeat-x; |
|
52 background-color: #000000; |
|
53 } |
|
54 .QGroupBox,GameCFGWidget,TeamSelWidget,SelWeaponWidget { |
|
55 background-position: bottom center; |
|
56 background-repeat: repeat-x; |
|
57 border-radius: 16px; |
|
58 background-color: rgba(13, 5, 68, 70%); |
|
59 padding: 6px; |
|
60 } |
|
61 /* Experimenting with PaintOnScreen and border-radius on IconedGroupBox children didn't work out well |
|
62 IconedGroupBox QComboBox, IconedGroupBox QPushButton, IconedGroupBox QLineEdit, |
|
63 IconedGroupBox QSpinBox { |
|
64 border-radius: 0; |
|
65 } |
|
66 IconedGroupBox, IconedGroupBox *, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{" */ |
|
67 IconedGroupBox, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{ |
|
68 background-color: #130f2c; |
|
69 } |
|
70 |
|
71 |
|
72 QPushButton { |
|
73 border-radius: 8px; |
|
74 background-origin: margin; |
|
75 background-position: top left; |
|
76 background-color: rgba(18, 42, 5, 70%); |
|
77 } |
|
78 |
|
79 QPushButton:pressed{ |
|
80 border-color: white; |
|
81 } |
|
82 |
|
83 QPushButton:focus { |
|
84 outline: none; |
|
85 } |
|
86 |
|
87 |
|
88 QHeaderView { |
|
89 border-radius: 0; |
|
90 border-width: 0; |
|
91 border-bottom-width: 3px; |
|
92 background-color: #00351d; |
|
93 } |
|
94 QTableView { |
|
95 alternate-background-color: #2f213a; |
|
96 gridline-color: transparent; |
|
97 } |
|
98 |
|
99 QTabBar::tab { |
|
100 border-bottom-width: 0; |
|
101 border-radius: 0; |
|
102 border-top-left-radius: 6px; |
|
103 border-top-right-radius: 6px; |
|
104 padding: 3px; |
|
105 } |
|
106 QTabBar::tab:!selected { |
|
107 color: #0d0544; |
|
108 background-color: #ffcc00; |
|
109 } |
|
110 QSpinBox::up-button{ |
|
111 background: transparent; |
|
112 width: 16px; |
|
113 height: 10px; |
|
114 } |
|
115 |
|
116 QSpinBox::up-arrow { |
|
117 image: url(":/res/spin_up.png"); |
|
118 } |
|
119 |
|
120 QSpinBox::down-arrow { |
|
121 image: url(":/res/spin_down.png"); |
|
122 } |
|
123 |
|
124 QSpinBox::down-button { |
|
125 background: transparent; |
|
126 width: 16px; |
|
127 height: 10px; |
|
128 } |
|
129 |
|
130 QComboBox { |
|
131 border-radius: 10px; |
|
132 padding: 3px; |
|
133 } |
|
134 QComboBox:pressed{ |
|
135 border-color: white; |
|
136 } |
|
137 QComboBox::drop-down{ |
|
138 border: transparent; |
|
139 width: 25px; |
|
140 } |
|
141 QComboBox::down-arrow { |
|
142 image: url(":/res/dropdown.png"); |
|
143 } |
|
144 |
|
145 VertScrArea { |
|
146 background-position: bottom center; |
|
147 background-repeat: repeat-x; |
|
148 } |
|
149 |
|
150 IconedGroupBox { |
|
151 border-radius: 16px; |
|
152 padding: 2px; |
|
153 } |
|
154 |
|
155 QGroupBox::title{ |
|
156 subcontrol-origin: margin; |
|
157 subcontrol-position: top left; |
|
158 text-align: left; |
|
159 left: 15px; |
|
160 top: -4px; |
|
161 } |
|
162 |
|
163 QCheckBox::indicator:checked{ |
|
164 image: url(":/res/checked.png"); |
|
165 } |
|
166 QCheckBox::indicator:unchecked{ |
|
167 image: url(":/res/unchecked.png"); |
|
168 } |
|
169 |
|
170 .QWidget{ |
|
171 background: transparent; |
|
172 } |
|
173 |
|
174 QTabWidget::pane { |
|
175 border-top-width: 2px; |
|
176 } |
|
177 |
|
178 QMenu{ |
|
179 background-color: #ffcc00; |
|
180 margin: 3px; |
|
181 } |
|
182 QMenu::item { |
|
183 background-color: #0d0544; |
|
184 border: 1px solid transparent; |
|
185 font: bold; |
|
186 padding: 2px 25px 2px 20px; |
|
187 } |
|
188 QMenu::item:selected { |
|
189 background-color: #2d2564; |
|
190 } |
|
191 QMenu::indicator { |
|
192 width: 16px; |
|
193 height: 16px; |
|
194 } |
|
195 QMenu::indicator:non-exclusive:checked{ |
|
196 image: url(":/res/checked.png"); |
|
197 } |
|
198 QMenu::indicator:non-exclusive:unchecked{ |
|
199 image: url(":/res/unchecked.png"); |
|
200 } |
|
201 |
|
202 QToolTip{ |
|
203 background-color: #0d0544; |
|
204 border: 1px solid #ffcc00; |
|
205 } |
|
206 |
|
207 :disabled{ |
|
208 color: #a0a0a0; |
|
209 } |
|
210 SquareLabel, ItemNum { |
|
211 background-color: #000000; |
|
212 } |
|
213 |
|
214 QSlider::groove::horizontal { |
|
215 height: 2px; |
|
216 margin: 2px 0px; |
|
217 background-color: #ffcc00; |
|
218 } |
|
219 |
|
220 QSlider::handle::horizontal { |
|
221 border: 0px; |
|
222 margin: -2px 0px; |
|
223 border-radius: 3px; |
|
224 background-color: #ffcc00; |
|
225 width: 8px; |
|
226 } |