This commit is contained in:
syuilo 2018-02-23 01:27:02 +09:00
parent adaa07a6f9
commit e0ffedca24
3 changed files with 19 additions and 17 deletions

View File

@ -15,7 +15,7 @@ const home = {
'profile', 'profile',
'calendar', 'calendar',
'activity', 'activity',
'rss-reader', 'rss',
'trends', 'trends',
'photo-stream', 'photo-stream',
'version' 'version'
@ -23,8 +23,8 @@ const home = {
right: [ right: [
'broadcast', 'broadcast',
'notifications', 'notifications',
'user-recommendation', 'users',
'recommended-polls', 'polls',
'server', 'server',
'donation', 'donation',
'nav', 'nav',

View File

@ -2,7 +2,7 @@
<div class="mk-dialog"> <div class="mk-dialog">
<div class="bg" ref="bg" @click="onBgClick"></div> <div class="bg" ref="bg" @click="onBgClick"></div>
<div class="main" ref="main"> <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="body" v-html="text"></div>
<div class="buttons"> <div class="buttons">
<button v-for="button in buttons" @click="click(button)">{{ button.text }}</button> <button v-for="button in buttons" @click="click(button)">{{ button.text }}</button>
@ -110,18 +110,6 @@ export default Vue.extend({
background #fff background #fff
opacity 0 opacity 0
> header
margin 1em 0
color $theme-color
// color #43A4EC
font-weight bold
&:empty
display none
> i
margin-right 0.5em
> .body > .body
margin 1em 0 margin 1em 0
color #888 color #888
@ -154,3 +142,18 @@ export default Vue.extend({
transition color 0s ease transition color 0s ease
</style> </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>

View File

@ -64,7 +64,6 @@ export default Vue.extend({
> header > header
display flex display flex
margin 4px 0
white-space nowrap white-space nowrap
> .name > .name