author | Wuzzy <Wuzzy2@mail.ru> |
Tue, 28 May 2019 00:48:17 +0200 | |
changeset 15073 | 6f51c75994a4 |
parent 15005 | d597a851f5d8 |
child 15254 | 441bdf1e6026 |
permissions | -rw-r--r-- |
6185 | 1 |
/****************************************************************************** |
2 |
* |
|
13636
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13309
diff
changeset
|
3 |
* CSS definition of Qt frontend appearance: Default style. |
6185 | 4 |
* |
5 |
****************************************************************************** |
|
6 |
* |
|
13636
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13309
diff
changeset
|
7 |
* see https://doc.qt.io/qt-5/style-reference.html |
6185 | 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 |
* |
|
6235 | 14 |
* <userdir>/Data/css/qt.css |
15 |
* <datadir>/css/qt.css |
|
16 |
* <internal default style-sheet> (:/res/css/qt.css) |
|
6185 | 17 |
* |
18 |
*****************************************************************************/ |
|
19 |
||
13309 | 20 |
#infoButton |
21 |
{ |
|
22 |
border: transparent; |
|
23 |
background: transparent; |
|
24 |
} |
|
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
25 |
HWForm,QDialog { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
26 |
background-image: url(":/res/Background.png"); |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
27 |
background-position: bottom center; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
28 |
background-repeat: repeat-x; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
29 |
background-color: #141250; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
30 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
31 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
32 |
* { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
33 |
color: #ffcc00; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
34 |
selection-background-color: #ffcc00; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
35 |
selection-color: #00351d; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
36 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
37 |
|
6235 | 38 |
a { color:#c8c8ff; } |
39 |
||
13236 | 40 |
QLineEdit, QListWidget, QListView, QTableView, QTableWidget, QTextBrowser, QSpinBox, QComboBox, |
8415
02acf6b92f52
Moved room name edit box from footer to top of page. Also shows room name when in slave mode.
dag10
parents:
8407
diff
changeset
|
41 |
QComboBox QAbstractItemView, QPlainTextEdit, QMenu::item, #labelLikeLineEdit { |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
42 |
background-color: rgba(13, 5, 68, 70%); |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
43 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
44 |
|
13236 | 45 |
VertScrArea, QGraphicsView { |
46 |
border-style: solid; border-width: 2px; border-color: #cca300; border-radius: 3px; |
|
47 |
} |
|
48 |
#gameStatsView { |
|
49 |
border-color: #332816; |
|
50 |
} |
|
51 |
||
52 |
QSplitter::handle { |
|
53 |
background-image: url(":/res/splitter.png"); |
|
54 |
background-clip: content; |
|
55 |
} |
|
56 |
QSplitter::handle:horizontal { |
|
57 |
width: 7px; |
|
58 |
background-repeat: repeat-y; |
|
59 |
} |
|
60 |
QSplitter::handle:vertical { |
|
61 |
height: 7px; |
|
62 |
background-repeat: repeat-x; |
|
63 |
} |
|
64 |
||
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
65 |
QComboBox::separator { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
66 |
border: solid; border-width: 3px; border-color: #ffcc00; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
67 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
68 |
|
13236 | 69 |
QPushButton, QListWidget, QListView, QTableView, QTableWidget, QLineEdit, |
7447
01111960a48d
uploading to youtube, it works, but user interface is still incomplete
Stepan777 <stepik-777@mail.ru>
parents:
6235
diff
changeset
|
70 |
QTextBrowser, QSpinBox, QToolBox, QComboBox, QPlainTextEdit, |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
71 |
QComboBox QAbstractItemView, IconedGroupBox, |
8424
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
72 |
.QGroupBox, #gameStackContainer, TeamSelWidget, SelWeaponWidget, |
8415
02acf6b92f52
Moved room name edit box from footer to top of page. Also shows room name when in slave mode.
dag10
parents:
8407
diff
changeset
|
73 |
QTabWidget::pane, QTabBar::tab, #mapPreview, #labelLikeLineEdit { |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
74 |
border: solid; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
75 |
border-width: 3px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
76 |
border-color: #ffcc00; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
77 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
78 |
|
7725 | 79 |
QPushButton:hover, QLineEdit:hover, QListWidget:hover, QListView:hover, |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
80 |
QSpinBox:hover, QToolBox:hover, QComboBox:hover { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
81 |
border-color: yellow; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
82 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
83 |
|
13233
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
84 |
TeamShowWidget QPushButton { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
85 |
icon-size: 48px; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
86 |
text-align: left; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
87 |
background-color: #0d0544; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
88 |
color: orange; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
89 |
font: bold; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
90 |
border-width: 2px; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
91 |
margin: 6px 0px 6px 0px; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
92 |
} |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
93 |
TeamShowWidget QPushButton:disabled { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
94 |
color: #a0a0a0; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
95 |
} |
15005
d597a851f5d8
Frontend: Highlight button when pressed
Wuzzy <Wuzzy2@mail.ru>
parents:
14889
diff
changeset
|
96 |
TeamShowWidget QPushButton:pressed { |
d597a851f5d8
Frontend: Highlight button when pressed
Wuzzy <Wuzzy2@mail.ru>
parents:
14889
diff
changeset
|
97 |
background-color: #362c7a; |
d597a851f5d8
Frontend: Highlight button when pressed
Wuzzy <Wuzzy2@mail.ru>
parents:
14889
diff
changeset
|
98 |
} |
13233
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
99 |
|
8377 | 100 |
QToolButton { |
101 |
background-color: #11084A; |
|
102 |
} |
|
103 |
||
104 |
QToolButton:hover { |
|
105 |
background-color: #150A61; |
|
106 |
} |
|
107 |
||
13236 | 108 |
QLineEdit, QListWidget, QListView, QTableView, QTableWidget, QTextBrowser, |
8415
02acf6b92f52
Moved room name edit box from footer to top of page. Also shows room name when in slave mode.
dag10
parents:
8407
diff
changeset
|
109 |
QSpinBox, QToolBox, QPlainTextEdit, QToolButton, #mapPreview, #labelLikeLineEdit { |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
110 |
border-radius: 10px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
111 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
112 |
|
8393
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
113 |
#mapPreview { |
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
114 |
background-color: #0d0544; |
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
115 |
} |
13233
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
116 |
#mapPreview:disabled{ |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
117 |
border-color: #a0a0a0; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
118 |
background-color: #0d0544; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
119 |
color: #ffffff; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
120 |
} |
8393
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
121 |
|
7725 | 122 |
QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView, |
13236 | 123 |
QTableWidget, QSpinBox, QToolBox::tab, QComboBox, QComboBox QAbstractItemView, |
8424
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
124 |
IconedGroupBox, .QGroupBox, #gameStackContainer, TeamSelWidget, |
13256
edb2f654f8f6
Shorten and wrap map name properly when viewing room as non-master
Wuzzy <Wuzzy2@mail.ru>
parents:
13236
diff
changeset
|
125 |
SelWeaponWidget, QCheckBox, QRadioButton, QPushButton, QPlainTextEdit, |
edb2f654f8f6
Shorten and wrap map name properly when viewing room as non-master
Wuzzy <Wuzzy2@mail.ru>
parents:
13236
diff
changeset
|
126 |
#mapName { |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
127 |
font: bold 13px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
128 |
} |
13270
8a5feb0edce5
QTfrontent: Print map and style name in red, if missing. And update map label after delegation
Wuzzy <Wuzzy2@mail.ru>
parents:
13256
diff
changeset
|
129 |
.QLabel{ |
8a5feb0edce5
QTfrontent: Print map and style name in red, if missing. And update map label after delegation
Wuzzy <Wuzzy2@mail.ru>
parents:
13256
diff
changeset
|
130 |
background-color: transparent; |
8a5feb0edce5
QTfrontent: Print map and style name in red, if missing. And update map label after delegation
Wuzzy <Wuzzy2@mail.ru>
parents:
13256
diff
changeset
|
131 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
132 |
SelWeaponWidget QTabWidget::pane, SelWeaponWidget QTabBar::tab:selected { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
133 |
background-position: bottom center; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
134 |
background-repeat: repeat-x; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
135 |
background-color: #000000; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
136 |
} |
8424
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
137 |
.QGroupBox, #gameStackContainer, TeamSelWidget, SelWeaponWidget { |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
138 |
background-position: bottom center; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
139 |
background-repeat: repeat-x; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
140 |
border-radius: 16px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
141 |
background-color: rgba(13, 5, 68, 70%); |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
142 |
padding: 6px; |
12088
2780e8a10d4c
Fix group box text being cut off (fixes #125)
Wuzzy <almikes@aol.com>
parents:
10484
diff
changeset
|
143 |
margin-top: 4px; |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
144 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
145 |
/* Experimenting with PaintOnScreen and border-radius on IconedGroupBox children didn't work out well |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
146 |
IconedGroupBox QComboBox, IconedGroupBox QPushButton, IconedGroupBox QLineEdit, |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
147 |
IconedGroupBox QSpinBox { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
148 |
border-radius: 0; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
149 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
150 |
IconedGroupBox, IconedGroupBox *, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{" */ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
151 |
IconedGroupBox, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
152 |
background-color: #130f2c; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
153 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
154 |
|
8387
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
155 |
QTabWidget::pane { |
8424
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
156 |
border-radius: 8px; |
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
157 |
border-top-left-radius: 0px; |
8387
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
158 |
} |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
159 |
|
8424
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
160 |
GameCFGWidget { |
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
161 |
border: none; |
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
162 |
} |
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
163 |
|
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
164 |
QPushButton { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
165 |
border-radius: 8px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
166 |
background-origin: margin; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
167 |
background-position: top left; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
168 |
background-color: rgba(18, 42, 5, 70%); |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
169 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
170 |
|
8377 | 171 |
QPushButton:pressed, QToolButton:pressed { |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
172 |
border-color: white; |
15005
d597a851f5d8
Frontend: Highlight button when pressed
Wuzzy <Wuzzy2@mail.ru>
parents:
14889
diff
changeset
|
173 |
background-color: #344b1e; |
d597a851f5d8
Frontend: Highlight button when pressed
Wuzzy <Wuzzy2@mail.ru>
parents:
14889
diff
changeset
|
174 |
color: white; |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
175 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
176 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
177 |
QPushButton:focus { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
178 |
outline: none; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
179 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
180 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
181 |
QHeaderView { |
13236 | 182 |
background-color: #00351d; |
183 |
border: solid; |
|
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
184 |
border-bottom-width: 3px; |
13236 | 185 |
border-top-width: 0px; |
186 |
border-left-width: 0px; |
|
187 |
border-right-width: 0px; |
|
188 |
border-color: #ffcc00; |
|
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
189 |
} |
13236 | 190 |
QHeaderView::section { |
191 |
border-left-width: 1px; |
|
192 |
border-right-width: 1px; |
|
193 |
border-top-width: 0; |
|
194 |
border-bottom-width: 0px; |
|
14889 | 195 |
border-color: #005F35; |
13236 | 196 |
border-style: solid; |
197 |
background-color: #00351d; |
|
198 |
padding: 4px; |
|
199 |
} |
|
200 |
QHeaderView::section:pressed { |
|
14889 | 201 |
background-color: #005A33; |
202 |
border-color: #FFFFFF; |
|
13236 | 203 |
} |
204 |
QHeaderView::up-arrow { |
|
205 |
image: url(":/res/sort_up.png"); |
|
206 |
} |
|
207 |
QHeaderView::down-arrow{ |
|
208 |
image: url(":/res/sort_down.png"); |
|
209 |
} |
|
210 |
||
211 |
QTableView, QTableWidget { |
|
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
212 |
alternate-background-color: #2f213a; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
213 |
gridline-color: transparent; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
214 |
} |
7798 | 215 |
QTabWidget::pane { top: -2px; } |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
216 |
QTabBar::tab { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
217 |
border-radius: 0; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
218 |
border-top-left-radius: 6px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
219 |
border-top-right-radius: 6px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
220 |
padding: 3px; |
7798 | 221 |
background-color: #00351d; |
222 |
color: #ffcc00; |
|
7800 | 223 |
} |
224 |
QTabBar::tab:selected { |
|
225 |
border-bottom-color: #0d0544; |
|
226 |
border-bottom-width: 0; |
|
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
227 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
228 |
QSpinBox::up-button{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
229 |
background: transparent; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
230 |
width: 16px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
231 |
height: 10px; |
14862
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
232 |
padding-top: 1px; |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
233 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
234 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
235 |
QSpinBox::up-arrow { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
236 |
image: url(":/res/spin_up.png"); |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
237 |
} |
13233
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
238 |
QSpinBox::up-arrow:disabled { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
239 |
image: url(":/res/spin_up_disabled.png"); |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
240 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
241 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
242 |
QSpinBox::down-arrow { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
243 |
image: url(":/res/spin_down.png"); |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
244 |
} |
13233
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
245 |
QSpinBox::down-arrow:disabled { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
246 |
image: url(":/res/spin_down_disabled.png"); |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
247 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
248 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
249 |
QSpinBox::down-button { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
250 |
background: transparent; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
251 |
width: 16px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
252 |
height: 10px; |
14862
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
253 |
padding-bottom: 1px; |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
254 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
255 |
|
14862
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
256 |
QSpinBox, QLineEdit { |
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
257 |
padding: 3px; |
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
258 |
min-height: 18px; |
38eadfc525ce
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents:
14860
diff
changeset
|
259 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
260 |
QComboBox { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
261 |
border-radius: 10px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
262 |
padding: 3px; |
8925
f52c6f9800ca
Hiding overflow on Labels/ComboBoxes to prevent 1px off by one error
DrinkMachine
parents:
8475
diff
changeset
|
263 |
height: 18px; |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
264 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
265 |
QComboBox:pressed{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
266 |
border-color: white; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
267 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
268 |
QComboBox::drop-down{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
269 |
border: transparent; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
270 |
width: 25px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
271 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
272 |
QComboBox::down-arrow { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
273 |
image: url(":/res/dropdown.png"); |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
274 |
} |
13233
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
275 |
QComboBox::down-arrow:disabled { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
276 |
image: url(":/res/dropdown_disabled.png"); |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
277 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
278 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
279 |
VertScrArea { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
280 |
background-position: bottom center; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
281 |
background-repeat: repeat-x; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
282 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
283 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
284 |
IconedGroupBox { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
285 |
border-radius: 16px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
286 |
padding: 2px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
287 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
288 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
289 |
QGroupBox::title{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
290 |
subcontrol-origin: margin; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
291 |
subcontrol-position: top left; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
292 |
text-align: left; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
293 |
left: 15px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
294 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
295 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
296 |
QCheckBox::indicator:checked{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
297 |
image: url(":/res/checked.png"); |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
298 |
} |
13212
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
299 |
QCheckBox::indicator:checked:hover{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
300 |
image: url(":/res/checkedHover.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
301 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
302 |
QCheckBox::indicator:checked:pressed{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
303 |
image: url(":/res/checkedPressed.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
304 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
305 |
QCheckBox::indicator:unchecked{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
306 |
image: url(":/res/unchecked.png"); |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
307 |
} |
13212
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
308 |
QCheckBox::indicator:unchecked:hover{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
309 |
image: url(":/res/uncheckedHover.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
310 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
311 |
QCheckBox::indicator:unchecked:pressed{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
312 |
image: url(":/res/uncheckedPressed.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
313 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
314 |
|
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
315 |
QRadioButton::indicator:checked{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
316 |
image: url(":/res/radioButtonChecked.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
317 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
318 |
QRadioButton::indicator:checked:hover{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
319 |
image: url(":/res/radioButtonCheckedHover.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
320 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
321 |
QRadioButton::indicator:checked:pressed{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
322 |
image: url(":/res/radioButtonCheckedPressed.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
323 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
324 |
QRadioButton::indicator:unchecked{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
325 |
image: url(":/res/radioButtonUnchecked.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
326 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
327 |
QRadioButton::indicator:unchecked:hover{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
328 |
image: url(":/res/radioButtonUncheckedHover.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
329 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
330 |
QRadioButton::indicator:unchecked:pressed{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
331 |
image: url(":/res/radioButtonUncheckedPressed.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12088
diff
changeset
|
332 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
333 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
334 |
.QWidget{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
335 |
background: transparent; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
336 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
337 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
338 |
QTabWidget::pane { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
339 |
border-top-width: 2px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
340 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
341 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
342 |
QMenu{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
343 |
background-color: #ffcc00; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
344 |
margin: 3px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
345 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
346 |
QMenu::item { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
347 |
background-color: #0d0544; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
348 |
border: 1px solid transparent; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
349 |
font: bold; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
350 |
padding: 2px 25px 2px 20px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
351 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
352 |
QMenu::item:selected { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
353 |
background-color: #2d2564; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
354 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
355 |
QMenu::indicator { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
356 |
width: 16px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
357 |
height: 16px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
358 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
359 |
QMenu::indicator:non-exclusive:checked{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
360 |
image: url(":/res/checked.png"); |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
361 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
362 |
QMenu::indicator:non-exclusive:unchecked{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
363 |
image: url(":/res/unchecked.png"); |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
364 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
365 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
366 |
QToolTip{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
367 |
background-color: #0d0544; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
368 |
border: 1px solid #ffcc00; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
369 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
370 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
371 |
:disabled{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
372 |
color: #a0a0a0; |
13233
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
373 |
border-color: #a0a0a0; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
374 |
} |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
375 |
QListWidget:item:selected:disabled, QListView:item:selected:disabled{ |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
376 |
color: rgba(13, 5, 68, 70%); |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
377 |
background-color: #a0a0a0; |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
378 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
379 |
SquareLabel, ItemNum { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
380 |
background-color: #000000; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
381 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
382 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
383 |
QSlider::groove::horizontal { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
384 |
height: 2px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
385 |
margin: 2px 0px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
386 |
background-color: #ffcc00; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
387 |
} |
13233
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
388 |
QSlider::groove::horizontal:disabled { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
389 |
background-color: #a0a0a0; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
390 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
391 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
392 |
QSlider::handle::horizontal { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
393 |
border: 0px; |
8387
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
394 |
margin: -8px 0px; |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
395 |
background-color: #ffcc00; |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
396 |
width: 12px; |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
397 |
height: 6px; |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
398 |
border-radius: 3px; |
6185 | 399 |
} |
13233
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
400 |
QSlider::handle::horizontal:disabled { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
401 |
background-color: #a0a0a0; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13212
diff
changeset
|
402 |
} |
6185 | 403 |
|
8475
f605bc59c603
Initial theme selection is now random. Theme prompt now has a search input and no longer uses FlowLayout. (Resolves issue 520)
dag10
parents:
8424
diff
changeset
|
404 |
HatButton, ThemeButton { |
8374 | 405 |
text-align: left; |
406 |
} |
|
407 |
||
8475
f605bc59c603
Initial theme selection is now random. Theme prompt now has a search input and no longer uses FlowLayout. (Resolves issue 520)
dag10
parents:
8424
diff
changeset
|
408 |
#hatList, #hatList:hover, #themeList, #themeList:hover { |
8374 | 409 |
border-color: #F6CB1C; |
410 |
} |
|
411 |
||
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
412 |
QScrollBar:vertical { |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
413 |
border: none; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
414 |
color: #FFD902; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
415 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
416 |
width: 15px; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
417 |
margin: 17px 0 17px 0; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
418 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
419 |
QScrollBar:horizontal { |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
420 |
border: none; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
421 |
color: #FFD902; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
422 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
423 |
height: 15px; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
424 |
margin: 0 17px 0 17px; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
425 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
426 |
QScrollBar::handle:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
427 |
background: #00321c; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
428 |
border: 1px solid #005F35; |
14886
272cd0142a90
Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents:
14885
diff
changeset
|
429 |
border-radius: 2px; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
430 |
min-height: 20px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
431 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
432 |
QScrollBar::handle:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
433 |
background: #00321c; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
434 |
border: 1px solid #005F35; |
14886
272cd0142a90
Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents:
14885
diff
changeset
|
435 |
border-radius: 2px; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
436 |
min-width: 20px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
437 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
438 |
QScrollBar::handle:pressed { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
439 |
background: #005a33; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
440 |
border-color: #FFFFFF; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
441 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
442 |
QScrollBar::add-line, QScrollBar::sub-line { |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
443 |
border: 1px solid #005F35; |
14886
272cd0142a90
Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents:
14885
diff
changeset
|
444 |
border-radius: 2px; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
445 |
background: #00321c; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
446 |
subcontrol-origin: margin; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
447 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
448 |
QScrollBar::add-line:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
449 |
height: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
450 |
subcontrol-position: bottom; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
451 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
452 |
QScrollBar::sub-line:vertical { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
453 |
height: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
454 |
subcontrol-position: top; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
455 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
456 |
QScrollBar::add-line:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
457 |
width: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
458 |
subcontrol-position: right; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
459 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
460 |
QScrollBar::sub-line:horizontal { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
461 |
width: 15px; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
462 |
subcontrol-position: left; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
463 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
464 |
QScrollBar::add-line:pressed, QScrollBar::sub-line:pressed { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
465 |
background: #005a33; |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
466 |
border-color: #FFFFFF; |
14860
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
467 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
468 |
|
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
469 |
QScrollBar::up-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
470 |
background-image: url(":/res/scroll_up.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
471 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
472 |
QScrollBar::down-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
473 |
background-image: url(":/res/scroll_down.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
474 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
475 |
QScrollBar::left-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
476 |
background-image: url(":/res/scroll_left.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
477 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
478 |
QScrollBar::right-arrow { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
479 |
background-image: url(":/res/scroll_right.png"); |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
480 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
481 |
QScrollBar::add-page, QScrollBar::sub-page { |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
482 |
background: #00190F; |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
483 |
} |
6d95d314ae8b
Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents:
14567
diff
changeset
|
484 |
QScrollBar::add-page:pressed, QScrollBar::sub-page:pressed { |
14887
d99ad8ac75d6
Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents:
14886
diff
changeset
|
485 |
background: #008751; |
8374 | 486 |
} |
487 |
||
8475
f605bc59c603
Initial theme selection is now random. Theme prompt now has a search input and no longer uses FlowLayout. (Resolves issue 520)
dag10
parents:
8424
diff
changeset
|
488 |
#hatList, #themeList { |
8374 | 489 |
border-color: #F6CB1C; |
490 |
border-width: 3px; |
|
491 |
border-style: solid; |
|
492 |
border-radius: 10px; |
|
493 |
border-top-left-radius: 0px; |
|
494 |
} |
|
495 |
||
8475
f605bc59c603
Initial theme selection is now random. Theme prompt now has a search input and no longer uses FlowLayout. (Resolves issue 520)
dag10
parents:
8424
diff
changeset
|
496 |
#hatList::item, #themeList::item { |
8374 | 497 |
background-color: #11084A; |
498 |
padding: 4px; |
|
499 |
border-radius: 10px; |
|
500 |
color: #ffcc00 !important; |
|
501 |
font: 8px; |
|
502 |
border-width: 2px; |
|
503 |
border-color: #11084A; |
|
504 |
} |
|
505 |
||
8475
f605bc59c603
Initial theme selection is now random. Theme prompt now has a search input and no longer uses FlowLayout. (Resolves issue 520)
dag10
parents:
8424
diff
changeset
|
506 |
#hatList::item:hover, #themeList::item:hover { |
8374 | 507 |
background-color: #150A61; |
508 |
} |
|
509 |
||
8475
f605bc59c603
Initial theme selection is now random. Theme prompt now has a search input and no longer uses FlowLayout. (Resolves issue 520)
dag10
parents:
8424
diff
changeset
|
510 |
#hatList::item:selected, #themeList::item:selected { |
8374 | 511 |
background-color: #150A61; |
8407
686f2e716c97
Fixes password not actually saving when "save password" is checked in the HWPasswordDialog called by HWForm.
dag10 <gottlieb.drew@gmail.com>
parents:
8393
diff
changeset
|
512 |
} |
686f2e716c97
Fixes password not actually saving when "save password" is checked in the HWPasswordDialog called by HWForm.
dag10 <gottlieb.drew@gmail.com>
parents:
8393
diff
changeset
|
513 |
|
14567
af22a14c6a23
Frontend: Tweak button padding once more
Wuzzy <Wuzzy2@mail.ru>
parents:
14564
diff
changeset
|
514 |
.QPushButton, .QPushButtonWithSound { |
8407
686f2e716c97
Fixes password not actually saving when "save password" is checked in the HWPasswordDialog called by HWForm.
dag10 <gottlieb.drew@gmail.com>
parents:
8393
diff
changeset
|
515 |
padding: 3px 5px; |
8424
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
516 |
} |
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
517 |
|
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
518 |
#gameCfgWidgetTabs { |
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
519 |
border-radius: 16px; |
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
520 |
border-top-left-radius: 0px; |
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
521 |
} |
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
522 |
|
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
523 |
TeamSelWidget, #gameStackContainer, #GBoxOptions { |
225ede46e3dc
On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents:
8415
diff
changeset
|
524 |
border-radius: 10px; |
8925
f52c6f9800ca
Hiding overflow on Labels/ComboBoxes to prevent 1px off by one error
DrinkMachine
parents:
8475
diff
changeset
|
525 |
} |
8976
5d9f43ad036a
Basic workarounds for overlapping drawn map (rename buttons) and short team list (set a min height). Min size of form still fits targetted min size on desktop of 800x600
nemo
parents:
8925
diff
changeset
|
526 |
|
8988
58b28c4a25c5
yeah. this needs to only be for local play or it screws up small window size in network game
nemo
parents:
8976
diff
changeset
|
527 |
PageMultiplayer TeamSelWidget { |
8976
5d9f43ad036a
Basic workarounds for overlapping drawn map (rename buttons) and short team list (set a min height). Min size of form still fits targetted min size on desktop of 800x600
nemo
parents:
8925
diff
changeset
|
528 |
min-height: 500px; |
5d9f43ad036a
Basic workarounds for overlapping drawn map (rename buttons) and short team list (set a min height). Min size of form still fits targetted min size on desktop of 800x600
nemo
parents:
8925
diff
changeset
|
529 |
} |
14885
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
530 |
|
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
531 |
QProgressBar { |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
532 |
border: 3px solid #FFCC00; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
533 |
background-color: #150A61; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
534 |
border-radius: 5px; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
535 |
text-align: center; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
536 |
color: #FFFFFF; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
537 |
} |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
538 |
QProgressBar::chunk { |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
539 |
background-color: #FF9B00; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
540 |
margin: 2px; |
175c96e60279
Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents:
14862
diff
changeset
|
541 |
} |