diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-04-15 11:09:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 11:09:22 +0200 |
commit | 1acfda2e1ab3f5fea51036b67a58e0928716b544 (patch) | |
tree | a09ab5558c1ff53b23a0050e636b120a801d77de /res | |
parent | 84f73984ab786cc5b13133e035e36662eb6418b6 (diff) | |
parent | 5599cd348bb73c12d08eeb5b9635c83d5e3a972d (diff) |
Merge pull request #2628 from ronso0/lib-button-states
fix GUI states of Library feature buttons
Diffstat (limited to 'res')
-rw-r--r-- | res/skins/Deere/style.qss | 29 | ||||
-rw-r--r-- | res/skins/LateNight/style.qss | 38 | ||||
-rw-r--r-- | res/skins/Shade/style.qss | 8 | ||||
-rw-r--r-- | res/skins/Tango/style.qss | 12 |
4 files changed, 57 insertions, 30 deletions
diff --git a/res/skins/Deere/style.qss b/res/skins/Deere/style.qss index d4dff089bf..7aff59fca0 100644 --- a/res/skins/Deere/style.qss +++ b/res/skins/Deere/style.qss @@ -583,15 +583,6 @@ WLibrary QRadioButton::indicator:unchecked { #DlgAnalysis > QPushButton:focus, #fadeModeCombobox:focus, #DlgAutoDJ QSpinBox:focus { - border: 1px solid #bbb; - outline: none; -} -#DlgMissing > QPushButton:checked:focus, -#DlgHidden > QPushButton:checked:focus, -#DlgAutoDJ > QPushButton:checked:focus, -#DlgRecording > QPushButton:checked:focus, -#DlgAnalysis > QPushButton:checked:focus { - border: 1px solid #d2d2d2; outline: none; } @@ -656,6 +647,25 @@ QPushButton#pushButtonRepeatPlaylist { } /* AutoDJ button icons */ +/* Recording info */ +#labelRecPrefix, +#labelRecFilename, +#labelRecStatistics { + text-transform: none; + padding: 3px 0px 0px 0px; + margin: 0px; +} +#labelRecPrefix { + margin-left: 3px; +} +#labelRecFilename { + font-weight: bold; +} +#labelRecPrefix, +#labelRecStatistics { + font-weight: normal; +} + /* Scroll bars */ #LibraryContainer QScrollBar:horizontal, WEffectSelector QAbstractScrollArea QScrollBar:horizontal, @@ -811,6 +821,7 @@ WLibrary QLabel, WLibrary QPushButton { font-family: "Open Sans"; font-size: 12px; + font-weight: bold; text-transform: uppercase; } diff --git a/res/skins/LateNight/style.qss b/res/skins/LateNight/style.qss index 12eae2b8da..617f18e731 100644 --- a/res/skins/LateNight/style.qss +++ b/res/skins/LateNight/style.qss @@ -506,18 +506,6 @@ QHeaderView::down-arrow { #DlgAutoDJ > QPushButton:focus, #DlgRecording > QPushButton:focus, #DlgAnalysis > QPushButton:focus { - border-width: 2px 2px 2px 2px; - border-image: url(skin:buttons_classic/btn_embedded_library.svg) 2 2 2 2; - outline: none; - } - #DlgAnalysis > QPushButton:checked:focus, - #DlgMissing > QPushButton:checked:focus, - #DlgHidden > QPushButton:checked:focus, - #DlgAutoDJ > QPushButton:checked:focus, - #DlgRecording > QPushButton:checked:focus, - #DlgAnalysis > QPushButton:checked:focus { - border-width: 2px 2px 2px 2px; - border-image: url(skin:buttons_classic/btn_embedded_library_active.svg) 2 2 2 2; outline: none; } #DlgMissing > QPushButton:pressed, @@ -525,7 +513,7 @@ QHeaderView::down-arrow { #DlgAutoDJ > QPushButton:pressed, #DlgRecording > QPushButton:pressed, #DlgAnalysis > QPushButton:pressed { - border-image: url(skin:buttons_classic/btn_embedded_library_pressed.svg) 2 2 2 2; + border-image: url(skin:buttons_classic/btn_embedded_library_active.svg) 2 2 2 2; color: #d2d2d2; } #DlgMissing > QPushButton:!enabled, @@ -2342,7 +2330,8 @@ WLibrary QRadioButton { } /* Additional space for QLabels */ -WLibrary QLabel { +#DlgAnalysis QLabel, +#DlgAutoDJ QLabel { margin: 2px 5px 5px 1px; } @@ -2363,7 +2352,7 @@ WLibrary QRadioButton::indicator:unchecked { #DlgAutoDJ > QPushButton, #DlgRecording > QPushButton, #DlgAnalysis > QPushButton { - margin: 0px 4px 3px 2px; + margin: 0px 6px 3px 0px; padding: 0px; height: 20px; } @@ -2373,12 +2362,10 @@ WLibrary QRadioButton::indicator:unchecked { #DlgAnalysis > QPushButton { padding: 0px 5px; } - /* Focus highlight is set via border-image at the top */ - /* Space in between 'Enable AutoDJ' and transition time spinbox */ QPushButton#pushButtonAutoDJ { - margin-left: 0px; min-width: 40px; } + /* Space in between 'Enable AutoDJ' and transition time spinbox */ #DlgAutoDJ > #horizontalSpacer { width: 100px; } @@ -2391,7 +2378,20 @@ WLibrary QRadioButton::indicator:unchecked { margin-left: 12px; } - +#labelRecPrefix, +#labelRecFilename, +#labelRecStatistics { + text-transform: none; + font-size: 13px; + padding: 0px 0px 3px 0px; + } + #labelRecFilename { + font-weight: bold; + } + #labelRecPrefix, + #labelRecStatistics { + font-weight: normal; + } #LibraryContainer QTreeView { show-decoration-selected: 0; diff --git a/res/skins/Shade/style.qss b/res/skins/Shade/style.qss index 623624f6b9..eff839f55d 100644 --- a/res/skins/Shade/style.qss +++ b/res/skins/Shade/style.qss @@ -810,6 +810,14 @@ QPushButton#pushButtonRepeatPlaylist { } /* AutoDJ button icons */ +#labelRecFilename { + font-weight: bold; +} +#labelRecPrefix, +#labelRecStatistics { + font-weight: normal; +} + #HotcueButton { background-color: #aab2b7; } diff --git a/res/skins/Tango/style.qss b/res/skins/Tango/style.qss index fd41769564..0dd35b5418 100644 --- a/res/skins/Tango/style.qss +++ b/res/skins/Tango/style.qss @@ -2766,13 +2766,21 @@ QPushButton#pushButtonRepeatPlaylist:!checked { /* Push labels away from buttons at the right */ /* AutoDJ selection info */ QLabel#labelSelectionInfo, - /* Recording info */ - #DlgRecording QLabel, /* Analysis progress info */ QLabel#labelProgress { margin: 0px 4px 5px 2px; } + /* Recording info */ + #labelRecFilename { + font-weight: bold; + margin: 0px 1px; + } + #labelRecPrefix, + #labelRecStatistics { + font-weight: normal; + } + /* Entire BPM cell */ /* Lock icon at the left */ #LibraryBPMButton::indicator:checked { |