Skip to content

Commit

Permalink
Replay vault: date filter, quantity, hide unranked, Advanced search +…
Browse files Browse the repository at this point in the history
… map preview
  • Loading branch information
Strogoo authored and muellni committed May 24, 2019
1 parent fb8f1eb commit d4426b9
Show file tree
Hide file tree
Showing 11 changed files with 1,275 additions and 258 deletions.
Binary file added res/client/chboxCheked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/client/chboxUncheked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 58 additions & 2 deletions res/client/client.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,37 @@ QSplitter::handle:hover
background-color: #606060;
}

QSpinBox#minRating, QLineEdit#mapName, QLineEdit#playerName, QComboBox#modList
QSpinBox#minRating, QLineEdit#mapName, #playerName, QDateEdit#dateEnd, #dateStart, QSpinBox#quantity, #advQuantity,
QComboBox#modList, #value1, #value2, #value3, #value4, #value5, #value6
{
background-color: #353535;
color: orange;
}

QComboBox#filter1, #filter2, #filter3, #filter4, #filter5, #filter6,
#operator1, #operator2, #operator3, #operator4, #operator5, #operator6
{
background-color: #353535;
color: silver;
}

QDateEdit#dateEnd:disabled, #dateStart:disabled {
color: #8D8B85;
}

QToolBox#replayToolBox::tab
{
background-color: rgb(32, 32, 37);
color: silver;
border-radius: 3px;
padding-left: 145px; /* "alignment: center" doesn't work with toolboxes :| */
}

#advancedSearch, #mapPreview
{
background-color: rgb(32, 32, 37);
}

/* Text controls */
QTextEdit, QPlainTextEdit, QLineEdit, QListWidget, QListView, QTableWidget, QTreeWidget, QFrame#rankedFrame, QFrame#teamFaction, QFrame#teamSearch
{
Expand Down Expand Up @@ -482,10 +507,21 @@ QDialog
background-color: #575656;
}

QCheckBox#spoilerCheckbox, #automaticCheckbox
QCheckBox#spoilerCheckbox, #automaticCheckbox, #showLatestCheckbox, #hideUnrCheckbox
{
color: silver;
}
QCheckBox#spoilerCheckbox::indicator:unchecked, #automaticCheckbox::indicator:unchecked, #showLatestCheckbox::indicator:unchecked,
#hideUnrCheckbox::indicator:unchecked
{
image: url('%THEMEPATH%/client/chboxUncheked.png');
}

QCheckBox#spoilerCheckbox::indicator:checked, #automaticCheckbox::indicator:checked, #showLatestCheckbox::indicator:checked,
#hideUnrCheckbox::indicator:checked
{
image: url('%THEMEPATH%/client/chboxCheked.png');
}

/* Used for Ranked Buttons only at the moment*/
QToolButton#rankedPlay
Expand Down Expand Up @@ -530,6 +566,26 @@ QToolButton::checked
background-color:#C0C0C0;
border-radius : 5px;
}

QPushButton#searchButton, #advSearchButton
{
color: silver;
border-radius: 5px;
border: 2px solid rgb(70, 70, 70);
font: bold 12px;
min-height: 20px;
background-color: rgb(39, 39, 45);
}

QPushButton#RefreshResetButton, #advResetButton
{
color: silver;
border-radius: 5px;
border: 1px solid rgb(70, 70, 70);
font: 11px;
min-height: 20px;
background-color: rgb(39, 39, 45);
}

QComboBox, QComboBox:selected
{
Expand Down
Loading

0 comments on commit d4426b9

Please sign in to comment.