2016-12-28 11:39:08 -05:00
|
|
|
@keyframes button-jump-up {
|
2018-06-08 05:49:31 -04:00
|
|
|
0% {
|
2018-10-03 13:21:57 -04:00
|
|
|
margin-bottom: -60px;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
50% {
|
2018-10-03 13:21:57 -04:00
|
|
|
margin-bottom: 10px;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
65% {
|
2018-10-03 13:21:57 -04:00
|
|
|
margin-bottom: 0px;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
77% {
|
2018-10-03 13:21:57 -04:00
|
|
|
margin-bottom: 5px;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
100% {
|
2018-10-03 13:21:57 -04:00
|
|
|
margin-bottom: 0px;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2016-12-28 11:39:08 -05:00
|
|
|
}
|
|
|
|
|
2020-10-19 17:26:38 -04:00
|
|
|
.container.posts {
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "posts timeline";
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
> .row {
|
|
|
|
grid-area: posts;
|
2020-10-20 18:35:07 -04:00
|
|
|
max-width: calc(
|
|
|
|
100vw - 16px
|
|
|
|
); // 16px is the left + right padding on .wrap in common/base/discourse.scss
|
2020-10-19 17:26:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-container {
|
|
|
|
margin-left: unset !important;
|
|
|
|
/* This is a temporary override to ease the transition
|
|
|
|
to the sticky position timeline for themes with custom timeline positioning.
|
|
|
|
Without this those themes would render topics unreadable. */
|
|
|
|
}
|
|
|
|
|
|
|
|
// timeline
|
|
|
|
@media screen and (min-width: 925px) {
|
|
|
|
// at 925px viewport width and above the timeline is visible (see topic-navigation.js)
|
|
|
|
.topic-navigation {
|
|
|
|
grid-area: timeline;
|
|
|
|
align-self: start;
|
|
|
|
@include sticky;
|
|
|
|
top: 6em;
|
|
|
|
margin-left: 1em;
|
|
|
|
z-index: z("timeline");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// progress bar
|
|
|
|
@media screen and (max-width: 924px) {
|
|
|
|
// at 924px viewport width and below the progress bar is visible (see topic-navigation.js)
|
|
|
|
grid-template-areas: "posts posts";
|
|
|
|
.timeline-container:not(.timeline-fullscreen) {
|
|
|
|
display: none; // hiding this because sometimes the JS switch lags and causes layout issues
|
|
|
|
}
|
|
|
|
.timeline-container {
|
|
|
|
.timeline-scroller-content {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-20 16:00:54 -05:00
|
|
|
.progress-back-container {
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("dropdown");
|
2018-01-25 09:53:36 -05:00
|
|
|
margin-right: 0;
|
2016-12-28 11:39:08 -05:00
|
|
|
animation-duration: 0.5s;
|
|
|
|
animation-name: button-jump-up;
|
2016-12-28 12:24:17 -05:00
|
|
|
width: 145px;
|
|
|
|
text-align: center;
|
2018-10-03 13:21:57 -04:00
|
|
|
margin-bottom: 0px;
|
2019-10-01 11:45:51 -04:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: -2em;
|
2016-12-20 16:00:54 -05:00
|
|
|
.btn {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-23 14:37:49 -04:00
|
|
|
#topic-progress-wrapper {
|
2019-10-01 11:45:51 -04:00
|
|
|
display: flex;
|
2017-06-23 14:37:49 -04:00
|
|
|
.topic-admin-menu-button-container {
|
2019-10-01 11:45:51 -04:00
|
|
|
display: flex;
|
|
|
|
> span {
|
|
|
|
display: flex;
|
2017-06-23 14:37:49 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.topic-admin-popup-menu.right-side {
|
2019-10-01 11:45:51 -04:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2018-10-03 13:21:57 -04:00
|
|
|
left: auto;
|
2019-10-01 11:45:51 -04:00
|
|
|
transition: bottom 0.5s;
|
2018-10-03 13:21:57 -04:00
|
|
|
transform: translateZ(
|
|
|
|
0
|
|
|
|
); // iOS11 Rendering bug https://meta.discourse.org/t/wrench-menu-not-disappearing-on-ios/94297
|
2017-06-23 14:37:49 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#topic-progress-wrapper.docked {
|
|
|
|
.topic-admin-popup-menu.right-side {
|
2018-06-18 13:01:40 -04:00
|
|
|
bottom: -150px; // Prevents menu from being too high when a topic is very short
|
2017-06-23 14:37:49 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-02 19:03:25 -05:00
|
|
|
.title-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2019-01-11 19:41:09 -05:00
|
|
|
button {
|
|
|
|
margin: 0 0.5em 0 0;
|
2018-02-02 19:03:25 -05:00
|
|
|
}
|
|
|
|
a.topic-featured-link {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-12-06 19:22:04 -05:00
|
|
|
.topic-statuses {
|
2020-11-22 20:16:41 -05:00
|
|
|
line-height: 1.2;
|
2018-12-10 16:06:26 -05:00
|
|
|
margin-right: 0.15em;
|
2020-07-27 20:45:29 -04:00
|
|
|
&:empty {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2018-12-06 19:22:04 -05:00
|
|
|
.d-icon {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2018-12-06 19:22:04 -05:00
|
|
|
}
|
|
|
|
}
|
2018-02-02 19:03:25 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin: 0 0 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.badge-category {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2014-10-06 11:50:18 -04:00
|
|
|
#topic-title {
|
2015-01-14 15:36:38 -05:00
|
|
|
.title-wrapper {
|
2018-02-02 19:03:25 -05:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2017-08-31 09:08:09 -04:00
|
|
|
width: 90%;
|
2016-12-05 07:31:43 -05:00
|
|
|
a.topic-featured-link {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2015-01-14 15:36:38 -05:00
|
|
|
}
|
2016-12-29 14:59:30 -05:00
|
|
|
h1 {
|
|
|
|
margin: 0 0 4px 0;
|
2018-08-26 22:35:15 -04:00
|
|
|
width: 100%;
|
2016-12-29 14:59:30 -05:00
|
|
|
}
|
2014-10-06 11:50:18 -04:00
|
|
|
a.badge-category {
|
|
|
|
margin-top: 5px;
|
2015-01-14 15:36:38 -05:00
|
|
|
}
|
2018-11-26 16:49:57 -05:00
|
|
|
a.edit-topic .d-icon {
|
2018-06-08 05:49:31 -04:00
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
2017-12-04 15:29:02 -05:00
|
|
|
.edit-topic-title {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
box-sizing: border-box;
|
|
|
|
max-width: 758px;
|
|
|
|
#edit-title {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.category-chooser,
|
|
|
|
.mini-tag-chooser {
|
2017-12-04 15:29:02 -05:00
|
|
|
flex: 1 1 49%;
|
|
|
|
margin: 0 0 9px 0;
|
|
|
|
@media all and (max-width: 500px) {
|
2018-02-26 05:42:57 -05:00
|
|
|
flex: 1 1 100%;
|
2017-12-04 15:29:02 -05:00
|
|
|
}
|
|
|
|
}
|
2018-02-26 05:42:57 -05:00
|
|
|
.mini-tag-chooser {
|
2017-12-04 15:29:02 -05:00
|
|
|
margin-left: 2%;
|
|
|
|
@media all and (max-width: 500px) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-07-15 19:16:02 -04:00
|
|
|
.select-kit .category-row {
|
|
|
|
max-width: unset;
|
|
|
|
}
|
2017-12-04 15:29:02 -05:00
|
|
|
}
|
2014-10-06 11:50:18 -04:00
|
|
|
}
|
2014-12-30 16:29:28 -05:00
|
|
|
|
2020-01-17 12:20:23 -05:00
|
|
|
.private-message-glyph {
|
2020-11-22 20:16:41 -05:00
|
|
|
color: var(--primary-medium);
|
|
|
|
height: 0.95em;
|
2020-01-17 12:20:23 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.private-message-glyph-wrapper {
|
|
|
|
float: left;
|
2020-11-22 20:16:41 -05:00
|
|
|
margin-right: 0.25em;
|
2020-01-17 12:20:23 -05:00
|
|
|
}
|
|
|
|
|
2017-12-04 15:29:02 -05:00
|
|
|
.private_message {
|
|
|
|
#topic-title {
|
|
|
|
.edit-topic-title {
|
2020-01-16 21:31:17 -05:00
|
|
|
position: relative;
|
|
|
|
.private-message-glyph {
|
|
|
|
position: absolute;
|
|
|
|
left: 0.75em;
|
2020-01-17 12:20:23 -05:00
|
|
|
top: 6px;
|
2020-01-16 21:31:17 -05:00
|
|
|
}
|
2017-12-04 15:29:02 -05:00
|
|
|
#edit-title {
|
|
|
|
width: calc(100% - 50px);
|
2020-01-16 21:31:17 -05:00
|
|
|
padding-left: 2.25em;
|
|
|
|
}
|
|
|
|
.mini-tag-chooser {
|
|
|
|
margin-left: 0;
|
|
|
|
@include breakpoint(mobile-large, min-width) {
|
|
|
|
.selected-name {
|
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
}
|
2017-12-04 15:29:02 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-30 16:29:28 -05:00
|
|
|
.topic-title-outlet {
|
|
|
|
clear: both;
|
|
|
|
}
|
2015-02-18 21:17:31 -05:00
|
|
|
|
2015-04-27 15:55:10 -04:00
|
|
|
.has-pending-posts {
|
2019-01-03 12:03:01 -05:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2015-04-27 15:55:10 -04:00
|
|
|
padding: 0.5em;
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--highlight-medium);
|
2017-09-26 10:27:24 -04:00
|
|
|
margin-top: 1em;
|
|
|
|
max-width: 757px;
|
2015-04-27 15:55:10 -04:00
|
|
|
}
|
2015-06-15 18:24:08 -04:00
|
|
|
|
2018-11-15 20:21:22 -05:00
|
|
|
.suggested-topics-wrapper.related-messages-wrapper {
|
2018-11-19 11:26:21 -05:00
|
|
|
.suggested-topics:nth-of-type(n + 2) {
|
2018-11-15 20:21:22 -05:00
|
|
|
thead {
|
|
|
|
display: none;
|
2018-11-15 16:32:35 -05:00
|
|
|
}
|
2018-11-14 11:01:50 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-15 18:24:08 -04:00
|
|
|
// Target the .badge-category text, the bullet icon needs to maintain `display: block`
|
2018-11-11 21:04:30 -05:00
|
|
|
.suggested-topics h3 .badge-wrapper.bullet span.badge-category,
|
|
|
|
.suggested-topics h3 .badge-wrapper.box span,
|
|
|
|
.suggested-topics h3 .badge-wrapper.bar span {
|
2015-06-15 18:24:08 -04:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2018-11-11 21:04:30 -05:00
|
|
|
.suggested-topics h3 .badge-wrapper.bullet span.badge-category {
|
2015-06-15 18:24:08 -04:00
|
|
|
// Override vertical-align: text-top from `badges.css.scss`
|
|
|
|
vertical-align: baseline;
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-medium;
|
2015-06-15 18:24:08 -04:00
|
|
|
}
|
|
|
|
|
2018-11-11 21:04:30 -05:00
|
|
|
.suggested-topics h3 .badge-wrapper.bullet,
|
|
|
|
.suggested-topics h3 .badge-wrapper.bullet span.badge-category-parent-bg,
|
|
|
|
.suggested-topics h3 .badge-wrapper.bullet span.badge-category-bg {
|
2015-06-15 18:24:08 -04:00
|
|
|
// Top of bullet aligns with top of line - adjust line height to vertically align bullet.
|
|
|
|
line-height: 0.8;
|
|
|
|
}
|
2015-08-12 17:00:16 -04:00
|
|
|
|
2018-11-11 21:04:30 -05:00
|
|
|
.suggested-topics .badge-wrapper.bullet span.badge-category,
|
|
|
|
.suggested-topics .badge-wrapper.bar span.badge-category {
|
2015-10-14 09:32:57 -04:00
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
|
2018-11-11 21:04:30 -05:00
|
|
|
.suggested-topics .suggested-topics-title {
|
2018-03-15 12:51:19 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-01-17 07:10:44 -05:00
|
|
|
}
|
|
|
|
|
2016-05-16 14:31:52 -04:00
|
|
|
.post-links-container {
|
|
|
|
@include unselectable;
|
|
|
|
clear: both;
|
2016-06-08 02:48:37 -04:00
|
|
|
.post-links {
|
|
|
|
margin-top: 1em;
|
2016-06-08 15:37:52 -04:00
|
|
|
padding-top: 1em;
|
2020-08-03 22:57:10 -04:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2018-02-09 12:43:15 -05:00
|
|
|
li:last-of-type {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2016-06-08 02:48:37 -04:00
|
|
|
}
|
2016-05-16 14:31:52 -04:00
|
|
|
.expand-links {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2016-05-16 14:31:52 -04:00
|
|
|
}
|
|
|
|
.track-link {
|
2018-02-09 12:43:15 -05:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
span:not(.badge) {
|
2019-11-06 14:00:29 -05:00
|
|
|
@include ellipsis;
|
2018-02-09 12:43:15 -05:00
|
|
|
}
|
2016-05-16 14:31:52 -04:00
|
|
|
}
|
|
|
|
ul {
|
2016-06-08 02:48:37 -04:00
|
|
|
margin: 0;
|
2016-05-16 14:31:52 -04:00
|
|
|
list-style: none;
|
|
|
|
li {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
a[href] {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2016-06-08 02:48:37 -04:00
|
|
|
}
|
|
|
|
.clicks {
|
|
|
|
margin-left: 0.5em;
|
2018-02-12 11:52:42 -05:00
|
|
|
flex: 0 0 auto;
|
2016-05-16 14:31:52 -04:00
|
|
|
}
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-2;
|
2018-02-09 12:43:15 -05:00
|
|
|
margin: 0 0.5em 0 0;
|
2016-05-16 14:31:52 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a.reply-new {
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon {
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--secondary);
|
2016-05-16 14:31:52 -04:00
|
|
|
border-radius: 20px;
|
2018-06-08 05:49:31 -04:00
|
|
|
transition: all linear 0.15s;
|
2016-05-16 14:31:52 -04:00
|
|
|
}
|
|
|
|
&:hover {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--tertiary);
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon {
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--tertiary-low);
|
2016-05-16 14:31:52 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-12-05 07:31:43 -05:00
|
|
|
|
|
|
|
a.topic-featured-link {
|
|
|
|
display: inline-block;
|
|
|
|
text-transform: lowercase;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2016-12-05 07:31:43 -05:00
|
|
|
font-size: 0.875rem;
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon {
|
|
|
|
margin-right: 3px;
|
2016-12-05 07:31:43 -05:00
|
|
|
}
|
|
|
|
}
|
2019-04-12 09:55:27 -04:00
|
|
|
|
|
|
|
.topic-area {
|
|
|
|
.pending-posts {
|
|
|
|
max-width: calc(
|
|
|
|
#{$topic-body-width} + #{$topic-avatar-width} + #{$topic-body-width-padding *
|
|
|
|
2}
|
|
|
|
);
|
|
|
|
.reviewable-item {
|
|
|
|
.post-body {
|
|
|
|
max-height: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-08 12:52:36 -04:00
|
|
|
|
2020-04-28 12:24:24 -04:00
|
|
|
.published-page-notice {
|
2020-04-08 12:52:36 -04:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
max-width: calc(
|
|
|
|
#{$topic-body-width} + #{$topic-avatar-width} + #{$topic-body-width-padding *
|
|
|
|
2}
|
|
|
|
);
|
|
|
|
align-items: center;
|
2020-06-17 06:42:20 -04:00
|
|
|
|
|
|
|
.is-public {
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
font-size: $font-down-2;
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--tertiary);
|
|
|
|
color: var(--secondary);
|
2020-06-17 06:42:20 -04:00
|
|
|
border-radius: 3px;
|
|
|
|
text-transform: lowercase;
|
|
|
|
}
|
2020-04-08 12:52:36 -04:00
|
|
|
}
|