2016-12-29 00:39:08 +08:00
|
|
|
@keyframes button-jump-up {
|
2018-06-08 17:49:31 +08:00
|
|
|
0% {
|
2018-10-04 01:21:57 +08:00
|
|
|
margin-bottom: -60px;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
50% {
|
2018-10-04 01:21:57 +08:00
|
|
|
margin-bottom: 10px;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
65% {
|
2018-10-04 01:21:57 +08:00
|
|
|
margin-bottom: 0px;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
77% {
|
2018-10-04 01:21:57 +08:00
|
|
|
margin-bottom: 5px;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
100% {
|
2018-10-04 01:21:57 +08:00
|
|
|
margin-bottom: 0px;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2016-12-29 00:39:08 +08:00
|
|
|
}
|
|
|
|
|
2016-12-21 05:00:54 +08:00
|
|
|
.progress-back-container {
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("dropdown");
|
2018-01-25 22:53:36 +08:00
|
|
|
margin-right: 0;
|
2016-12-29 00:39:08 +08:00
|
|
|
animation-duration: 0.5s;
|
|
|
|
animation-name: button-jump-up;
|
2016-12-29 01:24:17 +08:00
|
|
|
width: 145px;
|
|
|
|
text-align: center;
|
2018-10-04 01:21:57 +08:00
|
|
|
margin-bottom: 0px;
|
2019-10-01 23:45:51 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: -2em;
|
2016-12-21 05:00:54 +08:00
|
|
|
.btn {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-24 02:37:49 +08:00
|
|
|
#topic-progress-wrapper {
|
2019-10-01 23:45:51 +08:00
|
|
|
display: flex;
|
2017-06-24 02:37:49 +08:00
|
|
|
.topic-admin-menu-button-container {
|
2019-10-01 23:45:51 +08:00
|
|
|
display: flex;
|
|
|
|
> span {
|
|
|
|
display: flex;
|
2017-06-24 02:37:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.topic-admin-popup-menu.right-side {
|
2019-10-01 23:45:51 +08:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2018-10-04 01:21:57 +08:00
|
|
|
left: auto;
|
2019-10-01 23:45:51 +08:00
|
|
|
transition: bottom 0.5s;
|
2018-10-04 01:21:57 +08:00
|
|
|
transform: translateZ(
|
|
|
|
0
|
|
|
|
); // iOS11 Rendering bug https://meta.discourse.org/t/wrench-menu-not-disappearing-on-ios/94297
|
2017-06-24 02:37:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#topic-progress-wrapper.docked {
|
|
|
|
.topic-admin-popup-menu.right-side {
|
2018-06-19 01:01:40 +08:00
|
|
|
bottom: -150px; // Prevents menu from being too high when a topic is very short
|
2017-06-24 02:37:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-03 08:03:25 +08:00
|
|
|
.title-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2019-01-12 08:41:09 +08:00
|
|
|
button {
|
|
|
|
margin: 0 0.5em 0 0;
|
2018-02-03 08:03:25 +08:00
|
|
|
}
|
|
|
|
a.topic-featured-link {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-12-07 08:22:04 +08:00
|
|
|
.topic-statuses {
|
2018-12-11 05:06:26 +08:00
|
|
|
line-height: 1.2em;
|
|
|
|
margin-right: 0.15em;
|
2018-12-07 08:22:04 +08:00
|
|
|
.d-icon {
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
|
|
|
}
|
2018-02-03 08:03:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin: 0 0 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.badge-category {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2014-10-06 23:50:18 +08:00
|
|
|
#topic-title {
|
2015-01-15 04:36:38 +08:00
|
|
|
.title-wrapper {
|
2018-02-03 08:03:25 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2017-08-31 21:08:09 +08:00
|
|
|
width: 90%;
|
2016-12-05 20:31:43 +08:00
|
|
|
a.topic-featured-link {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2015-01-15 04:36:38 +08:00
|
|
|
}
|
2016-12-30 03:59:30 +08:00
|
|
|
h1 {
|
|
|
|
margin: 0 0 4px 0;
|
2018-08-27 10:35:15 +08:00
|
|
|
width: 100%;
|
2016-12-30 03:59:30 +08:00
|
|
|
}
|
2014-10-06 23:50:18 +08:00
|
|
|
a.badge-category {
|
|
|
|
margin-top: 5px;
|
2015-01-15 04:36:38 +08:00
|
|
|
}
|
2018-11-27 05:49:57 +08:00
|
|
|
a.edit-topic .d-icon {
|
2018-06-08 17:49:31 +08:00
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
2017-12-05 04:29:02 +08:00
|
|
|
.edit-topic-title {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
box-sizing: border-box;
|
|
|
|
max-width: 758px;
|
|
|
|
#edit-title {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.private-message-glyph {
|
|
|
|
margin: 5px 5px 0 0;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.category-chooser,
|
|
|
|
.mini-tag-chooser {
|
2017-12-05 04:29:02 +08:00
|
|
|
flex: 1 1 49%;
|
|
|
|
margin: 0 0 9px 0;
|
|
|
|
@media all and (max-width: 500px) {
|
2018-02-26 18:42:57 +08:00
|
|
|
flex: 1 1 100%;
|
2017-12-05 04:29:02 +08:00
|
|
|
}
|
|
|
|
}
|
2018-02-26 18:42:57 +08:00
|
|
|
.mini-tag-chooser {
|
2017-12-05 04:29:02 +08:00
|
|
|
margin-left: 2%;
|
|
|
|
@media all and (max-width: 500px) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-10-06 23:50:18 +08:00
|
|
|
}
|
2014-12-31 05:29:28 +08:00
|
|
|
|
2018-04-06 10:33:58 +08:00
|
|
|
.private-message-glyph {
|
|
|
|
color: dark-light-choose($primary-low-mid, $secondary-high);
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2018-02-14 04:46:25 +08:00
|
|
|
.archetype-private_message #topic-title .edit-topic-title .tag-chooser {
|
|
|
|
margin-left: 19px;
|
|
|
|
}
|
|
|
|
|
2017-12-05 04:29:02 +08:00
|
|
|
.private_message {
|
|
|
|
#topic-title {
|
|
|
|
.edit-topic-title {
|
|
|
|
#edit-title {
|
|
|
|
width: calc(100% - 50px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-31 05:29:28 +08:00
|
|
|
.topic-title-outlet {
|
|
|
|
clear: both;
|
|
|
|
}
|
2015-02-19 10:17:31 +08:00
|
|
|
|
2015-04-28 03:55:10 +08:00
|
|
|
.has-pending-posts {
|
2019-01-04 01:03:01 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2015-04-28 03:55:10 +08:00
|
|
|
padding: 0.5em;
|
2017-06-12 10:20:14 +08:00
|
|
|
background-color: $highlight-medium;
|
2017-09-26 22:27:24 +08:00
|
|
|
margin-top: 1em;
|
|
|
|
max-width: 757px;
|
2015-04-28 03:55:10 +08:00
|
|
|
}
|
2015-06-16 06:24:08 +08:00
|
|
|
|
2018-11-16 09:21:22 +08:00
|
|
|
.suggested-topics-wrapper.related-messages-wrapper {
|
2018-11-20 00:26:21 +08:00
|
|
|
.suggested-topics:nth-of-type(n + 2) {
|
2018-11-16 09:21:22 +08:00
|
|
|
thead {
|
|
|
|
display: none;
|
2018-11-16 05:32:35 +08:00
|
|
|
}
|
2018-11-15 00:01:50 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-16 06:24:08 +08:00
|
|
|
// Target the .badge-category text, the bullet icon needs to maintain `display: block`
|
2018-11-12 10:04:30 +08: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-16 06:24:08 +08:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2018-11-12 10:04:30 +08:00
|
|
|
.suggested-topics h3 .badge-wrapper.bullet span.badge-category {
|
2015-06-16 06:24:08 +08:00
|
|
|
// Override vertical-align: text-top from `badges.css.scss`
|
|
|
|
vertical-align: baseline;
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-medium;
|
2015-06-16 06:24:08 +08:00
|
|
|
}
|
|
|
|
|
2018-11-12 10:04:30 +08: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-16 06:24:08 +08:00
|
|
|
// Top of bullet aligns with top of line - adjust line height to vertically align bullet.
|
|
|
|
line-height: 0.8;
|
|
|
|
}
|
2015-08-13 05:00:16 +08:00
|
|
|
|
2018-11-12 10:04:30 +08:00
|
|
|
.suggested-topics .badge-wrapper.bullet span.badge-category,
|
|
|
|
.suggested-topics .badge-wrapper.bar span.badge-category {
|
2015-10-14 21:32:57 +08:00
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
|
2018-11-12 10:04:30 +08:00
|
|
|
.suggested-topics .suggested-topics-title {
|
2018-03-16 00:51:19 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2016-05-17 02:31:52 +08:00
|
|
|
.post-links-container {
|
|
|
|
@include unselectable;
|
|
|
|
clear: both;
|
2016-06-08 14:48:37 +08:00
|
|
|
.post-links {
|
|
|
|
margin-top: 1em;
|
2016-06-09 03:37:52 +08:00
|
|
|
padding-top: 1em;
|
2018-02-26 18:42:57 +08:00
|
|
|
border-top: 1px solid $primary-low;
|
2018-02-10 01:43:15 +08:00
|
|
|
li:last-of-type {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2016-06-08 14:48:37 +08:00
|
|
|
}
|
2016-05-17 02:31:52 +08:00
|
|
|
.expand-links {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-05-17 02:31:52 +08:00
|
|
|
}
|
|
|
|
.track-link {
|
2018-02-10 01:43:15 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
span:not(.badge) {
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2018-02-10 01:43:15 +08:00
|
|
|
}
|
2016-05-17 02:31:52 +08:00
|
|
|
}
|
|
|
|
ul {
|
2016-06-08 14:48:37 +08:00
|
|
|
margin: 0;
|
2016-05-17 02:31:52 +08:00
|
|
|
list-style: none;
|
|
|
|
li {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
a[href] {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-06-08 14:48:37 +08:00
|
|
|
}
|
|
|
|
.clicks {
|
|
|
|
margin-left: 0.5em;
|
2018-02-13 00:52:42 +08:00
|
|
|
flex: 0 0 auto;
|
2016-05-17 02:31:52 +08:00
|
|
|
}
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-2;
|
2018-02-10 01:43:15 +08:00
|
|
|
margin: 0 0.5em 0 0;
|
2016-05-17 02:31:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a.reply-new {
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2016-05-17 02:31:52 +08:00
|
|
|
background: $secondary;
|
|
|
|
border-radius: 20px;
|
2018-06-08 17:49:31 +08:00
|
|
|
transition: all linear 0.15s;
|
2016-05-17 02:31:52 +08:00
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: $tertiary;
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2017-06-12 10:20:14 +08:00
|
|
|
background: $tertiary-low;
|
2016-05-17 02:31:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-12-05 20:31:43 +08:00
|
|
|
|
|
|
|
a.topic-featured-link {
|
|
|
|
display: inline-block;
|
|
|
|
text-transform: lowercase;
|
2017-11-23 03:53:35 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-12-05 20:31:43 +08:00
|
|
|
font-size: 0.875rem;
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
|
|
|
margin-right: 3px;
|
2016-12-05 20:31:43 +08:00
|
|
|
}
|
|
|
|
}
|
2019-04-12 21:55:27 +08: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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|