🎨
This commit is contained in:
parent
1e61ea1591
commit
518f6e9677
|
@ -25,15 +25,12 @@ export default Vue.extend({
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
.mk-widget-container
|
root(isDark)
|
||||||
background #eee
|
background isDark ? #21242f : #eee
|
||||||
border-radius 8px
|
border-radius 8px
|
||||||
box-shadow 0 0 0 1px rgba(#000, 0.2)
|
box-shadow 0 4px 16px rgba(#000, 0.1)
|
||||||
overflow hidden
|
overflow hidden
|
||||||
|
|
||||||
&.hideHeader
|
|
||||||
background #fff
|
|
||||||
|
|
||||||
&.naked
|
&.naked
|
||||||
background transparent !important
|
background transparent !important
|
||||||
box-shadow none !important
|
box-shadow none !important
|
||||||
|
@ -44,8 +41,8 @@ export default Vue.extend({
|
||||||
padding 8px 10px
|
padding 8px 10px
|
||||||
font-size 15px
|
font-size 15px
|
||||||
font-weight normal
|
font-weight normal
|
||||||
color #465258
|
color isDark ? #b8c5cc : #465258
|
||||||
background #fff
|
background isDark ? #282c37 : #fff
|
||||||
border-radius 8px 8px 0 0
|
border-radius 8px 8px 0 0
|
||||||
|
|
||||||
> [data-fa]
|
> [data-fa]
|
||||||
|
@ -65,4 +62,10 @@ export default Vue.extend({
|
||||||
font-size 15px
|
font-size 15px
|
||||||
color #465258
|
color #465258
|
||||||
|
|
||||||
|
.mk-widget-container[data-darkmode]
|
||||||
|
root(true)
|
||||||
|
|
||||||
|
.mk-widget-container:not([data-darkmode])
|
||||||
|
root(false)
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -141,17 +141,24 @@ export default Vue.extend({
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
main
|
main
|
||||||
margin 0 auto
|
margin 0 auto
|
||||||
|
padding 8px
|
||||||
max-width 500px
|
max-width 500px
|
||||||
|
|
||||||
@media (min-width 500px)
|
@media (min-width 500px)
|
||||||
padding 8px
|
padding 16px 8px
|
||||||
|
|
||||||
|
@media (min-width 600px)
|
||||||
|
padding 32px 8px
|
||||||
|
|
||||||
> header
|
> header
|
||||||
padding 8px
|
padding 8px
|
||||||
background #fff
|
background #fff
|
||||||
|
|
||||||
.widget
|
.widget
|
||||||
margin 8px
|
margin-bottom 8px
|
||||||
|
|
||||||
|
@media (min-width 600px)
|
||||||
|
margin-bottom 16px
|
||||||
|
|
||||||
.customize-container
|
.customize-container
|
||||||
margin 8px
|
margin 8px
|
||||||
|
|
Loading…
Reference in a new issue