ui: add discussion reaction (#369)

Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
pandaandundefined authored and GitHub committed 2022-05-30 14:41:24 +08:00
1 parent 1fa5eef2e0
commit dc7d53b59c
7 files changed
+136 -111

No files matched your search

@@ -0,0 +1,30 @@
.reactions
display: inline
.reaction
white-space: nowrap
width: auto
border-radius: 1.75rem
overflow: visible
font-size: rem($font-size-small)
display: inline-block
line-height: rem(22px)
padding: rem(0 10px)
vertical-align: middle
border-radius: rem(12px)
border: 1px solid $supplementary-border-color
cursor: pointer
&.active, &:hover
text-decoration: none
border-color: $primary-color
color: #FFF !important
&.active
background-color: lighten($primary-color, 10%) !important
&:hover
background-color: lighten($primary-color, 30%) !important
.emoji
margin-right: rem(5px)
.popover-reaction-item
&:hover
background-color: $toolbar-bg-hover