diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-21 10:10:04 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-21 10:10:04 +0900 |
| commit | 4bf85a0e6b1260c1fffa89f734bd59ec995a0ac4 (patch) | |
| tree | 5b4c6d3f13b652389cc12773650c22c6fde1373f /src/client/app/common/views/components | |
| parent | v5051 (diff) | |
| download | misskey-4bf85a0e6b1260c1fffa89f734bd59ec995a0ac4.tar.gz misskey-4bf85a0e6b1260c1fffa89f734bd59ec995a0ac4.tar.bz2 misskey-4bf85a0e6b1260c1fffa89f734bd59ec995a0ac4.zip | |
Darken
Diffstat (limited to 'src/client/app/common/views/components')
| -rw-r--r-- | src/client/app/common/views/components/poll-editor.vue | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/poll-editor.vue b/src/client/app/common/views/components/poll-editor.vue index 189172679b..95bcba996e 100644 --- a/src/client/app/common/views/components/poll-editor.vue +++ b/src/client/app/common/views/components/poll-editor.vue @@ -69,7 +69,7 @@ export default Vue.extend({ <style lang="stylus" scoped> @import '~const.styl' -.mk-poll-editor +root(isDark) padding 8px > .caution @@ -102,6 +102,8 @@ export default Vue.extend({ padding 6px 8px width 300px font-size 14px + color isDark ? #fff : #000 + background isDark ? #191b22 : #fff border solid 1px rgba($theme-color, 0.1) border-radius 4px @@ -139,4 +141,10 @@ export default Vue.extend({ &:active color darken($theme-color, 30%) +.mk-poll-editor[data-darkmode] + root(true) + +.mk-poll-editor:not([data-darkmode]) + root(false) + </style> |