Skip to content

Commit

Permalink
Tango: fix checkmark of effects & AutoDJ mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Nov 30, 2021
1 parent d1cd681 commit 7993053
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
8 changes: 7 additions & 1 deletion res/skins/Tango/buttons/btn_lib_checkmark_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 12 additions & 9 deletions res/skins/Tango/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -1806,8 +1806,9 @@ decks, samplers, mic, aux, fx */
WEffectSelector::down-arrow,
WEffectChainPresetButton::menu-indicator,
#fadeModeCombobox::down-arrow {
/* With a fixed size and the skin being scaled, the bg-color
would be applied to the (unscaled!) button image only.
/* With a fixed size and the skin being scaled
* button icon is not scaled
* bg-color is applied only to the icon rectangle
background-color: #101010;
width: 11px;
height: 20px; */
Expand Down Expand Up @@ -1866,13 +1867,17 @@ decks, samplers, mic, aux, fx */
won't change. Also, only with this option the hover bg color defined
above will be applied... it's qt magic
background: #0081B7; */
margin: 3px;
margin: 3px 3px 3px 6px;
image: url(skin:/../Tango/buttons/btn_lib_checkmark_white.svg) no-repeat center center;
}
WEffectSelector::indicator:!checked,
WEffectChainPresetSelector::indicator:!checked,
#fadeModeCombobox::indicator:!checked {
image: url(skin:/../Tango/buttons/btn_.svg) no-repeat center center;
/* Wtf?
This removes 3D border from unchecked effects checkmark space.
But: his will also prevent the icons from being scaled up,
so set desired size in the svg itself. */
WEffectSelector::item:selected,
WEffectChainPresetSelector::item:selected,
#fadeModeCombobox::item:selected {
border: 0px;
}

#FxParametersLeft {
Expand Down Expand Up @@ -2348,8 +2353,6 @@ WEffectChainPresetSelector::item:selected,
color: #fff;
/* remove OS focus indicator */
outline: none;
/* Remove 3D border from unchecked effects checkmark space */
border: 0px;
}

/* disabled menu items and checkboxes */
Expand Down

0 comments on commit 7993053

Please sign in to comment.