diff options
author | Asaad Mahmood <asaad@spinpunch.com> | 2016-03-14 22:35:57 +0500 |
---|---|---|
committer | Asaad Mahmood <asaad@spinpunch.com> | 2016-03-14 22:39:44 +0500 |
commit | e214aae719c10953c4c3a7949c9bd02d6983b045 (patch) | |
tree | de67fab11c5866493374d602930b4b5fbc98d05a /web/sass-files/sass/partials/_popover.scss | |
parent | bf7ae0711743926cfbb031675cc3320d7a942465 (diff) | |
download | chat-e214aae719c10953c4c3a7949c9bd02d6983b045.tar.gz chat-e214aae719c10953c4c3a7949c9bd02d6983b045.tar.bz2 chat-e214aae719c10953c4c3a7949c9bd02d6983b045.zip |
PLT-963 - Improving scss structure
Diffstat (limited to 'web/sass-files/sass/partials/_popover.scss')
-rw-r--r-- | web/sass-files/sass/partials/_popover.scss | 158 |
1 files changed, 0 insertions, 158 deletions
diff --git a/web/sass-files/sass/partials/_popover.scss b/web/sass-files/sass/partials/_popover.scss deleted file mode 100644 index bf762d2c9..000000000 --- a/web/sass-files/sass/partials/_popover.scss +++ /dev/null @@ -1,158 +0,0 @@ -@charset "UTF-8"; - -.channel-header__info .popover-content { - max-height: 250px; - overflow: auto; -} - -.user-popover { - cursor: pointer; - display: inline-block; -} - -.code-popover .popover-content { - padding: 5px; -} - -.user-popover__image { - margin: 0 0 10px; - @include border-radius(128px); -} - -.user-popover__email { - max-width: 200px; - overflow: hidden; - text-overflow: ellipsis; - display: block; -} - -.search-help-popover { - visibility: hidden; - max-width: none; - width: 100%; - top: 36px; - @include single-transition(opacity, 0.3s, ease-in); - font-size: em(13px); - - &.autocomplete { - display: block; - .popover-content { - padding: 10px; - position: relative; - } - } - - .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 0 5px; - @include border-radius(2px); - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - - &:hover { - background: rgba(black, 0.1); - } - - &.selected { - background: rgba(black, 0.2); - } - - .fa { - margin-right: 5px; - @include opacity(0.5); - } - - .profile-img { - margin-top: -1px; - height: 16px; - margin-right: 6px; - width: 16px; - } - } - - &.bottom > .arrow { - top: -18px; - border-width: 9px; - left: 30px; - } - - .popover-content { - max-height: 500px; - overflow: auto; - padding: 3px 13px; - } - - h4 { - font-size: 1em; - } - - ul { - padding-left: 17px; - span { - @include opacity(0.8); - } - strong, b { - @include opacity(1); - } - } - - .tooltip-inner { - max-width: 100%; - } - - &.visible { - visibility: visible; - @include opacity(1); - } -} - -#member-list-popover { - max-width: initial; - .popover-content { - position: relative; - padding: 0; - width: 260px; - max-height: 350px; - .text-nowrap { - padding: 6px 10px; - width: 100%; - overflow: hidden; - line-height: 26px; - font-size: 13px; - } - .more-name { - margin-left: 6px; - max-width: 140px; - overflow: hidden; - text-overflow: ellipsis; - } - } -} |