QTfrontend/res/css/qt.css
author Wuzzy <Wuzzy2@mail.ru>
Fri, 16 Mar 2018 19:05:11 +0100
changeset 13228 d23742ccf92b
parent 13207 d948d39e5da8
child 13231 6193503c4727
permissions -rw-r--r--
Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
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
 *
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
     3
 * CSS-like definition of Qt frontend appearance
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
 *
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
     7
 * see http://doc.qt.nokia.com/4.5/stylesheet.html
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
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    20
HWForm,QDialog {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    21
background-image: url(":/res/Background.png");
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    22
background-position: bottom center;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    23
background-repeat: repeat-x;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    24
background-color: #141250;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    25
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    26
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    27
* {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    28
color: #ffcc00;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    29
selection-background-color: #ffcc00;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    30
selection-color: #00351d;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    31
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    32
6235
bb1a657f751b stylesheet comments/adjustments
sheepluva
parents: 6185
diff changeset
    33
a { color:#c8c8ff; }
bb1a657f751b stylesheet comments/adjustments
sheepluva
parents: 6185
diff changeset
    34
7725
4ad05a478c6c Further work on moving to players list model
unc0rr
parents: 7447
diff changeset
    35
QLineEdit, QListWidget, QListView, QTableView, QTextBrowser, QSpinBox, QComboBox,
8415
02acf6b92f52 Moved room name edit box from footer to top of page. Also shows room name when in slave mode.
dag10
parents: 8407
diff changeset
    36
QComboBox QAbstractItemView, QPlainTextEdit, QMenu::item, #labelLikeLineEdit {
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    37
background-color: rgba(13, 5, 68, 70%);
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    38
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    39
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    40
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
    41
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
    42
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    43
7725
4ad05a478c6c Further work on moving to players list model
unc0rr
parents: 7447
diff changeset
    44
QPushButton, QListWidget, QListView, QTableView, QLineEdit, QHeaderView,
7447
01111960a48d uploading to youtube, it works, but user interface is still incomplete
Stepan777 <stepik-777@mail.ru>
parents: 6235
diff changeset
    45
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
    46
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
    47
.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
    48
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
    49
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
    50
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
    51
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
    52
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    53
7725
4ad05a478c6c Further work on moving to players list model
unc0rr
parents: 7447
diff changeset
    54
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
    55
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
    56
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
    57
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    58
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
    59
TeamShowWidget QPushButton {
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
    60
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
    61
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
    62
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
    63
color: orange;
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
    64
font: bold;
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
    65
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
    66
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
    67
}
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
    68
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
    69
color: #a0a0a0;
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
    70
}
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
    71
8377
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    72
QToolButton {
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    73
background-color: #11084A;
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    74
}
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    75
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    76
QToolButton:hover {
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    77
background-color: #150A61;
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    78
}
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    79
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    80
QToolButton:pressed {
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    81
background-color: #100744;
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    82
}
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
    83
7725
4ad05a478c6c Further work on moving to players list model
unc0rr
parents: 7447
diff changeset
    84
QLineEdit, QListWidget, QListView, QTableView, 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
    85
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
    86
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
    87
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    88
8393
85bd6c7b2641 Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents: 8388
diff changeset
    89
#mapPreview {
85bd6c7b2641 Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents: 8388
diff changeset
    90
background-color: #0d0544;
85bd6c7b2641 Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents: 8388
diff changeset
    91
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
    92
#mapPreview:disabled{
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
    93
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
    94
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
    95
color: #ffffff;
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
    96
}
8393
85bd6c7b2641 Can now change theme for static and mission maps.
dag10 <gottlieb.drew@gmail.com>
parents: 8388
diff changeset
    97
7725
4ad05a478c6c Further work on moving to players list model
unc0rr
parents: 7447
diff changeset
    98
QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView,
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
    99
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
   100
IconedGroupBox, .QGroupBox, #gameStackContainer, TeamSelWidget,
7447
01111960a48d uploading to youtube, it works, but user interface is still incomplete
Stepan777 <stepik-777@mail.ru>
parents: 6235
diff changeset
   101
SelWeaponWidget, QCheckBox, QRadioButton, QPushButton, 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
   102
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
   103
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   104
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
   105
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
   106
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
   107
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
   108
}
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
   109
.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
   110
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
   111
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
   112
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
   113
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
   114
padding: 6px;
12083
2780e8a10d4c Fix group box text being cut off (fixes #125)
Wuzzy <almikes@aol.com>
parents: 10484
diff changeset
   115
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
   116
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   117
/*  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
   118
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
   119
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
   120
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
   121
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   122
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
   123
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
   124
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
   125
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   126
8387
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   127
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
   128
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
   129
border-top-left-radius: 0px;
8387
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   130
}
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   131
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
   132
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
   133
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
   134
}
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
   135
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   136
QPushButton {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   137
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
   138
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
   139
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
   140
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
   141
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   142
8377
869f80966a77 GCI2012: Improve Game Configuration Widget
dag10
parents: 8374
diff changeset
   143
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
   144
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
   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
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   147
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
   148
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
   149
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   150
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   151
QHeaderView {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   152
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
   153
border-width: 0;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   154
border-bottom-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
   155
background-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
   156
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   157
QTableView {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   158
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
   159
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
   160
}
7798
2f7d22dc329c tweak tab appearance to try to appease koda
nemo
parents: 7725
diff changeset
   161
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
   162
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
   163
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
   164
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
   165
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
   166
padding: 3px;
7798
2f7d22dc329c tweak tab appearance to try to appease koda
nemo
parents: 7725
diff changeset
   167
background-color: #00351d;
2f7d22dc329c tweak tab appearance to try to appease koda
nemo
parents: 7725
diff changeset
   168
color: #ffcc00;
7800
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   169
}
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   170
QTabBar::tab:selected {
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   171
border-bottom-color: #0d0544;
e884809735ce tweak tab styling
nemo
parents: 7798
diff changeset
   172
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
   173
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   174
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
   175
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
   176
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
   177
height: 10px;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   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
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
   181
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
   182
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   183
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
   184
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
   185
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   186
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   187
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
   188
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
   189
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   190
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
   191
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
   192
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   193
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   194
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
   195
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
   196
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
   197
height: 10px;
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   198
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   199
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   200
QComboBox {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   201
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
   202
padding: 3px;
8925
f52c6f9800ca Hiding overflow on Labels/ComboBoxes to prevent 1px off by one error
DrinkMachine
parents: 8475
diff changeset
   203
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
   204
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   205
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
   206
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
   207
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   208
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
   209
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
   210
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
   211
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   212
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
   213
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
   214
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   215
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
   216
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
   217
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   218
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   219
VertScrArea {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   220
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
   221
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
   222
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   223
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   224
IconedGroupBox {
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   225
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
   226
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
   227
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   228
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   229
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
   230
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
   231
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
   232
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
   233
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
   234
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   235
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   236
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
   237
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
   238
}
13207
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   239
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
   240
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
   241
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   242
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
   243
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
   244
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   245
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
   246
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
   247
}
13207
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   248
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
   249
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
   250
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   251
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
   252
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
   253
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   254
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   255
QRadioButton::indicator:checked{
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   256
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
   257
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   258
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
   259
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
   260
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   261
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
   262
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
   263
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   264
QRadioButton::indicator:unchecked{
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   265
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
   266
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   267
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
   268
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
   269
}
d948d39e5da8 Add images for radio buttons, add hover and pressed images for checkboxes
Wuzzy <Wuzzy2@mail.ru>
parents: 12083
diff changeset
   270
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
   271
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
   272
}
6178
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   273
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   274
.QWidget{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   275
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
   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
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   278
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
   279
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
   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
QMenu{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   283
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
   284
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
   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
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
   287
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
   288
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
   289
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
   290
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
   291
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   292
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
   293
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
   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
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
   296
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
   297
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
   298
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   299
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
   300
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
   301
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   302
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
   303
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
   304
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   305
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   306
QToolTip{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   307
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
   308
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
   309
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   310
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   311
:disabled{
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   312
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
   313
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
   314
}
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   315
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
   316
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
   317
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
   318
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   319
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
   320
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
   321
}
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   322
affa860f2983 BOOOOooOM <headshot>! removing default stylesheets from c++ code and adding them as text files to the qt resources
sheepluva
parents:
diff changeset
   323
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
   324
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
   325
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
   326
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
   327
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   328
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
   329
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
   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
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
   333
border: 0px;
8387
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   334
margin: -8px 0px;
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   335
background-color: #ffcc00;
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   336
width: 12px;
f9d1191476ce Organized options into more relavant tabs.
dag10 <gottlieb.drew@gmail.com>
parents: 8377
diff changeset
   337
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
   338
border-radius: 3px;
6185
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
   339
}
13228
d23742ccf92b Frontend: Properly “gray out” most disabled widgets (a lot of them weren't)
Wuzzy <Wuzzy2@mail.ru>
parents: 13207
diff changeset
   340
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
   341
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
   342
}
6185
a6aa2d44f390 document css files better
sheepluva
parents: 6178
diff changeset
   343
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
   344
HatButton, ThemeButton {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   345
text-align: left;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   346
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   347
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
   348
#hatList, #hatList:hover, #themeList, #themeList:hover {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   349
border-color: #F6CB1C;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   350
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   351
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
   352
#hatList QScrollBar, #themeList QScrollBar {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   353
background-color: #130F2A;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   354
border-top-right-radius: 10px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   355
border-bottom-right-radius: 10px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   356
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   357
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
   358
#hatList, #themeList {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   359
border-color: #F6CB1C;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   360
border-width: 3px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   361
border-style: solid;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   362
border-radius: 10px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   363
border-top-left-radius: 0px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   364
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   365
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
   366
#hatList::item, #themeList::item {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   367
background-color: #11084A;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   368
padding: 4px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   369
border-radius: 10px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   370
color: #ffcc00 !important;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   371
font: 8px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   372
border-width: 2px;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   373
border-color: #11084A;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   374
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   375
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
   376
#hatList::item:hover, #themeList::item:hover {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   377
background-color: #150A61;
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   378
}
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   379
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
   380
#hatList::item:selected, #themeList::item:selected {
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8318
diff changeset
   381
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
   382
}
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
   383
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
   384
QDialogButtonBox QPushButton {
686f2e716c97 Fixes password not actually saving when "save password" is checked in the HWPasswordDialog called by HWForm.
dag10 <gottlieb.drew@gmail.com>
parents: 8393
diff changeset
   385
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
   386
}
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
   387
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
   388
#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
   389
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
   390
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
   391
}
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
   392
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
   393
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
   394
border-radius: 10px;
8925
f52c6f9800ca Hiding overflow on Labels/ComboBoxes to prevent 1px off by one error
DrinkMachine
parents: 8475
diff changeset
   395
}
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
   396
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
   397
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
   398
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
   399
}