discourse/app/assets/stylesheets/desktop/topic-post.scss

989 lines
17 KiB
SCSS
Raw Normal View History

2015-07-20 15:47:53 +08:00
.wrap {
max-width: $large-width;
2013-02-06 03:16:51 +08:00
}
.full-width {
margin-left: 0;
2013-02-06 03:16:51 +08:00
}
h1 .topic-statuses .topic-status i {
font-size: 0.8em;
vertical-align: middle;
}
.logo-small {
margin-right: 8px;
width: auto;
max-width: 80px;
height: auto;
max-height: 40px;
}
2013-02-06 03:16:51 +08:00
.topic-body {
padding: 0;
&:first-of-type {
border-top: none;
}
2013-10-17 02:09:48 +08:00
.reply-to-tab {
z-index: 400;
font-size: 0.929em;
float: right;
margin: 1px 25px 0 0;
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-medium);
}
2013-02-06 03:16:51 +08:00
.actions .fade-out {
.discourse-no-touch & {
opacity: 0.7;
transition: opacity 0.7s ease-in-out;
}
.discourse-touch & {opacity: 1;}
2013-02-06 03:16:51 +08:00
}
&:hover .actions .fade-out, .selected .actions .fade-out {
opacity: 1;
2013-02-06 03:16:51 +08:00
}
}
section.post-menu-area {
position: relative;
}
nav.post-controls {
padding: 0;
.like-count {
font-size: inherit;
margin-right: -5px;
}
.highlight-action {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-high);
}
a, button {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-low-mid, $secondary-high);
.d-icon {
opacity: 1.0;
}
margin-right: 2px;
display: inline-block;
}
a.toggle-likes {
padding: 8px 0;
margin-right: -3px;
2013-02-06 03:16:51 +08:00
}
span.badge-posts {
margin-right: 5px;
2014-12-23 19:09:17 +08:00
transition: all linear 0.15s;
2014-10-20 21:54:36 +08:00
2013-02-06 03:16:51 +08:00
}
.actions {
text-align: right;
float: right;
display: inline-block;
.more-actions {
display: none;
overflow: hidden;
}
}
.show-replies {
margin-left: -10px;
2015-06-30 07:25:53 +08:00
font-size: inherit;
2017-10-11 04:07:46 +08:00
span.badge-posts {color: dark-light-choose($primary-medium, $secondary-high); }
2014-03-23 05:39:47 +08:00
&:hover {
2017-06-12 10:20:14 +08:00
background: $primary-low;
span.badge-posts {color: $primary;}
2014-03-23 05:39:47 +08:00
}
i {
margin-left: 5px;
2015-06-30 07:25:53 +08:00
font-size: 90%;
2013-02-06 03:16:51 +08:00
}
}
button.create {
margin-right: 0;
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-high, $secondary-low);
margin-left: 10px;
2013-02-06 03:16:51 +08:00
}
.create i {
margin-right: 5px;
2013-02-06 03:16:51 +08:00
}
button {
font-size: 1.143em;
padding: 8px 10px;
vertical-align: top;
background: transparent;
border: none;
margin-left: 3px;
2014-12-23 19:09:17 +08:00
&.d-hover {
2017-06-12 10:20:14 +08:00
background: $primary-low;
color: $primary;
}
&:active {
box-shadow: inset 0 1px 3px rgba(0,0,0, .4);
}
&.hidden {
display: none;
}
&.admin {
position: relative;
}
&.delete.d-hover {
background: $danger;
color: $secondary;
}
&.like.d-hover {
color: $love;
2017-06-12 10:20:14 +08:00
background: $love-low;
}
&.has-like {color: $love;}
&.has-like[disabled]:hover {
background: transparent;
}
&.has-like[disabled]:active {
box-shadow: none;
}
&.bookmark {
padding: 8px 11px;
&.bookmarked {
color: $tertiary;
}
}
}
2014-05-13 20:53:11 +08:00
.post-admin-menu {
background-color: $secondary;
width: 205px;
padding: 10px;
2017-06-12 10:20:14 +08:00
border: 1px solid $primary-low;
2014-05-13 20:53:11 +08:00
position: absolute;
text-align: left;
bottom: -2px;
right: 15px;
2014-05-13 20:53:11 +08:00
z-index: 1000;
h3 {
margin-top: 0;
color: $primary;
font-size: 1em;
}
ul {
list-style: none;
margin: 10px 0 0 0;
}
li {
width: 176px;
margin-bottom: 5px;
.d-icon {
2014-05-13 20:53:11 +08:00
width: 14px;
margin-right: 14px;
}
}
}
2014-04-30 10:13:16 +08:00
}
.embedded-posts {
h1, h2, h3 { margin: 10px 0; }
2014-07-10 23:40:31 +08:00
.topic-body {
box-sizing: border-box;
width: calc(100% - 60px); // [100% - .topic-avatar width]
// WARNING: overflow hide is required for quoted / embedded images
// which expect "normal" post width, but expansions are narrower
overflow: hidden;
padding: 15px 15px 0 15px;
}
// this is covered by .topic-body .regular on a normal post
// but no such class structure exists for an embedded, expanded post
.cooked {
margin-top: 15px;
}
2014-07-10 23:40:31 +08:00
.topic-avatar {
padding-left: 15px;
padding-top: 15px;
2014-07-10 23:40:31 +08:00
}
// bottom means "reply expansion" below a post
2014-04-30 10:13:16 +08:00
&.bottom {
&.hidden {
display: block;
opacity: 0;
}
2013-02-06 03:16:51 +08:00
}
2014-07-10 23:40:31 +08:00
&.bottom {
.row {
padding-top: 7px;
}
}
// top means "in reply to expansion" above a post
&.top {
margin-left: 56px;
2014-07-22 11:58:26 +08:00
width: 701px;
}
&.top.topic-body {
2016-01-27 09:03:18 +08:00
padding: 0;
}
2017-10-11 04:07:46 +08:00
.post-date { color: dark-light-choose($primary-medium, $secondary-high); }
.d-arrow-up, .d-arrow-down { margin-left: 5px; }
.reply:first-of-type .row { border-top: none; }
2014-04-30 10:13:16 +08:00
.topic-meta-data {
position: relative;
}
.topic-meta-data h5 {
position: absolute;
z-index: 1;
font-size: 0.929em;
2014-04-30 10:13:16 +08:00
a {
font-weight: bold;
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-low-mid, $secondary-high);
2014-04-30 10:13:16 +08:00
}
}
2017-10-11 04:07:46 +08:00
.arrow {color: dark-light-choose($primary-medium, $secondary-high); }
2014-04-30 10:13:16 +08:00
}
2013-02-06 03:16:51 +08:00
.post-action {
.relative-date {
margin-left: 5px;
2013-02-06 03:16:51 +08:00
}
.avatar { margin-right: 2px; }
}
2013-09-04 23:53:00 +08:00
a.star {
display: inline-block;
float: left;
2013-02-06 03:16:51 +08:00
}
.topic-map {
margin: 20px 0 0 0;
background: blend-primary-secondary(5%);
2017-06-12 10:20:14 +08:00
border: 1px solid $primary-low;
2015-05-22 16:28:34 +08:00
border-top: none; // would cause double top border
2015-05-22 07:40:39 +08:00
section {
2017-06-12 10:20:14 +08:00
border-top: 1px solid $primary-low;
2015-05-22 07:40:39 +08:00
}
2013-02-06 03:16:51 +08:00
h3 {
margin-bottom: 4px;
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-high, $secondary-low);
2013-02-06 03:16:51 +08:00
line-height: 23px;
2015-05-22 06:30:10 +08:00
font-weight: normal;
2015-05-22 16:28:34 +08:00
font-size: 1em;
2013-02-06 03:16:51 +08:00
}
2013-02-06 03:16:51 +08:00
h4 {
margin: 1px 0 2px 0;
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-medium);
2013-02-06 03:16:51 +08:00
font-weight: normal;
font-size: 0.857em;
2013-02-06 03:16:51 +08:00
line-height: 15px;
}
2013-02-06 03:16:51 +08:00
ul {
margin: 0;
list-style: none;
}
2014-04-06 02:47:25 +08:00
span.domain {
font-size: 0.714em;
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-medium);
2014-04-06 02:47:25 +08:00
}
2013-02-06 03:16:51 +08:00
.avatars {
> div {
float: left;
position: relative;
margin: 3px 0;
}
.post-count {
position: absolute;
right: 0;
border-radius: 100px;
padding: 4px 5px 2px 5px;
text-align: center;
2013-02-06 03:16:51 +08:00
font-weight: normal;
font-size: 11px;
line-height: 1;
2014-06-26 15:46:16 +08:00
}
}
2014-06-26 15:46:16 +08:00
2013-02-06 03:16:51 +08:00
.avatar {
float: left;
margin-right: 4px;
}
.map {
.secondary {text-align: center;}
2013-02-06 03:16:51 +08:00
li {
float: left;
2014-07-23 04:30:32 +08:00
padding: 7px 10px;
2013-02-06 03:16:51 +08:00
&:last-of-type {
border-right: 0;
}
&:nth-child(3) { text-align:center; }
2013-02-06 03:16:51 +08:00
}
a, .number {
2013-02-06 03:16:51 +08:00
line-height: 20px;
}
2014-04-10 09:19:04 +08:00
.number, i {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-high, $secondary-low);
2015-05-22 08:03:18 +08:00
font-size: 130%;
2013-02-06 03:16:51 +08:00
}
.avatar a {
2013-02-06 03:16:51 +08:00
float: left;
}
}
.avatars,
.links,
.information {
padding: 7px 10px 15px 10px;
color: $primary;
2013-02-06 03:16:51 +08:00
}
2014-06-26 15:08:23 +08:00
.participants { // PMs //
2016-02-03 08:17:14 +08:00
.user { float: left; margin: 7px 20px 7px 0; }
.user a {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-high, $secondary-low);
2016-02-03 08:17:14 +08:00
font-weight: bold;
font-size: 0.929em;
}
.d-times {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-high);
2016-02-03 08:17:14 +08:00
}
2014-06-26 15:08:23 +08:00
}
2013-02-06 03:16:51 +08:00
.topic-links {
.badge-notification {
2014-07-09 05:47:58 +08:00
margin: 1px 5px 5px 0;
2013-02-06 03:16:51 +08:00
}
}
2014-06-26 15:46:16 +08:00
td {
vertical-align: top;
2014-08-27 17:58:32 +08:00
padding:1px;
2014-06-26 15:46:16 +08:00
}
2013-02-06 03:16:51 +08:00
.buttons {
float: right;
.btn {
border: 0;
padding: 0 23px;
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-high);
background: blend-primary-secondary(5%);
2017-06-12 10:20:14 +08:00
border-left: 1px solid $primary-low;
border-top: 1px solid $primary-low;
2013-02-06 03:16:51 +08:00
&:hover {
color: $primary;
2017-06-12 10:20:14 +08:00
background: $primary-low;
2013-02-06 03:16:51 +08:00
}
2013-02-06 03:16:51 +08:00
&.collapsed {
padding-bottom: 1px;
2013-02-06 03:16:51 +08:00
}
2013-12-10 05:27:49 +08:00
.fa {
2013-02-06 03:16:51 +08:00
margin: 0;
font-size: 1.286em;
2013-02-06 03:16:51 +08:00
line-height: 52px;
}
}
}
.link-summary .btn {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-high);
background: blend-primary-secondary(5%);
width: 100%;
&:hover {
color: $primary;
background: dark-light-diff($primary, $secondary, 90%, -80%);
}
}
2013-02-06 03:16:51 +08:00
}
2017-08-16 01:17:15 +08:00
@mixin topic-footer-buttons-text {
line-height: 32px;
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-medium);
2017-08-16 01:17:15 +08:00
}
@mixin topic-footer-button {
margin-bottom: 5px;
margin-right: 10px;
}
#topic-footer-buttons {
padding: 10px 10px 0 0;
float: left;
p {
2017-08-16 01:17:15 +08:00
@include topic-footer-buttons-text;
}
.btn {
2017-08-16 01:17:15 +08:00
@include topic-footer-button;
.d-bookmark.bookmarked { color: $tertiary; }
}
.bookmark.bookmarked .d-bookmark {
color: $tertiary;
}
2017-08-16 01:17:15 +08:00
}
#topic-footer-button {
width: 757px;
}
#suggested-topics {
clear: left;
padding: 20px 0 15px 0;
table {
table-layout: fixed;
margin-top: 10px;
}
// this forces category to take less space in suggested topics
// as the poster list is not present at all there.
th.category {
width: 150px;
}
}
#suggested-topics .topic-statuses .topic-status {
padding: 0;
i {
font-size:15px;
}
}
span.post-count {
background: $primary;
color: $secondary;
opacity: .8;
}
2014-04-03 03:54:21 +08:00
button.expand-post {
margin-top: 10px;
}
.quote-button.visible {
display: block;
}
iframe {
max-width: 100%;
}
2014-12-09 04:39:36 +08:00
video {
max-height: 500px;
}
2014-12-25 18:19:06 +08:00
@-webkit-keyframes fadein {
from {opacity: 0;}
to {opacity: 1;}
}
@keyframes fadein {
from {opacity: 0;}
to {opacity: 1;}
}
.extra-info-wrapper {
overflow: hidden;
.badge-wrapper, i, .topic-link {
2015-01-30 01:08:24 +08:00
-webkit-animation: fadein .7s;
animation: fadein .7s;
}
.topic-statuses {
i { color: $header_primary; }
.d-envelope { color: $danger; }
.unpinned { color: $header_primary; }
}
.topic-link {
color: $header_primary;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.topic-header-extra {
margin: 0 0 0 5px;
padding-top: 5px;
}
}
2014-10-07 06:32:38 +08:00
/* default docked header CSS for all topics, including those without categories */
.extra-info {
h1 {
margin: 5px 0 0 0;
font-size: 1.6em;
2014-07-03 11:21:45 +08:00
line-height: 1.3em;
}
2013-10-23 15:52:15 +08:00
.topic-statuses {
margin-top: -2px;
}
}
2013-02-06 03:16:51 +08:00
2014-10-07 06:32:38 +08:00
/* override docked header CSS for topics with categories */
.extra-info.two-rows {
2014-10-07 06:32:38 +08:00
h1 {
line-height: 1.1em;
margin: 0;
2014-10-07 06:32:38 +08:00
}
}
.open >.dropdown-menu {
display: block;
}
.btn-group {
2013-02-06 03:16:51 +08:00
position: relative;
}
.dropdown-toggle {
float: left;
position: relative;
}
.moderator {
.topic-body {
2017-10-11 04:07:46 +08:00
background-color: dark-light-choose($highlight-low, $highlight-medium);
2014-05-07 11:53:04 +08:00
}
}
.deleted {
.topic-body {
2014-08-12 12:11:58 +08:00
background-color: dark-light-diff(rgba($danger,.7), $secondary, 50%, -60%);
}
}
#share-link {
width: 365px;
margin-left: -4px;
}
.post-select {
float: right;
margin-right: 20px;
margin-top: -20px;
}
.deleted-user-avatar {
font-size: 2.571em;
}
.info-line {
margin: 10px 0;
color: $primary;
}
2014-06-30 15:58:27 +08:00
/* solo quotes */
blockquote {
2014-06-30 18:03:54 +08:00
/* leave browser defaults for top and bottom here */
margin-left: 0;
margin-right: 0;
padding: 12px;
}
2014-06-30 15:58:27 +08:00
/* quotes with attribution */
.quote {
&>blockquote {
.onebox-result {
background-color: blend-primary-secondary(5%);
}
}
aside {
.quote, .title, blockquote, .onebox, .onebox-result {
background: blend-primary-secondary(5%);
2017-06-12 10:20:14 +08:00
border-left: 5px solid $primary-low;
}
aside.quote>blockquote, aside.quote>.title {
border-left: 0;
}
}
}
// variables are used to calculate the width of .gap
$topic-body-width: 690px;
$topic-body-width-padding: 11px;
$topic-avatar-width: 45px;
2015-12-02 06:27:32 +08:00
.topic-body {
width: $topic-body-width;
float: left;
position: relative;
2014-07-23 08:33:21 +08:00
z-index: 2;
2017-06-12 10:20:14 +08:00
border-top: 1px solid $primary-low;
padding: 12px $topic-body-width-padding 15px $topic-body-width-padding;
}
.topic-avatar {
2017-06-12 10:20:14 +08:00
border-top: 1px solid $primary-low;
padding-top: 15px;
width: $topic-avatar-width;
float: left;
z-index: 3;
}
2015-06-29 16:14:54 +08:00
.gap {
width: calc(#{$topic-avatar-width} + #{$topic-body-width} + 2 * #{$topic-body-width-padding});
}
/* hide the reply border above the time gap notices */
.time-gap + .topic-post .topic-body,
.time-gap + .topic-post .topic-avatar {
border-top: none;
}
2013-10-22 04:54:53 +08:00
.posts-wrapper {
position: relative;
-webkit-font-smoothing: subpixel-antialiased;
}
.dropdown {
position: relative;
}
.caret {
display: inline-block;
width: 0;
height: 0;
vertical-align: middle;
border-top: 4px solid $primary;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
content: "";
margin-left: 5px;
}
.dropdown-menu {
position: absolute;
bottom: 115%;
left: 0;
2015-12-09 13:32:49 +08:00
z-index: 999;
display: none;
float: left;
width: 550px;
margin: 1px 0 0;
list-style: none;
background-color: $secondary;
2017-06-12 10:20:14 +08:00
border: 1px solid $primary-low;
2014-08-06 21:31:13 +08:00
box-shadow: 0 1px 5px rgba(0,0,0, .4);
background-clip: padding-box;
span {
font-size: 0.857em;
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-medium);
}
span.title {
font-weight: bold;
display: block;
font-size: 1em;
color: $primary;
}
}
.dropdown-menu a {
display: block;
2014-06-28 07:42:43 +08:00
padding: 9px;
clear: both;
font-weight: normal;
line-height: 18px;
color: $primary;
2014-12-23 19:09:17 +08:00
transition: all linear .15s;
& > div {
margin-left: 26px;
}
}
.dropdown-menu li > a:hover,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
2014-06-28 07:42:43 +08:00
color: $primary;
text-decoration: none;
2017-06-12 10:20:14 +08:00
background-color: $highlight-medium;
2014-06-28 07:42:43 +08:00
}
.dropdown-menu .disabled > a,
.dropdown-menu .disabled > a:hover {
text-decoration: none;
color: $primary;
2017-06-12 10:20:14 +08:00
background-color: $tertiary-low;
cursor: default;
}
.dropdown-menu .icon {
margin-top: 3px;
float: left;
font-size: 1.286em;
}
.open > .dropdown-menu {
display: block;
clear: both;
}
.selected-posts {
width: 200px;
position: fixed;
z-index: 1000;
2017-06-12 10:20:14 +08:00
background-color: $tertiary-low;
border: 1px solid $tertiary;
padding: 5px;
margin-bottom: 5px;
right: 10px;
@include large-width {
right: auto;
margin-left: 330px;
left: 50%;
}
button {
width: 180px;
margin: 4px auto;
display: inline-block;
text-align: left;
}
&.hidden {
display: none;
}
.controls {
margin-top: 10px;
}
p {
font-size: 0.929em;
margin: 0 0 10px 0;
}
p.cancel {
margin: 10px 0 0 0;
}
h3 {
font-size: 1.786em;
color: $primary;
margin-bottom: 5px;
i {
margin-right: 7px;
}
}
.btn {
border: none;
color: $secondary;
font-weight: normal;
margin-bottom: 10px;
2017-10-11 04:07:46 +08:00
background: $tertiary-medium;
&[href] {
color: $secondary;
}
&:hover
{
color: $secondary;
2017-10-11 04:07:46 +08:00
background: $tertiary-high;
}
&:active {
@include linear-gradient(darken($tertiary, 18%), darken($tertiary, 12%));
box-shadow: inset 0 1px 3px rgba(0,0,0, 0.2);
color: $secondary;
}
&[disabled] {
text-shadow: 0 1px 0 rgba($primary, 0.2);
@include linear-gradient($tertiary, darken($tertiary, 20%));
2014-08-06 21:31:13 +08:00
@include box-shadow((inset 0 1px 0 rgba(0,0,0, 0.33), inset 0 -1px 2px rgba($primary, 0.2)));
}
}
}
2015-07-10 12:48:44 +08:00
.topic-post {
&.selected {
article.boxed {
.select-posts {
button.select-post {
2017-10-11 04:07:46 +08:00
background-color: $tertiary-medium;
color: $secondary;
}
}
.topic-body {
.contents:after {
display: none;
}
}
}
}
article.boxed {
position: relative;
.select-posts {
position: absolute;
right: 0;
z-index: 490;
top: 3em;
height: 100px;
button {
margin-left: 8px;
2017-10-11 04:07:46 +08:00
background-color: dark-light-choose($primary-low-mid, $secondary-high);
border: 1px solid dark-light-choose($primary-medium, $secondary-high);
color: $primary;
}
}
}
}
2013-10-23 15:52:15 +08:00
a.attachment:before {
display: inline-block;
margin-right: 4px;
font-family: "FontAwesome";
content: "\f019";
}
2013-10-30 21:11:05 +08:00
.private_message .gutter, .deleted-topic .gutter,.read_restricted .gutter {
position: relative;
}
2013-10-30 21:11:05 +08:00
.deleted-topic .gutter:before {
display: block;
position: absolute;
left: 767px;
2017-06-12 10:20:14 +08:00
color: rgba($primary-low, .8);
font: 6.429em/1 FontAwesome;
content: "\f014";
z-index: -5;
}
2013-10-30 21:11:05 +08:00
.topic-meta-data {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
.post-info {
display: inline-block;
float: right;
font-size: 0.929em;
margin-top: 1px;
2017-10-11 04:07:46 +08:00
a {color: dark-light-choose($primary-medium, $secondary-medium); }
}
}
2015-07-10 12:48:44 +08:00
.who-liked {
margin-top: 20px;
margin-bottom: 0px;
width: 100%;
text-align: right;
}
span.highlighted {
2017-06-12 10:20:14 +08:00
background-color: $tertiary-low;
2014-05-14 16:05:24 +08:00
}
.username.new-user a {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-low-mid, $secondary-high);
2014-05-14 16:05:24 +08:00
}
.read-state {
2017-10-11 04:07:46 +08:00
color: $tertiary-medium;
2014-06-03 10:32:33 +08:00
position: absolute;
right: 0px;
2014-06-03 10:32:33 +08:00
top: 13px;
font-size: 0.571em;
}
.read-state.read {
opacity: 0;
2014-12-23 19:09:17 +08:00
transition: opacity ease-out 1s;
}
2015-09-02 07:49:45 +08:00
.signup-cta {
width: $topic-body-width;
a {
float: right;
text-decoration: underline;
}
}
/* Tablet (portrait) ----------- */
@media all
and (max-width : 870px) {
2014-07-10 23:40:31 +08:00
.gutter {
display: none;
}
2014-07-10 23:40:31 +08:00
.topic-avatar {
width: 45px;
2014-07-10 23:40:31 +08:00
}
.topic-post .reply-to-tab {
2014-07-10 23:40:31 +08:00
right: 15%;
}
2014-07-10 23:40:31 +08:00
.topic-body {
box-sizing: border-box;
width: calc(100% - 47px); //100% - [width of .topic-avatar + 2px]
padding-left: 2%;
2014-07-10 23:40:31 +08:00
}
.embedded-posts {
// top means "in reply to expansion" above a post
&.top {
width: calc(100% - 56px); // [100% - margin-left]
2014-07-10 23:40:31 +08:00
}
}
2014-07-10 23:40:31 +08:00
}
2015-07-10 12:48:44 +08:00
/* below standard tablet portrait ----------- */
@media all
and (max-width : 767px) {
.reply-to-tab {
span {display: none;}
}
.names {
span {display: block;}
}
}