author | Wuzzy <Wuzzy2@mail.ru> |
Mon, 19 Mar 2018 00:09:07 +0100 | |
changeset 13251 | edb2f654f8f6 |
parent 13231 | 6193503c4727 |
child 13265 | 8a5feb0edce5 |
permissions | -rw-r--r-- |
6185 | 1 |
/****************************************************************************** |
2 |
* |
|
3 |
* CSS-like definition of Qt frontend appearance |
|
4 |
* |
|
5 |
****************************************************************************** |
|
6 |
* |
|
7 |
* see http://doc.qt.nokia.com/4.5/stylesheet.html |
|
8 |
* |
|
9 |
****************************************************************************** |
|
10 |
* |
|
11 |
* This file can be stored at different locations, but it will be read only |
|
12 |
* once, based on first file found in this order: |
|
13 |
* |
|
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 |
||
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
20 |
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
|
21 |
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
|
22 |
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
|
23 |
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
|
24 |
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
|
25 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
26 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
27 |
* { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
28 |
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
|
29 |
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
|
30 |
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
|
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 |
|
6235 | 33 |
a { color:#c8c8ff; } |
34 |
||
13231 | 35 |
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
|
36 |
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
|
37 |
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
|
38 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
39 |
|
13231 | 40 |
VertScrArea, QGraphicsView { |
41 |
border-style: solid; border-width: 2px; border-color: #cca300; border-radius: 3px; |
|
42 |
} |
|
43 |
#gameStatsView { |
|
44 |
border-color: #332816; |
|
45 |
} |
|
46 |
||
47 |
QSplitter::handle { |
|
48 |
background-image: url(":/res/splitter.png"); |
|
49 |
background-clip: content; |
|
50 |
} |
|
51 |
QSplitter::handle:horizontal { |
|
52 |
width: 7px; |
|
53 |
background-repeat: repeat-y; |
|
54 |
} |
|
55 |
QSplitter::handle:vertical { |
|
56 |
height: 7px; |
|
57 |
background-repeat: repeat-x; |
|
58 |
} |
|
59 |
||
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
60 |
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
|
61 |
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
|
62 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
63 |
|
13231 | 64 |
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
|
65 |
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
|
66 |
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
|
67 |
.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
|
68 |
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
|
69 |
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
|
70 |
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
|
71 |
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
|
72 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
73 |
|
7725 | 74 |
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
|
75 |
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
|
76 |
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
|
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 |
|
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
79 |
TeamShowWidget QPushButton { |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
80 |
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
|
81 |
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
|
82 |
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
|
83 |
color: orange; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
84 |
font: bold; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
85 |
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
|
86 |
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
|
87 |
} |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
88 |
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
|
89 |
color: #a0a0a0; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
90 |
} |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
91 |
|
8377 | 92 |
QToolButton { |
93 |
background-color: #11084A; |
|
94 |
} |
|
95 |
||
96 |
QToolButton:hover { |
|
97 |
background-color: #150A61; |
|
98 |
} |
|
99 |
||
100 |
QToolButton:pressed { |
|
101 |
background-color: #100744; |
|
102 |
} |
|
103 |
||
13231 | 104 |
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
|
105 |
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
|
106 |
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
|
107 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
108 |
|
8393
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
109 |
#mapPreview { |
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
110 |
background-color: #0d0544; |
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
111 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
112 |
#mapPreview:disabled{ |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
113 |
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
|
114 |
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
|
115 |
color: #ffffff; |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
116 |
} |
8393
85bd6c7b2641
Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents:
8388
diff
changeset
|
117 |
|
7725 | 118 |
QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView, |
13231 | 119 |
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
|
120 |
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
|
121 |
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
|
122 |
#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
|
123 |
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
|
124 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
125 |
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
|
126 |
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
|
127 |
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
|
128 |
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
|
129 |
} |
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
|
130 |
.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
|
131 |
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
|
132 |
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
|
133 |
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
|
134 |
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
|
135 |
padding: 6px; |
12083
2780e8a10d4c
Fix group box text being cut off (fixes #125)
Wuzzy <almikes@aol.com>
parents:
10484
diff
changeset
|
136 |
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
|
137 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
138 |
/* 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
|
139 |
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
|
140 |
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
|
141 |
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
|
142 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
143 |
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
|
144 |
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
|
145 |
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
|
146 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
147 |
|
8387
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
148 |
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
|
149 |
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
|
150 |
border-top-left-radius: 0px; |
8387
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
151 |
} |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
152 |
|
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
|
153 |
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
|
154 |
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
|
155 |
} |
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 |
|
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
157 |
QPushButton { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
158 |
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
|
159 |
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
|
160 |
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
|
161 |
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
|
162 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
163 |
|
8377 | 164 |
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
|
165 |
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
|
166 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
167 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
168 |
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
|
169 |
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
|
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 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
172 |
QHeaderView { |
13231 | 173 |
background-color: #00351d; |
174 |
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
|
175 |
border-bottom-width: 3px; |
13231 | 176 |
border-top-width: 0px; |
177 |
border-left-width: 0px; |
|
178 |
border-right-width: 0px; |
|
179 |
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
|
180 |
} |
13231 | 181 |
QHeaderView::section { |
182 |
border-left-width: 1px; |
|
183 |
border-right-width: 1px; |
|
184 |
border-top-width: 0; |
|
185 |
border-bottom-width: 0px; |
|
186 |
border-color: #001d10; |
|
187 |
border-style: solid; |
|
188 |
background-color: #00351d; |
|
189 |
padding: 4px; |
|
190 |
} |
|
191 |
QHeaderView::section:pressed { |
|
192 |
background-color: #00250d; |
|
193 |
} |
|
194 |
QHeaderView::up-arrow { |
|
195 |
image: url(":/res/sort_up.png"); |
|
196 |
} |
|
197 |
QHeaderView::down-arrow{ |
|
198 |
image: url(":/res/sort_down.png"); |
|
199 |
} |
|
200 |
||
201 |
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
|
202 |
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
|
203 |
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
|
204 |
} |
7798 | 205 |
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
|
206 |
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
|
207 |
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
|
208 |
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
|
209 |
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
|
210 |
padding: 3px; |
7798 | 211 |
background-color: #00351d; |
212 |
color: #ffcc00; |
|
7800 | 213 |
} |
214 |
QTabBar::tab:selected { |
|
215 |
border-bottom-color: #0d0544; |
|
216 |
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
|
217 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
218 |
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
|
219 |
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
|
220 |
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
|
221 |
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
|
222 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
223 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
224 |
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
|
225 |
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
|
226 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
227 |
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
|
228 |
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
|
229 |
} |
6178
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 |
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
|
232 |
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
|
233 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
234 |
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
|
235 |
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
|
236 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
237 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
238 |
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
|
239 |
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
|
240 |
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
|
241 |
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
|
242 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
243 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
244 |
QComboBox { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
245 |
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
|
246 |
padding: 3px; |
8925
f52c6f9800ca
Hiding overflow on Labels/ComboBoxes to prevent 1px off by one error
DrinkMachine
parents:
8475
diff
changeset
|
247 |
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
|
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 |
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
|
250 |
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
|
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::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
|
253 |
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
|
254 |
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
|
255 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
256 |
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
|
257 |
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
|
258 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
259 |
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
|
260 |
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
|
261 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
262 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
263 |
VertScrArea { |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
264 |
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
|
265 |
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
|
266 |
} |
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 |
IconedGroupBox { |
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-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
|
270 |
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
|
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 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
273 |
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
|
274 |
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
|
275 |
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
|
276 |
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
|
277 |
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
|
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 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
280 |
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
|
281 |
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
|
282 |
} |
13207
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
283 |
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
|
284 |
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
|
285 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
286 |
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
|
287 |
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
|
288 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
289 |
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
|
290 |
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
|
291 |
} |
13207
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
292 |
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
|
293 |
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
|
294 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
295 |
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
|
296 |
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
|
297 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
298 |
|
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
299 |
QRadioButton::indicator:checked{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
300 |
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
|
301 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
302 |
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
|
303 |
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
|
304 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
305 |
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
|
306 |
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
|
307 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
308 |
QRadioButton::indicator:unchecked{ |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
309 |
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
|
310 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
311 |
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
|
312 |
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
|
313 |
} |
d948d39e5da8
Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents:
12083
diff
changeset
|
314 |
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
|
315 |
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
|
316 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
317 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
318 |
.QWidget{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
319 |
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
|
320 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
321 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
322 |
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
|
323 |
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
|
324 |
} |
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 |
QMenu{ |
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-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
|
328 |
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
|
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 |
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
|
331 |
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
|
332 |
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
|
333 |
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
|
334 |
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
|
335 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
336 |
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
|
337 |
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
|
338 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
339 |
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
|
340 |
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
|
341 |
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
|
342 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
343 |
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
|
344 |
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
|
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::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
|
347 |
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
|
348 |
} |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
349 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
350 |
QToolTip{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
351 |
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
|
352 |
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
|
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 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
355 |
:disabled{ |
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
356 |
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
|
357 |
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
|
358 |
} |
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
359 |
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
|
360 |
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
|
361 |
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
|
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 |
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
|
364 |
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
|
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 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
367 |
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
|
368 |
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
|
369 |
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
|
370 |
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
|
371 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
372 |
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
|
373 |
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
|
374 |
} |
6178
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
375 |
|
affa860f2983
BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff
changeset
|
376 |
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
|
377 |
border: 0px; |
8387
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
378 |
margin: -8px 0px; |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
379 |
background-color: #ffcc00; |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
380 |
width: 12px; |
f9d1191476ce
Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents:
8377
diff
changeset
|
381 |
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
|
382 |
border-radius: 3px; |
6185 | 383 |
} |
13228
d23742ccf92b
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents:
13207
diff
changeset
|
384 |
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
|
385 |
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
|
386 |
} |
6185 | 387 |
|
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
|
388 |
HatButton, ThemeButton { |
8374 | 389 |
text-align: left; |
390 |
} |
|
391 |
||
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
|
392 |
#hatList, #hatList:hover, #themeList, #themeList:hover { |
8374 | 393 |
border-color: #F6CB1C; |
394 |
} |
|
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 |
#hatList QScrollBar, #themeList QScrollBar { |
8374 | 397 |
background-color: #130F2A; |
398 |
border-top-right-radius: 10px; |
|
399 |
border-bottom-right-radius: 10px; |
|
400 |
} |
|
401 |
||
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
|
402 |
#hatList, #themeList { |
8374 | 403 |
border-color: #F6CB1C; |
404 |
border-width: 3px; |
|
405 |
border-style: solid; |
|
406 |
border-radius: 10px; |
|
407 |
border-top-left-radius: 0px; |
|
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::item, #themeList::item { |
8374 | 411 |
background-color: #11084A; |
412 |
padding: 4px; |
|
413 |
border-radius: 10px; |
|
414 |
color: #ffcc00 !important; |
|
415 |
font: 8px; |
|
416 |
border-width: 2px; |
|
417 |
border-color: #11084A; |
|
418 |
} |
|
419 |
||
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
|
420 |
#hatList::item:hover, #themeList::item:hover { |
8374 | 421 |
background-color: #150A61; |
422 |
} |
|
423 |
||
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
|
424 |
#hatList::item:selected, #themeList::item:selected { |
8374 | 425 |
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
|
426 |
} |
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
|
427 |
|
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
|
428 |
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
|
429 |
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
|
430 |
} |
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
|
431 |
|
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
|
432 |
#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
|
433 |
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
|
434 |
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
|
435 |
} |
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
|
436 |
|
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
|
437 |
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
|
438 |
border-radius: 10px; |
8925
f52c6f9800ca
Hiding overflow on Labels/ComboBoxes to prevent 1px off by one error
DrinkMachine
parents:
8475
diff
changeset
|
439 |
} |
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
|
440 |
|
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
|
441 |
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
|
442 |
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
|
443 |
} |