diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-12-15 14:56:40 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-12-16 09:53:39 -0500 |
commit | 872f001fbbebe93ae7fc4b92a6d17a378e0d50d5 (patch) | |
tree | 82acbe344f925e956978e7001b7f6e19e264f71e /web/sass-files/sass/partials/_post.scss | |
parent | 34e0ac00e81f5e8912e341e4fece3b38dbb6cf76 (diff) | |
download | chat-872f001fbbebe93ae7fc4b92a6d17a378e0d50d5.tar.gz chat-872f001fbbebe93ae7fc4b92a6d17a378e0d50d5.tar.bz2 chat-872f001fbbebe93ae7fc4b92a6d17a378e0d50d5.zip |
Added floating post timestamp
Diffstat (limited to 'web/sass-files/sass/partials/_post.scss')
-rw-r--r-- | web/sass-files/sass/partials/_post.scss | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss index fbebb4e98..4e5968254 100644 --- a/web/sass-files/sass/partials/_post.scss +++ b/web/sass-files/sass/partials/_post.scss @@ -211,6 +211,10 @@ body.ios { overflow-y: hidden; height: 100%; + .inactive { + display: none; + } + .post-list-holder-by-time { background: #fff; overflow-y: scroll; @@ -222,9 +226,6 @@ body.ios { &::-webkit-scrollbar { width: 0px !important; } - &.inactive { - display: none; - } &.active { display: inline; } @@ -247,6 +248,31 @@ body.ios { } } +.post-list__timestamp { + position: absolute; + top: 8px; + left: 50%; + z-index: 50; + width: 120px; + text-align: center; + background: $primary-color; + color: #fff; + @include border-radius(3px); + font-size: 12px; + line-height: 25px; + margin-left: -60px; + -webkit-font-smoothing: initial; + @include single-transition(all, 0.3s, ease, 1.0s); + @include translateY(-45px); + @include opacity(0); + + &.scrolling { + @include single-transition(all, 0.3s, ease); + @include translateY(0); + @include opacity(0.8); + } +} + .post-create__container { form { width: 100%; |