Skip to content

Commit

Permalink
skins: add default effect menu styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Nov 6, 2021
1 parent fa84e59 commit b9a1105
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions res/skins/default.qss
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ WTrackMenu QMenu,
QLineEdit QMenu,
WCueMenuPopup,
WCoverArtMenu,
WEffectChainPresetButton QMenu,
WEffectSelector QAbstractScrollArea,
WEffectChainPresetSelector QAbstractScrollArea,
#fadeModeCombobox QAbstractScrollArea {
padding: 0.15em;
}
Expand All @@ -111,7 +113,8 @@ WLibrarySidebar QMenu::separator,
WTrackMenu::separator,
WTrackMenu QMenu::separator,
QLineEdit QMenu::separator,
WLibraryTextBrowser QMenu::separator {
WLibraryTextBrowser QMenu::separator,
WEffectChainPresetButton QMenu::separator {
height: 0px;
margin: 0.25em;
}
Expand All @@ -120,7 +123,8 @@ WLibraryTextBrowser QMenu::separator {
/* All menus that have at least one item with a checkbox*/
WLibrarySidebar QMenu::item,
WTrackTableViewHeader QMenu::item,
#CratesMenu::item {
#CratesMenu::item,
WEffectChainPresetButton QMenu::item {
/* padding-right reserves space for the submenu expand arrow
padding-left should be bigger than the menu icon width +
icon margin-left/-right */
Expand All @@ -137,7 +141,8 @@ WTrackMenu QMenu::item,
QLineEdit QMenu::item,
WCoverArtMenu::item,
/* for the sake of completeness: html root view of Crates, Rec etc. */
WLibraryTextBrowser QMenu::item {
WLibraryTextBrowser QMenu::item,
WEffectChainPresetButton QMenu::item {
padding: 0.17em 0.6em 0.17em 0.6em;
}

Expand All @@ -158,13 +163,15 @@ WTrackTableViewHeader QMenu::indicator {
}

/* items in Crate sub menu */
WTrackMenu QMenu QCheckBox {
WTrackMenu QMenu QCheckBox,
WEffectChainPresetButton QMenu QCheckBox {
padding: 0.17em 0.6em 0.17em 0.25em;
}

WLibrarySidebar QMenu::indicator,
WTrackTableViewHeader QMenu::indicator,
WTrackMenu QMenu QCheckBox::indicator {
WTrackMenu QMenu QCheckBox::indicator,
WEffectChainPresetButton QMenu QCheckBox::indicator {
width: 0.7em;
height: 0.7em;
}

0 comments on commit b9a1105

Please sign in to comment.