author | alfadur |
Mon, 29 Oct 2018 23:38:08 +0300 | |
changeset 14049 | 0f517cbfe16d |
parent 13631 | 946b21a1fbf6 |
child 14572 | 1c623169a44d |
permissions | -rw-r--r-- |
6185 | 1 |
/****************************************************************************** |
2 |
* |
|
13631
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13304
diff
changeset
|
3 |
* CSS definition of Qt frontend appearance: Default style. |
6185 | 4 |
* |
5 |
****************************************************************************** |
|
6 |
* |
|
13631
946b21a1fbf6
Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents:
13304
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 |
||
13304 | 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 |
||
13231 | 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 |
|
13231 | 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 |
|
13231 | 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 |
|
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
84 |
TeamShowWidget QPushButton { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
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:
13207
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:
13207
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:
13207
diff
changeset
|
88 |
color: orange; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
89 |
font: bold; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
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:
13207
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:
13207
diff
changeset
|
92 |
} |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
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:
13207
diff
changeset
|
94 |
color: #a0a0a0; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
95 |
} |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
96 |
|
8377 | 97 |
QToolButton { |
98 |
background-color: #11084A; |
|
99 |
} |
|
100 |
||
101 |
QToolButton:hover { |
|
102 |
background-color: #150A61; |
|
103 |
} |
|
104 |
||
105 |
QToolButton:pressed { |
|
106 |
background-color: #100744; |
|
107 |
} |
|
108 |
||
13231 | 109 |
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
|
110 |
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
|
111 |
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
|
112 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
113 |
|
8393
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
114 |
#mapPreview { |
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
115 |
background-color: #0d0544; |
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
116 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
117 |
#mapPreview:disabled{ |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
118 |
border-color: #a0a0a0; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
119 |
background-color: #0d0544; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
120 |
color: #ffffff; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
121 |
} |
8393
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
122 |
|
7725 | 123 |
QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView, |
13231 | 124 |
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
|
125 |
IconedGroupBox, .QGroupBox, #gameStackContainer, TeamSelWidget, |
13251
edb2f654f8f6
Shorten and wrap map name properly when viewing room as non-master
Wuzzy <Wuzzy2@mail.ru>
parents:
13231
diff
changeset
|
126 |
SelWeaponWidget, QCheckBox, QRadioButton, QPushButton, QPlainTextEdit, |
edb2f654f8f6
Shorten and wrap map name properly when viewing room as non-master
Wuzzy <Wuzzy2@mail.ru>
parents:
13231
diff
changeset
|
127 |
#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
|
128 |
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
|
129 |
} |
13265
8a5feb0edce5
QTfrontent: Print map and style name in red, if missing. And update map label after delegation
Wuzzy <Wuzzy2@mail.ru>
parents:
13251
diff
changeset
|
130 |
.QLabel{ |
8a5feb0edce5
QTfrontent: Print map and style name in red, if missing. And update map label after delegation
Wuzzy <Wuzzy2@mail.ru>
parents:
13251
diff
changeset
|
131 |
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:
13251
diff
changeset
|
132 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
133 |
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
|
134 |
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
|
135 |
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
|
136 |
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
|
137 |
} |
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
|
138 |
.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
|
139 |
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
|
140 |
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
|
141 |
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
|
142 |
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
|
143 |
padding: 6px; |
12083
2780e8a10d4c
Fix group box text being cut off (fixes #125)
Wuzzy <almikes@aol.com>
parents:
10484
diff
changeset
|
144 |
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
|
145 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
146 |
/* 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
|
147 |
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
|
148 |
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
|
149 |
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
|
150 |
} |
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, 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 |
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
|
153 |
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
|
154 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
155 |
|
8387
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
156 |
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
|
157 |
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
|
158 |
border-top-left-radius: 0px; |
8387
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
159 |
} |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
160 |
|
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
|
161 |
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
|
162 |
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
|
163 |
} |
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
|
164 |
|
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
165 |
QPushButton { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
166 |
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
|
167 |
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
|
168 |
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
|
169 |
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
|
170 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
171 |
|
8377 | 172 |
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
|
173 |
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
|
174 |
} |
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 |
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
|
177 |
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
|
178 |
} |
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 |
QHeaderView { |
13231 | 181 |
background-color: #00351d; |
182 |
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
|
183 |
border-bottom-width: 3px; |
13231 | 184 |
border-top-width: 0px; |
185 |
border-left-width: 0px; |
|
186 |
border-right-width: 0px; |
|
187 |
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
|
188 |
} |
13231 | 189 |
QHeaderView::section { |
190 |
border-left-width: 1px; |
|
191 |
border-right-width: 1px; |
|
192 |
border-top-width: 0; |
|
193 |
border-bottom-width: 0px; |
|
194 |
border-color: #001d10; |
|
195 |
border-style: solid; |
|
196 |
background-color: #00351d; |
|
197 |
padding: 4px; |
|
198 |
} |
|
199 |
QHeaderView::section:pressed { |
|
200 |
background-color: #00250d; |
|
201 |
} |
|
202 |
QHeaderView::up-arrow { |
|
203 |
image: url(":/res/sort_up.png"); |
|
204 |
} |
|
205 |
QHeaderView::down-arrow{ |
|
206 |
image: url(":/res/sort_down.png"); |
|
207 |
} |
|
208 |
||
209 |
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
|
210 |
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
|
211 |
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
|
212 |
} |
7798 | 213 |
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
|
214 |
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
|
215 |
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
|
216 |
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
|
217 |
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
|
218 |
padding: 3px; |
7798 | 219 |
background-color: #00351d; |
220 |
color: #ffcc00; |
|
7800 | 221 |
} |
222 |
QTabBar::tab:selected { |
|
223 |
border-bottom-color: #0d0544; |
|
224 |
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
|
225 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
226 |
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
|
227 |
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
|
228 |
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
|
229 |
height: 10px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
230 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
231 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
232 |
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
|
233 |
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
|
234 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
235 |
QSpinBox::up-arrow:disabled { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
236 |
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:
13207
diff
changeset
|
237 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
238 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
239 |
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
|
240 |
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
|
241 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
242 |
QSpinBox::down-arrow:disabled { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
243 |
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:
13207
diff
changeset
|
244 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
245 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
246 |
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
|
247 |
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
|
248 |
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
|
249 |
height: 10px; |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
250 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
251 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
252 |
QComboBox { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
253 |
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
|
254 |
padding: 3px; |
8925
f52c6f9800ca
Hiding overflow on Labels/ComboBoxes to prevent 1px off by one error
DrinkMachine
parents:
8475
diff
changeset
|
255 |
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
|
256 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
257 |
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
|
258 |
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
|
259 |
} |
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::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
|
261 |
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
|
262 |
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
|
263 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
264 |
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
|
265 |
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
|
266 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
267 |
QComboBox::down-arrow:disabled { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
268 |
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:
13207
diff
changeset
|
269 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
270 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
271 |
VertScrArea { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
272 |
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
|
273 |
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
|
274 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
275 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
276 |
IconedGroupBox { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
277 |
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
|
278 |
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
|
279 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
280 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
281 |
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
|
282 |
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
|
283 |
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
|
284 |
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
|
285 |
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
|
286 |
} |
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 |
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
|
289 |
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
|
290 |
} |
13207
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
291 |
QCheckBox::indicator:checked:hover{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
292 |
image: url(":/res/checkedHover.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
293 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
294 |
QCheckBox::indicator:checked:pressed{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
295 |
image: url(":/res/checkedPressed.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
296 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
297 |
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
|
298 |
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
|
299 |
} |
13207
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
300 |
QCheckBox::indicator:unchecked:hover{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
301 |
image: url(":/res/uncheckedHover.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
302 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
303 |
QCheckBox::indicator:unchecked:pressed{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
304 |
image: url(":/res/uncheckedPressed.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
305 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
306 |
|
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
307 |
QRadioButton::indicator:checked{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
308 |
image: url(":/res/radioButtonChecked.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
309 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
310 |
QRadioButton::indicator:checked:hover{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
311 |
image: url(":/res/radioButtonCheckedHover.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
312 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
313 |
QRadioButton::indicator:checked:pressed{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
314 |
image: url(":/res/radioButtonCheckedPressed.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
315 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
316 |
QRadioButton::indicator:unchecked{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
317 |
image: url(":/res/radioButtonUnchecked.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
318 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
319 |
QRadioButton::indicator:unchecked:hover{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
320 |
image: url(":/res/radioButtonUncheckedHover.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
321 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
322 |
QRadioButton::indicator:unchecked:pressed{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
323 |
image: url(":/res/radioButtonUncheckedPressed.png"); |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
324 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
325 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
326 |
.QWidget{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
327 |
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
|
328 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
329 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
330 |
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
|
331 |
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
|
332 |
} |
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 |
QMenu{ |
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-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
|
336 |
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
|
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 |
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
|
339 |
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
|
340 |
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
|
341 |
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
|
342 |
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
|
343 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
344 |
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
|
345 |
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
|
346 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
347 |
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
|
348 |
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
|
349 |
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
|
350 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
351 |
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
|
352 |
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
|
353 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
354 |
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
|
355 |
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
|
356 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
357 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
358 |
QToolTip{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
359 |
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
|
360 |
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
|
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 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
363 |
:disabled{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
364 |
color: #a0a0a0; |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
365 |
border-color: #a0a0a0; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
366 |
} |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
367 |
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:
13207
diff
changeset
|
368 |
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:
13207
diff
changeset
|
369 |
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
|
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 |
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
|
372 |
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
|
373 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
374 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
375 |
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
|
376 |
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
|
377 |
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
|
378 |
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
|
379 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
380 |
QSlider::groove::horizontal:disabled { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
381 |
background-color: #a0a0a0; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
382 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
383 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
384 |
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
|
385 |
border: 0px; |
8387
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
386 |
margin: -8px 0px; |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
387 |
background-color: #ffcc00; |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
388 |
width: 12px; |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
389 |
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
|
390 |
border-radius: 3px; |
6185 | 391 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
392 |
QSlider::handle::horizontal:disabled { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
393 |
background-color: #a0a0a0; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
394 |
} |
6185 | 395 |
|
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
|
396 |
HatButton, ThemeButton { |
8374 | 397 |
text-align: left; |
398 |
} |
|
399 |
||
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
|
400 |
#hatList, #hatList:hover, #themeList, #themeList:hover { |
8374 | 401 |
border-color: #F6CB1C; |
402 |
} |
|
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 |
#hatList QScrollBar, #themeList QScrollBar { |
8374 | 405 |
background-color: #130F2A; |
406 |
border-top-right-radius: 10px; |
|
407 |
border-bottom-right-radius: 10px; |
|
408 |
} |
|
409 |
||
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
|
410 |
#hatList, #themeList { |
8374 | 411 |
border-color: #F6CB1C; |
412 |
border-width: 3px; |
|
413 |
border-style: solid; |
|
414 |
border-radius: 10px; |
|
415 |
border-top-left-radius: 0px; |
|
416 |
} |
|
417 |
||
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
|
418 |
#hatList::item, #themeList::item { |
8374 | 419 |
background-color: #11084A; |
420 |
padding: 4px; |
|
421 |
border-radius: 10px; |
|
422 |
color: #ffcc00 !important; |
|
423 |
font: 8px; |
|
424 |
border-width: 2px; |
|
425 |
border-color: #11084A; |
|
426 |
} |
|
427 |
||
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
|
428 |
#hatList::item:hover, #themeList::item:hover { |
8374 | 429 |
background-color: #150A61; |
430 |
} |
|
431 |
||
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
|
432 |
#hatList::item:selected, #themeList::item:selected { |
8374 | 433 |
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
|
434 |
} |
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
|
435 |
|
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
|
436 |
QDialogButtonBox QPushButton { |
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
|
437 |
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
|
438 |
} |
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
|
439 |
|
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
|
440 |
#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
|
441 |
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
|
442 |
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
|
443 |
} |
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
|
444 |
|
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
|
445 |
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
|
446 |
border-radius: 10px; |
8925
f52c6f9800ca
Hiding overflow on Labels/ComboBoxes to prevent 1px off by one error
DrinkMachine
parents:
8475
diff
changeset
|
447 |
} |
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
|
448 |
|
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
|
449 |
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
|
450 |
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
|
451 |
} |