File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed
Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,20 @@ export default {
2121 <cc-nav-bar v-show =" shouldShowNavigation" ></cc-nav-bar >
2222 <cc-alerts ></cc-alerts >
2323 <div class =" container" >
24- <router-view ></router-view >
24+ <transition name =" fade" >
25+ <router-view ></router-view >
26+ </transition >
2527 </div >
2628 </div >
2729</template >
2830
2931<style lang="sass" src="assets/sass/app.scss "></style >
32+
33+ <style scoped>
34+ .fade-enter-active {
35+ transition : opacity .5s ease ;
36+ }
37+ .fade-enter {
38+ opacity : 0 ;
39+ }
40+ </style >
Original file line number Diff line number Diff line change 226226 <!-- Form to create/edit will be inserted here -->
227227 <!-- when navigate to /nova or /editar/{id} -->
228228 <!-- see /src/modules/categories/routes.js -->
229- <transition name =" slide " >
229+ <transition name =" fade " >
230230 <router-view ></router-view >
231231 </transition >
232232
237237 <th colspan =" 2" >Category</th >
238238 </tr >
239239 </thead >
240- <tbody :class = " { blur: fetching } " >
240+ <tbody >
241241 <tr v-for =" category in categories" >
242242 <td width =" 1%" nowrap >{{ category.id }}</td >
243243 <td >{{ category.name }}</td >
276276 .button-within-header {
277277 margin-top : 32px ;
278278 }
279- .blur {
280- filter : blur (7px );
281- }
282- .slide-enter-active , .slide-leave-active {
279+ .fade-enter-active , .fade-leave-active {
283280 transition : opacity .7s ease ;
284281 }
285- .slide -enter , .slide -leave-active {
282+ .fade -enter , .fade -leave-active {
286283 opacity : 0 ;
287284 }
288285 </style >
You can’t perform that action at this time.
0 commit comments