diff options
author | Harshit Maurya <hmaurya999@gmail.com> | 2020-03-30 06:13:25 +0530 |
---|---|---|
committer | Harshit Maurya <hmaurya999@gmail.com> | 2020-03-30 06:13:25 +0530 |
commit | 92d6ce908d68f963202d559e3e8b904abda929cc (patch) | |
tree | 1481d99ded6a6e925ffb98a48ebf2a446a1109c8 /res | |
parent | 313db52b970b42dab5eb0c74e669697799d5dc57 (diff) |
widget/wtrackproperty: add styles for QMenu
Diffstat (limited to 'res')
-rw-r--r-- | res/skins/Tango/style.qss | 43 |
1 files changed, 34 insertions, 9 deletions
diff --git a/res/skins/Tango/style.qss b/res/skins/Tango/style.qss index fd41769564..84404a2e38 100644 --- a/res/skins/Tango/style.qss +++ b/res/skins/Tango/style.qss @@ -35,6 +35,7 @@ WCueMenuPopup, WCueMenuPopup QMenu, WCueMenuPopup QLabel, WCoverArtMenu, +WTrackProperty QMenu, #LibraryContainer QMenu QCheckBox, QToolTip, #LibraryContainer QHeaderView { @@ -2080,11 +2081,14 @@ WCueMenuPopup, WCueMenuPopup QMenu, WCueMenuPopup QLabel, WCoverArtMenu, +WTrackProperty QMenu, #LibraryContainer QMenu::item, WBeatSpinBox QMenu::item, WCueMenuPopup QMenu::item, WCoverArtMenu::item, +WTrackProperty QMenu::item, #LibraryContainer QMenu QCheckBox, +WTrackProperty QMenu QCheckBox, #SkinSettings, WEffectSelector, WEffectSelector QAbstractScrollArea, #fadeModeCombobox, #fadeModeCombobox QAbstractScrollArea, @@ -2098,6 +2102,7 @@ WBeatSpinBox QMenu, WCueMenuPopup, WCueMenuPopup QMenu, WCoverArtMenu, +WTrackProperty QMenu, #SkinSettings, WEffectSelector QAbstractScrollArea, #fadeModeCombobox QAbstractScrollArea { @@ -2115,6 +2120,7 @@ WEffectSelector QAbstractScrollArea, WBeatSpinBox QMenu::separator, WCueMenuPopup QMenu::separator, WCoverArtMenu::separator, + WTrackProperty QMenu::separator, WSpinny QMenu::separator { height: 0px; border-top: 1px solid #000; @@ -2125,6 +2131,8 @@ WEffectSelector QAbstractScrollArea, WBeatSpinBox QMenu::item, WCueMenuPopup QMenu::item, WCoverArtMenu::item, + WTrackProperty QMenu::item, + WTrackProperty QMenu QCheckBox, #LibraryContainer QMenu QCheckBox, #SkinSettingsLabel, #SkinSettingsButton, @@ -2137,13 +2145,15 @@ WEffectSelector QAbstractScrollArea, #LibraryContainer QMenu::item, WBeatSpinBox QMenu::item, WCueMenuPopup QMenu::item, - WCoverArtMenu::item { + WCoverArtMenu::item, + WTrackProperty QMenu::item { /* right padding creates a margin to the menu expand arrow, left padding should be bigger than menu icon width + menu icon margin */ padding: 5px 12px 5px 25px; } - #LibraryContainer QMenu QCheckBox { + #LibraryContainer QMenu QCheckBox, + WTrackProperty QMenu QCheckBox { padding: 2px 10px 2px 3px; } /* icons in editline menu (searchbox, editable track properties) @@ -2153,16 +2163,21 @@ WEffectSelector QAbstractScrollArea, WCueMenuPopup QMenu::icon, /* checkbox in Crate name context menu: "[ ] Auto DJ Track Source" */ - #LibraryContainer QMenu::indicator { + #LibraryContainer QMenu::indicator, + WTrackProperty QMenu::indicator { margin: 0px 4px 0px 2px; } #LibraryContainer QMenu::item:selected, WBeatSpinBox QMenu::item:selected, WCueMenuPopup QMenu::item:selected, WCoverArtMenu::item:selected, + WTrackProperty QMenu::item:selected, #LibraryContainer QMenu QCheckBox:selected, WBeatSpinBox QMenu QCheckBox:focus, /* selected by keyboard */ #LibraryContainer QMenu QCheckBox:hover, /* mouse hover */ + WTrackProperty QMenu QCheckBox:selected, + WTrackProperty QMenu QCheckBox:focus, + WTrackProperty QMenu QCheckBox:hover, #SkinSettingsButton:hover, #SkinSettingsCategoryButton:hover, WEffectSelector::item:selected, @@ -2173,7 +2188,9 @@ WEffectSelector QAbstractScrollArea, outline: none; } #LibraryContainer QMenu QCheckBox::indicator, -#LibraryContainer QMenu::indicator { +WTrackProperty QMenu QCheckBox::indicator, +#LibraryContainer QMenu::indicator, +WTrackProperty QMenu::indicator{ width: 13px; height: 13px; background-color: #0f0f0f; @@ -2183,16 +2200,20 @@ WEffectSelector QAbstractScrollArea, outline: none; } #LibraryContainer QMenu QCheckBox::indicator:checked, - #LibraryContainer QMenu::indicator:checked { + WTrackProperty QMenu QCheckBox::indicator:checked, + #LibraryContainer QMenu::indicator:checked, + WTrackProperty QMenu::indicator:checked { image: url(skin:/buttons/btn_lib_checkmark.svg); border: 1px solid #1e1e1e; } /* disabled menu checkbox */ - #LibraryContainer QMenu QCheckBox::indicator:!enabled { + #LibraryContainer QMenu QCheckBox::indicator:!enabled, + WTrackProperty QMenu QCheckBox::indicator:!enabled { background-color: #333; border: 1px solid #222; } - #LibraryContainer QMenu QCheckBox::indicator:!enabled:checked { + #LibraryContainer QMenu QCheckBox::indicator:!enabled:checked, + WTrackProperty QMenu QCheckBox::indicator:!enabled:checked { image: url(skin:/buttons/btn_lib_checkmark_grey.svg); } @@ -2200,6 +2221,8 @@ WEffectSelector QAbstractScrollArea, WBeatSpinBox QMenu::item:!enabled, WCueMenuPopup QMenu::item:!enabled, WCoverArtMenu::item:!enabled, +WTrackProperty QMenu::item:!enabled, +WTrackProperty QMenu QCheckBox:!enabled, #LibraryContainer QMenu QCheckBox:!enabled { color: #555; } @@ -2211,13 +2234,15 @@ WCoverArtMenu::item:!enabled, #LibraryContainer QCheckBox::indicator:indeterminate:!enabled { image: url(skin:/buttons/btn_lib_checkmark_grey.svg); } -#LibraryContainer QMenu::right-arrow { +#LibraryContainer QMenu::right-arrow, +WTrackProperty QMenu::right-arrow { width: 8px; height: 16px; margin-right: 4px; image: url(skin:/buttons/btn_arrow_right.svg); } -#LibraryContainer QMenu::right-arrow { +#LibraryContainer QMenu::right-arrow, +WTrackProperty QMenu::right-arrow { image: url(skin:/buttons/btn_arrow_right_hover.svg); } |