Skip to content

Commit 22b92ba

Browse files
author
Guillaume Chau
committedJun 15, 2018
feat(ui): better item logo animation
1 parent e6c7546 commit 22b92ba

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed
 

‎packages/@vue/cli-ui/src/components/ItemLogo.vue

+3-2
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export default {
115115
width 100%
116116
height @width
117117
transform scale(0)
118+
border-radius 50%
118119
.vue-ui-icon
119120
width 24px
120121
height @width
@@ -145,13 +146,13 @@ export default {
145146
146147
&.loaded
147148
.image
148-
animation zoom .1s
149+
animation zoom .5s $ease
149150
transform none
150151
151152
&.selected,
152153
&.error
153154
.wrapper
154-
animation zoom .1s
155+
animation zoom .5s $ease
155156
156157
&.selected
157158
.wrapper

‎packages/@vue/cli-ui/src/components/SuggestionBarItem.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ export default {
137137
138138
.suggestion-enter-active,
139139
.suggestion-leave-active
140-
transition all 1.5s cubic-bezier(0.075, 0.820, 0.165, 1.000)
140+
transition all 1.5s $ease
141141
>>> .vue-ui-button
142-
transition all 1.5s cubic-bezier(0.075, 0.820, 0.165, 1.000)
142+
transition all 1.5s $ease
143143
.content
144144
transition all .2s
145145
+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
$padding-item = 16px
22
$font-mono = 'Roboto Mono', monospace
3+
$ease = cubic-bezier(0.075, 0.820, 0.165, 1.000)

0 commit comments

Comments
 (0)