summaryrefslogtreecommitdiffstats
path: root/webapp/sass/layout/_post.scss
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-03-29 17:55:30 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-03-29 17:55:30 +0500
commit501eef0385065d8630e5ddc299f8693a507e3a29 (patch)
treef595fce5c872dd831fcc8c17d248857f3437deb1 /webapp/sass/layout/_post.scss
parent4c28726760836d7d25164cd1b6488819be18c38c (diff)
downloadchat-501eef0385065d8630e5ddc299f8693a507e3a29.tar.gz
chat-501eef0385065d8630e5ddc299f8693a507e3a29.tar.bz2
chat-501eef0385065d8630e5ddc299f8693a507e3a29.zip
Additional UI improvements
Diffstat (limited to 'webapp/sass/layout/_post.scss')
-rw-r--r--webapp/sass/layout/_post.scss44
1 files changed, 20 insertions, 24 deletions
diff --git a/webapp/sass/layout/_post.scss b/webapp/sass/layout/_post.scss
index f0353029b..05ef09643 100644
--- a/webapp/sass/layout/_post.scss
+++ b/webapp/sass/layout/_post.scss
@@ -66,6 +66,7 @@ body.ios {
font-size: 13px;
position: absolute;
right: 0;
+ text-align: right;
z-index: 3;
}
@@ -74,16 +75,14 @@ body.ios {
}
}
-.help_format_text {
+.help__format-text {
@include opacity(0);
@include single-transition(all .2s ease);
- bottom: -23px;
- display: none !important;
+ display: inline-block;
font-size: .85em;
- left: 0;
- overflow: hidden;
- position: absolute;
- text-overflow: ellipsis;
+ margin-right: 10px;
+ vertical-align: bottom;
+ white-space: nowrap;
b,
i,
@@ -275,39 +274,36 @@ body.ios {
outline: none;
text-align: center;
}
-
- .beginning-messages-text {
- color: grey;
- display: block;
- margin-bottom: 5px;
- margin-top: 2px;
- text-align: center;
- }
}
.post-list__timestamp {
- @include border-radius(3px);
@include opacity(0);
@include single-transition(all, .6s, ease);
@include translateY(-45px);
- @include font-smoothing(initial);
- background: $primary-color;
- color: $white;
display: none;
- font-size: 12px;
- left: 50%;
- line-height: 25px;
- margin-left: -60px;
+ left: 0;
position: absolute;
text-align: center;
top: 8px;
- width: 120px;
+ width: 100%;
z-index: 50;
&.scrolling {
@include translateY(0);
@include opacity(.8);
}
+
+ > div {
+ @include border-radius(3px);
+ @include font-smoothing(initial);
+ background: $primary-color;
+ color: $white;
+ display: inline-block;
+ font-size: 12px;
+ line-height: 25px;
+ padding: 0 8px;
+ text-align: center;
+ }
}
.post-list__arrows {