Fixed some cards not animating elevation change
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
<v-card
|
<v-card
|
||||||
class="action-card"
|
class="action-card"
|
||||||
:class="cardClasses"
|
:class="cardClasses"
|
||||||
:elevation="hovering ? 8 : undefined"
|
|
||||||
>
|
>
|
||||||
<div class="layout align-center px-3">
|
<div class="layout align-center px-3">
|
||||||
<div class="avatar">
|
<div class="avatar">
|
||||||
@@ -157,6 +156,7 @@ export default {
|
|||||||
'theme--light': !this.theme.isDark,
|
'theme--light': !this.theme.isDark,
|
||||||
'muted-text': this.model.insufficientResources,
|
'muted-text': this.model.insufficientResources,
|
||||||
'shrink': this.activated,
|
'shrink': this.activated,
|
||||||
|
'elevation-8': this.hovering,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
actionTypeIcon() {
|
actionTypeIcon() {
|
||||||
@@ -199,6 +199,9 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="css" scoped>
|
<style lang="css" scoped>
|
||||||
|
.action-card {
|
||||||
|
transition: box-shadow .4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||||
|
}
|
||||||
.action-title {
|
.action-title {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|||||||
@@ -78,6 +78,9 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="css" scoped>
|
<style lang="css" scoped>
|
||||||
|
.resource-card {
|
||||||
|
transition: box-shadow .4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||||
|
}
|
||||||
.resource-card > div {
|
.resource-card > div {
|
||||||
padding-top: 16px;
|
padding-top: 16px;
|
||||||
padding-bottom: 16px;
|
padding-bottom: 16px;
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ Meteor.startup(() => {
|
|||||||
theme: {
|
theme: {
|
||||||
dark: false,
|
dark: false,
|
||||||
themes,
|
themes,
|
||||||
options: { customProperties: true },
|
//options: { customProperties: true },
|
||||||
},
|
},
|
||||||
icons: {
|
icons: {
|
||||||
iconfont: 'md',
|
iconfont: 'md',
|
||||||
|
|||||||
Reference in New Issue
Block a user