rudeshark.net/src/client/app/desktop/views/pages/deck/deck.vue

46 lines
815 B
Vue
Raw Normal View History

2018-06-05 14:36:21 +02:00
<template>
<mk-ui :class="$style.root">
<div class="qlvquzbjribqcaozciifydkngcwtyzje">
2018-06-05 15:54:03 +02:00
<x-tl-column src="home"/>
2018-06-05 16:19:04 +02:00
<x-notifications-column/>
2018-06-05 15:54:03 +02:00
<x-tl-column src="local"/>
<x-tl-column src="global"/>
2018-06-05 14:36:21 +02:00
</div>
</mk-ui>
</template>
<script lang="ts">
import Vue from 'vue';
2018-06-05 15:54:03 +02:00
import XTlColumn from './deck.tl-column.vue';
2018-06-05 16:19:04 +02:00
import XNotificationsColumn from './deck.notifications-column.vue';
2018-06-05 14:36:21 +02:00
export default Vue.extend({
components: {
2018-06-05 16:19:04 +02:00
XTlColumn,
XNotificationsColumn
2018-06-05 14:36:21 +02:00
}
});
</script>
<style lang="stylus" module>
.root
height 100vh
</style>
<style lang="stylus" scoped>
@import '~const.styl'
root(isDark)
display flex
flex 1
2018-06-05 14:44:02 +02:00
padding 16px 0 16px 16px
overflow auto
2018-06-05 14:36:21 +02:00
.qlvquzbjribqcaozciifydkngcwtyzje[data-darkmode]
root(true)
.qlvquzbjribqcaozciifydkngcwtyzje:not([data-darkmode])
root(false)
</style>