diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-11-06 11:56:34 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-11-06 11:56:34 -0500 |
commit | 8022f99da553ff746a1d3e514256e4c8c086ba2a (patch) | |
tree | abfa9945092ceda016e9142533293856fa366102 /web/sass-files/sass/partials/_popover.scss | |
parent | b11f510db7f4b9d4a1c38b3c9bbbc77ed3f45e88 (diff) | |
parent | 186ab11c5769a10cc04dc24469616291cefa7dbf (diff) | |
download | chat-8022f99da553ff746a1d3e514256e4c8c086ba2a.tar.gz chat-8022f99da553ff746a1d3e514256e4c8c086ba2a.tar.bz2 chat-8022f99da553ff746a1d3e514256e4c8c086ba2a.zip |
Merge pull request #1338 from asaadmahmoodspin/ui-improvements
Updating UI for search autocomplete
Diffstat (limited to 'web/sass-files/sass/partials/_popover.scss')
-rw-r--r-- | web/sass-files/sass/partials/_popover.scss | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/web/sass-files/sass/partials/_popover.scss b/web/sass-files/sass/partials/_popover.scss index 430813e63..7d98935d5 100644 --- a/web/sass-files/sass/partials/_popover.scss +++ b/web/sass-files/sass/partials/_popover.scss @@ -36,10 +36,36 @@ } } + .search-autocomplete__divider { + margin: 10px 0 5px; + line-height: 21px; + position: relative; + &:first-child { + margin-top: 5px; + } + span { + display: inline-block; + padding-right: 10px; + background: #fff; + z-index: 5; + position: relative; + } + &:before { + content: ""; + position: absolute; + width: 100%; + height: 1px; + background: #ddd; + top: 10px; + left: 0; + @include opacity(0.2); + } + } + .search-autocomplete__item { cursor: pointer; padding: 6px 8px; - margin: 3px 0; + margin: 3px 0 0 5px; @include border-radius(2px); white-space: nowrap; overflow: hidden; |