summaryrefslogtreecommitdiffstats
path: root/web/sass-files
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-11-30 16:20:42 -0500
committerhmhealey <harrisonmhealey@gmail.com>2015-12-01 16:27:21 -0500
commit6d10b103189168c556456319115774b41ee5ac73 (patch)
tree4df873c45d6fb14942c7bc9ead19bab73696cb07 /web/sass-files
parente87c89be25065ff4d0d020b98c71e1ddec28ae49 (diff)
downloadchat-6d10b103189168c556456319115774b41ee5ac73.tar.gz
chat-6d10b103189168c556456319115774b41ee5ac73.tar.bz2
chat-6d10b103189168c556456319115774b41ee5ac73.zip
Replaced MentionList and Mention components with AtMentionProvider
Diffstat (limited to 'web/sass-files')
-rw-r--r--web/sass-files/sass/partials/_mentions.scss18
-rw-r--r--web/sass-files/sass/partials/_suggestion_list.scss23
-rw-r--r--web/sass-files/sass/styles.scss1
3 files changed, 25 insertions, 17 deletions
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";