Skip to content

Commit

Permalink
Merge pull request #2548 from ronso0/shade-fix-trackColorPicker
Browse files Browse the repository at this point in the history
Shade :: fix track color picker
  • Loading branch information
Holzhaus authored Mar 15, 2020
2 parents 03095b8 + d5dc823 commit b4a36cb
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 15 deletions.
40 changes: 33 additions & 7 deletions res/skins/Shade/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ WCoverArtMenu {
/* unchecked menu checkbox */
#LibraryContainer QMenu QCheckBox::indicator:enabled:!checked,
#LibraryContainer QMenu::indicator:!checked {
border-color: #1a2025;/*
border-color: #1a2025;/*
background-color: #7e868b;
remove OS focus indicator */
outline: none;
Expand Down Expand Up @@ -344,7 +344,8 @@ WCueMenuPopup QLabel {
selection-background-color: #ccc;
padding: 2px;
}
#CueColorPicker QPushButton {
#CueColorPicker QPushButton,
WLibrary WColorPicker QPushButton {
width: 38px;
height: 20px;
border: 1px solid #060613;
Expand Down Expand Up @@ -401,7 +402,7 @@ WCueMenuPopup QLabel {
color: #cfcfcf;
}
/* remove OS focus indicator from BPM cell */
WLibrary QCheckBox {
WLibrary QCheckBox:focus {
outline: none;
}

Expand Down Expand Up @@ -710,7 +711,11 @@ WLibrary QRadioButton::indicator:unchecked {
image: url(skin:/btn/btn_lib_radio_button_off.svg) center center;
}

WLibrary QPushButton {
#DlgMissing > QPushButton,
#DlgHidden > QPushButton,
#DlgAutoDJ > QPushButton,
#DlgRecording > QPushButton,
#DlgAnalysis > QPushButton {
text-align: center;
font-size: 9pt;
font-weight: normal;
Expand All @@ -737,18 +742,39 @@ WLibrary QPushButton {
width: 40px;
}

WLibrary QPushButton:!enabled {
#DlgMissing > QPushButton:!enabled,
#DlgHidden > QPushButton:!enabled,
#DlgAutoDJ > QPushButton:!enabled,
#DlgRecording > QPushButton:!enabled,
#DlgAnalysis > QPushButton:!enabled {
background-color: #72777A;
border: 1px solid #72777A;
}
WLibrary QPushButton:unchecked {
#DlgMissing > QPushButton:unchecked,
#DlgHidden > QPushButton:unchecked,
#DlgAutoDJ > QPushButton:unchecked,
#DlgRecording > QPushButton:unchecked,
#DlgAnalysis > QPushButton:unchecked {
color: #888;
background-color: #444;
}
WLibrary QPushButton:checked {
#DlgMissing > QPushButton:checked,
#DlgHidden > QPushButton:checked,
#DlgAutoDJ > QPushButton:checked,
#DlgRecording > QPushButton:checked,
#DlgAnalysis > QPushButton:checked {
color: #000;
background-color: #F90562;
border: 1px solid #F90562;
}
#DlgAnalysis > QPushButton:focus,
#DlgMissing > QPushButton:focus,
#DlgHidden > QPushButton:focus,
#DlgAutoDJ > QPushButton:focus,
#DlgRecording > QPushButton:focus,
#DlgAnalysis > QPushButton:focus {
outline: none;
}
/* Space in between 'Recording' button and recording label */
QPushButton#pushButtonRecording {
margin: 1px 6px 3px 1px;
Expand Down
20 changes: 16 additions & 4 deletions res/skins/Shade/style_dark.qss
Original file line number Diff line number Diff line change
Expand Up @@ -170,18 +170,30 @@ WEffectSelector QAbstractScrollArea QScrollBar::handle:horizontal,
#LibraryContainer QHeaderView::down-arrow {
image: url(skin:/btn/btn_lib_sort_down_green.png)
}

WLibrary QPushButton:enabled {
#DlgMissing > QPushButton:enabled,
#DlgHidden > QPushButton:enabled,
#DlgAutoDJ > QPushButton:enabled,
#DlgRecording > QPushButton:enabled,
#DlgAnalysis > QPushButton:enabled {
background-color: #5C5B5D;
border: 1px solid #5C5B5D;
}
WLibrary QPushButton:!enabled {
#DlgMissing > QPushButton:!enabled,
#DlgHidden > QPushButton:!enabled,
#DlgAutoDJ > QPushButton:!enabled,
#DlgRecording > QPushButton:!enabled,
#DlgAnalysis > QPushButton:!enabled {
background-color: #3D3E3F;
border: 1px solid #3D3E3F;
}
WLibrary QPushButton:checked {
#DlgMissing > QPushButton:checked,
#DlgHidden > QPushButton:checked,
#DlgAutoDJ > QPushButton:checked,
#DlgRecording > QPushButton:checked,
#DlgAnalysis > QPushButton:checked {
color: #000;
background-color: #B79E00;
border: 1px solid #B79E00;
}

WLibrary QRadioButton::indicator:checked {
Expand Down
21 changes: 17 additions & 4 deletions res/skins/Shade/style_summer_sunset.qss
Original file line number Diff line number Diff line change
Expand Up @@ -88,21 +88,34 @@ WCoverArtMenu::item {
background-color: #706633;
}

WLibrary QPushButton:enabled {
#DlgMissing > QPushButton:enabled,
#DlgHidden > QPushButton:enabled,
#DlgAutoDJ > QPushButton:enabled,
#DlgRecording > QPushButton:enabled,
#DlgAnalysis > QPushButton:enabled {
background-color: #998A3C;
border: 1px solid #998A3C;
border: 1px solid #998A3C;
}
WLibrary QPushButton:!enabled {
#DlgMissing > QPushButton:!enabled,
#DlgHidden > QPushButton:!enabled,
#DlgAutoDJ > QPushButton:!enabled,
#DlgRecording > QPushButton:!enabled,
#DlgAnalysis > QPushButton:!enabled {
background-color: #706633;
border: 1px solid #706633;
}
WLibrary QPushButton:unchecked {
color: #888;
background-color: #444;
}
WLibrary QPushButton:checked {
#DlgMissing > QPushButton:checked,
#DlgHidden > QPushButton:checked,
#DlgAutoDJ > QPushButton:checked,
#DlgRecording > QPushButton:checked,
#DlgAnalysis > QPushButton:checked {
color: #000;
background-color: #52F904;
border: 1px solid #52F904;
}

WLibrary QRadioButton::indicator:checked {
Expand Down

0 comments on commit b4a36cb

Please sign in to comment.