This commit is contained in:
syuilo 2018-09-28 14:26:20 +09:00
parent 1eef90f6cb
commit c627288bde
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
20 changed files with 65 additions and 117 deletions

View file

@ -4,7 +4,7 @@
<template slot="header">%fa:chart-pie%%i18n:@title%</template>
<button slot="func" title="%i18n:@refresh%" @click="fetch">%fa:sync%</button>
<div class="mkw-polls--body" :data-darkmode="$store.state.device.darkmode">
<div class="mkw-polls--body">
<div class="poll" v-if="!fetching && poll != null">
<p v-if="poll.text"><router-link :to="poll | notePage">{{ poll.text }}</router-link></p>
<p v-if="!poll.text"><router-link :to="poll | notePage">%fa:link%</router-link></p>
@ -64,11 +64,11 @@ export default define({
</script>
<style lang="stylus" scoped>
root(isDark)
.mkw-polls--body
> .poll
padding 16px
font-size 12px
color isDark ? #9ea4ad : #555
color var(--text)
> p
margin 0 0 8px 0
@ -91,10 +91,4 @@ root(isDark)
> [data-fa]
margin-right 4px
.mkw-polls--body[data-darkmode]
root(true)
.mkw-polls--body:not([data-darkmode])
root(false)
</style>

View file

@ -46,8 +46,7 @@ export default define({
</script>
<style lang="stylus" scoped>
root(isDark)
.egwyvoaaryotefqhqtmiyawwefemjfsd-body
&[data-compact]
> .banner:before
content ""
@ -88,7 +87,7 @@ root(isDark)
> .banner
height 100px
background-color isDark ? #303e4a : #f5f5f5
background-color var(--primaryDarken10)
background-size cover
background-position center
cursor pointer
@ -109,19 +108,14 @@ root(isDark)
margin 10px 0 0 84px
line-height 16px
font-weight bold
color isDark ? #fff : #555
color var(--text)
> .username
display block
margin 4px 0 8px 84px
line-height 16px
font-size 0.9em
color isDark ? #606984 : #999
.egwyvoaaryotefqhqtmiyawwefemjfsd-body[data-darkmode]
root(true)
.egwyvoaaryotefqhqtmiyawwefemjfsd-body:not([data-darkmode])
root(false)
color var(--text)
opacity 0.7
</style>

View file

@ -73,11 +73,11 @@ export default define({
</script>
<style lang="stylus" scoped>
root(isDark)
.mkw-users
.mkw-users--body
> .user
padding 16px
border-bottom solid 1px isDark ? #1c2023 : #eee
border-bottom solid 1px var(--faceDivider)
&:last-child
border-bottom none
@ -103,14 +103,15 @@ root(isDark)
margin 0
font-size 16px
line-height 24px
color isDark ? #fff : #555
color var(--text)
> .username
display block
margin 0
font-size 15px
line-height 16px
color isDark ? #606984 : #ccc
color var(--text)
opacity 0.7
> .mk-follow-button
position absolute
@ -132,10 +133,4 @@ root(isDark)
> [data-fa]
margin-right 4px
.mkw-users[data-darkmode]
root(true)
.mkw-users:not([data-darkmode])
root(false)
</style>