Skip to content

Commit aa47b4b

Browse files
emyarodshixiedesign
authored andcommitted
fix: remove input field hover states (#2850)
1 parent 536fcf1 commit aa47b4b

File tree

5 files changed

+0
-24
lines changed

5 files changed

+0
-24
lines changed

packages/components/src/components/number-input/_number-input.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@
4747
@include focus-outline('outline');
4848
}
4949

50-
&:hover {
51-
background-color: $hover-field;
52-
}
53-
5450
&:disabled {
5551
cursor: not-allowed;
5652
background-color: $disabled-background-color;

packages/components/src/components/search/_search.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@
4646
outline $duration--fast-02 motion(standard, productive);
4747
border-bottom: 1px solid $ui-04;
4848

49-
&:hover {
50-
background-color: $hover-field;
51-
}
52-
5349
&:focus {
5450
@include focus-outline('outline');
5551
}
@@ -178,10 +174,6 @@
178174
}
179175
}
180176

181-
.#{$prefix}--search-input:hover ~ .#{$prefix}--search-close::before {
182-
background-color: $hover-field;
183-
}
184-
185177
.#{$prefix}--search-input:focus ~ .#{$prefix}--search-close:hover {
186178
@include focus-outline('outline');
187179
}

packages/components/src/components/slider/_slider.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,6 @@
126126
&::-webkit-inner-spin-button {
127127
display: none;
128128
}
129-
130-
&:hover {
131-
background-color: $hover-field;
132-
}
133129
}
134130

135131
.#{$prefix}--slider__thumb:focus ~ .#{$prefix}--slider__filled-track {

packages/components/src/components/text-area/_text-area.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@
6060
}
6161
}
6262

63-
.#{$prefix}--text-area:hover {
64-
background-color: $hover-field;
65-
}
66-
6763
.#{$prefix}--text-area:focus,
6864
.#{$prefix}--text-area:active {
6965
@include focus-outline('outline');

packages/components/src/components/text-input/_text-input.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
transition: background-color $duration--fast-01 motion(standard, productive),
3434
outline $duration--fast-01 motion(standard, productive);
3535

36-
&:hover {
37-
background-color: $hover-field;
38-
}
39-
4036
&:focus,
4137
&:active {
4238
@include focus-outline('outline');

0 commit comments

Comments
 (0)