summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsei0o <sei0o@live.jp>2018-10-06 17:51:59 +0900
committersei0o <sei0o@live.jp>2018-10-06 17:51:59 +0900
commitfff307d4bba9e3ce1b7b179d76b0f00697409c50 (patch)
tree3d72b8ef2fedfd45d2f3445a7c5b3c592cf94e35 /src/client
parent9.7.1 (diff)
downloadsharkey-fff307d4bba9e3ce1b7b179d76b0f00697409c50.tar.gz
sharkey-fff307d4bba9e3ce1b7b179d76b0f00697409c50.tar.bz2
sharkey-fff307d4bba9e3ce1b7b179d76b0f00697409c50.zip
fix #2346
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/components/reactions-viewer.vue12
-rw-r--r--src/client/theme/dark.json53
-rw-r--r--src/client/theme/light.json53
3 files changed, 12 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..b877638df3 100644
--- a/src/client/app/common/views/components/reactions-viewer.vue
+++ b/src/client/app/common/views/components/reactions-viewer.vue
@@ -40,19 +40,23 @@ 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 solid 1px var(--reactionViewerButtonBorder)
+ border-radius 3px
&.notReacted
cursor pointer
+ &:hover
+ border solid 1px var(--reactionViewerButtonHoverBorder)
+
> .mk-reaction-icon
font-size 1.4em
diff --git a/src/client/theme/dark.json5 b/src/client/theme/dark.json5
index 72362a2305..c69fe18cba 100644
--- a/src/client/theme/dark.json5
+++ b/src/client/theme/dark.json5
@@ -83,7 +83,8 @@
reactionPickerButtonHoverBg: 'rgba(255, 255, 255, 0.18)',
- reactionViewerBorder: 'rgba(255, 255, 255, 0.1)',
+ 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 90d0d40187..db5a57d9cd 100644
--- a/src/client/theme/light.json5
+++ b/src/client/theme/light.json5
@@ -83,7 +83,8 @@
reactionPickerButtonHoverBg: '#eee',
- reactionViewerBorder: 'rgba(0, 0, 0, 0.1)',
+ reactionViewerButtonBorder: 'rgba(0, 0, 0, 0.1)',
+ reactionViewerButtonHoverBorder: 'rgba(0, 0, 0, 0.2)',
pollEditorInputBg: '#fff',