author | nemo |
Sat, 23 Jan 2016 15:23:54 -0500 | |
changeset 11531 | 743200547747 |
parent 7900 | e5e7678e4b2f |
child 13636 | 946b21a1fbf6 |
permissions | -rw-r--r-- |
6579 | 1 |
/****************************************************************************** |
2 |
* |
|
3 |
* CSS-like definition of Qt frontend appearance |
|
4 |
* |
|
5 |
****************************************************************************** |
|
6 |
* |
|
7 |
* see http://doc.qt.nokia.com/4.5/stylesheet.html |
|
8 |
* |
|
9 |
****************************************************************************** |
|
10 |
* |
|
11 |
* This file can be stored at different locations, but it will be read only |
|
12 |
* once, based on first file found in this order: |
|
13 |
* |
|
14 |
* <userdir>/Data/css/easter.css |
|
15 |
* <datadir>/css/easter.css |
|
16 |
* <internal default style-sheet> (:/res/css/easter.css) |
|
17 |
* |
|
18 |
*****************************************************************************/ |
|
19 |
||
20 |
HWForm,QDialog { |
|
21 |
background-image: url(":/res/BackgroundEaster.png"); |
|
22 |
background-position: bottom center; |
|
23 |
background-repeat: repeat-x; |
|
24 |
background-color: #141250; |
|
25 |
} |
|
26 |
||
27 |
* { |
|
28 |
color: #ffcc00; |
|
29 |
selection-background-color: #ffcc00; |
|
30 |
selection-color: #00351d; |
|
31 |
} |
|
32 |
||
33 |
a { color:#c8c8ff; } |
|
34 |
||
7900
e5e7678e4b2f
Fix white background in players list on halloween, christmas and easter
unc0rr
parents:
7447
diff
changeset
|
35 |
QLineEdit, QListWidget, QListView, QTableView, QTextBrowser, QSpinBox, QComboBox, |
7447
01111960a48d
uploading to youtube, it works, but user interface is still incomplete
Stepan777 <stepik-777@mail.ru>
parents:
6579
diff
changeset
|
36 |
QComboBox QAbstractItemView, QPlainTextEdit, QMenu::item { |
6579 | 37 |
background-color: rgba(13, 5, 68, 70%); |
38 |
} |
|
39 |
||
40 |
QComboBox::separator { |
|
41 |
border: solid; border-width: 3px; border-color: #ffcc00; |
|
42 |
} |
|
43 |
||
7900
e5e7678e4b2f
Fix white background in players list on halloween, christmas and easter
unc0rr
parents:
7447
diff
changeset
|
44 |
QPushButton, QListWidget, QListView, QTableView, QLineEdit, QHeaderView, |
7447
01111960a48d
uploading to youtube, it works, but user interface is still incomplete
Stepan777 <stepik-777@mail.ru>
parents:
6579
diff
changeset
|
45 |
QTextBrowser, QSpinBox, QToolBox, QComboBox, QPlainTextEdit, |
6579 | 46 |
QComboBox QAbstractItemView, IconedGroupBox, |
47 |
.QGroupBox, GameCFGWidget, TeamSelWidget, SelWeaponWidget, |
|
48 |
QTabWidget::pane, QTabBar::tab { |
|
49 |
border: solid; |
|
50 |
border-width: 3px; |
|
51 |
border-color: #ffcc00; |
|
52 |
} |
|
53 |
||
7900
e5e7678e4b2f
Fix white background in players list on halloween, christmas and easter
unc0rr
parents:
7447
diff
changeset
|
54 |
QPushButton:hover, QLineEdit:hover, QListWidget:hover, QListView:hover, |
6579 | 55 |
QSpinBox:hover, QToolBox:hover, QComboBox:hover { |
56 |
border-color: yellow; |
|
57 |
} |
|
58 |
||
7900
e5e7678e4b2f
Fix white background in players list on halloween, christmas and easter
unc0rr
parents:
7447
diff
changeset
|
59 |
QLineEdit, QListWidget, QListView,QTableView, QTextBrowser, |
7447
01111960a48d
uploading to youtube, it works, but user interface is still incomplete
Stepan777 <stepik-777@mail.ru>
parents:
6579
diff
changeset
|
60 |
QSpinBox, QToolBox, QPlainTextEdit { |
6579 | 61 |
border-radius: 10px; |
62 |
} |
|
63 |
||
7900
e5e7678e4b2f
Fix white background in players list on halloween, christmas and easter
unc0rr
parents:
7447
diff
changeset
|
64 |
QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView, |
6579 | 65 |
QSpinBox, QToolBox::tab, QComboBox, QComboBox QAbstractItemView, |
66 |
IconedGroupBox, .QGroupBox, GameCFGWidget, TeamSelWidget, |
|
7447
01111960a48d
uploading to youtube, it works, but user interface is still incomplete
Stepan777 <stepik-777@mail.ru>
parents:
6579
diff
changeset
|
67 |
SelWeaponWidget, QCheckBox, QRadioButton, QPushButton, QPlainTextEdit { |
6579 | 68 |
font: bold 13px; |
69 |
} |
|
70 |
SelWeaponWidget QTabWidget::pane, SelWeaponWidget QTabBar::tab:selected { |
|
71 |
background-position: bottom center; |
|
72 |
background-repeat: repeat-x; |
|
73 |
background-color: #000000; |
|
74 |
} |
|
75 |
.QGroupBox,GameCFGWidget,TeamSelWidget,SelWeaponWidget { |
|
76 |
background-position: bottom center; |
|
77 |
background-repeat: repeat-x; |
|
78 |
border-radius: 16px; |
|
79 |
background-color: rgba(13, 5, 68, 70%); |
|
80 |
padding: 6px; |
|
81 |
} |
|
82 |
/* Experimenting with PaintOnScreen and border-radius on IconedGroupBox children didn't work out well |
|
83 |
IconedGroupBox QComboBox, IconedGroupBox QPushButton, IconedGroupBox QLineEdit, |
|
84 |
IconedGroupBox QSpinBox { |
|
85 |
border-radius: 0; |
|
86 |
} |
|
87 |
IconedGroupBox, IconedGroupBox *, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{" */ |
|
88 |
IconedGroupBox, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{ |
|
89 |
background-color: #130f2c; |
|
90 |
} |
|
91 |
||
92 |
||
93 |
QPushButton { |
|
94 |
border-radius: 8px; |
|
95 |
background-origin: margin; |
|
96 |
background-position: top left; |
|
97 |
background-color: rgba(18, 42, 5, 70%); |
|
98 |
} |
|
99 |
||
100 |
QPushButton:pressed{ |
|
101 |
border-color: white; |
|
102 |
} |
|
103 |
||
104 |
QPushButton:focus { |
|
105 |
outline: none; |
|
106 |
} |
|
107 |
||
108 |
||
109 |
QHeaderView { |
|
110 |
border-radius: 0; |
|
111 |
border-width: 0; |
|
112 |
border-bottom-width: 3px; |
|
113 |
background-color: #00351d; |
|
114 |
} |
|
115 |
QTableView { |
|
116 |
alternate-background-color: #2f213a; |
|
117 |
gridline-color: transparent; |
|
118 |
} |
|
119 |
||
120 |
QTabBar::tab { |
|
121 |
border-bottom-width: 0; |
|
122 |
border-radius: 0; |
|
123 |
border-top-left-radius: 6px; |
|
124 |
border-top-right-radius: 6px; |
|
125 |
padding: 3px; |
|
126 |
} |
|
127 |
QTabBar::tab:!selected { |
|
128 |
color: #0d0544; |
|
129 |
background-color: #ffcc00; |
|
130 |
} |
|
131 |
QSpinBox::up-button{ |
|
132 |
background: transparent; |
|
133 |
width: 16px; |
|
134 |
height: 10px; |
|
135 |
} |
|
136 |
||
137 |
QSpinBox::up-arrow { |
|
138 |
image: url(":/res/spin_up.png"); |
|
139 |
} |
|
140 |
||
141 |
QSpinBox::down-arrow { |
|
142 |
image: url(":/res/spin_down.png"); |
|
143 |
} |
|
144 |
||
145 |
QSpinBox::down-button { |
|
146 |
background: transparent; |
|
147 |
width: 16px; |
|
148 |
height: 10px; |
|
149 |
} |
|
150 |
||
151 |
QComboBox { |
|
152 |
border-radius: 10px; |
|
153 |
padding: 3px; |
|
154 |
} |
|
155 |
QComboBox:pressed{ |
|
156 |
border-color: white; |
|
157 |
} |
|
158 |
QComboBox::drop-down{ |
|
159 |
border: transparent; |
|
160 |
width: 25px; |
|
161 |
} |
|
162 |
QComboBox::down-arrow { |
|
163 |
image: url(":/res/dropdown.png"); |
|
164 |
} |
|
165 |
||
166 |
VertScrArea { |
|
167 |
background-position: bottom center; |
|
168 |
background-repeat: repeat-x; |
|
169 |
} |
|
170 |
||
171 |
IconedGroupBox { |
|
172 |
border-radius: 16px; |
|
173 |
padding: 2px; |
|
174 |
} |
|
175 |
||
176 |
QGroupBox::title{ |
|
177 |
subcontrol-origin: margin; |
|
178 |
subcontrol-position: top left; |
|
179 |
text-align: left; |
|
180 |
left: 15px; |
|
181 |
top: -4px; |
|
182 |
} |
|
183 |
||
184 |
QCheckBox::indicator:checked{ |
|
185 |
image: url(":/res/checked.png"); |
|
186 |
} |
|
187 |
QCheckBox::indicator:unchecked{ |
|
188 |
image: url(":/res/unchecked.png"); |
|
189 |
} |
|
190 |
||
191 |
.QWidget{ |
|
192 |
background: transparent; |
|
193 |
} |
|
194 |
||
195 |
QTabWidget::pane { |
|
196 |
border-top-width: 2px; |
|
197 |
} |
|
198 |
||
199 |
QMenu{ |
|
200 |
background-color: #ffcc00; |
|
201 |
margin: 3px; |
|
202 |
} |
|
203 |
QMenu::item { |
|
204 |
background-color: #0d0544; |
|
205 |
border: 1px solid transparent; |
|
206 |
font: bold; |
|
207 |
padding: 2px 25px 2px 20px; |
|
208 |
} |
|
209 |
QMenu::item:selected { |
|
210 |
background-color: #2d2564; |
|
211 |
} |
|
212 |
QMenu::indicator { |
|
213 |
width: 16px; |
|
214 |
height: 16px; |
|
215 |
} |
|
216 |
QMenu::indicator:non-exclusive:checked{ |
|
217 |
image: url(":/res/checked.png"); |
|
218 |
} |
|
219 |
QMenu::indicator:non-exclusive:unchecked{ |
|
220 |
image: url(":/res/unchecked.png"); |
|
221 |
} |
|
222 |
||
223 |
QToolTip{ |
|
224 |
background-color: #0d0544; |
|
225 |
border: 1px solid #ffcc00; |
|
226 |
} |
|
227 |
||
228 |
:disabled{ |
|
229 |
color: #a0a0a0; |
|
230 |
} |
|
231 |
SquareLabel, ItemNum { |
|
232 |
background-color: #000000; |
|
233 |
} |
|
234 |
||
235 |
QSlider::groove::horizontal { |
|
236 |
height: 2px; |
|
237 |
margin: 2px 0px; |
|
238 |
background-color: #ffcc00; |
|
239 |
} |
|
240 |
||
241 |
QSlider::handle::horizontal { |
|
242 |
border: 0px; |
|
243 |
margin: -2px 0px; |
|
244 |
border-radius: 3px; |
|
245 |
background-color: #ffcc00; |
|
246 |
width: 8px; |
|
247 |
} |
|
248 |