Skip to content

Commit

Permalink
Tango: add searchbox styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Dec 12, 2021
1 parent 070f3b8 commit aed8ace
Showing 1 changed file with 31 additions and 10 deletions.
41 changes: 31 additions & 10 deletions res/skins/Tango/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ WBeatSpinBox,
WOverview #PassthroughLabel,
WCueMenuPopup,
WEffectName,
WEffectSelector,
WEffectSelector QAbstractScrollArea,
WEffectChainPresetSelector,
WEffectChainPresetSelector QAbstractScrollArea,
#fadeModeCombobox,
#fadeModeCombobox QAbstractScrollArea,
WLibraryTextBrowser,
WLibrary QPushButton,
WLibrary QLabel,
Expand All @@ -60,6 +54,9 @@ WLibraryTextBrowser QMenu,
WOverview, /* Hotcue labels in the overview */
WEffectSelector,
WEffectSelector QAbstractScrollArea,
WEffectChainPresetSelector,
WEffectChainPresetSelector QAbstractScrollArea,
WSearchLineEdit QAbstractScrollArea,
#fadeModeCombobox,
#fadeModeCombobox QAbstractScrollArea,
/* With 'Ubuntu' font the header section titles would always be top-aligned... */
Expand Down Expand Up @@ -1788,6 +1785,7 @@ decks, samplers, mic, aux, fx */
WEffectChainPresetButton::menu-indicator,
WEffectSelector::down-arrow,
WEffectChainPresetSelector::down-arrow,
WSearchLineEdit::down-arrow,
#fadeModeCombobox::down-arrow {
/* When the skin is scaled, bg-color would be applied
to the (not scaled) button image only:
Expand All @@ -1799,12 +1797,14 @@ decks, samplers, mic, aux, fx */
WEffectChainPresetButton::menu-indicator:hover,
WEffectSelector::down-arrow:hover,
WEffectChainPresetSelector::down-arrow:hover,
WSearchLineEdit::down-arrow:hover,
#fadeModeCombobox::down-arrow:hover {
image: url(skin:/../Tango/buttons/btn_arrow_down_hover.svg) no-repeat center center;
}

WEffectSelector QAbstractScrollArea,
WEffectChainPresetSelector QAbstractScrollArea,
WSearchLineEdit QAbstractScrollArea,
#fadeModeCombobox QAbstractScrollArea {
border-radius: 2px;
margin: 0px;
Expand Down Expand Up @@ -2174,8 +2174,12 @@ WEffectSelector::checked, /* selected item */
WEffectSelector::indicator, /* checkbox, tick mark */
WEffectSelector::drop-down,
WEffectSelector::indicator:unchecked,
#fadeModeCombobox::checked, /* selected mode */
#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 {
padding: 0px;
Expand Down Expand Up @@ -2266,6 +2270,7 @@ WEffectChainPresetButton QMenu,
WEffectChainPresetButton QMenu::item,
WEffectChainPresetButton QMenu QCheckBox,
WEffectChainPresetSelector QAbstractScrollArea,
WSearchLineEdit QAbstractScrollArea,
#fadeModeCombobox, #fadeModeCombobox QAbstractScrollArea,
#fadeModeCombobox QAbstractScrollArea::item {
background-color: #1a1a1a;
Expand All @@ -2284,6 +2289,7 @@ WCoverArtMenu,
WEffectSelector QAbstractScrollArea,
WEffectChainPresetButton QMenu,
WEffectChainPresetSelector QAbstractScrollArea,
WSearchLineEdit QAbstractScrollArea,
#fadeModeCombobox QAbstractScrollArea {
border: 1px solid #888;
border-radius: 2px;
Expand Down Expand Up @@ -2312,8 +2318,9 @@ WTrackMenu QMenu QCheckBox:focus,
WTrackMenu QMenu QCheckBox:hover,
QLineEdit QMenu::item:selected,
WCoverArtMenu::item:selected,
#fadeModeCombobox::item:selected,
WEffectSelector::item:selected {
WEffectSelector::item:selected,
WSearchLineEdit::item:selected,
#fadeModeCombobox::item:selected {
background-color: #555;
color: #fff;
/* remove OS focus indicator */
Expand Down Expand Up @@ -2647,12 +2654,14 @@ WLibraryTextBrowser {
#LibraryContainer QScrollBar,
WEffectSelector QAbstractScrollArea QScrollBar,
WEffectChainPresetSelector QAbstractScrollArea QScrollBar,
WSearchLineEdit QAbstractScrollArea QScrollBar,
#fadeModeCombobox QAbstractScrollArea QScrollBar {
padding: 1px;
}
#LibraryContainer QScrollBar:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar:horizontal,
WEffectChainPresetSelector QAbstractScrollArea QScrollBar:horizontal,
WSearchLineEdit QAbstractScrollArea QScrollBar:horizontal,
#fadeModeCombobox QAbstractScrollArea QScrollBar:horizontal {
min-width: 12px;
height: 10px;
Expand All @@ -2662,6 +2671,7 @@ WEffectChainPresetSelector QAbstractScrollArea QScrollBar:horizontal,
#LibraryContainer QScrollBar:vertical,
WEffectSelector QAbstractScrollArea QScrollBar:vertical,
WEffectChainPresetSelector QAbstractScrollArea QScrollBar:vertical,
WSearchLineEdit QAbstractScrollArea QScrollBar:vertical,
#fadeModeCombobox QAbstractScrollArea QScrollBar:vertical {
min-height: 12px;
width: 10px;
Expand All @@ -2675,6 +2685,8 @@ WEffectChainPresetSelector QAbstractScrollArea QScrollBar:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar::sub-page,
WEffectChainPresetSelector QAbstractScrollArea QScrollBar::add-page,
WEffectChainPresetSelector 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: 15px;
Expand All @@ -2684,6 +2696,7 @@ WEffectChainPresetSelector QAbstractScrollArea QScrollBar:horizontal,
#LibraryContainer QScrollBar::handle:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar::handle:horizontal,
WEffectChainPresetSelector QAbstractScrollArea QScrollBar::handle:horizontal,
WSearchLineEdit QAbstractScrollArea QScrollBar::handle:horizontal,
#fadeModeCombobox QAbstractScrollArea QScrollBar::handle:horizontal {
min-width: 25px;
background: #595959;
Expand All @@ -2692,12 +2705,14 @@ WEffectChainPresetSelector QAbstractScrollArea QScrollBar:horizontal,
#LibraryContainer QScrollBar::handle:horizontal:hover,
WEffectSelector QAbstractScrollArea QScrollBar::handle:horizontal:hover,
WEffectChainPresetSelector QAbstractScrollArea QScrollBar::handle:horizontal:hover,
WSearchLineEdit QAbstractScrollArea QScrollBar::handle:horizontal:hover,
#fadeModeCombobox QAbstractScrollArea QScrollBar::handle:horizontal:hover {
background: #888;
}
#LibraryContainer QScrollBar::handle:vertical,
WEffectSelector QAbstractScrollArea QScrollBar::handle:vertical,
WEffectChainPresetSelector QAbstractScrollArea QScrollBar::handle:vertical,
WSearchLineEdit QAbstractScrollArea QScrollBar::handle:vertical,
#fadeModeCombobox QAbstractScrollArea QScrollBar::handle:vertical {
min-height: 25px;
background: #595959;
Expand All @@ -2706,6 +2721,7 @@ WEffectChainPresetSelector QAbstractScrollArea QScrollBar:horizontal,
#LibraryContainer QScrollBar::handle:vertical:hover,
WEffectSelector QAbstractScrollArea QScrollBar::handle:vertical:hover,
WEffectChainPresetSelector QAbstractScrollArea QScrollBar::handle:vertical:hover,
WSearchLineEdit QAbstractScrollArea QScrollBar::handle:vertical:hover,
#fadeModeCombobox QAbstractScrollArea QScrollBar::handle:vertical:hover {
background: #888;
}
Expand All @@ -2716,6 +2732,8 @@ WEffectChainPresetSelector QAbstractScrollArea QScrollBar:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar::add-line:vertical,
WEffectChainPresetSelector QAbstractScrollArea QScrollBar::add-line:horizontal,
WEffectChainPresetSelector 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 @@ -2727,6 +2745,8 @@ WEffectChainPresetSelector QAbstractScrollArea QScrollBar:horizontal,
WEffectSelector QAbstractScrollArea QScrollBar::sub-line:vertical,
WEffectChainPresetSelector QAbstractScrollArea QScrollBar::sub-line:horizontal,
WEffectChainPresetSelector 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 @@ -2736,6 +2756,7 @@ WEffectChainPresetSelector QAbstractScrollArea QScrollBar:horizontal,
#LibraryContainer QAbstractScrollArea::corner,
WEffectSelector QAbstractScrollArea::corner,
WEffectChainPresetSelector QAbstractScrollArea::corner,
WSearchLineEdit QAbstractScrollArea::corner,
#fadeModeCombobox QAbstractScrollArea::corner {
background-color: #0f0f0f;
border: 0px;
Expand Down

0 comments on commit aed8ace

Please sign in to comment.