summaryrefslogtreecommitdiffstats
path: root/webapp/sass/responsive/_tablet.scss
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmoodspin@users.noreply.github.com>2016-06-06 17:46:03 +0500
committerJoram Wilander <jwawilander@gmail.com>2016-06-06 08:46:03 -0400
commit353216e05c84727a43445bc5c4bb79fe94dcfca4 (patch)
treed6f5b0edfd20e93635a23109aaf06bf5b844d3e3 /webapp/sass/responsive/_tablet.scss
parent53a35f2f8efd34685e9ef5c8b84d9665f8479b52 (diff)
downloadchat-353216e05c84727a43445bc5c4bb79fe94dcfca4.tar.gz
chat-353216e05c84727a43445bc5c4bb79fe94dcfca4.tar.bz2
chat-353216e05c84727a43445bc5c4bb79fe94dcfca4.zip
PLT-3182 - Improving switch channels modal and some minor UI improvements (#3238)
* PLT-3182 - Improving switch channels modal and some minor UI improvements Enabling link previews Adding compact layout to RHS Improving timestamps * Adding update code for RHS components
Diffstat (limited to 'webapp/sass/responsive/_tablet.scss')
-rw-r--r--webapp/sass/responsive/_tablet.scss138
1 files changed, 74 insertions, 64 deletions
diff --git a/webapp/sass/responsive/_tablet.scss b/webapp/sass/responsive/_tablet.scss
index 0a62c0f79..9e09c3f42 100644
--- a/webapp/sass/responsive/_tablet.scss
+++ b/webapp/sass/responsive/_tablet.scss
@@ -85,85 +85,103 @@
.post {
&.post--compact {
- padding: 5px .5em 0 80px;
+ &:not(.post--thread) {
+ padding: 5px .5em 0 70px;
- .post__link {
- margin: 4px 0 7px;
- }
+ .post__link {
+ margin: 4px 0 7px;
+ }
- .post__time {
- font-size: .85em;
- left: -70px;
- position: absolute;
- top: 2px;
- }
+ .post__time {
+ font-size: .85em;
+ left: -70px;
+ position: absolute;
+ text-align: right;
+ top: 4px;
+ width: 60px;
+ }
- span {
- p {
- &:last-child {
- margin-bottom: .3em;
+ span {
+ p {
+ &:last-child {
+ margin-bottom: .3em;
+ }
}
}
- }
- .post__header {
- float: left;
- height: 18px;
- padding-top: 3px;
-
- .col__name {
- font-weight: bold;
- margin-right: 2px;
- padding-right: 10px;
- position: relative;
- z-index: 1;
-
- &:after {
- content: ':';
- display: inline-block;
- font-family: FontAwesome;
- font-size: 19px;
- position: absolute;
- right: 3px;
- text-rendering: auto;
- top: -5px;
+ .post__header {
+ float: left;
+ height: 21px;
+ padding-top: 3px;
+
+ .col__name {
+ font-weight: bold;
+ margin-right: 2px;
+ padding-right: 10px;
+ position: relative;
+ z-index: 1;
+
+ &:after {
+ content: ':';
+ display: inline-block;
+ font-family: FontAwesome;
+ font-size: 19px;
+ position: absolute;
+ right: 3px;
+ text-rendering: auto;
+ top: -5px;
+ }
}
- }
- .col__reply {
- top: 2px;
+ .col__reply {
+ top: 2px;
+ }
}
- }
- &.other--root {
- .post__body {
- > div {
- &:first-child {
- min-height: 21px;
+ &.other--root {
+ .post__body {
+ > div {
+ &:first-child {
+ min-height: 21px;
+ }
+ }
+ }
+
+ .post__link + .post__body {
+ clear: both;
+ }
+
+ &.post--comment {
+ .post__header {
+ .col__reply {
+ top: 0;
+ }
}
}
}
- .post__link + .post__body {
+ .post-code {
clear: both;
}
- &.post--comment {
- .post__header {
- .col__reply {
- top: 0;
- }
- }
+ .post__body {
+ width: 100%;
}
- }
- .post-code {
- clear: both;
+ .post__content {
+ padding-right: 85px;
+ }
}
&.same--root {
&.same--user {
- padding-left: 80px;
+ padding-left: 70px;
+
+ .post__header {
+ .col__reply {
+ top: 4px;
+ }
+ }
.post__img {
img {
@@ -194,14 +212,6 @@
}
}
}
-
- .post__body {
- width: 100%;
- }
-
- .post__content {
- padding-right: 85px;
- }
}
&.same--root {