Skip to content

Commit

Permalink
Shade: add searchbox styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Dec 16, 2021
1 parent 6f564c3 commit 3f43ed7
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 3 deletions.
3 changes: 3 additions & 0 deletions res/skins/Shade/btn/btn_search_down_grey.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 33 additions & 3 deletions res/skins/Shade/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ WOverview /* Hotcue labels in the overview */,
QComboBox,
WEffectSelector,
WEffectSelector QAbstractScrollArea,
WSearchLineEdit,
WSearchLineEdit QAbstractScrollArea,
#fadeModeCombobox,
#fadeModeCombobox QAbstractScrollArea {
font-family: "Open Sans";
Expand Down Expand Up @@ -130,6 +132,8 @@ WEffectSelector,
WEffectSelector QAbstractScrollArea,
WEffectSelector::down-arrow,
WEffectSelector::indicator:unchecked,
WSearchLineEdit QAbstractScrollArea,
WSearchLineEdit::item,
#fadeModeCombobox QAbstractScrollArea,
#fadeModeCombobox::item,
#fadeModeCombobox::indicator:unchecked {
Expand Down Expand Up @@ -173,6 +177,7 @@ QLineEdit QMenu::item:selected,
WCoverArtMenu::item:selected,
WEffectSelector::item:selected,
WEffectSelector::indicator:unchecked:selected,
WSearchLineEdit::item:selected,
#fadeModeCombobox::item:selected,
#fadeModeCombobox::indicator:unchecked:selected {
background-color: lightgray;
Expand All @@ -182,6 +187,7 @@ WEffectSelector::indicator:unchecked:selected,
}
/* Remove 3D border from unchecked effects checkmark space */
WEffectSelector::item:selected,
WSearchLineEdit::item:selected,
#fadeModeCombobox::item:selected {
border: 0px;
}
Expand Down Expand Up @@ -252,6 +258,7 @@ QLineEdit QMenu,
WCueMenuPopup,
WCoverArtMenu,
WEffectSelector QAbstractScrollArea,
WSearchLineEdit QAbstractScrollArea,
#fadeModeCombobox QAbstractScrollArea {
border-width: 1px;
border-style: solid;
Expand Down Expand Up @@ -289,6 +296,9 @@ WEffectSelector QAbstractScrollArea,
margin: 0px;
image: url(skin:/btn/btn_spin_down.png) no-repeat;
}
WSearchLineEdit::down-arrow {
image: url(skin:/btn/btn_search_down_grey.svg) no-repeat;
}


/******** TODO properties identical in all skin, move to common file *************/
Expand All @@ -297,8 +307,12 @@ WEffectSelector QAbstractScrollArea,
WEffectSelector::indicator, /* checkbox, tick mark */
WEffectSelector::drop-down,
WEffectSelector::indicator:unchecked,
#fadeModeCombobox::checked, /* selected item */
#fadeModeCombobox::indicator, /* checkbox, tick mark */
WSearchLineEdit::checked,
WSearchLineEdit::indicator,
WSearchLineEdit::drop-down,
WSearchLineEdit::indicator:unchecked,
#fadeModeCombobox::checked,
#fadeModeCombobox::indicator,
#fadeModeCombobox::drop-down,
#fadeModeCombobox::indicator:unchecked,
WTrackMenu QMenu QCheckBox {
Expand Down Expand Up @@ -582,11 +596,12 @@ WSearchLineEdit {
border: 1px solid #656565;
background: #0f0f0f;
color: #cfcfcf;
color: #eeeeee;
}
WSearchLineEdit:focus {
padding: 1px;
border: 2px solid #ff6600;
color: #eeeeee;
/*color: #eeeeee;*/
selection-color: #0f0f0f;
selection-background-color: #d2d2d2;
}
Expand Down Expand Up @@ -643,6 +658,8 @@ WTrackTableViewHeader::section,
#LibraryContainer QScrollBar:vertical,
WEffectSelector QAbstractScrollArea QScrollBar:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar:vertical,
WSearchLineEdit QAbstractScrollArea QScrollBar:horizontal,
WSearchLineEdit QAbstractScrollArea QScrollBar:vertical,
#fadeModeCombobox QAbstractScrollArea QScrollBar:horizontal,
#fadeModeCombobox QAbstractScrollArea QScrollBar:vertical {
background-color: #626f87;
Expand Down Expand Up @@ -682,13 +699,15 @@ WTrackTableViewHeader::down-arrow {
/* Scroll bars */
#LibraryContainer QScrollBar:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar:horizontal,
WSearchLineEdit QAbstractScrollArea QScrollBar:horizontal,
#fadeModeCombobox QAbstractScrollArea QScrollBar:horizontal {
min-width: 40px;
height: 18px;
padding: 0px;
}
#LibraryContainer QScrollBar:vertical,
WEffectSelector QAbstractScrollArea QScrollBar:vertical,
WSearchLineEdit QAbstractScrollArea QScrollBar:vertical,
#fadeModeCombobox QAbstractScrollArea QScrollBar:vertical {
min-height: 40px;
width: 18px;
Expand All @@ -699,6 +718,8 @@ WEffectSelector QAbstractScrollArea QScrollBar:vertical,
#LibraryContainer QScrollBar::sub-page,
WEffectSelector QAbstractScrollArea QScrollBar::add-page,
WEffectSelector QAbstractScrollArea QScrollBar::sub-page,
WSearchLineEdit QAbstractScrollArea QScrollBar::add-page,
WSearchLineEdit QAbstractScrollArea QScrollBar::sub-page,
#fadeModeCombobox QAbstractScrollArea QScrollBar::add-page,
#fadeModeCombobox QAbstractScrollArea QScrollBar::sub-page {
min-width: 14px;
Expand All @@ -709,6 +730,8 @@ WEffectSelector QAbstractScrollArea QScrollBar::sub-page,
#LibraryContainer QScrollBar::handle:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar::handle:vertical,
WEffectSelector QAbstractScrollArea QScrollBar::handle:horizontal,
WSearchLineEdit QAbstractScrollArea QScrollBar::handle:vertical,
WSearchLineEdit QAbstractScrollArea QScrollBar::handle:horizontal,
#fadeModeCombobox QAbstractScrollArea QScrollBar::handle:vertical,
#fadeModeCombobox QAbstractScrollArea QScrollBar::handle:horizontal {
background: #626f87;
Expand All @@ -717,11 +740,13 @@ WEffectSelector QAbstractScrollArea QScrollBar::handle:horizontal,
}
#LibraryContainer QScrollBar::handle:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar::handle:horizontal,
WSearchLineEdit QAbstractScrollArea QScrollBar::handle:horizontal,
#fadeModeCombobox QAbstractScrollArea QScrollBar::handle:horizontal {
min-width: 40px;
}
#LibraryContainer QScrollBar::handle:vertical,
WEffectSelector QAbstractScrollArea QScrollBar::handle:vertical,
WSearchLineEdit QAbstractScrollArea QScrollBar::handle:vertical,
#fadeModeCombobox QAbstractScrollArea QScrollBar::handle:vertical {
min-height: 40px;
}
Expand All @@ -730,6 +755,8 @@ WEffectSelector QAbstractScrollArea QScrollBar::handle:vertical,
#LibraryContainer QScrollBar::add-line:vertical,
WEffectSelector QAbstractScrollArea QScrollBar::add-line:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar::add-line:vertical,
WSearchLineEdit QAbstractScrollArea QScrollBar::add-line:horizontal,
WSearchLineEdit QAbstractScrollArea QScrollBar::add-line:vertical,
#fadeModeCombobox QAbstractScrollArea QScrollBar::add-line:horizontal,
#fadeModeCombobox QAbstractScrollArea QScrollBar::add-line:vertical {
width: 0px;
Expand All @@ -739,6 +766,8 @@ WEffectSelector QAbstractScrollArea QScrollBar::add-line:vertical,
#LibraryContainer QScrollBar::sub-line:vertical,
WEffectSelector QAbstractScrollArea QScrollBar::sub-line:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar::sub-line:vertical,
WSearchLineEdit QAbstractScrollArea QScrollBar::sub-line:horizontal,
WSearchLineEdit QAbstractScrollArea QScrollBar::sub-line:vertical,
#fadeModeCombobox QAbstractScrollArea QScrollBar::sub-line:horizontal,
#fadeModeCombobox QAbstractScrollArea QScrollBar::sub-line:vertical {
width: 0px;
Expand All @@ -748,6 +777,7 @@ WEffectSelector QAbstractScrollArea QScrollBar::sub-line:vertical,
/* Corner in between two scrollbars */
#LibraryContainer QAbstractScrollArea::corner,
WEffectSelector QAbstractScrollArea::corner,
WSearchLineEdit QAbstractScrollArea::corner,
#fadeModeCombobox QAbstractScrollArea::corner {
background-color: #0f0f0f;
border-top: 1px solid #585858;
Expand Down
7 changes: 7 additions & 0 deletions res/skins/Shade/style_dark.qss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ WEffectSelector,
WEffectSelector QAbstractScrollArea,
WEffectSelector::down-arrow,
WEffectSelector::indicator:unchecked,
WSearchLineEdit QAbstractScrollArea,
WSearchLineEdit::item,
#fadeModeCombobox QAbstractScrollArea,
#fadeModeCombobox::item,
#fadeModeCombobox::indicator:unchecked {
Expand Down Expand Up @@ -64,6 +66,7 @@ QLineEdit QMenu::item:selected,
WCoverArtMenu::item:selected,
WEffectSelector::item:selected,
WEffectSelector::indicator:unchecked:selected,
WSearchLineEdit::item:selected,
#fadeModeCombobox::item:selected,
#fadeModeCombobox::indicator:unchecked:selected {
background-color: #999;
Expand Down Expand Up @@ -222,6 +225,8 @@ WTrackTableView::indicator:unchecked:selected {
#LibraryContainer QScrollBar::sub-page,
WEffectSelector QAbstractScrollArea QScrollBar::add-page,
WEffectSelector QAbstractScrollArea QScrollBar::sub-page,
WSearchLineEdit QAbstractScrollArea QScrollBar::add-page,
WSearchLineEdit QAbstractScrollArea QScrollBar::sub-page,
#fadeModeCombobox QAbstractScrollArea QScrollBar::add-page,
#fadeModeCombobox QAbstractScrollArea QScrollBar::sub-page {
background-color: #000;
Expand All @@ -232,6 +237,8 @@ WTrackTableViewHeader::section,
#LibraryContainer QScrollBar::handle:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar::handle:vertical,
WEffectSelector QAbstractScrollArea QScrollBar::handle:horizontal,
WSearchLineEdit QAbstractScrollArea QScrollBar::handle:vertical,
WSearchLineEdit QAbstractScrollArea QScrollBar::handle:horizontal,
#fadeModeCombobox QAbstractScrollArea QScrollBar::handle:vertical,
#fadeModeCombobox QAbstractScrollArea QScrollBar::handle:horizontal {
background: #3f3041;
Expand Down
3 changes: 3 additions & 0 deletions res/skins/Shade/style_summer_sunset.qss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ WEffectSelector,
WEffectSelector QAbstractScrollArea,
WEffectSelector::down-arrow,
WEffectSelector::indicator:unchecked,
WSearchLineEdit QAbstractScrollArea,
WSearchLineEdit::item,
#fadeModeCombobox QAbstractScrollArea,
#fadeModeCombobox::item,
#fadeModeCombobox::indicator:unchecked {
Expand Down Expand Up @@ -73,6 +75,7 @@ QLineEdit QMenu::item:selected,
WCoverArtMenu::item:selected,
WEffectSelector::item:selected,
WEffectSelector::indicator:unchecked:selected,
WSearchLineEdit::item:selected,
#fadeModeCombobox::item:selected,
#fadeModeCombobox::indicator:unchecked:selected {
background-color: #d9c663;
Expand Down

0 comments on commit 3f43ed7

Please sign in to comment.