summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_mentions.scss
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-07-10 02:38:19 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-07-10 02:38:19 +0500
commit53d0420e2436e203e8467f22ea066ea13b2bce41 (patch)
tree985ede53f03e32ff2964ea596ee776707317d15f /web/sass-files/sass/partials/_mentions.scss
parent763618ef3613d0af6baea0e1d49abb6641979841 (diff)
downloadchat-53d0420e2436e203e8467f22ea066ea13b2bce41.tar.gz
chat-53d0420e2436e203e8467f22ea066ea13b2bce41.tar.bz2
chat-53d0420e2436e203e8467f22ea066ea13b2bce41.zip
Improving mentions list and other UI improvements
Diffstat (limited to 'web/sass-files/sass/partials/_mentions.scss')
-rw-r--r--web/sass-files/sass/partials/_mentions.scss43
1 files changed, 23 insertions, 20 deletions
diff --git a/web/sass-files/sass/partials/_mentions.scss b/web/sass-files/sass/partials/_mentions.scss
index d6e2ab368..da46866c8 100644
--- a/web/sass-files/sass/partials/_mentions.scss
+++ b/web/sass-files/sass/partials/_mentions.scss
@@ -11,12 +11,13 @@
position: absolute;
z-index: 1060;
.mentions-box {
+ max-height: 303px;
position:absolute;
background-color:#fff;
border: $border-gray;
- overflow-x: hidden;
- overflow-y: scroll;
- bottom:0;
+ overflow-x: hidden;
+ overflow-y: scroll;
+ bottom:0;
}
}
@@ -24,13 +25,15 @@
position:relative;
width:100%;
background-color:#fff;
- height:37px;
+ height:36px;
padding:2px;
z-index:101;
- cursor: pointer;
- &:hover {
- background-color:#e8eaed;
- }
+ line-height: 36px;
+ font-size: 13px;
+ cursor: pointer;
+ &:hover {
+ background-color: #E6F2FA;
+ }
}
.mentions-text {
@@ -38,15 +41,20 @@
}
.mention-img {
- margin-right:10px;
- height:32px;
- width:32px;
- border-radius: 10%;
+ margin-right: 6px;
+ height: 32px;
+ width: 32px;
+ line-height: 36px;
+ display: block;
+ font-size: 20px;
+ text-align: center;
+ color: #555;
+ @include border-radius(3px);
}
.mention-fullname {
- color: grey;
- padding-left: 10px;
+ color: grey;
+ padding-left: 10px;
}
.mention-highlight {
@@ -55,9 +63,4 @@
.mention-link {
color:$primary-color;
-}
-
-.mention-align {
- position:relative;
- top:5px;
-}
+} \ No newline at end of file