mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 07:23:08 +02:00
wip
This commit is contained in:
parent
adaa07a6f9
commit
e0ffedca24
3 changed files with 19 additions and 17 deletions
|
@ -15,7 +15,7 @@ const home = {
|
|||
'profile',
|
||||
'calendar',
|
||||
'activity',
|
||||
'rss-reader',
|
||||
'rss',
|
||||
'trends',
|
||||
'photo-stream',
|
||||
'version'
|
||||
|
@ -23,8 +23,8 @@ const home = {
|
|||
right: [
|
||||
'broadcast',
|
||||
'notifications',
|
||||
'user-recommendation',
|
||||
'recommended-polls',
|
||||
'users',
|
||||
'polls',
|
||||
'server',
|
||||
'donation',
|
||||
'nav',
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="mk-dialog">
|
||||
<div class="bg" ref="bg" @click="onBgClick"></div>
|
||||
<div class="main" ref="main">
|
||||
<header v-html="title"></header>
|
||||
<header v-html="title" :class="$style.header"></header>
|
||||
<div class="body" v-html="text"></div>
|
||||
<div class="buttons">
|
||||
<button v-for="button in buttons" @click="click(button)">{{ button.text }}</button>
|
||||
|
@ -110,18 +110,6 @@ export default Vue.extend({
|
|||
background #fff
|
||||
opacity 0
|
||||
|
||||
> header
|
||||
margin 1em 0
|
||||
color $theme-color
|
||||
// color #43A4EC
|
||||
font-weight bold
|
||||
|
||||
&:empty
|
||||
display none
|
||||
|
||||
> i
|
||||
margin-right 0.5em
|
||||
|
||||
> .body
|
||||
margin 1em 0
|
||||
color #888
|
||||
|
@ -154,3 +142,18 @@ export default Vue.extend({
|
|||
transition color 0s ease
|
||||
|
||||
</style>
|
||||
|
||||
<style lang="stylus" module>
|
||||
.header
|
||||
margin 1em 0
|
||||
color $theme-color
|
||||
// color #43A4EC
|
||||
font-weight bold
|
||||
|
||||
&:empty
|
||||
display none
|
||||
|
||||
> i
|
||||
margin-right 0.5em
|
||||
|
||||
</style>
|
||||
|
|
|
@ -64,7 +64,6 @@ export default Vue.extend({
|
|||
|
||||
> header
|
||||
display flex
|
||||
margin 4px 0
|
||||
white-space nowrap
|
||||
|
||||
> .name
|
||||
|
|
Loading…
Reference in a new issue