Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 25b7680

Browse files
devversionjelbourn
authored andcommitted
update(autocomplete): remove unused css keyframes (#9896)
* The autocomplete used in the "very early" stages of its implementation some special keyframe for the dropdown entering / leaving. * Those have been replaced with a simple opacity transition and the old keyframes are just unsuded and bloating the component SCSS.
1 parent 348f6c0 commit 25b7680

File tree

1 file changed

+4
-35
lines changed

1 file changed

+4
-35
lines changed

src/components/autocomplete/autocomplete.scss

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,6 @@
11
// The default item height is also specified in the JavaScript.
22
$md-autocomplete-item-height: 48px !default;
33

4-
@keyframes md-autocomplete-list-out {
5-
0% {
6-
animation-timing-function: linear;
7-
}
8-
50% {
9-
opacity: 0;
10-
height: 40px;
11-
animation-timing-function: ease-in;
12-
}
13-
100% {
14-
height: 0;
15-
opacity: 0;
16-
}
17-
}
18-
19-
@keyframes md-autocomplete-list-in {
20-
0% {
21-
opacity: 0;
22-
height: 0;
23-
animation-timing-function: ease-out;
24-
}
25-
50% {
26-
opacity: 0;
27-
height: 40px;
28-
}
29-
100% {
30-
opacity: 1;
31-
height: 40px;
32-
}
33-
}
34-
354
md-autocomplete {
365
border-radius: 2px;
376
display: block;
@@ -50,7 +19,7 @@ md-autocomplete {
5019
height: auto;
5120

5221
md-input-container {
53-
padding-bottom: 0px;
22+
padding-bottom: 0;
5423
}
5524
md-autocomplete-wrap {
5625
height: auto;
@@ -80,9 +49,9 @@ md-autocomplete {
8049

8150
md-input-container, input {
8251
// Layout [flex]
83-
flex:1 1 0%;
84-
box-sizing:border-box;
85-
min-width :0;
52+
flex: 1 1 0%;
53+
box-sizing: border-box;
54+
min-width : 0;
8655
}
8756

8857
md-progress-linear {

0 commit comments

Comments
 (0)