From 5dc37b187c8b839a15ff73758799f218ddeb3bc9 Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Mon, 4 Dec 2017 01:14:26 +0200 Subject: Add reactions to issues/PR and comments (#2856) --- public/less/_repository.less | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'public/less/_repository.less') diff --git a/public/less/_repository.less b/public/less/_repository.less index c60362b894..69fe86a912 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -548,7 +548,7 @@ } .content { margin-left: 4em; - .header { + > .header { #avatar-arrow; font-weight: normal; padding: auto 15px; @@ -1350,6 +1350,43 @@ } } } + .segment.reactions, .select-reaction { + &.dropdown .menu { + right: 0!important; + left: auto!important; + > .header { + margin: 0.75rem 0 .5rem; + } + > .item { + float: left; + padding: .5rem .5rem !important; + img.emoji { + margin-right: 0; + } + } + } + } + .segment.reactions { + padding: .3em 1em; + .ui.label { + padding: .4em; + &.disabled { + cursor: default; + } + > img { + height: 1.5em !important; + } + } + .select-reaction { + float: none; + &:not(.active) a { + display: none; + } + } + &:hover .select-reaction a { + display: block; + } + } } // End of .repository -- cgit v1.2.3