2016-12-29 00:39:08 +08:00
|
|
|
@keyframes button-jump-up {
|
2018-06-08 17:49:31 +08:00
|
|
|
0% {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
bottom: 45px;
|
|
|
|
}
|
|
|
|
65% {
|
|
|
|
bottom: 40px;
|
|
|
|
}
|
|
|
|
77% {
|
|
|
|
bottom: 43px;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
bottom: 40px;
|
|
|
|
}
|
2016-12-29 00:39:08 +08:00
|
|
|
}
|
|
|
|
|
2016-12-21 05:00:54 +08:00
|
|
|
.progress-back-container {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 40px;
|
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;
|
2016-12-21 05:00:54 +08:00
|
|
|
.btn {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-24 02:37:49 +08:00
|
|
|
#topic-progress-wrapper {
|
|
|
|
.topic-admin-menu-button-container {
|
|
|
|
position: relative;
|
2017-06-27 00:32:01 +08:00
|
|
|
right: 38px;
|
2017-06-24 02:37:49 +08:00
|
|
|
top: 35px;
|
|
|
|
.widget-button {
|
|
|
|
height: 35px;
|
2017-06-27 00:32:01 +08:00
|
|
|
border-right: 1px solid dark-light-diff($primary, $secondary, 80%, -70%);
|
2017-06-24 02:37:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.topic-admin-popup-menu.right-side {
|
|
|
|
position: relative;
|
2018-02-24 02:51:06 +08:00
|
|
|
right: 50px;
|
2017-06-24 02:37:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#topic-progress-wrapper.docked {
|
|
|
|
.topic-admin-popup-menu.right-side {
|
2018-02-24 02:51:06 +08:00
|
|
|
right: 50px;
|
2018-06-19 01:01:40 +08:00
|
|
|
bottom: -150px; // Prevents menu from being too high when a topic is very short
|
2018-08-29 04:39:20 +08:00
|
|
|
transform: translate3d(
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0
|
|
|
|
); // iOS11 Rendering bug https://meta.discourse.org/t/wrench-menu-not-disappearing-on-ios/94297
|
2017-06-24 02:37:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-03 08:03:25 +08:00
|
|
|
.title-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
width: 90%;
|
2018-02-03 10:29:51 +08:00
|
|
|
align-items: flex-end;
|
2018-02-03 08:03:25 +08:00
|
|
|
.btn-small {
|
|
|
|
margin: 0 6px 0 0;
|
|
|
|
}
|
|
|
|
a.topic-featured-link {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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%;
|
2015-01-15 04:36:38 +08:00
|
|
|
.btn-small {
|
|
|
|
margin: 0 6px 0 0;
|
|
|
|
}
|
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-06-08 17:49:31 +08:00
|
|
|
a.edit-topic i {
|
|
|
|
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-15 03:54:17 +08:00
|
|
|
.extra-info-wrapper {
|
|
|
|
.badge-wrapper {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
2015-04-28 03:55:10 +08:00
|
|
|
|
|
|
|
.has-pending-posts {
|
|
|
|
padding: 0.5em;
|
2017-06-12 10:20:14 +08:00
|
|
|
background-color: $highlight-medium;
|
2015-04-28 03:55:10 +08:00
|
|
|
a[href] {
|
|
|
|
float: right;
|
|
|
|
}
|
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
|
|
|
|
|
|
|
// Target the .badge-category text, the bullet icon needs to maintain `display: block`
|
|
|
|
#suggested-topics h3 .badge-wrapper.bullet span.badge-category,
|
|
|
|
#suggested-topics h3 .badge-wrapper.box span,
|
|
|
|
#suggested-topics h3 .badge-wrapper.bar span {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2016-12-05 20:31:43 +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
|
|
|
}
|
|
|
|
|
|
|
|
#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 {
|
|
|
|
// 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
|
|
|
|
2015-10-14 21:32:57 +08:00
|
|
|
#suggested-topics .badge-wrapper.bullet span.badge-category,
|
|
|
|
#suggested-topics .badge-wrapper.bar span.badge-category {
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
|
2018-03-16 00:51:19 +08:00
|
|
|
#suggested-topics .suggested-topics-title {
|
|
|
|
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) {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
i {
|
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 {
|
|
|
|
i {
|
|
|
|
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;
|
|
|
|
i {
|
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;
|
|
|
|
&::before {
|
|
|
|
position: relative;
|
|
|
|
top: 0.1em;
|
|
|
|
padding-right: 3px;
|
|
|
|
font-family: FontAwesome;
|
|
|
|
content: "\f08e";
|
|
|
|
}
|
|
|
|
}
|