QTfrontend/res/css/qt.css
author Wuzzy <Wuzzy2@mail.ru>
Sun, 05 May 2019 15:24:19 +0200
changeset 14884 1f0e8a144bad
parent 14882 d99ad8ac75d6
child 15000 d597a851f5d8
permissions -rw-r--r--
Re-style QHeaderView colors
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6185
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
     1
/******************************************************************************
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
     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
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
     4
 *
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
     5
 ******************************************************************************
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
     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
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
     8
 *
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
     9
 ******************************************************************************
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
    10
 *
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
    11
 * This file can be stored at different locations, but it will be read only
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
    12
 * once, based on first file found in this order:
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
    13
 *
6235
bb1a657f751b stylesheet comments/adjustments
sheepluva
parents: 6185
diff changeset
    14
 *    <userdir>/Data/css/qt.css
bb1a657f751b stylesheet comments/adjustments
sheepluva
parents: 6185
diff changeset
    15
 *    <datadir>/css/qt.css
bb1a657f751b stylesheet comments/adjustments
sheepluva
parents: 6185
diff changeset
    16
 *    <internal default style-sheet> (:/res/css/qt.css)
6185
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
    17
 *
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
    18
 *****************************************************************************/
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
    19
13304
5ac2bdefa173 add title manipulation
nemo
parents: 13265
diff changeset
    20
#infoButton 
5ac2bdefa173 add title manipulation
nemo
parents: 13265
diff changeset
    21
{
5ac2bdefa173 add title manipulation
nemo
parents: 13265
diff changeset
    22
border: transparent;
5ac2bdefa173 add title manipulation
nemo
parents: 13265
diff changeset
    23
background: transparent; 
5ac2bdefa173 add title manipulation
nemo
parents: 13265
diff changeset
    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
bb1a657f751b stylesheet comments/adjustments
sheepluva
parents: 6185
diff changeset
    38
a { color:#c8c8ff; }
bb1a657f751b stylesheet comments/adjustments
sheepluva
parents: 6185
diff changeset
    39
13231
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    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
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    45
VertScrArea, QGraphicsView {
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    46
border-style: solid; border-width: 2px; border-color: #cca300; border-radius: 3px;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    47
}
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    48
#gameStatsView {
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    49
border-color: #332816;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    50
}
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    51
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    52
QSplitter::handle {
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    53
background-image: url(":/res/splitter.png");
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    54
background-clip: content;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    55
}
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    56
QSplitter::handle:horizontal {
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    57
width: 7px;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    58
background-repeat: repeat-y;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    59
}
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    60
QSplitter::handle:vertical {
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    61
height: 7px;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    62
background-repeat: repeat-x;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    63
}
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    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
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
    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
4ad05a478c6c Further work on moving to players list model
unc0rr
parents: 7447
diff changeset
    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
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    97
QToolButton {
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    98
background-color: #11084A;
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    99
}
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
   100
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
   101
QToolButton:hover {
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
   102
background-color: #150A61;
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
   103
}
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
   104
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
   105
QToolButton:pressed {
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
   106
background-color: #100744;
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
   107
}
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
   108
13231
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   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
4ad05a478c6c Further work on moving to players list model
unc0rr
parents: 7447
diff changeset
   123
QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView,
13231
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   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
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
   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
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   181
background-color: #00351d;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   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
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   184
border-top-width: 0px;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   185
border-left-width: 0px;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   186
border-right-width: 0px;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   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
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   189
QHeaderView::section {
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   190
border-left-width: 1px;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   191
border-right-width: 1px;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   192
border-top-width: 0;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   193
border-bottom-width: 0px;
14884
1f0e8a144bad Re-style QHeaderView colors
Wuzzy <Wuzzy2@mail.ru>
parents: 14882
diff changeset
   194
border-color: #005F35;
13231
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   195
border-style: solid;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   196
background-color: #00351d;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   197
padding: 4px;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   198
}
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   199
QHeaderView::section:pressed {
14884
1f0e8a144bad Re-style QHeaderView colors
Wuzzy <Wuzzy2@mail.ru>
parents: 14882
diff changeset
   200
background-color: #005A33;
1f0e8a144bad Re-style QHeaderView colors
Wuzzy <Wuzzy2@mail.ru>
parents: 14882
diff changeset
   201
border-color: #FFFFFF;
13231
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   202
}
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   203
QHeaderView::up-arrow {
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   204
image: url(":/res/sort_up.png");
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   205
}
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   206
QHeaderView::down-arrow{
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   207
image: url(":/res/sort_down.png");
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   208
}
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   209
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   210
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
   211
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
   212
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
   213
}
7798
2f7d22dc329c tweak tab appearance to try to appease koda
nemo
parents: 7725
diff changeset
   214
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
   215
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
   216
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
   217
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
   218
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
   219
padding: 3px;
7798
2f7d22dc329c tweak tab appearance to try to appease koda
nemo
parents: 7725
diff changeset
   220
background-color: #00351d;
2f7d22dc329c tweak tab appearance to try to appease koda
nemo
parents: 7725
diff changeset
   221
color: #ffcc00;
7800
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   222
}
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   223
QTabBar::tab:selected {
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   224
border-bottom-color: #0d0544;
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   225
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
   226
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   227
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
   228
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
   229
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
   230
height: 10px;
14857
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   231
padding-top: 1px;
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   232
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   233
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   234
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
   235
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
   236
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   237
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
   238
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
   239
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   240
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   241
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
   242
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
   243
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   244
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
   245
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
   246
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   247
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   248
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
   249
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
   250
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
   251
height: 10px;
14857
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   252
padding-bottom: 1px;
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   253
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   254
14857
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   255
QSpinBox, QLineEdit {
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   256
padding: 3px;
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   257
min-height: 18px;
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   258
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   259
QComboBox {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   260
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
   261
padding: 3px;
8925
f52c6f9800ca Hiding overflow on Labels/ComboBoxes to prevent 1px off by one error
DrinkMachine
parents: 8475
diff changeset
   262
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
   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:pressed{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   265
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
   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
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
   268
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
   269
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
   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
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
   272
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
   273
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   274
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
   275
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
   276
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   277
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   278
VertScrArea {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   279
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
   280
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
   281
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   282
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   283
IconedGroupBox {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   284
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
   285
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
   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
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
   289
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
   290
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
   291
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
   292
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
   293
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   294
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   295
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
   296
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
   297
}
13207
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   298
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
   299
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
   300
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   301
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
   302
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
   303
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   304
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
   305
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
   306
}
13207
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   307
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
   308
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
   309
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   310
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
   311
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
   312
}
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:checked{
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/radioButtonChecked.png");
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   316
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   317
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
   318
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
   319
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   320
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
   321
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
   322
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   323
QRadioButton::indicator:unchecked{
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   324
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
   325
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   326
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
   327
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
   328
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   329
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
   330
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
   331
}
6178
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
.QWidget{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   334
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
   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
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   337
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
   338
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
   339
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   340
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   341
QMenu{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   342
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
   343
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
   344
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   345
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
   346
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
   347
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
   348
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
   349
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
   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::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
   352
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
   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 {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   355
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
   356
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
   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
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
   359
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
   360
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   361
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
   362
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
   363
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   364
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   365
QToolTip{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   366
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
   367
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
   368
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   369
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   370
:disabled{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   371
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
   372
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
   373
}
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   374
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
   375
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
   376
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
   377
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   378
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
   379
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
   380
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   381
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   382
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
   383
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
   384
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
   385
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
   386
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   387
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
   388
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
   389
}
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
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   391
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
   392
border: 0px;
8387
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   393
margin: -8px 0px;
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   394
background-color: #ffcc00;
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   395
width: 12px;
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   396
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
   397
border-radius: 3px;
6185
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
   398
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   399
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
   400
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
   401
}
6185
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
   402
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
   403
HatButton, ThemeButton {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   404
text-align: left;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   405
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   406
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
   407
#hatList, #hatList:hover, #themeList, #themeList:hover {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   408
border-color: #F6CB1C;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   409
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   410
14855
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   411
QScrollBar:vertical {
14882
d99ad8ac75d6 Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents: 14881
diff changeset
   412
border: none;
14855
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   413
color: #FFD902;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   414
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   415
width: 15px;
14882
d99ad8ac75d6 Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents: 14881
diff changeset
   416
margin: 17px 0 17px 0;
14855
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   417
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   418
QScrollBar:horizontal {
14882
d99ad8ac75d6 Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents: 14881
diff changeset
   419
border: none;
14855
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   420
color: #FFD902;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   421
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   422
height: 15px;
14882
d99ad8ac75d6 Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents: 14881
diff changeset
   423
margin: 0 17px 0 17px;
14855
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   424
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   425
QScrollBar::handle:vertical {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   426
background: #00321c;
14882
d99ad8ac75d6 Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents: 14881
diff changeset
   427
border: 1px solid #005F35;
14881
272cd0142a90 Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents: 14880
diff changeset
   428
border-radius: 2px;
14855
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   429
min-height: 20px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   430
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   431
QScrollBar::handle:horizontal {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   432
background: #00321c;
14882
d99ad8ac75d6 Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents: 14881
diff changeset
   433
border: 1px solid #005F35;
14881
272cd0142a90 Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents: 14880
diff changeset
   434
border-radius: 2px;
14855
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   435
min-width: 20px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   436
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   437
QScrollBar::handle:pressed {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   438
background: #005a33;
14882
d99ad8ac75d6 Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents: 14881
diff changeset
   439
border-color: #FFFFFF;
14855
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   440
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   441
QScrollBar::add-line, QScrollBar::sub-line {
14882
d99ad8ac75d6 Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents: 14881
diff changeset
   442
border: 1px solid #005F35;
14881
272cd0142a90 Frontend: Rounded scroll bar corners
Wuzzy <Wuzzy2@mail.ru>
parents: 14880
diff changeset
   443
border-radius: 2px;
14855
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   444
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   445
subcontrol-origin: margin;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   446
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   447
QScrollBar::add-line:vertical {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   448
height: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   449
subcontrol-position: bottom;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   450
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   451
QScrollBar::sub-line:vertical {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   452
height: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   453
subcontrol-position: top;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   454
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   455
QScrollBar::add-line:horizontal {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   456
width: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   457
subcontrol-position: right;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   458
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   459
QScrollBar::sub-line:horizontal {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   460
width: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   461
subcontrol-position: left;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   462
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   463
QScrollBar::add-line:pressed, QScrollBar::sub-line:pressed {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   464
background: #005a33;
14882
d99ad8ac75d6 Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents: 14881
diff changeset
   465
border-color: #FFFFFF;
14855
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   466
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   467
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   468
QScrollBar::up-arrow {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   469
background-image: url(":/res/scroll_up.png");
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   470
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   471
QScrollBar::down-arrow {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   472
background-image: url(":/res/scroll_down.png");
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   473
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   474
QScrollBar::left-arrow {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   475
background-image: url(":/res/scroll_left.png");
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   476
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   477
QScrollBar::right-arrow {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   478
background-image: url(":/res/scroll_right.png");
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   479
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   480
QScrollBar::add-page, QScrollBar::sub-page {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   481
background: #00190F;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   482
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   483
QScrollBar::add-page:pressed, QScrollBar::sub-page:pressed {
14882
d99ad8ac75d6 Frontend style: Improve scroll bar coloring
Wuzzy <Wuzzy2@mail.ru>
parents: 14881
diff changeset
   484
background: #008751;
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   485
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   486
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
   487
#hatList, #themeList {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   488
border-color: #F6CB1C;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   489
border-width: 3px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   490
border-style: solid;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   491
border-radius: 10px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   492
border-top-left-radius: 0px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   493
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   494
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
   495
#hatList::item, #themeList::item {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   496
background-color: #11084A;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   497
padding: 4px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   498
border-radius: 10px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   499
color: #ffcc00 !important;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   500
font: 8px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   501
border-width: 2px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   502
border-color: #11084A;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   503
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   504
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
   505
#hatList::item:hover, #themeList::item:hover {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   506
background-color: #150A61;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   507
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   508
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
   509
#hatList::item:selected, #themeList::item:selected {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   510
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
   511
}
686f2e716c97 Fixes password not actually saving when "save password" is checked in the HWPasswordDialog called by HWForm.
dag10 <gottlieb.drew@gmail.com>
parents: 8393
diff changeset
   512
14562
af22a14c6a23 Frontend: Tweak button padding once more
Wuzzy <Wuzzy2@mail.ru>
parents: 14559
diff changeset
   513
.QPushButton, .QPushButtonWithSound {
8407
686f2e716c97 Fixes password not actually saving when "save password" is checked in the HWPasswordDialog called by HWForm.
dag10 <gottlieb.drew@gmail.com>
parents: 8393
diff changeset
   514
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
   515
}
225ede46e3dc On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents: 8415
diff changeset
   516
225ede46e3dc On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents: 8415
diff changeset
   517
#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
   518
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
   519
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
   520
}
225ede46e3dc On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents: 8415
diff changeset
   521
225ede46e3dc On pagenetgame, when window is too small the map/game options becomes a tabbed interface to allow for a few lines of chat to always be visible.
dag10
parents: 8415
diff changeset
   522
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
   523
border-radius: 10px;
8925
f52c6f9800ca Hiding overflow on Labels/ComboBoxes to prevent 1px off by one error
DrinkMachine
parents: 8475
diff changeset
   524
}
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
   525
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
   526
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
   527
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
   528
}
14880
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   529
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   530
QProgressBar {
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   531
border: 3px solid #FFCC00;
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   532
background-color: #150A61;
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   533
border-radius: 5px;
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   534
text-align: center;
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   535
color: #FFFFFF;
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   536
}
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   537
QProgressBar::chunk {
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   538
background-color: #FF9B00;
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   539
margin: 2px;
175c96e60279 Frontend: Add explicit style for QProgressBar
Wuzzy <Wuzzy2@mail.ru>
parents: 14857
diff changeset
   540
}