Fixed some cards not animating elevation change

This commit is contained in:
Stefan Zermatten
2021-03-25 13:08:48 +02:00
parent fe3fa56541
commit ccac142ec6
3 changed files with 8 additions and 2 deletions

View File

@@ -2,7 +2,6 @@
<v-card
class="action-card"
:class="cardClasses"
:elevation="hovering ? 8 : undefined"
>
<div class="layout align-center px-3">
<div class="avatar">
@@ -157,6 +156,7 @@ export default {
'theme--light': !this.theme.isDark,
'muted-text': this.model.insufficientResources,
'shrink': this.activated,
'elevation-8': this.hovering,
}
},
actionTypeIcon() {
@@ -199,6 +199,9 @@ export default {
</script>
<style lang="css" scoped>
.action-card {
transition: box-shadow .4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.action-title {
font-size: 16px;
font-weight: 400;

View File

@@ -78,6 +78,9 @@
</script>
<style lang="css" scoped>
.resource-card {
transition: box-shadow .4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.resource-card > div {
padding-top: 16px;
padding-bottom: 16px;

View File

@@ -47,7 +47,7 @@ Meteor.startup(() => {
theme: {
dark: false,
themes,
options: { customProperties: true },
//options: { customProperties: true },
},
icons: {
iconfont: 'md',