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