mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 13:13:08 +02:00
✌️
This commit is contained in:
parent
eb325b46b2
commit
34d570aaeb
2 changed files with 5 additions and 2 deletions
|
@ -88,6 +88,6 @@ export default define({
|
|||
padding 8px 16px
|
||||
|
||||
&:nth-child(even)
|
||||
background #e2e2e2
|
||||
background rgba(0, 0, 0, 0.05)
|
||||
|
||||
</style>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue