From 6d10b103189168c556456319115774b41ee5ac73 Mon Sep 17 00:00:00 2001 From: hmhealey Date: Mon, 30 Nov 2015 16:20:42 -0500 Subject: Replaced MentionList and Mention components with AtMentionProvider --- web/sass-files/sass/partials/_mentions.scss | 18 +---------------- web/sass-files/sass/partials/_suggestion_list.scss | 23 ++++++++++++++++++++++ web/sass-files/sass/styles.scss | 1 + 3 files changed, 25 insertions(+), 17 deletions(-) create mode 100644 web/sass-files/sass/partials/_suggestion_list.scss (limited to 'web/sass-files') diff --git a/web/sass-files/sass/partials/_mentions.scss b/web/sass-files/sass/partials/_mentions.scss index f59cefbc6..a30490bd1 100644 --- a/web/sass-files/sass/partials/_mentions.scss +++ b/web/sass-files/sass/partials/_mentions.scss @@ -7,22 +7,6 @@ @include border-radius(3px); } -.mentions--top { - position: absolute; - z-index: 1060; - @extend %popover-box-shadow; - .mentions-box { - width: 100%; - height: 100%; - position: absolute; - background-color: #fff; - border: $border-gray; - overflow-x: hidden; - overflow-y: scroll; - bottom: 0; - } -} - .mentions-name { position:relative; width:100%; @@ -57,4 +41,4 @@ .mention-highlight { background-color:#fff2bb; -} \ No newline at end of file +} diff --git a/web/sass-files/sass/partials/_suggestion_list.scss b/web/sass-files/sass/partials/_suggestion_list.scss new file mode 100644 index 000000000..7203779ed --- /dev/null +++ b/web/sass-files/sass/partials/_suggestion_list.scss @@ -0,0 +1,23 @@ +.suggestion-list { + width: 100%; + z-index: 100; + @extend %popover-box-shadow; +} + +.suggestion-list--top { + position: absolute; +} + +.suggestion-content { + width: 100%; + max-height: 292px; + background-color: #fff; + border: $border-gray; + overflow-x: hidden; + overflow-y: scroll; +} + +.suggestion-content--top { + position: absolute; + bottom: 0; +} diff --git a/web/sass-files/sass/styles.scss b/web/sass-files/sass/styles.scss index 01f654eec..a13496e23 100644 --- a/web/sass-files/sass/styles.scss +++ b/web/sass-files/sass/styles.scss @@ -40,6 +40,7 @@ @import "partials/markdown"; @import "partials/tutorial"; @import "partials/statistics"; +@import "partials/suggestion_list"; // Elements @import "partials/tooltips"; -- cgit v1.2.3-1-g7c22