Skip to content

Commit

Permalink
Fix animations
Browse files Browse the repository at this point in the history
  • Loading branch information
jolzee committed Feb 20, 2020
1 parent 1c458b9 commit dfe92ca
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 20 deletions.
10 changes: 5 additions & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<!-- <AssistiveText ref="assistiveText" v-model="accessibleAnouncement"></AssistiveText> -->
<transition
name="system-bar-transition"
enter-active-class="animated fadeInRightBig"
leave-active-class="animated fadeOutRightBig"
enter-active-class="fadeInRightBig"
leave-active-class="fadeOutRightBig"
>
<v-system-bar
window
Expand Down Expand Up @@ -89,8 +89,8 @@
<!-- start menu -->
<transition
name="menu-transition"
enter-active-class="animated slideInRight"
leave-active-class="animated slideOutRight"
enter-active-class="slideInRight"
leave-active-class="slideOutRight"
>
<v-navigation-drawer
app
Expand Down Expand Up @@ -1136,7 +1136,7 @@ export default {
}
.leopard-open-close-button.v-btn--fab:hover {
color: rgba(12, 161, 22, 0.552) !important;
color: rgb(25, 233, 39) !important;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
Expand Down
4 changes: 2 additions & 2 deletions src/components/ConfigAddEditSolution.vue
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@
<v-row align="center" justify="center" style=" height: 300px;min-height: 300px;">
<transition
name="leoaprd-transition"
:enter-active-class="'animated ' + solution.animations.in"
:leave-active-class="'animated ' + solution.animations.out"
:enter-active-class="solution.animations.in"
:leave-active-class="solution.animations.out"
>
<v-img
v-if="showLeopardAnimationImage"
Expand Down
14 changes: 5 additions & 9 deletions src/components/Dialog.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<transition
name="leopard-dialog-transition"
enter-active-class="animated flipInY"
leave-active-class="animated fadeOutRightBig"
enter-active-class="flipInY"
leave-active-class="fadeOutRightBig"
>
<v-dialog
v-show="show"
Expand All @@ -26,8 +26,7 @@
type="info"
elevation="2"
@click="overlay = false"
>"Welcome to my dialog!!"</v-alert
>
>"Welcome to my dialog!!"</v-alert>
</v-overlay>
</v-fade-transition>
<v-system-bar
Expand All @@ -48,12 +47,9 @@
tag="button"
:aria-label="fullscreen ? 'Restore dialog size' : 'Maximize dialog'"
@click="toggleFullscreen"
>{{ fullscreen ? "mdi-window-restore" : "mdi-window-maximize" }}</v-icon
>
>{{ fullscreen ? "mdi-window-restore" : "mdi-window-maximize" }}</v-icon>

<v-icon tag="button" aria-label="Close dialog" tabindex="0" @click="close"
>mdi-close</v-icon
>
<v-icon tag="button" aria-label="Close dialog" tabindex="0" @click="close">mdi-close</v-icon>
</v-system-bar>

<v-app-bar :color="`primary ${textColor('primary')}`" dense>
Expand Down
4 changes: 2 additions & 2 deletions src/components/ImageAnimation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- <transition
v-if="url"
name="modal-image-transition"
enter-active-class="animated zoomIn"
>-->
enter-active-class="zoomIn"
>-->
<v-img
v-if="url"
:src="url"
Expand Down
4 changes: 2 additions & 2 deletions src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ function storeSetup(vuetify) {
}
let animation = "";
if ("animations" in state.activeSolution && !getters.embed) {
animation = "animated " + state.activeSolution.animations.in;
animation = state.activeSolution.animations.in;
}
return animation;
},
Expand All @@ -284,7 +284,7 @@ function storeSetup(vuetify) {
}
let animation = "";
if ("animations" in state.activeSolution && !getters.embed) {
animation = "animated " + state.activeSolution.animations.out;
animation = state.activeSolution.animations.out;
}
return animation;
},
Expand Down

0 comments on commit dfe92ca

Please sign in to comment.