This commit is contained in:
syuilo 2018-10-19 06:57:57 +09:00
parent 443f5384a7
commit 67bfcc59e4
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="ui-card">
<div class="ui-card" :class="{ shadow: $store.state.settings.useShadow }">
<header>
<slot name="title"></slot>
</header>
@ -24,6 +24,9 @@ export default Vue.extend({
margin 16px
color var(--faceText)
background var(--face)
border-radius var(--round)
&.shadow
box-shadow 0 3px 1px -2px rgba(#000, 0.2), 0 2px 2px 0 rgba(#000, 0.14), 0 1px 5px 0 rgba(#000, 0.12)
> header

View File

@ -573,7 +573,8 @@ export default Vue.extend({
height 100%
padding 16px 0 0 0
overflow auto
border-right solid 1px var(--faceDivider)
box-shadow var(--shadowRight)
z-index 1
> p
display block