diff options
author | Asaad Mahmood <asaadmahmoodspin@users.noreply.github.com> | 2016-07-06 00:46:36 +0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-07-05 15:46:36 -0400 |
commit | f91b9d4a654ff27777580651d853b6372a425af6 (patch) | |
tree | a91033056f245603eaa19acfd93c7f76ba6d49f3 /webapp/sass/layout/_post.scss | |
parent | f4dd8e579639637057e8717067bb0627d9eb1de3 (diff) | |
download | chat-f91b9d4a654ff27777580651d853b6372a425af6.tar.gz chat-f91b9d4a654ff27777580651d853b6372a425af6.tar.bz2 chat-f91b9d4a654ff27777580651d853b6372a425af6.zip |
PLT-3418, PLT-2950, PLT-3375, PLT-3382, PLT-3446, PLT-3465: Multiple UI Improvements (#3449)
Improving help text margins
Updating changes for get link and create post files
Fixing icon for select team screen
Fixing styles for select team button
Adding improvements to posts UI
Adding improvement to post layout
Updating changes for post controls
Updating z-index for sidebar--right
Updating help text position
Fixing code for posts
Fixing css for post view
Pushing improvements for posts view
Updating changes for post view
Updating post layout
Fixing system time css
Updating header for system posts
Updating post css
Removing opacity and changing color for system messages
Simplifying root post and system post behaviour
Removing images from compact view
Updating help text for display
Updating embed preview text for advanced option
PLT-3490 - Fixing RHS issue on Edge
Diffstat (limited to 'webapp/sass/layout/_post.scss')
-rw-r--r-- | webapp/sass/layout/_post.scss | 94 |
1 files changed, 52 insertions, 42 deletions
diff --git a/webapp/sass/layout/_post.scss b/webapp/sass/layout/_post.scss index baca9a127..ab7c851ea 100644 --- a/webapp/sass/layout/_post.scss +++ b/webapp/sass/layout/_post.scss @@ -86,8 +86,19 @@ body.ios { b, i, + span { + margin: 0 2px; + position: relative; + top: -1px; + } + + b { + @include opacity(.9); + } + code { - margin-right: 3px; + background: transparent; + padding: 0; } .textbox-preview-link { @@ -402,6 +413,11 @@ body.ios { right: 0; top: 1px; + svg { + height: 18px; + width: 18px; + } + &:hover, &:active { @include opacity(.9); @@ -452,7 +468,7 @@ body.ios { .dropdown-menu { &.bottom { - bottom: 25px; + bottom: 19px; top: auto; } } @@ -483,6 +499,14 @@ body.ios { background-color: beige; } + &.post--hide-controls { + .post__header { + .col__reply { + display: none; + } + } + } + &.post--compact { &.post--thread { .post__header { @@ -557,6 +581,16 @@ body.ios { padding: 0; width: 100%; + svg { + display: inline-block; + height: 13px; + margin: 5px 4px 0 0; + opacity: .5; + position: relative; + vertical-align: top; + width: 13px; + } + > div { display: none; } @@ -596,6 +630,10 @@ body.ios { } } + .post--fail { + position: relative; + } + p { font-size: .97em; line-height: 1.6em; @@ -634,33 +672,6 @@ body.ios { &.same--user { padding: 0 .5em 0 1em; - &.post--system { - padding: 8px .5em 0 1em; - - .post__header { - height: auto; - margin-bottom: 2px; - - .col__name { - display: inline-block; - } - - .col__reply { - - } - } - - .post__time { - @include opacity(.6); - font-size: .9em; - left: inherit; - line-height: inherit; - position: inherit; - text-rendering: inherit; - top: inherit; - } - } - &:hover { .post__time { @include opacity(.5); @@ -682,7 +693,7 @@ body.ios { } .col__reply { - top: 6px; + top: -1px; } } } @@ -721,7 +732,7 @@ body.ios { .post__header { .col__reply { - top: 53px; + top: -4px; } } } @@ -775,11 +786,14 @@ body.ios { } .col__reply { + border: 1px solid transparent; + border-radius: 2px; + min-width: 70px; + padding: 2px 5px; position: absolute; right: 0; - top: 30px; + top: -4px; white-space: nowrap; - width: 65px; } .permalink-popover { @@ -841,6 +855,7 @@ body.ios { min-width: 130px; padding: 2px 0; right: 0; + top: 20px; li { display: block; @@ -864,15 +879,15 @@ body.ios { @include opacity(.5); color: inherit; display: inline-block; + float: right; font-family: 'Open Sans', sans-serif; font-size: 20px; font-weight: 600; height: 20px; line-height: 20px; position: relative; - right: 15px; + right: -10px; text-decoration: none; - top: -5px; vertical-align: top; visibility: hidden; width: 20px; @@ -885,9 +900,8 @@ body.ios { .post__body { @include legacy-pie-clearfix; padding: .2em .5em; - width: calc(100% - 75px); + width: 100%; word-wrap: break-word; - position: relative; p { margin: 0 0 .4em; @@ -1013,12 +1027,8 @@ body.ios { } .post__time { - font-size: .9em; - } - - .post__time, - &.post--system .post__body { @include opacity(.6); + font-size: .9em; } .post-loading-gif { |