diff options
author | Asaad Mahmood <asaadmahmoodspin@users.noreply.github.com> | 2016-07-11 18:37:42 +0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-07-11 09:37:42 -0400 |
commit | 075383e190dd8b487dea5edd43863c3bb6af2042 (patch) | |
tree | e725f06c59e386207922d0ac1050fcc196f6177f /webapp/sass | |
parent | e10a576b625a48e6e3e1161aa0e53c32397667dd (diff) | |
download | chat-075383e190dd8b487dea5edd43863c3bb6af2042.tar.gz chat-075383e190dd8b487dea5edd43863c3bb6af2042.tar.bz2 chat-075383e190dd8b487dea5edd43863c3bb6af2042.zip |
Plt 3475 - Post control improvements (#3538)
* Adding class to post when dropdown is active.
* plt-3475 - Post controls improvements
Diffstat (limited to 'webapp/sass')
-rw-r--r-- | webapp/sass/layout/_post.scss | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/webapp/sass/layout/_post.scss b/webapp/sass/layout/_post.scss index ab7c851ea..50158ccc2 100644 --- a/webapp/sass/layout/_post.scss +++ b/webapp/sass/layout/_post.scss @@ -495,6 +495,20 @@ body.ios { } } + &.post--hovered { + .dropdown, + .comment-icon__container, + .post__reply, + .post__remove, + .permalink-icon { + visibility: visible; + } + + .post__body { + background: transparent !important; + } + } + &.post--highlight { background-color: beige; } @@ -672,7 +686,8 @@ body.ios { &.same--user { padding: 0 .5em 0 1em; - &:hover { + &:hover, + &.post--hovered { .post__time { @include opacity(.5); } |