QTfrontend/res/css/april1.css
author Wuzzy <Wuzzy2@mail.ru>
Tue, 30 Apr 2019 14:49:37 +0200
changeset 14878 38eadfc525ce
parent 14876 6d95d314ae8b
child 14901 175c96e60279
permissions -rw-r--r--
Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13305
nemo
parents:
diff changeset
     1
/******************************************************************************
nemo
parents:
diff changeset
     2
 *
13631
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
     3
 * CSS definition of Qt frontend appearance: April 1 style.
13305
nemo
parents:
diff changeset
     4
 *
nemo
parents:
diff changeset
     5
 ******************************************************************************
nemo
parents:
diff changeset
     6
 *
13631
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
     7
 * see https://doc.qt.io/qt-5/style-reference.html
13305
nemo
parents:
diff changeset
     8
 *
nemo
parents:
diff changeset
     9
 ******************************************************************************
nemo
parents:
diff changeset
    10
 *
nemo
parents:
diff changeset
    11
 * This file can be stored at different locations, but it will be read only
nemo
parents:
diff changeset
    12
 * once, based on first file found in this order:
nemo
parents:
diff changeset
    13
 *
13631
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    14
 *    <userdir>/Data/css/april1.css
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    15
 *    <datadir>/css/april1.css
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    16
 *    <internal default style-sheet> (:/res/css/april1.css)
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    17
 *
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    18
 *****************************************************************************
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    19
 *
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    20
 * This file is based off qt.css with minimal changes. The altered parts are
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    21
 * marked with “CUSTOM”.
13305
nemo
parents:
diff changeset
    22
 *
nemo
parents:
diff changeset
    23
 *****************************************************************************/
nemo
parents:
diff changeset
    24
13631
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    25
#infoButton
13305
nemo
parents:
diff changeset
    26
{
nemo
parents:
diff changeset
    27
border: transparent;
13631
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    28
background: transparent;
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    29
width: 800px; /* CUSTOM */
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    30
min-width: 800px; /* CUSTOM */
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    31
qproperty-icon: url(":/res/TomatowarsTitle.png"); /* CUSTOM */
946b21a1fbf6 Update outdated and broken holiday stylesheets
Wuzzy <Wuzzy2@mail.ru>
parents: 13305
diff changeset
    32
qproperty-iconSize: 800px 165px; /* CUSTOM */
13305
nemo
parents:
diff changeset
    33
}
nemo
parents:
diff changeset
    34
HWForm,QDialog {
nemo
parents:
diff changeset
    35
background-image: url(":/res/Background.png");
nemo
parents:
diff changeset
    36
background-position: bottom center;
nemo
parents:
diff changeset
    37
background-repeat: repeat-x;
nemo
parents:
diff changeset
    38
background-color: #141250;
nemo
parents:
diff changeset
    39
}
nemo
parents:
diff changeset
    40
nemo
parents:
diff changeset
    41
* {
nemo
parents:
diff changeset
    42
color: #ffcc00;
nemo
parents:
diff changeset
    43
selection-background-color: #ffcc00;
nemo
parents:
diff changeset
    44
selection-color: #00351d;
nemo
parents:
diff changeset
    45
}
nemo
parents:
diff changeset
    46
nemo
parents:
diff changeset
    47
a { color:#c8c8ff; }
nemo
parents:
diff changeset
    48
nemo
parents:
diff changeset
    49
QLineEdit, QListWidget, QListView, QTableView, QTableWidget, QTextBrowser, QSpinBox, QComboBox,
nemo
parents:
diff changeset
    50
QComboBox QAbstractItemView, QPlainTextEdit, QMenu::item, #labelLikeLineEdit {
nemo
parents:
diff changeset
    51
background-color: rgba(13, 5, 68, 70%);
nemo
parents:
diff changeset
    52
}
nemo
parents:
diff changeset
    53
nemo
parents:
diff changeset
    54
VertScrArea, QGraphicsView {
nemo
parents:
diff changeset
    55
border-style: solid; border-width: 2px; border-color: #cca300; border-radius: 3px;
nemo
parents:
diff changeset
    56
}
nemo
parents:
diff changeset
    57
#gameStatsView {
nemo
parents:
diff changeset
    58
border-color: #332816;
nemo
parents:
diff changeset
    59
}
nemo
parents:
diff changeset
    60
nemo
parents:
diff changeset
    61
QSplitter::handle {
nemo
parents:
diff changeset
    62
background-image: url(":/res/splitter.png");
nemo
parents:
diff changeset
    63
background-clip: content;
nemo
parents:
diff changeset
    64
}
nemo
parents:
diff changeset
    65
QSplitter::handle:horizontal {
nemo
parents:
diff changeset
    66
width: 7px;
nemo
parents:
diff changeset
    67
background-repeat: repeat-y;
nemo
parents:
diff changeset
    68
}
nemo
parents:
diff changeset
    69
QSplitter::handle:vertical {
nemo
parents:
diff changeset
    70
height: 7px;
nemo
parents:
diff changeset
    71
background-repeat: repeat-x;
nemo
parents:
diff changeset
    72
}
nemo
parents:
diff changeset
    73
nemo
parents:
diff changeset
    74
QComboBox::separator {
nemo
parents:
diff changeset
    75
border: solid; border-width: 3px; border-color: #ffcc00;
nemo
parents:
diff changeset
    76
}
nemo
parents:
diff changeset
    77
nemo
parents:
diff changeset
    78
QPushButton, QListWidget, QListView, QTableView, QTableWidget, QLineEdit,
nemo
parents:
diff changeset
    79
QTextBrowser, QSpinBox, QToolBox, QComboBox, QPlainTextEdit,
nemo
parents:
diff changeset
    80
QComboBox QAbstractItemView, IconedGroupBox,
nemo
parents:
diff changeset
    81
.QGroupBox, #gameStackContainer, TeamSelWidget, SelWeaponWidget,
nemo
parents:
diff changeset
    82
QTabWidget::pane, QTabBar::tab, #mapPreview, #labelLikeLineEdit {
nemo
parents:
diff changeset
    83
border: solid;
nemo
parents:
diff changeset
    84
border-width: 3px;
nemo
parents:
diff changeset
    85
border-color: #ffcc00;
nemo
parents:
diff changeset
    86
}
nemo
parents:
diff changeset
    87
nemo
parents:
diff changeset
    88
QPushButton:hover, QLineEdit:hover, QListWidget:hover, QListView:hover,
nemo
parents:
diff changeset
    89
QSpinBox:hover, QToolBox:hover, QComboBox:hover {
nemo
parents:
diff changeset
    90
border-color: yellow;
nemo
parents:
diff changeset
    91
}
nemo
parents:
diff changeset
    92
nemo
parents:
diff changeset
    93
TeamShowWidget QPushButton {
nemo
parents:
diff changeset
    94
icon-size: 48px;
nemo
parents:
diff changeset
    95
text-align: left;
nemo
parents:
diff changeset
    96
background-color: #0d0544;
nemo
parents:
diff changeset
    97
color: orange;
nemo
parents:
diff changeset
    98
font: bold;
nemo
parents:
diff changeset
    99
border-width: 2px;
nemo
parents:
diff changeset
   100
margin: 6px 0px 6px 0px;
nemo
parents:
diff changeset
   101
}
nemo
parents:
diff changeset
   102
TeamShowWidget QPushButton:disabled {
nemo
parents:
diff changeset
   103
color: #a0a0a0;
nemo
parents:
diff changeset
   104
}
nemo
parents:
diff changeset
   105
nemo
parents:
diff changeset
   106
QToolButton {
nemo
parents:
diff changeset
   107
background-color: #11084A;
nemo
parents:
diff changeset
   108
}
nemo
parents:
diff changeset
   109
nemo
parents:
diff changeset
   110
QToolButton:hover {
nemo
parents:
diff changeset
   111
background-color: #150A61;
nemo
parents:
diff changeset
   112
}
nemo
parents:
diff changeset
   113
nemo
parents:
diff changeset
   114
QToolButton:pressed {
nemo
parents:
diff changeset
   115
background-color: #100744;
nemo
parents:
diff changeset
   116
}
nemo
parents:
diff changeset
   117
nemo
parents:
diff changeset
   118
QLineEdit, QListWidget, QListView, QTableView, QTableWidget, QTextBrowser,
nemo
parents:
diff changeset
   119
QSpinBox, QToolBox, QPlainTextEdit, QToolButton, #mapPreview, #labelLikeLineEdit {
nemo
parents:
diff changeset
   120
border-radius: 10px;
nemo
parents:
diff changeset
   121
}
nemo
parents:
diff changeset
   122
nemo
parents:
diff changeset
   123
#mapPreview {
nemo
parents:
diff changeset
   124
background-color: #0d0544;
nemo
parents:
diff changeset
   125
}
nemo
parents:
diff changeset
   126
#mapPreview:disabled{
nemo
parents:
diff changeset
   127
border-color: #a0a0a0;
nemo
parents:
diff changeset
   128
background-color: #0d0544;
nemo
parents:
diff changeset
   129
color: #ffffff;
nemo
parents:
diff changeset
   130
}
nemo
parents:
diff changeset
   131
nemo
parents:
diff changeset
   132
QLineEdit, QLabel, QHeaderView, QListWidget, QListView, QTableView,
nemo
parents:
diff changeset
   133
QTableWidget, QSpinBox, QToolBox::tab, QComboBox, QComboBox QAbstractItemView,
nemo
parents:
diff changeset
   134
IconedGroupBox, .QGroupBox, #gameStackContainer, TeamSelWidget,
nemo
parents:
diff changeset
   135
SelWeaponWidget, QCheckBox, QRadioButton, QPushButton, QPlainTextEdit,
nemo
parents:
diff changeset
   136
#mapName {
nemo
parents:
diff changeset
   137
font: bold 13px;
nemo
parents:
diff changeset
   138
}
nemo
parents:
diff changeset
   139
.QLabel{
nemo
parents:
diff changeset
   140
background-color: transparent;
nemo
parents:
diff changeset
   141
}
nemo
parents:
diff changeset
   142
SelWeaponWidget QTabWidget::pane, SelWeaponWidget QTabBar::tab:selected {
nemo
parents:
diff changeset
   143
background-position: bottom center;
nemo
parents:
diff changeset
   144
background-repeat: repeat-x;
nemo
parents:
diff changeset
   145
background-color: #000000;
nemo
parents:
diff changeset
   146
}
nemo
parents:
diff changeset
   147
.QGroupBox, #gameStackContainer, TeamSelWidget, SelWeaponWidget {
nemo
parents:
diff changeset
   148
background-position: bottom center;
nemo
parents:
diff changeset
   149
background-repeat: repeat-x;
nemo
parents:
diff changeset
   150
border-radius: 16px;
nemo
parents:
diff changeset
   151
background-color: rgba(13, 5, 68, 70%);
nemo
parents:
diff changeset
   152
padding: 6px;
nemo
parents:
diff changeset
   153
margin-top: 4px;
nemo
parents:
diff changeset
   154
}
nemo
parents:
diff changeset
   155
/*  Experimenting with PaintOnScreen and border-radius on IconedGroupBox children didn't work out well
nemo
parents:
diff changeset
   156
IconedGroupBox QComboBox, IconedGroupBox QPushButton, IconedGroupBox QLineEdit,
nemo
parents:
diff changeset
   157
IconedGroupBox QSpinBox {
nemo
parents:
diff changeset
   158
border-radius: 0;
nemo
parents:
diff changeset
   159
}
nemo
parents:
diff changeset
   160
IconedGroupBox, IconedGroupBox *, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{" */
nemo
parents:
diff changeset
   161
IconedGroupBox, QTabWidget::pane, QTabBar::tab:selected, QToolBox::tab QWidget{
nemo
parents:
diff changeset
   162
background-color: #130f2c;
nemo
parents:
diff changeset
   163
}
nemo
parents:
diff changeset
   164
nemo
parents:
diff changeset
   165
QTabWidget::pane {
nemo
parents:
diff changeset
   166
border-radius: 8px;
nemo
parents:
diff changeset
   167
border-top-left-radius: 0px;
nemo
parents:
diff changeset
   168
}
nemo
parents:
diff changeset
   169
nemo
parents:
diff changeset
   170
GameCFGWidget {
nemo
parents:
diff changeset
   171
border: none;
nemo
parents:
diff changeset
   172
}
nemo
parents:
diff changeset
   173
nemo
parents:
diff changeset
   174
QPushButton {
nemo
parents:
diff changeset
   175
border-radius: 8px;
nemo
parents:
diff changeset
   176
background-origin: margin;
nemo
parents:
diff changeset
   177
background-position: top left;
nemo
parents:
diff changeset
   178
background-color: rgba(18, 42, 5, 70%);
nemo
parents:
diff changeset
   179
}
nemo
parents:
diff changeset
   180
nemo
parents:
diff changeset
   181
QPushButton:pressed, QToolButton:pressed {
nemo
parents:
diff changeset
   182
border-color: white;
nemo
parents:
diff changeset
   183
}
nemo
parents:
diff changeset
   184
nemo
parents:
diff changeset
   185
QPushButton:focus {
nemo
parents:
diff changeset
   186
outline: none;
nemo
parents:
diff changeset
   187
}
nemo
parents:
diff changeset
   188
nemo
parents:
diff changeset
   189
QHeaderView {
nemo
parents:
diff changeset
   190
background-color: #00351d;
nemo
parents:
diff changeset
   191
border: solid;
nemo
parents:
diff changeset
   192
border-bottom-width: 3px;
nemo
parents:
diff changeset
   193
border-top-width: 0px;
nemo
parents:
diff changeset
   194
border-left-width: 0px;
nemo
parents:
diff changeset
   195
border-right-width: 0px;
nemo
parents:
diff changeset
   196
border-color: #ffcc00;
nemo
parents:
diff changeset
   197
}
nemo
parents:
diff changeset
   198
QHeaderView::section {
nemo
parents:
diff changeset
   199
border-left-width: 1px;
nemo
parents:
diff changeset
   200
border-right-width: 1px;
nemo
parents:
diff changeset
   201
border-top-width: 0;
nemo
parents:
diff changeset
   202
border-bottom-width: 0px;
nemo
parents:
diff changeset
   203
border-color: #001d10;
nemo
parents:
diff changeset
   204
border-style: solid;
nemo
parents:
diff changeset
   205
background-color: #00351d;
nemo
parents:
diff changeset
   206
padding: 4px;
nemo
parents:
diff changeset
   207
}
nemo
parents:
diff changeset
   208
QHeaderView::section:pressed {
nemo
parents:
diff changeset
   209
background-color: #00250d;
nemo
parents:
diff changeset
   210
}
nemo
parents:
diff changeset
   211
QHeaderView::up-arrow {
nemo
parents:
diff changeset
   212
image: url(":/res/sort_up.png");
nemo
parents:
diff changeset
   213
}
nemo
parents:
diff changeset
   214
QHeaderView::down-arrow{
nemo
parents:
diff changeset
   215
image: url(":/res/sort_down.png");
nemo
parents:
diff changeset
   216
}
nemo
parents:
diff changeset
   217
nemo
parents:
diff changeset
   218
QTableView, QTableWidget {
nemo
parents:
diff changeset
   219
alternate-background-color: #2f213a;
nemo
parents:
diff changeset
   220
gridline-color: transparent;
nemo
parents:
diff changeset
   221
}
nemo
parents:
diff changeset
   222
QTabWidget::pane { top: -2px; }
nemo
parents:
diff changeset
   223
QTabBar::tab {
nemo
parents:
diff changeset
   224
border-radius: 0;
nemo
parents:
diff changeset
   225
border-top-left-radius: 6px;
nemo
parents:
diff changeset
   226
border-top-right-radius: 6px;
nemo
parents:
diff changeset
   227
padding: 3px;
nemo
parents:
diff changeset
   228
background-color: #00351d;
nemo
parents:
diff changeset
   229
color: #ffcc00;
nemo
parents:
diff changeset
   230
}
nemo
parents:
diff changeset
   231
QTabBar::tab:selected {
nemo
parents:
diff changeset
   232
border-bottom-color: #0d0544;
nemo
parents:
diff changeset
   233
border-bottom-width: 0;
nemo
parents:
diff changeset
   234
}
nemo
parents:
diff changeset
   235
QSpinBox::up-button{
nemo
parents:
diff changeset
   236
background: transparent;
nemo
parents:
diff changeset
   237
width: 16px;
nemo
parents:
diff changeset
   238
height: 10px;
14878
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14876
diff changeset
   239
padding-top: 1px;
13305
nemo
parents:
diff changeset
   240
}
nemo
parents:
diff changeset
   241
nemo
parents:
diff changeset
   242
QSpinBox::up-arrow {
nemo
parents:
diff changeset
   243
image: url(":/res/spin_up.png");
nemo
parents:
diff changeset
   244
}
nemo
parents:
diff changeset
   245
QSpinBox::up-arrow:disabled {
nemo
parents:
diff changeset
   246
image: url(":/res/spin_up_disabled.png");
nemo
parents:
diff changeset
   247
}
nemo
parents:
diff changeset
   248
nemo
parents:
diff changeset
   249
QSpinBox::down-arrow {
nemo
parents:
diff changeset
   250
image: url(":/res/spin_down.png");
nemo
parents:
diff changeset
   251
}
nemo
parents:
diff changeset
   252
QSpinBox::down-arrow:disabled {
nemo
parents:
diff changeset
   253
image: url(":/res/spin_down_disabled.png");
nemo
parents:
diff changeset
   254
}
nemo
parents:
diff changeset
   255
nemo
parents:
diff changeset
   256
QSpinBox::down-button {
nemo
parents:
diff changeset
   257
background: transparent;
nemo
parents:
diff changeset
   258
width: 16px;
nemo
parents:
diff changeset
   259
height: 10px;
14878
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14876
diff changeset
   260
padding-top: 1px;
13305
nemo
parents:
diff changeset
   261
}
nemo
parents:
diff changeset
   262
14878
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14876
diff changeset
   263
QSpinBox, QLineEdit {
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14876
diff changeset
   264
padding: 3px;
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14876
diff changeset
   265
min-height: 18px;
38eadfc525ce Frontend: Slightly increase size+padding for QLineEdit, QSpinBox
Wuzzy <Wuzzy2@mail.ru>
parents: 14876
diff changeset
   266
}
13305
nemo
parents:
diff changeset
   267
QComboBox {
nemo
parents:
diff changeset
   268
border-radius: 10px;
nemo
parents:
diff changeset
   269
padding: 3px;
nemo
parents:
diff changeset
   270
height: 18px;
nemo
parents:
diff changeset
   271
}
nemo
parents:
diff changeset
   272
QComboBox:pressed{
nemo
parents:
diff changeset
   273
border-color: white;
nemo
parents:
diff changeset
   274
}
nemo
parents:
diff changeset
   275
QComboBox::drop-down{
nemo
parents:
diff changeset
   276
border: transparent;
nemo
parents:
diff changeset
   277
width: 25px;
nemo
parents:
diff changeset
   278
}
nemo
parents:
diff changeset
   279
QComboBox::down-arrow {
nemo
parents:
diff changeset
   280
image: url(":/res/dropdown.png");
nemo
parents:
diff changeset
   281
}
nemo
parents:
diff changeset
   282
QComboBox::down-arrow:disabled {
nemo
parents:
diff changeset
   283
image: url(":/res/dropdown_disabled.png");
nemo
parents:
diff changeset
   284
}
nemo
parents:
diff changeset
   285
nemo
parents:
diff changeset
   286
VertScrArea {
nemo
parents:
diff changeset
   287
background-position: bottom center;
nemo
parents:
diff changeset
   288
background-repeat: repeat-x;
nemo
parents:
diff changeset
   289
}
nemo
parents:
diff changeset
   290
nemo
parents:
diff changeset
   291
IconedGroupBox {
nemo
parents:
diff changeset
   292
border-radius: 16px;
nemo
parents:
diff changeset
   293
padding: 2px;
nemo
parents:
diff changeset
   294
}
nemo
parents:
diff changeset
   295
nemo
parents:
diff changeset
   296
QGroupBox::title{
nemo
parents:
diff changeset
   297
subcontrol-origin: margin;
nemo
parents:
diff changeset
   298
subcontrol-position: top left;
nemo
parents:
diff changeset
   299
text-align: left;
nemo
parents:
diff changeset
   300
left: 15px;
nemo
parents:
diff changeset
   301
}
nemo
parents:
diff changeset
   302
nemo
parents:
diff changeset
   303
QCheckBox::indicator:checked{
nemo
parents:
diff changeset
   304
image: url(":/res/checked.png");
nemo
parents:
diff changeset
   305
}
nemo
parents:
diff changeset
   306
QCheckBox::indicator:checked:hover{
nemo
parents:
diff changeset
   307
image: url(":/res/checkedHover.png");
nemo
parents:
diff changeset
   308
}
nemo
parents:
diff changeset
   309
QCheckBox::indicator:checked:pressed{
nemo
parents:
diff changeset
   310
image: url(":/res/checkedPressed.png");
nemo
parents:
diff changeset
   311
}
nemo
parents:
diff changeset
   312
QCheckBox::indicator:unchecked{
nemo
parents:
diff changeset
   313
image: url(":/res/unchecked.png");
nemo
parents:
diff changeset
   314
}
nemo
parents:
diff changeset
   315
QCheckBox::indicator:unchecked:hover{
nemo
parents:
diff changeset
   316
image: url(":/res/uncheckedHover.png");
nemo
parents:
diff changeset
   317
}
nemo
parents:
diff changeset
   318
QCheckBox::indicator:unchecked:pressed{
nemo
parents:
diff changeset
   319
image: url(":/res/uncheckedPressed.png");
nemo
parents:
diff changeset
   320
}
nemo
parents:
diff changeset
   321
nemo
parents:
diff changeset
   322
QRadioButton::indicator:checked{
nemo
parents:
diff changeset
   323
image: url(":/res/radioButtonChecked.png");
nemo
parents:
diff changeset
   324
}
nemo
parents:
diff changeset
   325
QRadioButton::indicator:checked:hover{
nemo
parents:
diff changeset
   326
image: url(":/res/radioButtonCheckedHover.png");
nemo
parents:
diff changeset
   327
}
nemo
parents:
diff changeset
   328
QRadioButton::indicator:checked:pressed{
nemo
parents:
diff changeset
   329
image: url(":/res/radioButtonCheckedPressed.png");
nemo
parents:
diff changeset
   330
}
nemo
parents:
diff changeset
   331
QRadioButton::indicator:unchecked{
nemo
parents:
diff changeset
   332
image: url(":/res/radioButtonUnchecked.png");
nemo
parents:
diff changeset
   333
}
nemo
parents:
diff changeset
   334
QRadioButton::indicator:unchecked:hover{
nemo
parents:
diff changeset
   335
image: url(":/res/radioButtonUncheckedHover.png");
nemo
parents:
diff changeset
   336
}
nemo
parents:
diff changeset
   337
QRadioButton::indicator:unchecked:pressed{
nemo
parents:
diff changeset
   338
image: url(":/res/radioButtonUncheckedPressed.png");
nemo
parents:
diff changeset
   339
}
nemo
parents:
diff changeset
   340
nemo
parents:
diff changeset
   341
.QWidget{
nemo
parents:
diff changeset
   342
background: transparent;
nemo
parents:
diff changeset
   343
}
nemo
parents:
diff changeset
   344
nemo
parents:
diff changeset
   345
QTabWidget::pane {
nemo
parents:
diff changeset
   346
border-top-width: 2px;
nemo
parents:
diff changeset
   347
}
nemo
parents:
diff changeset
   348
nemo
parents:
diff changeset
   349
QMenu{
nemo
parents:
diff changeset
   350
background-color: #ffcc00;
nemo
parents:
diff changeset
   351
margin: 3px;
nemo
parents:
diff changeset
   352
}
nemo
parents:
diff changeset
   353
QMenu::item {
nemo
parents:
diff changeset
   354
background-color: #0d0544;
nemo
parents:
diff changeset
   355
border: 1px solid transparent;
nemo
parents:
diff changeset
   356
font: bold;
nemo
parents:
diff changeset
   357
padding: 2px 25px 2px 20px;
nemo
parents:
diff changeset
   358
}
nemo
parents:
diff changeset
   359
QMenu::item:selected {
nemo
parents:
diff changeset
   360
background-color: #2d2564;
nemo
parents:
diff changeset
   361
}
nemo
parents:
diff changeset
   362
QMenu::indicator {
nemo
parents:
diff changeset
   363
width: 16px;
nemo
parents:
diff changeset
   364
height: 16px;
nemo
parents:
diff changeset
   365
}
nemo
parents:
diff changeset
   366
QMenu::indicator:non-exclusive:checked{
nemo
parents:
diff changeset
   367
image: url(":/res/checked.png");
nemo
parents:
diff changeset
   368
}
nemo
parents:
diff changeset
   369
QMenu::indicator:non-exclusive:unchecked{
nemo
parents:
diff changeset
   370
image: url(":/res/unchecked.png");
nemo
parents:
diff changeset
   371
}
nemo
parents:
diff changeset
   372
nemo
parents:
diff changeset
   373
QToolTip{
nemo
parents:
diff changeset
   374
background-color: #0d0544;
nemo
parents:
diff changeset
   375
border: 1px solid #ffcc00;
nemo
parents:
diff changeset
   376
}
nemo
parents:
diff changeset
   377
nemo
parents:
diff changeset
   378
:disabled{
nemo
parents:
diff changeset
   379
color: #a0a0a0;
nemo
parents:
diff changeset
   380
border-color: #a0a0a0;
nemo
parents:
diff changeset
   381
}
nemo
parents:
diff changeset
   382
QListWidget:item:selected:disabled, QListView:item:selected:disabled{
nemo
parents:
diff changeset
   383
color: rgba(13, 5, 68, 70%);
nemo
parents:
diff changeset
   384
background-color: #a0a0a0;
nemo
parents:
diff changeset
   385
}
nemo
parents:
diff changeset
   386
SquareLabel, ItemNum {
nemo
parents:
diff changeset
   387
background-color: #000000;
nemo
parents:
diff changeset
   388
}
nemo
parents:
diff changeset
   389
nemo
parents:
diff changeset
   390
QSlider::groove::horizontal {
nemo
parents:
diff changeset
   391
height: 2px;
nemo
parents:
diff changeset
   392
margin: 2px 0px;
nemo
parents:
diff changeset
   393
background-color: #ffcc00;
nemo
parents:
diff changeset
   394
}
nemo
parents:
diff changeset
   395
QSlider::groove::horizontal:disabled {
nemo
parents:
diff changeset
   396
background-color: #a0a0a0;
nemo
parents:
diff changeset
   397
}
nemo
parents:
diff changeset
   398
nemo
parents:
diff changeset
   399
QSlider::handle::horizontal {
nemo
parents:
diff changeset
   400
border: 0px;
nemo
parents:
diff changeset
   401
margin: -8px 0px;
nemo
parents:
diff changeset
   402
background-color: #ffcc00;
nemo
parents:
diff changeset
   403
width: 12px;
nemo
parents:
diff changeset
   404
height: 6px;
nemo
parents:
diff changeset
   405
border-radius: 3px;
nemo
parents:
diff changeset
   406
}
nemo
parents:
diff changeset
   407
QSlider::handle::horizontal:disabled {
nemo
parents:
diff changeset
   408
background-color: #a0a0a0;
nemo
parents:
diff changeset
   409
}
nemo
parents:
diff changeset
   410
nemo
parents:
diff changeset
   411
HatButton, ThemeButton {
nemo
parents:
diff changeset
   412
text-align: left;
nemo
parents:
diff changeset
   413
}
nemo
parents:
diff changeset
   414
nemo
parents:
diff changeset
   415
#hatList, #hatList:hover, #themeList, #themeList:hover {
nemo
parents:
diff changeset
   416
border-color: #F6CB1C;
nemo
parents:
diff changeset
   417
}
nemo
parents:
diff changeset
   418
14876
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   419
QScrollBar:vertical {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   420
border: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   421
color: #FFD902;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   422
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   423
width: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   424
margin: 16px 0 16px 0;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   425
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   426
QScrollBar:horizontal {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   427
border: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   428
color: #FFD902;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   429
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   430
height: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   431
margin: 0 16px 0 16px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   432
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   433
QScrollBar::handle:vertical {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   434
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   435
border-top: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   436
border-bottom: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   437
border-left: none;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   438
border-right: none;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   439
min-height: 20px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   440
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   441
QScrollBar::handle:horizontal {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   442
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   443
border-top: none;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   444
border-bottom: none;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   445
border-left: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   446
border-right: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   447
min-width: 20px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   448
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   449
QScrollBar::handle:pressed {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   450
background: #005a33;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   451
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   452
QScrollBar::add-line, QScrollBar::sub-line {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   453
border: 1px solid black;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   454
background: #00321c;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   455
subcontrol-origin: margin;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   456
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   457
QScrollBar::add-line:vertical {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   458
height: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   459
subcontrol-position: bottom;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   460
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   461
QScrollBar::sub-line:vertical {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   462
height: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   463
subcontrol-position: top;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   464
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   465
QScrollBar::add-line:horizontal {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   466
width: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   467
subcontrol-position: right;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   468
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   469
QScrollBar::sub-line:horizontal {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   470
width: 15px;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   471
subcontrol-position: left;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   472
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   473
QScrollBar::add-line:pressed, QScrollBar::sub-line:pressed {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   474
background: #005a33;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   475
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   476
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   477
QScrollBar::up-arrow {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   478
background-image: url(":/res/scroll_up.png");
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   479
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   480
QScrollBar::down-arrow {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   481
background-image: url(":/res/scroll_down.png");
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   482
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   483
QScrollBar::left-arrow {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   484
background-image: url(":/res/scroll_left.png");
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   485
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   486
QScrollBar::right-arrow {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   487
background-image: url(":/res/scroll_right.png");
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   488
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   489
QScrollBar::add-page, QScrollBar::sub-page {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   490
background: #00190F;
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   491
}
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   492
QScrollBar::add-page:pressed, QScrollBar::sub-page:pressed {
6d95d314ae8b Add explicit custom scroll bar style
Wuzzy <Wuzzy2@mail.ru>
parents: 14583
diff changeset
   493
background: #FFFCA1;
13305
nemo
parents:
diff changeset
   494
}
nemo
parents:
diff changeset
   495
nemo
parents:
diff changeset
   496
#hatList, #themeList {
nemo
parents:
diff changeset
   497
border-color: #F6CB1C;
nemo
parents:
diff changeset
   498
border-width: 3px;
nemo
parents:
diff changeset
   499
border-style: solid;
nemo
parents:
diff changeset
   500
border-radius: 10px;
nemo
parents:
diff changeset
   501
border-top-left-radius: 0px;
nemo
parents:
diff changeset
   502
}
nemo
parents:
diff changeset
   503
nemo
parents:
diff changeset
   504
#hatList::item, #themeList::item {
nemo
parents:
diff changeset
   505
background-color: #11084A;
nemo
parents:
diff changeset
   506
padding: 4px;
nemo
parents:
diff changeset
   507
border-radius: 10px;
nemo
parents:
diff changeset
   508
color: #ffcc00 !important;
nemo
parents:
diff changeset
   509
font: 8px;
nemo
parents:
diff changeset
   510
border-width: 2px;
nemo
parents:
diff changeset
   511
border-color: #11084A;
nemo
parents:
diff changeset
   512
}
nemo
parents:
diff changeset
   513
nemo
parents:
diff changeset
   514
#hatList::item:hover, #themeList::item:hover {
nemo
parents:
diff changeset
   515
background-color: #150A61;
nemo
parents:
diff changeset
   516
}
nemo
parents:
diff changeset
   517
nemo
parents:
diff changeset
   518
#hatList::item:selected, #themeList::item:selected {
nemo
parents:
diff changeset
   519
background-color: #150A61;
nemo
parents:
diff changeset
   520
}
nemo
parents:
diff changeset
   521
14583
af22a14c6a23 Frontend: Tweak button padding once more
Wuzzy <Wuzzy2@mail.ru>
parents: 14580
diff changeset
   522
.QPushButton, .QPushButtonWithSound {
13305
nemo
parents:
diff changeset
   523
padding: 3px 5px;
nemo
parents:
diff changeset
   524
}
nemo
parents:
diff changeset
   525
nemo
parents:
diff changeset
   526
#gameCfgWidgetTabs {
nemo
parents:
diff changeset
   527
border-radius: 16px;
nemo
parents:
diff changeset
   528
border-top-left-radius: 0px;
nemo
parents:
diff changeset
   529
}
nemo
parents:
diff changeset
   530
nemo
parents:
diff changeset
   531
TeamSelWidget, #gameStackContainer, #GBoxOptions {
nemo
parents:
diff changeset
   532
border-radius: 10px;
nemo
parents:
diff changeset
   533
}
nemo
parents:
diff changeset
   534
nemo
parents:
diff changeset
   535
PageMultiplayer TeamSelWidget {
nemo
parents:
diff changeset
   536
min-height: 500px;
nemo
parents:
diff changeset
   537
}