Skip to content

Commit d3184ac

Browse files
1 parent 79613c0 commit d3184ac

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

app/design/frontend/Magento/luma/web/css/source/_forms.less

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,7 @@
9191
.select-styling() {
9292
.lib-css(appearance, none, 1);
9393
appearance: none;
94-
background: @select__background url('../images/select-bg.svg') no-repeat 100% 45%;
9594
background-size: 30px 60px;
96-
border: 1px solid @border-color__base;
97-
height: 32px;
98-
padding-right: 25px;
9995
text-indent: .01em;
10096
text-overflow: '';
10197

app/design/frontend/Magento/luma/web/css/source/_theme.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,13 @@
153153
// Forms
154154
// ---------------------------------------------
155155

156+
157+
// Select
158+
@select__background: @form-element-input__background url('../images/select-bg.svg') no-repeat 100% 45%;
159+
@select__border: 1px solid @border-color__base;
160+
@select__height: 32px;
161+
@select__padding: 4px 25px @indent__xs @indent__s;
162+
156163
// Form fieldset
157164
@form-fieldset-legend__font-size: 18px;
158165
@form-fieldset-legend__font-weight: @font-weight__light;

lib/web/css/source/lib/variables/_forms.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
@select__disabled__font-style: @form-element-input__disabled__font-style;
122122

123123
// Focus state
124-
@select__focus__background: @form-element-input__focus__background;
124+
@select__focus__background: false;
125125
@select__focus__border: @form-element-input__focus__border;
126126
@select__focus__color: @form-element-input__focus__color;
127127
@select__focus__font-style: @form-element-input__focus__font-style;

0 commit comments

Comments
 (0)