diff options
author | Lauris BH <lauris@nix.lv> | 2017-12-04 01:14:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-04 01:14:26 +0200 |
commit | 5dc37b187c8b839a15ff73758799f218ddeb3bc9 (patch) | |
tree | b63e5ca72c7b9e72c79408ace82dfcba992b5793 /public/less/_repository.less | |
parent | e59adcde655aac0e8afd3249407c9a0a2b1b1d6b (diff) | |
download | gitea-5dc37b187c8b839a15ff73758799f218ddeb3bc9.tar.gz gitea-5dc37b187c8b839a15ff73758799f218ddeb3bc9.zip |
Add reactions to issues/PR and comments (#2856)
Diffstat (limited to 'public/less/_repository.less')
-rw-r--r-- | public/less/_repository.less | 39 |
1 files changed, 38 insertions, 1 deletions
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 |