Skip to content

Commit

Permalink
Skin qss: for library widgets use class name only pt II
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Jun 7, 2021
1 parent 827c8c2 commit 1dd3dec
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions res/skins/Deere/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ WLibrarySidebar::branch:open:!has-children:has-siblings:selected {
background-color: #1F1F1F;
}

/* QSplitter between LibrarySidebar and Library */
/* QSplitter between WLibrarySidebar and WTrackTableView */
#LibrarySplitter::handle {
image: url(skin:/../Deere/image/style_handle_horizontal_unchecked.svg);
background: none;
Expand Down Expand Up @@ -2192,7 +2192,7 @@ WTrackMenu QMenu QCheckBox::indicator {

WTrackMenu::right-arrow,
WTrackMenu QMenu::right-arrow,
WLibrary QTableView::indicator {
WTrackTableView::indicator {
width: 10px;
height: 10px;
}
Expand All @@ -2219,7 +2219,7 @@ WTrackMenu QMenu QCheckBox::indicator:disabled {
background-color: #333;
}
WLibrarySidebar QMenu::indicator:checked,
WLibrary QTableView::indicator:checked,
WTrackTableView::indicator:checked,
WTrackMenu QMenu QCheckBox::indicator:checked {
image: url(skin:/../Deere/icon/ic_library_checkmark_orange.svg);
}
Expand Down Expand Up @@ -2261,8 +2261,8 @@ WLibrarySidebar QMenu::indicator:unchecked,
WLibrarySidebar QMenu::indicator:unchecked:selected,
WTrackTableViewHeader QMenu::indicator:unchecked,
WTrackTableViewHeader QMenu::indicator:unchecked:selected,
WLibrary QTableView::indicator:unchecked,
WLibrary QTableView::indicator:unchecked:selected,
WTrackTableView::indicator:unchecked,
WTrackTableView::indicator:unchecked:selected,
WEffectSelector::indicator:unchecked,
WEffectSelector::indicator:unchecked:selected,
#fadeModeCombobox::indicator:unchecked,
Expand Down
8 changes: 4 additions & 4 deletions res/skins/LateNight/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ WOverview #PassthroughLabel {
#SkinSettingsText,
QToolTip,
WLibrarySidebar QMenu,
WLibrary QHeaderView QMenu,
WTrackTableViewHeader QMenu,
WLibraryTextBrowser QMenu,
WTrackMenu,
WTrackMenu QMenu,
Expand Down Expand Up @@ -191,7 +191,7 @@ QLineEdit QMenu::separator {

/* All menus that have at least one item with a checkbox*/
WLibrarySidebar QMenu::item,
WLibrary QHeaderView QMenu::item,
WTrackTableViewHeader QMenu::item,
#CratesMenu::item {
/* padding-right reserves space for the submenu expand arrow
padding-left should be bigger than the menu icon width +
Expand Down Expand Up @@ -220,7 +220,7 @@ WLibraryTextBrowser QMenu::icon,
"[ ] Auto DJ Track Source" */
WLibrarySidebar QMenu::indicator,
/* Column checkboxes in the table header menu */
WLibrary QHeaderView QMenu::indicator {
WTrackTableViewHeader QMenu::indicator {
/* Qt 5.12.8: negative margin-right increases the overall item width but has no effect
on the indicator itself.
positive margin-right pushes icon to the right...
Expand All @@ -241,7 +241,7 @@ WTrackMenu QMenu QCheckBox {
height: 10px;
}
WLibrarySidebar QMenu::indicator,
WLibrary QHeaderView QMenu::indicator,
WTrackTableViewHeader QMenu::indicator,
WTrackMenu QMenu QCheckBox::indicator {
width: 13px;
height: 13px;
Expand Down
6 changes: 3 additions & 3 deletions res/skins/LateNight/style_classic.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2439,7 +2439,7 @@ QLineEdit QMenu::item:disabled {

WLibrarySidebar QMenu::indicator:checked,
WTrackTableViewHeader QMenu::indicator:checked,
WLibrary QTableView::indicator:checked,
WTrackTableView::indicator:checked,
WTrackMenu QMenu QCheckBox::indicator:checked,
WEffectSelector::indicator:checked,
#fadeModeCombobox::indicator:checked {
Expand Down Expand Up @@ -2507,8 +2507,8 @@ WLibrarySidebar QMenu::indicator:unchecked,
WLibrarySidebar QMenu::indicator:unchecked:selected,
WTrackTableViewHeader QMenu::indicator:unchecked,
WTrackTableViewHeader QMenu::indicator:unchecked:selected,
WLibrary QTableView::indicator:unchecked,
WLibrary QTableView::indicator:unchecked:selected,
WTrackTableView::indicator:unchecked,
WTrackTableView::indicator:unchecked:selected,
WEffectSelector::indicator:unchecked,
WEffectSelector::indicator:unchecked:selected,
#fadeModeCombobox::indicator:unchecked,
Expand Down
10 changes: 5 additions & 5 deletions res/skins/LateNight/style_palemoon.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2500,13 +2500,13 @@ WTrackTableView {

/* This is the only way to select the 'Played' checkbox.
Note that this also selects the BPM lock. */
WLibrary QTableView::indicator {
WTrackTableView::indicator {
/* border is added to configured size */
border: 1px solid transparent;
margin: 0px;
padding: 0px;
}
WLibrary QTableView::indicator:unchecked {
WTrackTableView::indicator:unchecked {
border: 1px solid rgba(151,151,151,128);
}

Expand Down Expand Up @@ -2928,7 +2928,7 @@ QLineEdit QMenu::item:disabled {

WLibrarySidebar QMenu::indicator:checked,
WTrackTableViewHeader QMenu::indicator:checked,
WLibrary QTableView::indicator:checked,
WTrackTableView::indicator:checked,
WTrackMenu QMenu QCheckBox::indicator:checked,
WEffectSelector::indicator:checked,
#fadeModeCombobox::indicator:checked {
Expand Down Expand Up @@ -2967,8 +2967,8 @@ WLibrarySidebar QMenu::indicator:unchecked,
WLibrarySidebar QMenu::indicator:unchecked:selected,
WTrackTableViewHeader QMenu::indicator:unchecked,
WTrackTableViewHeader QMenu::indicator:unchecked:selected,
WLibrary QTableView::indicator:unchecked,
WLibrary QTableView::indicator:unchecked:selected,
WTrackTableView::indicator:unchecked,
WTrackTableView::indicator:unchecked:selected,
WEffectSelector::indicator:unchecked,
WEffectSelector::indicator:unchecked:selected,
#fadeModeCombobox::indicator:unchecked,
Expand Down
4 changes: 2 additions & 2 deletions res/skins/Tango/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -3070,8 +3070,8 @@ WLibrarySidebar QMenu::indicator:unchecked,
WLibrarySidebar QMenu::indicator:unchecked:selected,
WTrackTableViewHeader QMenu::indicator:unchecked,
WTrackTableViewHeader QMenu::indicator:unchecked:selected,
WLibrary QTableView::indicator:unchecked,
WLibrary QTableView::indicator:unchecked:selected,
WTrackTableView::indicator:unchecked,
WTrackTableView::indicator:unchecked:selected,
WEffectSelector::indicator:unchecked,
WEffectSelector::indicator:unchecked:selected,
#fadeModeCombobox::indicator:unchecked,
Expand Down

0 comments on commit 1dd3dec

Please sign in to comment.