summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_suggestion-list.scss
diff options
context:
space:
mode:
authorYi EungJun <semtlenori@gmail.com>2016-08-11 23:33:22 +0900
committerJoram Wilander <jwawilander@gmail.com>2016-08-11 10:33:22 -0400
commitd6da7d1220fe520a162560266182dff503b95786 (patch)
tree19ceb3851fff0bce43c149737e7bcbe15c570e6c /webapp/sass/components/_suggestion-list.scss
parentbb0b895bad5cddbc0297d0857d10a531a6ca6755 (diff)
downloadchat-d6da7d1220fe520a162560266182dff503b95786.tar.gz
chat-d6da7d1220fe520a162560266182dff503b95786.tar.bz2
chat-d6da7d1220fe520a162560266182dff503b95786.zip
Change ordering of at-mention suggestions (#3698)
List members in the current channel first.
Diffstat (limited to 'webapp/sass/components/_suggestion-list.scss')
-rw-r--r--webapp/sass/components/_suggestion-list.scss30
1 files changed, 30 insertions, 0 deletions
diff --git a/webapp/sass/components/_suggestion-list.scss b/webapp/sass/components/_suggestion-list.scss
index 8bee49ce6..c995d5ebf 100644
--- a/webapp/sass/components/_suggestion-list.scss
+++ b/webapp/sass/components/_suggestion-list.scss
@@ -44,3 +44,33 @@
.suggestion-list--bottom {
position: relative;
}
+
+.suggestion-list__divider {
+ line-height: 21px;
+ margin: 5px 0px 0px 5px;
+ position: relative;
+
+ &:first-child {
+ margin-top: 5px;
+ }
+
+ > span {
+ color: rgba(51,51,51,0.7);
+ background: #f2f4f8;
+ display: inline-block;
+ padding-right: 10px;
+ position: relative;
+ z-index: 5;
+ }
+
+ &:before {
+ @include opacity(.2);
+ background: $dark-gray;
+ content: '';
+ height: 1px;
+ left: 0;
+ position: absolute;
+ top: 10px;
+ width: 100%;
+ }
+}