forked from FoundKeyGang/FoundKey
wip
This commit is contained in:
parent
016c7fd2c4
commit
47d4de75da
1 changed files with 4 additions and 13 deletions
|
@ -25,8 +25,8 @@ export default Vue.extend({
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
root(isDark)
|
.mk-widget-container
|
||||||
background isDark ? #21242f : #eee
|
background var(--face)
|
||||||
border-radius 8px
|
border-radius 8px
|
||||||
box-shadow 0 4px 16px rgba(#000, 0.1)
|
box-shadow 0 4px 16px rgba(#000, 0.1)
|
||||||
overflow hidden
|
overflow hidden
|
||||||
|
@ -35,17 +35,14 @@ root(isDark)
|
||||||
background transparent !important
|
background transparent !important
|
||||||
box-shadow none !important
|
box-shadow none !important
|
||||||
|
|
||||||
&.hideHeader
|
|
||||||
background isDark ? #21242f : #fff
|
|
||||||
|
|
||||||
> header
|
> header
|
||||||
> .title
|
> .title
|
||||||
margin 0
|
margin 0
|
||||||
padding 8px 10px
|
padding 8px 10px
|
||||||
font-size 15px
|
font-size 15px
|
||||||
font-weight normal
|
font-weight normal
|
||||||
color isDark ? #b8c5cc : #465258
|
color var(--faceHeaderText)
|
||||||
background var(--face)
|
background var(--faceHeader)
|
||||||
border-radius 8px 8px 0 0
|
border-radius 8px 8px 0 0
|
||||||
|
|
||||||
> [data-fa]
|
> [data-fa]
|
||||||
|
@ -65,10 +62,4 @@ root(isDark)
|
||||||
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>
|
||||||
|
|
Loading…
Reference in a new issue