summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_post.scss
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-11-12 23:39:28 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-11-13 16:57:34 +0500
commit4331920cf0f454f5d915e70fe7ebf8bd352a2f6d (patch)
tree55983d0cf05cbf935bc1490bfc7ac8f6b5f9b93c /web/sass-files/sass/partials/_post.scss
parent0baa1bfe94c7ccd4ccfd5d31ae52d5f227a170d6 (diff)
downloadchat-4331920cf0f454f5d915e70fe7ebf8bd352a2f6d.tar.gz
chat-4331920cf0f454f5d915e70fe7ebf8bd352a2f6d.tar.bz2
chat-4331920cf0f454f5d915e70fe7ebf8bd352a2f6d.zip
Multiple UI improvements
Diffstat (limited to 'web/sass-files/sass/partials/_post.scss')
-rw-r--r--web/sass-files/sass/partials/_post.scss181
1 files changed, 81 insertions, 100 deletions
diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss
index 33748052d..6fa671a41 100644
--- a/web/sass-files/sass/partials/_post.scss
+++ b/web/sass-files/sass/partials/_post.scss
@@ -46,22 +46,7 @@ body.ios {
.textarea-wrapper {
position:relative;
- min-height: 36px;
- .textbox-preview-area {
- position: absolute;
- z-index: 2;
- top: 0;
- left: 0;
- box-shadow: none;
- }
- .textbox-preview-link {
- position: absolute;
- z-index: 3;
- bottom: -23px;
- right: 0;
- font-size: 13px;
- cursor: pointer;
- }
+ min-height:37px;
}
.date-separator, .new-separator {
@@ -197,7 +182,7 @@ body.ios {
}
#post-list {
- flex: 1 1 auto;
+ @include flex(1 1 auto);
position: relative;
overflow-y: hidden;
.post-list-holder-by-time {
@@ -339,9 +324,9 @@ body.ios {
}
}
.msg-typing {
- min-height: 25px;
- line-height: 25px;
- display: block;
+ min-height: 20px;
+ line-height: 18px;
+ display: inline-block;
font-size: 13px;
@include opacity(0.7);
}
@@ -511,9 +496,6 @@ body.ios {
border-bottom-left-radius: 4px;
@include opacity(.3);
}
- &.tex .katex-display {
- text-align: left;
- }
code {
white-space: pre;
}
@@ -630,80 +612,79 @@ body.ios {
}
.attachment {
- .attachment__content {
- border-width: 1px;
- border-style: solid;
- border-radius: 4px;
- padding: 2px 5px;
- margin: 0 0 5px 0;
- }
- .attachment__thumb-pretext {
- border: 0 none;
- background: transparent;
- }
- .attachment__container {
- border-left-width: 4px;
- border-left-style: solid;
- padding: 2px 0 2px 10px;
- &.attachment__container--good {
- border-left-color: #00C100;
- }
- &.attachment__container--warning {
- border-left-color: #DEDE01;
- }
- &.attachment__container--danger {
- border-left-color: #E40303;
- }
- }
- .attachment__body {
- float: left;
- width: 80%;
- padding-right: 5px;
- overflow-x: auto;
- &.attachment__body--no_thumb {
- width: 100%;
- }
- }
- .attachment__text p:last-of-type {
- display: inline-block;
- }
- .attachment__thumb-pretext {
- margin-left: 5px;
- }
- .attachment__title {
- margin: 5px 0;
- padding: 0;
- line-height: 16px;
- font-size: 16px;
- a {
- font-size: 16px;
- }
- }
- .attachment__author-icon {
- @include border-radius(50px);
- margin-right: 5px;
- width: 14px;
- height: 14px;
- }
- .attachment__image {
- max-width: 100%;
- margin-bottom: 1em;
- }
- .attachment__thumb-container {
- width: 20%;
- float: right;
- img {
- max-height: 75px;
- max-width: 100%;
- }
- }
- .attachment___fields {
- width: 100%;
- .attachment___field-caption {
- font-weight: 700;
- }
- .attachment___field p {
- margin: 0;
- }
- }
-}
+ .attachment__content {
+ border-width: 1px;
+ border-style: solid;
+ border-radius: 4px;
+ padding: 2px 5px;
+ margin: 0 0 5px 0;
+ }
+ .attachment__thumb-pretext {
+ border: 0 none;
+ background: transparent;
+ }
+ .attachment__container {
+ border-left-width: 4px;
+ border-left-style: solid;
+ padding: 2px 0 2px 10px;
+ &.attachment__container--good {
+ border-left-color: #00C100;
+ }
+ &.attachment__container--warning {
+ border-left-color: #DEDE01;
+ }
+ &.attachment__container--danger {
+ border-left-color: #E40303;
+ }
+ }
+ .attachment__body {
+ float: left;
+ width: 80%;
+ padding-right: 5px;
+ &.attachment__body--no_thumb {
+ width: 100%;
+ }
+ }
+ .attachment__text p:last-of-type {
+ display: inline-block;
+ }
+ .attachment__thumb-pretext {
+ margin-left: 5px;
+ }
+ .attachment__title {
+ margin: 5px 0;
+ padding: 0;
+ line-height: 16px;
+ font-size: 16px;
+ a {
+ font-size: 16px;
+ }
+ }
+ .attachment__author-icon {
+ @include border-radius(50px);
+ margin-right: 5px;
+ width: 14px;
+ height: 14px;
+ }
+ .attachment__image {
+ max-width: 100%;
+ margin-bottom: 1em;
+ }
+ .attachment__thumb-container {
+ width: 20%;
+ float: right;
+ img {
+ max-height: 75px;
+ max-width: 100%;
+ }
+ }
+ .attachment___fields {
+ width: 100%;
+ .attachment___field-caption {
+ font-weight: 700;
+ }
+ .attachment___field p {
+ margin: 0;
+ }
+ }
+} \ No newline at end of file