QTfrontend/res/css/qt.css
author Wuzzy <Wuzzy2@mail.ru>
Tue, 30 Apr 2019 14:49:37 +0200
changeset 14857 38eadfc525ce
parent 14855 6d95d314ae8b
child 14880 175c96e60279
permissions -rw-r--r--
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
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;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   194
border-color: #001d10;
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 {
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   200
background-color: #00250d;
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   201
}
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   202
QHeaderView::up-arrow {
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   203
image: url(":/res/sort_up.png");
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   204
}
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   205
QHeaderView::down-arrow{
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   206
image: url(":/res/sort_down.png");
6193503c4727 Various minor frontend CSS tweaks
Wuzzy <Wuzzy2@mail.ru>
parents: 13228
diff changeset
   207
}
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
QTableView, QTableWidget {
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   210
alternate-background-color: #2f213a;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   211
gridline-color: transparent;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   212
}
7798
2f7d22dc329c tweak tab appearance to try to appease koda
nemo
parents: 7725
diff changeset
   213
QTabWidget::pane { top: -2px; }
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   214
QTabBar::tab {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   215
border-radius: 0;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   216
border-top-left-radius: 6px;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   217
border-top-right-radius: 6px;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   218
padding: 3px;
7798
2f7d22dc329c tweak tab appearance to try to appease koda
nemo
parents: 7725
diff changeset
   219
background-color: #00351d;
2f7d22dc329c tweak tab appearance to try to appease koda
nemo
parents: 7725
diff changeset
   220
color: #ffcc00;
7800
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   221
}
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   222
QTabBar::tab:selected {
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   223
border-bottom-color: #0d0544;
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   224
border-bottom-width: 0;
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   225
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   226
QSpinBox::up-button{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   227
background: transparent;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   228
width: 16px;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   229
height: 10px;
14857
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   230
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
   231
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   232
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   233
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
   234
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
   235
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   236
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
   237
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
   238
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   239
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   240
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
   241
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
   242
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   243
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
   244
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
   245
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   246
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   247
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
   248
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
   249
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
   250
height: 10px;
14857
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   251
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
   252
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   253
14857
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   254
QSpinBox, QLineEdit {
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   255
padding: 3px;
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   256
min-height: 18px;
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14855
diff changeset
   257
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   258
QComboBox {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   259
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
   260
padding: 3px;
8925
f52c6f9800ca Hiding overflow on Labels/ComboBoxes to prevent 1px off by one error
DrinkMachine
parents: 8475
diff changeset
   261
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
   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
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
   264
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
   265
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   266
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
   267
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
   268
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
   269
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   270
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
   271
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
   272
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   273
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
   274
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
   275
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   276
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   277
VertScrArea {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   278
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
   279
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
   280
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   281
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   282
IconedGroupBox {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   283
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
   284
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
   285
}
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
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
   288
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
   289
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
   290
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
   291
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
   292
}
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
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
   295
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
   296
}
13207
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   297
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
   298
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
   299
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   300
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
   301
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
   302
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   303
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
   304
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
   305
}
13207
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   306
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
   307
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
   308
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   309
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
   310
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
   311
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   312
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   313
QRadioButton::indicator:checked{
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   314
image: url(":/res/radioButtonChecked.png");
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   315
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   316
QRadioButton::indicator:checked:hover{
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   317
image: url(":/res/radioButtonCheckedHover.png");
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   318
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   319
QRadioButton::indicator:checked:pressed{
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   320
image: url(":/res/radioButtonCheckedPressed.png");
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   321
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   322
QRadioButton::indicator:unchecked{
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   323
image: url(":/res/radioButtonUnchecked.png");
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   324
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   325
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
   326
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
   327
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   328
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
   329
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
   330
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   331
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   332
.QWidget{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   333
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
   334
}
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
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
   337
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
   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
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   340
QMenu{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   341
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
   342
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
   343
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   344
QMenu::item {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   345
background-color: #0d0544;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   346
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
   347
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
   348
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
   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
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
   351
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
   352
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   353
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
   354
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
   355
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
   356
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   357
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
   358
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
   359
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   360
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
   361
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
   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
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   364
QToolTip{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   365
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
   366
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
   367
}
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
:disabled{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   370
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
   371
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
   372
}
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   373
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
   374
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
   375
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
   376
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   377
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
   378
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
   379
}
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
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
   382
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
   383
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
   384
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
   385
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   386
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
   387
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
   388
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   389
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   390
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
   391
border: 0px;
8387
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   392
margin: -8px 0px;
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   393
background-color: #ffcc00;
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   394
width: 12px;
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   395
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
   396
border-radius: 3px;
6185
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
   397
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   398
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
   399
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
   400
}
6185
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
   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
HatButton, ThemeButton {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   403
text-align: left;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   404
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   405
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
   406
#hatList, #hatList:hover, #themeList, #themeList:hover {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   407
border-color: #F6CB1C;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   408
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   409
14855
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   410
QScrollBar:vertical {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   411
border: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   412
color: #FFD902;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   413
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   414
width: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   415
margin: 16px 0 16px 0;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   416
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   417
QScrollBar:horizontal {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   418
border: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   419
color: #FFD902;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   420
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   421
height: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   422
margin: 0 16px 0 16px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   423
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   424
QScrollBar::handle:vertical {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   425
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   426
border-top: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   427
border-bottom: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   428
border-left: none;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   429
border-right: none;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   430
min-height: 20px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   431
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   432
QScrollBar::handle:horizontal {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   433
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   434
border-top: none;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   435
border-bottom: none;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   436
border-left: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   437
border-right: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   438
min-width: 20px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   439
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   440
QScrollBar::handle:pressed {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   441
background: #005a33;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   442
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   443
QScrollBar::add-line, QScrollBar::sub-line {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   444
border: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   445
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   446
subcontrol-origin: margin;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   447
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   448
QScrollBar::add-line:vertical {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   449
height: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   450
subcontrol-position: bottom;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   451
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   452
QScrollBar::sub-line:vertical {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   453
height: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   454
subcontrol-position: top;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   455
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   456
QScrollBar::add-line:horizontal {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   457
width: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   458
subcontrol-position: right;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   459
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   460
QScrollBar::sub-line:horizontal {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   461
width: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   462
subcontrol-position: left;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   463
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   464
QScrollBar::add-line:pressed, QScrollBar::sub-line:pressed {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   465
background: #005a33;
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 {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14562
diff changeset
   484
background: #FFFCA1;
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
}