Closed
Description
Preconditions
- FE theme inherited from Luma
Steps to reproduce
- In Custom/theme/web/css/source/_theme.less set less variables:
@select__background: rgba(255, 255, 255, 0.15);
@select__border: 2px dashed blue;
@select__height: 50px;
@select__padding: 15px 40px 15px 15px;
@select__background-clip: border-box; - Compile less
Expected result
Have "select" elements with the styles you set in _theme.less
Actual result
"select" elements have different styles
What causes the issue
web/css/source/_forms.less overrides some "select" styles defined with "@select__" variables
Solution
Remove styles for background, border, height, padding-right from web/css/source/_forms.less and set these styles in _theme.less