2018-02-14 20:36:42 -07:00
|
|
|
<template>
|
|
|
|
<div class="mkw-nav">
|
2018-02-23 10:46:09 -07:00
|
|
|
<mk-widget-container>
|
2018-04-19 16:45:37 -06:00
|
|
|
<div class="mkw-nav--body">
|
2018-02-23 10:46:09 -07:00
|
|
|
<mk-nav/>
|
|
|
|
</div>
|
|
|
|
</mk-widget-container>
|
2018-02-14 20:36:42 -07:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2018-02-24 08:18:09 -07:00
|
|
|
import define from '../../../common/define-widget';
|
2018-02-14 20:36:42 -07:00
|
|
|
export default define({
|
|
|
|
name: 'nav'
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2018-04-19 16:45:37 -06:00
|
|
|
<style lang="stylus" scoped>
|
|
|
|
root(isDark)
|
|
|
|
.mkw-nav--body
|
|
|
|
padding 16px
|
|
|
|
font-size 12px
|
|
|
|
color isDark ? #9aa4b3 : #aaa
|
2018-09-26 05:28:13 -06:00
|
|
|
background var(--face)
|
2018-02-14 20:36:42 -07:00
|
|
|
|
2018-04-19 16:45:37 -06:00
|
|
|
a
|
|
|
|
color isDark ? #9aa4b3 : #999
|
2018-02-14 20:36:42 -07:00
|
|
|
|
2018-04-19 16:45:37 -06:00
|
|
|
i
|
|
|
|
color isDark ? #9aa4b3 : #ccc
|
|
|
|
|
|
|
|
.mkw-nav[data-darkmode]
|
|
|
|
root(true)
|
|
|
|
|
|
|
|
.mkw-nav:not([data-darkmode])
|
|
|
|
root(false)
|
2018-02-14 20:36:42 -07:00
|
|
|
|
|
|
|
</style>
|