summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-10-09 00:55:47 +0900
committerGitHub <noreply@github.com>2018-10-09 00:55:47 +0900
commite5cf3aecd5d75169d4e576c6a108ad08136a48cb (patch)
tree67f740e01a41c62b407811c5c81f81cb3271a739 /src/client
parentImprove theme (diff)
parentDeleted dump.rdb (diff)
downloadsharkey-e5cf3aecd5d75169d4e576c6a108ad08136a48cb.tar.gz
sharkey-e5cf3aecd5d75169d4e576c6a108ad08136a48cb.tar.bz2
sharkey-e5cf3aecd5d75169d4e576c6a108ad08136a48cb.zip
Merge pull request #2830 from sei0o/fix-2346
fix #2346
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/components/reactions-viewer.vue14
-rw-r--r--src/client/theme/dark.json55
-rw-r--r--src/client/theme/light.json55
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',