diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-09 01:02:04 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-09 01:02:04 +0900 |
| commit | 8296cac636ef11f92552fca363a7766d0b2d13b9 (patch) | |
| tree | 193cf6287883ce2cf09fc30f31d1cb4aa1fad146 /src | |
| parent | Better api definition (diff) | |
| parent | Merge pull request #2854 from syuilo/greenkeeper/style-loader-0.23.1 (diff) | |
| download | sharkey-8296cac636ef11f92552fca363a7766d0b2d13b9.tar.gz sharkey-8296cac636ef11f92552fca363a7766d0b2d13b9.tar.bz2 sharkey-8296cac636ef11f92552fca363a7766d0b2d13b9.zip | |
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/common/views/components/reactions-viewer.vue | 14 | ||||
| -rw-r--r-- | src/client/theme/dark.json5 | 5 | ||||
| -rw-r--r-- | src/client/theme/light.json5 | 5 |
3 files changed, 18 insertions, 6 deletions
diff --git a/src/client/app/common/views/components/reactions-viewer.vue b/src/client/app/common/views/components/reactions-viewer.vue index 9212a84b31..8e06b79d19 100644 --- a/src/client/app/common/views/components/reactions-viewer.vue +++ b/src/client/app/common/views/components/reactions-viewer.vue @@ -40,18 +40,24 @@ export default Vue.extend({ <style lang="stylus" scoped> .mk-reactions-viewer - border-top dashed 1px var(--reactionViewerBorder) - border-bottom dashed 1px var(--reactionViewerBorder) - margin 4px 0 + margin 6px 0 &:empty display none > span - margin-right 8px + margin-right 6px + padding 6px 6px 6px 4px + border-radius 3px &.notReacted cursor pointer + border solid 1px var(--reactionViewerButtonBorder) + background-color var(--reactionViewerButtonBg) + + &:hover + border solid 1px var(--reactionViewerButtonHoverBorder) + background-color var(--reactionViewerButtonHoverBg) > .mk-reaction-icon font-size 1.4em diff --git a/src/client/theme/dark.json5 b/src/client/theme/dark.json5 index cfec563201..1ac5554a83 100644 --- a/src/client/theme/dark.json5 +++ b/src/client/theme/dark.json5 @@ -84,7 +84,10 @@ reactionPickerButtonHoverBg: 'rgba(255, 255, 255, 0.18)', - reactionViewerBorder: 'rgba(255, 255, 255, 0.1)', + reactionViewerButtonBg: 'rgba(0, 0, 0, 0)', + reactionViewerButtonHoverBg: 'rgba(0, 0, 0, 0)', + reactionViewerButtonBorder: 'rgba(255, 255, 255, 0.1)', + reactionViewerButtonHoverBorder: 'rgba(255, 255, 255, 0.2)', pollEditorInputBg: 'rgba(0, 0, 0, 0.25)', diff --git a/src/client/theme/light.json5 b/src/client/theme/light.json5 index b770aa182b..0caea33480 100644 --- a/src/client/theme/light.json5 +++ b/src/client/theme/light.json5 @@ -84,7 +84,10 @@ reactionPickerButtonHoverBg: '#eee', - reactionViewerBorder: 'rgba(0, 0, 0, 0.1)', + reactionViewerButtonBg: 'rgba(0, 0, 0, 0)', + reactionViewerButtonHoverBg: 'rgba(0, 0, 0, 0)', + reactionViewerButtonBorder: 'rgba(0, 0, 0, 0.1)', + reactionViewerButtonHoverBorder: 'rgba(0, 0, 0, 0.2)', pollEditorInputBg: '#fff', |