0
0
This commit is contained in:
syuilo 2018-02-24 03:33:27 +09:00
parent eb325b46b2
commit 34d570aaeb
2 changed files with 5 additions and 2 deletions

View File

@ -88,6 +88,6 @@ export default define({
padding 8px 16px
&:nth-child(even)
background #e2e2e2
background rgba(0, 0, 0, 0.05)
</style>

View File

@ -1,5 +1,5 @@
<template>
<div class="mk-widget-container" :class="{ naked }">
<div class="mk-widget-container" :class="{ naked, hideHeader: !showHeader }">
<header v-if="showHeader">
<div class="title"><slot name="header"></slot></div>
<slot name="func"></slot>
@ -31,6 +31,9 @@ export default Vue.extend({
box-shadow 0 0 0 1px rgba(0, 0, 0, 0.2)
overflow hidden
&.hideHeader
background #fff
&.naked
background transparent !important
box-shadow none !important