summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_post.scss
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-07-06 23:18:23 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-07-06 23:18:23 +0500
commitf51cc73aaf0da4973e13821a5201cd0e05e1e552 (patch)
tree9c0564827136f2392e873eab134006cabac329bc /web/sass-files/sass/partials/_post.scss
parent10b625ba1740c6177cfe5c06484f4a14867523bd (diff)
downloadchat-f51cc73aaf0da4973e13821a5201cd0e05e1e552.tar.gz
chat-f51cc73aaf0da4973e13821a5201cd0e05e1e552.tar.bz2
chat-f51cc73aaf0da4973e13821a5201cd0e05e1e552.zip
MM-1461 - Updating Mattermost UI
Diffstat (limited to 'web/sass-files/sass/partials/_post.scss')
-rw-r--r--web/sass-files/sass/partials/_post.scss41
1 files changed, 30 insertions, 11 deletions
diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss
index 769cb1091..e35979b64 100644
--- a/web/sass-files/sass/partials/_post.scss
+++ b/web/sass-files/sass/partials/_post.scss
@@ -166,7 +166,7 @@ body.ios {
color: #999;
@include single-transition(all, 0.15s);
font-size: 16px;
- padding: 9px;
+ padding: 7px 9px 6px;
&:hover, &:active {
color: #444;
box-shadow: none;
@@ -192,7 +192,7 @@ body.ios {
.post {
word-wrap: break-word;
- padding: 0.4em 1em;
+ padding: 8px 1em;
position: relative;
max-width: 100%;
@include legacy-pie-clearfix;
@@ -204,19 +204,37 @@ body.ios {
}
background: #f6f6f6;
}
+ &.current--user {
+ .post-body {
+ @include border-radius(4px);
+ background: #f5f5f5;
+ }
+ &:hover {
+ .post-body {
+ background: #fff;
+ }
+ }
+ }
&.post--comment {
&.other--root {
.post-comment {
border-left: 4px solid #EEE;
- margin-left: 30px;
- padding: 2px 0 2px 10px;
+ padding: 4px 0 6px 10px;
+ background: #F5F5F5;
+ margin: 0 0 0 30px;
+ @include border-radius(0 4px 4px 0);
+ }
+ .post-body {
+ background: transparent;
+ margin: 0;
+ padding: 1px 0px;
+ }
+ &:hover {
+ background: #f5f5f5;
+ .post-comment {
+ background: #fff;
+ }
}
- }
- }
- &.current--user {
- .post-body {
- @include border-radius(0 4px 4px 0);
- background: #f5f5f5;
}
}
&.same--root {
@@ -224,6 +242,7 @@ body.ios {
@include opacity(0);
}
div.post-profile-img__container {
+ height: 1px;
.post-profile-img {
visibility: hidden;
}
@@ -260,6 +279,7 @@ body.ios {
white-space: pre-wrap;
}
.comment-icon__container {
+ margin-left: 7px;
fill: $primary-color;
.comment-icon {
display: inline-block;
@@ -346,7 +366,6 @@ body.ios {
}
.dropdown {
min-width: 18px;
- margin-right: 7px;
display: inline-block;
@include opacity(0);
}