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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-07 12:40:40 +08:00
|
|
|
.topic-post-visited {
|
2021-07-05 14:17:31 +08:00
|
|
|
+ .topic-post article {
|
|
|
|
border-top: 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
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2022-01-04 22:44:54 +08:00
|
|
|
nav.post-controls {
|
|
|
|
// for consistency, try to control spacing by editing these variables
|
|
|
|
--control-space: 0.58em;
|
|
|
|
--control-space-small: calc(var(--control-space) / 2);
|
|
|
|
--control-space-large: calc(var(--control-space) * 1.3);
|
2022-02-26 06:03:58 +08:00
|
|
|
// on small devices with many buttons this can overflow
|
|
|
|
overflow-x: scroll;
|
|
|
|
|
2022-01-04 22:44:54 +08:00
|
|
|
.actions {
|
|
|
|
// using an auto margin on first-child instead of justify-content on the parent
|
|
|
|
// because justify-content breaks overflow scrolling
|
|
|
|
:first-child {
|
|
|
|
margin-left: auto;
|
2020-09-26 09:06:17 +08:00
|
|
|
}
|
2022-01-04 22:44:54 +08:00
|
|
|
// Some buttons can be doubled up, like likes or flags
|
|
|
|
.double-button {
|
|
|
|
button {
|
|
|
|
&.button-count {
|
|
|
|
padding: var(--control-space);
|
|
|
|
+ .toggle-like,
|
|
|
|
+ .create-flag {
|
|
|
|
padding: var(--control-space) var(--control-space-large)
|
|
|
|
var(--control-space) var(--control-space-small);
|
2018-04-28 05:15:29 +08:00
|
|
|
}
|
2022-01-04 22:44:54 +08:00
|
|
|
&.regular-likes {
|
|
|
|
padding: var(--control-space) var(--control-space-small)
|
|
|
|
var(--control-space) var(--control-space-large);
|
2018-04-28 05:15:29 +08:00
|
|
|
}
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2022-01-04 22:44:54 +08:00
|
|
|
}
|
|
|
|
button {
|
|
|
|
padding: var(--control-space) var(--control-space-large);
|
|
|
|
&.expand-post {
|
|
|
|
margin: var(--control-space) 0 var(--control-space) 0;
|
2017-11-16 03:52:33 +08:00
|
|
|
}
|
2022-01-04 22:44:54 +08:00
|
|
|
&.has-like {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--love);
|
2019-02-01 04:13:22 +08:00
|
|
|
}
|
2017-11-16 03:52:33 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2022-01-04 22:44:54 +08:00
|
|
|
}
|
|
|
|
&.replies-button-visible {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
.show-replies {
|
2020-12-11 01:02:07 +08:00
|
|
|
display: flex;
|
2022-01-04 22:44:54 +08:00
|
|
|
+ .reply {
|
|
|
|
margin-left: 0;
|
2020-12-11 01:02:07 +08:00
|
|
|
}
|
2022-01-04 22:44:54 +08:00
|
|
|
.d-icon {
|
|
|
|
padding-left: var(--control-space);
|
2020-12-11 01:02:07 +08:00
|
|
|
}
|
|
|
|
}
|
2022-01-04 22:44:54 +08:00
|
|
|
.actions {
|
|
|
|
flex-grow: 2;
|
|
|
|
}
|
2014-03-19 22:02:09 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2021-07-21 22:41:04 +08:00
|
|
|
nav.post-controls button.reply .d-icon {
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2021-01-28 05:17:08 +08:00
|
|
|
.topic-footer-main-buttons {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
|
2020-05-23 12:56:13 +08:00
|
|
|
.topic-footer-mobile-dropdown {
|
2021-03-18 10:42:52 +08:00
|
|
|
margin-right: 0.5em;
|
2021-01-28 05:17:08 +08:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select-kit-header {
|
|
|
|
height: 100%;
|
2015-12-12 04:07:38 +08:00
|
|
|
}
|
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;
|
2021-03-18 10:42:52 +08:00
|
|
|
|
|
|
|
.reason {
|
|
|
|
align-items: flex-start;
|
|
|
|
.select-kit {
|
|
|
|
max-width: 40%;
|
|
|
|
}
|
|
|
|
}
|
2019-07-29 23:54:23 +08:00
|
|
|
@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;
|
2021-05-26 17:12:32 +08:00
|
|
|
margin: 0;
|
2021-06-08 01:22:28 +08:00
|
|
|
padding: 0 0 1em;
|
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
|
|
|
}
|
|
|
|
|
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
|
|
|
|
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 {
|
2021-10-29 21:23:15 +08:00
|
|
|
padding-right: 8.5em;
|
|
|
|
padding-bottom: unquote("max(1em, env(safe-area-inset-bottom))");
|
2020-12-11 01:02:07 +08:00
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
margin: 1em -9px;
|
|
|
|
|
|
|
|
z-index: 101;
|
|
|
|
.filtered-replies-show-all {
|
|
|
|
position: absolute;
|
2021-10-29 21:23:15 +08:00
|
|
|
right: 1em;
|
2020-12-11 01:02:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.filtered-replies-viewing {
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filtered-avatar {
|
|
|
|
margin-left: 0;
|
|
|
|
img.avatar {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-10-26 03:06:28 +08:00
|
|
|
|
|
|
|
.open-popup-link {
|
|
|
|
opacity: 100%;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|