2016-05-13 17:45:34 +08:00
|
|
|
/* hide the reply border above the time gap notices */
|
2018-06-19 02:10:48 +08:00
|
|
|
.time-gap + .topic-post article {
|
2016-05-13 17:45:34 +08:00
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
2018-02-09 06:04:29 +08:00
|
|
|
.time-gap {
|
|
|
|
.topic-avatar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-29 02:39:55 +08:00
|
|
|
.topic-post article {
|
2020-08-04 10:57:10 +08:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2018-01-13 06:27:38 +08:00
|
|
|
padding: 15px 0 8px 0;
|
2016-03-29 02:39:55 +08:00
|
|
|
}
|
|
|
|
|
2016-02-13 04:12:01 +08:00
|
|
|
.post-stream {
|
|
|
|
padding-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
span.badge-posts {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2013-09-14 12:39:08 +08:00
|
|
|
.show-replies {
|
2013-09-06 03:37:07 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-05-19 04:11:46 +08:00
|
|
|
.topic-post {
|
2017-11-16 03:52:33 +08:00
|
|
|
nav.post-controls {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-low-mid-or-secondary-high);
|
2020-09-26 09:06:17 +08:00
|
|
|
&.expanded {
|
|
|
|
// on small devices with many buttons this can overflow
|
|
|
|
overflow-x: scroll;
|
|
|
|
}
|
2018-04-28 05:15:29 +08:00
|
|
|
.actions {
|
|
|
|
display: flex;
|
2020-05-29 14:05:21 +08:00
|
|
|
|
|
|
|
// Handles the like and flag buttons in the post menu.
|
|
|
|
.double-button {
|
|
|
|
display: flex;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
align-items: center;
|
|
|
|
button {
|
|
|
|
&.like,
|
|
|
|
&.read-indicator,
|
|
|
|
&.create-flag {
|
|
|
|
flex: 1 1 auto;
|
2018-04-28 05:15:29 +08:00
|
|
|
}
|
2020-05-29 14:05:21 +08:00
|
|
|
&.button-count {
|
|
|
|
padding: 8px 4px 8px 8px;
|
|
|
|
+ .toggle-like,
|
|
|
|
+ .create-flag {
|
|
|
|
padding: 8px 8px 8px 4px;
|
|
|
|
}
|
|
|
|
&.my-likes,
|
|
|
|
&.regular-likes {
|
|
|
|
display: flex;
|
|
|
|
max-width: unset;
|
|
|
|
padding: 8px;
|
|
|
|
.d-icon {
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
2018-04-28 05:15:29 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2020-05-29 14:05:21 +08:00
|
|
|
.d-icon {
|
|
|
|
opacity: 1;
|
2017-11-16 03:52:33 +08:00
|
|
|
}
|
2020-05-29 14:05:21 +08:00
|
|
|
button {
|
|
|
|
border: none;
|
|
|
|
font-size: $font-up-1;
|
|
|
|
padding: 10px 8px;
|
|
|
|
background: transparent;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
max-width: 45px;
|
|
|
|
&.hidden {
|
|
|
|
display: none;
|
2019-02-01 04:13:22 +08:00
|
|
|
}
|
2020-05-29 14:05:21 +08:00
|
|
|
&.admin {
|
|
|
|
position: relative;
|
2019-02-01 04:13:22 +08:00
|
|
|
}
|
2020-05-29 14:05:21 +08:00
|
|
|
&.expand-post {
|
|
|
|
margin: 10px 0 10px 0;
|
|
|
|
}
|
|
|
|
&.reply {
|
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2020-05-29 14:05:21 +08:00
|
|
|
}
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
&.has-like {
|
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--love);
|
2020-05-29 14:05:21 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.bookmarked {
|
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--tertiary);
|
2020-05-29 14:05:21 +08:00
|
|
|
}
|
2019-02-01 04:13:22 +08:00
|
|
|
}
|
2017-11-16 03:52:33 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2020-12-11 01:02:07 +08:00
|
|
|
&.replies-button-visible {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
.show-replies {
|
2020-12-18 11:51:13 +08:00
|
|
|
margin-left: auto;
|
2020-12-11 01:02:07 +08:00
|
|
|
display: flex;
|
|
|
|
font-size: $font-up-1;
|
2020-12-18 11:51:13 +08:00
|
|
|
+ .reply {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-12-11 01:02:07 +08:00
|
|
|
.d-icon {
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.actions {
|
|
|
|
flex-grow: 2;
|
|
|
|
}
|
|
|
|
}
|
2014-03-19 22:02:09 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2014-05-13 20:53:11 +08:00
|
|
|
.post-admin-menu {
|
2018-06-19 01:01:40 +08:00
|
|
|
bottom: -50px;
|
2014-10-14 04:38:22 +08:00
|
|
|
left: 135px;
|
2018-06-19 01:01:40 +08:00
|
|
|
@media screen and (max-width: 374px) {
|
|
|
|
left: 50px;
|
|
|
|
}
|
2014-05-13 20:53:11 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
|
|
|
.embedded-posts {
|
|
|
|
.topic-meta-data h5 a {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-actions {
|
2015-09-17 15:00:53 +08:00
|
|
|
/* overriding display: here was causing hidden element to take up space */
|
2014-10-20 13:47:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-action {
|
|
|
|
float: right;
|
|
|
|
margin-right: 10px;
|
|
|
|
clear: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-action .relative-date {
|
|
|
|
margin-left: 5px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
a.reply-to-tab {
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("base") + 1;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-06-21 01:06:20 +08:00
|
|
|
margin-right: 0.5em;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2014-05-14 03:07:05 +08:00
|
|
|
.topic-post .boxed .contents {
|
2014-06-13 14:14:58 +08:00
|
|
|
clear: both;
|
2014-05-14 03:07:05 +08:00
|
|
|
}
|
|
|
|
|
2013-11-16 02:30:24 +08:00
|
|
|
.topic-map {
|
2018-11-02 22:07:22 +08:00
|
|
|
margin: 10px 0;
|
|
|
|
h4 {
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-medium;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2014-07-13 13:17:54 +08:00
|
|
|
.user {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2013-11-29 00:45:16 +08:00
|
|
|
.map-collapsed {
|
|
|
|
.secondary {
|
|
|
|
display: none;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2013-11-29 00:45:16 +08:00
|
|
|
}
|
|
|
|
.map {
|
2013-09-06 03:37:07 +08:00
|
|
|
li {
|
|
|
|
float: left;
|
2014-09-23 18:06:07 +08:00
|
|
|
padding: 7px 8px;
|
2013-09-06 03:37:07 +08:00
|
|
|
&:last-of-type {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-04-23 22:45:18 +08:00
|
|
|
.number {
|
2018-02-13 04:16:27 +08:00
|
|
|
line-height: $line-height-medium;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.number,
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high-or-secondary-low);
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-1;
|
2015-06-03 17:46:35 +08:00
|
|
|
}
|
2018-06-19 02:10:48 +08:00
|
|
|
.avatar + a {
|
2013-09-06 03:37:07 +08:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
2014-09-24 02:29:27 +08:00
|
|
|
li.avatars {
|
2014-09-23 18:06:07 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.links,
|
|
|
|
.information,
|
|
|
|
.avatars {
|
2018-01-13 06:27:38 +08:00
|
|
|
padding: 10px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2014-05-06 15:24:04 +08:00
|
|
|
overflow: auto;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2018-01-13 06:27:38 +08:00
|
|
|
.information {
|
|
|
|
p {
|
|
|
|
margin: 0 0 10px 0;
|
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
.buttons {
|
|
|
|
.btn {
|
|
|
|
border: 0;
|
2014-09-23 18:06:07 +08:00
|
|
|
padding: 0 15px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-high);
|
|
|
|
background: var(--blend-primary-secondary-5);
|
|
|
|
border-left: 1px solid var(--primary-low);
|
2013-12-10 05:27:49 +08:00
|
|
|
.fa {
|
2013-09-06 03:37:07 +08:00
|
|
|
margin: 0;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2013-09-06 03:37:07 +08:00
|
|
|
line-height: 52px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-07-22 01:51:56 +08:00
|
|
|
.link-summary .btn {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-high);
|
|
|
|
background: var(--blend-primary-secondary-5);
|
2017-07-22 01:51:56 +08:00
|
|
|
width: 100%;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#topic-footer-buttons {
|
2020-04-16 07:20:44 +08:00
|
|
|
.d-icon-bookmark.bookmarked,
|
|
|
|
.d-icon-discourse-bookmark-clock.bookmarked {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--tertiary);
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2020-05-23 12:56:13 +08:00
|
|
|
|
|
|
|
.topic-footer-mobile-dropdown {
|
|
|
|
margin: 0 0.5em 0.5em 0;
|
2015-12-12 04:07:38 +08:00
|
|
|
width: 160px;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2019-07-29 23:54:23 +08:00
|
|
|
.topic-notifications-button,
|
|
|
|
.pinned-button {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
@include breakpoint(mobile-medium) {
|
|
|
|
display: inline-block;
|
|
|
|
.reason {
|
|
|
|
display: block;
|
|
|
|
margin: 0.5em 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-05-06 15:48:44 +08:00
|
|
|
}
|
|
|
|
|
2018-11-12 10:04:30 +08:00
|
|
|
.suggested-topics {
|
2013-09-06 03:37:07 +08:00
|
|
|
clear: left;
|
2015-07-22 09:46:15 +08:00
|
|
|
padding: 20px 0 15px 0;
|
2018-06-08 17:49:31 +08:00
|
|
|
th.views,
|
|
|
|
td.views,
|
|
|
|
td.activity,
|
|
|
|
th.activity,
|
|
|
|
th.likes,
|
|
|
|
td.likes {
|
2013-09-06 03:37:07 +08:00
|
|
|
display: none;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
a.badge-category,
|
|
|
|
a.badge-category-parent {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
2014-05-10 14:09:04 +08:00
|
|
|
vertical-align: top;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
span.post-count {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--primary);
|
|
|
|
color: var(--secondary);
|
2018-06-08 17:49:31 +08:00
|
|
|
opacity: 0.8;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#topic-title {
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("base") + 1;
|
2013-09-06 03:37:07 +08:00
|
|
|
margin: 0 0 0 0 !important;
|
2015-07-22 09:46:15 +08:00
|
|
|
padding: 15px 0;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.quote-button.visible {
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("tooltip");
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group {
|
2013-10-22 14:56:46 +08:00
|
|
|
margin-top: 25px;
|
2013-09-06 03:37:07 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
2013-09-14 12:39:08 +08:00
|
|
|
float: left;
|
2013-09-06 03:37:07 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2016-04-09 03:25:52 +08:00
|
|
|
.selected-posts {
|
|
|
|
padding: 0.1em 0.7em;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2015-01-21 14:51:15 +08:00
|
|
|
// hide the full set of selection buttons on mobile
|
2018-06-08 17:49:31 +08:00
|
|
|
.select-posts button {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-01-21 14:51:15 +08:00
|
|
|
|
|
|
|
// unhide the simple "select just this post" button
|
|
|
|
button.select-post {
|
|
|
|
display: inline-block;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.deleted {
|
2017-04-01 00:48:32 +08:00
|
|
|
.topic-body {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--danger-low-mid);
|
2017-04-01 00:48:32 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2013-09-06 04:28:16 +08:00
|
|
|
.deleted-user-avatar {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-5;
|
2013-09-06 04:28:16 +08:00
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
span.btn-text {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-09-13 04:00:53 +08:00
|
|
|
blockquote {
|
2018-06-08 17:49:31 +08:00
|
|
|
clear: both;
|
2014-06-30 15:51:17 +08:00
|
|
|
/* leave browser defaults for top and bottom here */
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2013-09-13 04:00:53 +08:00
|
|
|
}
|
|
|
|
|
2020-04-21 21:02:13 +08:00
|
|
|
pre.copy-codeblocks code {
|
|
|
|
padding-right: 2.75em;
|
|
|
|
}
|
|
|
|
|
2018-02-09 06:04:29 +08:00
|
|
|
.gap {
|
2018-03-30 11:18:15 +08:00
|
|
|
padding: 0.25em 0;
|
2018-02-09 06:04:29 +08:00
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.posts-wrapper {
|
|
|
|
position: relative;
|
|
|
|
}
|
2014-03-31 23:29:32 +08:00
|
|
|
|
2014-06-05 00:15:59 +08:00
|
|
|
span.highlighted {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--highlight-low);
|
2014-06-05 00:15:59 +08:00
|
|
|
}
|
|
|
|
|
2014-05-10 14:09:04 +08:00
|
|
|
.topic-avatar {
|
|
|
|
float: left;
|
2018-01-13 06:27:38 +08:00
|
|
|
margin-right: 10px;
|
2018-06-19 01:01:40 +08:00
|
|
|
z-index: z("base") + 1;
|
|
|
|
/* must render on top of topic-body + topic-meta-data, otherwise not tappable */
|
2014-05-10 14:09:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.topic-meta-data {
|
2015-09-30 00:57:54 +08:00
|
|
|
margin-left: 50px;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
2014-06-06 00:32:48 +08:00
|
|
|
.names {
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-medium;
|
2018-07-09 11:45:00 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2018-10-02 10:56:50 +08:00
|
|
|
|
2018-07-09 11:45:00 +08:00
|
|
|
.full-name {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-10-02 10:56:50 +08:00
|
|
|
|
|
|
|
.first {
|
|
|
|
order: 1;
|
2018-07-09 11:45:00 +08:00
|
|
|
}
|
2018-10-02 10:56:50 +08:00
|
|
|
|
2018-07-09 11:45:00 +08:00
|
|
|
.poster-icon {
|
|
|
|
order: 2;
|
|
|
|
}
|
2018-10-02 10:56:50 +08:00
|
|
|
|
|
|
|
.second {
|
2018-07-09 11:45:00 +08:00
|
|
|
order: 3;
|
|
|
|
flex-basis: 100%;
|
|
|
|
}
|
2018-10-02 10:56:50 +08:00
|
|
|
|
2018-07-09 11:45:00 +08:00
|
|
|
.user-title {
|
|
|
|
order: 4;
|
2018-08-13 13:29:46 +08:00
|
|
|
flex-basis: 100%;
|
2018-07-09 11:45:00 +08:00
|
|
|
}
|
|
|
|
span {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2014-06-06 00:32:48 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.username.new-user a {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-low-mid);
|
2014-06-06 00:32:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-title {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2014-06-06 00:32:48 +08:00
|
|
|
overflow: hidden;
|
|
|
|
margin-right: 50px;
|
2014-03-31 23:29:32 +08:00
|
|
|
}
|
2014-06-03 13:33:00 +08:00
|
|
|
|
|
|
|
.read-state {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-07-30 09:19:30 +08:00
|
|
|
|
2015-09-02 07:49:45 +08:00
|
|
|
.signup-cta {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
width: calc(100% - 50px);
|
|
|
|
a {
|
|
|
|
margin-top: 7px;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-08 18:23:44 +08:00
|
|
|
.post-notice {
|
|
|
|
margin-bottom: 1em;
|
2019-04-04 04:10:54 +08:00
|
|
|
&.old {
|
|
|
|
border-top: none;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2019-03-08 18:23:44 +08:00
|
|
|
}
|
2020-12-11 01:02:07 +08:00
|
|
|
|
|
|
|
.posts-filtered-notice {
|
|
|
|
padding-right: 10em;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
padding-bottom: unquote("max(0.75em, env(safe-area-inset-bottom))");
|
|
|
|
margin: 1em -9px;
|
|
|
|
|
|
|
|
z-index: 101;
|
|
|
|
.filtered-replies-show-all {
|
|
|
|
position: absolute;
|
|
|
|
right: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filtered-replies-viewing {
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filtered-avatar {
|
|
|
|
margin-left: 0;
|
|
|
|
img.avatar {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|