This commit is contained in:
syuilo 2018-10-19 06:57:57 +09:00
parent 6c1f1ffdb1
commit f11ef93a81
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
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,7 +24,10 @@ export default Vue.extend({
margin 16px
color var(--faceText)
background var(--face)
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)
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
padding 16px

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