2018-06-08 17:49:31 +08:00
|
|
|
.post-info a {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-09-15 11:28:28 +08:00
|
|
|
.topic-meta-data-inside {
|
2013-10-08 02:41:17 +08:00
|
|
|
float: right;
|
2013-09-18 11:32:11 +08:00
|
|
|
margin-top: -38px;
|
2013-09-15 11:28:28 +08:00
|
|
|
margin-right: 5px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.post-info {
|
2013-09-15 11:28:28 +08:00
|
|
|
display: inline-block;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2013-09-15 11:28:28 +08:00
|
|
|
#topic-title {
|
2014-02-27 01:02:44 +08:00
|
|
|
h1 {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-3;
|
|
|
|
line-height: $line-height-medium;
|
2014-07-01 16:15:16 +08:00
|
|
|
a {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2014-07-01 16:15:16 +08:00
|
|
|
vertical-align: middle;
|
2016-01-13 14:40:36 +08:00
|
|
|
word-wrap: break-word;
|
2014-07-01 16:15:16 +08:00
|
|
|
}
|
2014-02-27 01:02:44 +08:00
|
|
|
}
|
2014-10-02 17:18:47 +08:00
|
|
|
.title-category-wrapper {
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2021-04-28 02:24:04 +08:00
|
|
|
.progress-back-container {
|
|
|
|
top: -100%; // above parent container + some extra space
|
|
|
|
}
|
|
|
|
|
2013-09-14 11:03:29 +08:00
|
|
|
#topic-progress-wrapper {
|
|
|
|
position: fixed;
|
2021-04-22 10:53:23 +08:00
|
|
|
right: 10px; // match 10px padding on .wrap
|
2014-03-06 14:14:51 +08:00
|
|
|
bottom: 0;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("timeline");
|
2019-04-11 12:42:26 +08:00
|
|
|
&:not(.docked) {
|
|
|
|
margin-bottom: env(safe-area-inset-bottom);
|
|
|
|
}
|
2020-09-11 01:29:14 +08:00
|
|
|
html.rtl & {
|
2021-02-08 14:42:55 +08:00
|
|
|
/**
|
|
|
|
* This should be the other way around, but it has to be "wrong" here
|
|
|
|
* because our RTL CSS is generated using the `rtlit` gem which flips
|
|
|
|
* left to right and right to left, so this will be corrected when it
|
|
|
|
* goes through rtlit.
|
|
|
|
*/
|
|
|
|
left: unset;
|
|
|
|
right: 1em;
|
2020-09-11 01:29:14 +08:00
|
|
|
}
|
2013-09-14 11:03:29 +08:00
|
|
|
}
|
|
|
|
|
2014-06-13 04:49:13 +08:00
|
|
|
#topic-progress-expanded {
|
2020-08-04 10:57:10 +08:00
|
|
|
border: 1px solid var(--primary-low);
|
2014-06-13 04:49:13 +08:00
|
|
|
padding: 5px;
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--secondary);
|
2013-09-14 11:03:29 +08:00
|
|
|
|
2014-06-13 04:49:13 +08:00
|
|
|
position: absolute;
|
|
|
|
bottom: 34px;
|
2015-09-23 07:36:15 +08:00
|
|
|
width: 135px;
|
2014-06-13 04:49:13 +08:00
|
|
|
|
|
|
|
button.full {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 5px;
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2014-06-13 05:24:11 +08:00
|
|
|
display: block;
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 2px;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2014-06-13 05:24:11 +08:00
|
|
|
}
|
2014-06-13 04:49:13 +08:00
|
|
|
}
|
|
|
|
.jump-form {
|
|
|
|
input[type="text"] {
|
|
|
|
float: left;
|
|
|
|
width: 45px;
|
|
|
|
height: 20px;
|
|
|
|
text-align: center;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-1;
|
2014-06-13 04:49:13 +08:00
|
|
|
}
|
|
|
|
button.btn {
|
|
|
|
float: right !important;
|
|
|
|
width: 55px;
|
|
|
|
}
|
|
|
|
}
|
2016-07-27 03:10:14 +08:00
|
|
|
button.btn.jump-prompt {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-06-13 04:49:13 +08:00
|
|
|
button.btn.jump-bottom {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2013-09-14 11:03:29 +08:00
|
|
|
|
2014-06-13 04:49:13 +08:00
|
|
|
#topic-progress {
|
2013-09-14 11:03:29 +08:00
|
|
|
position: relative;
|
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
|
|
|
color: var(--tertiary);
|
|
|
|
border: 1px solid var(--tertiary-low);
|
2014-08-01 16:41:06 +08:00
|
|
|
width: 145px;
|
2018-10-03 00:26:16 +08:00
|
|
|
height: 42px;
|
2014-06-28 06:28:16 +08:00
|
|
|
|
|
|
|
/* as a big ol' click target, don't let text inside be selected */
|
2014-06-28 07:54:30 +08:00
|
|
|
@include unselectable;
|
2014-06-28 06:28:16 +08:00
|
|
|
|
2013-09-14 11:03:29 +08:00
|
|
|
.nums {
|
|
|
|
position: relative;
|
2018-10-03 00:26:16 +08:00
|
|
|
top: 12px;
|
2013-09-14 11:03:29 +08:00
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("base");
|
2013-09-14 11:03:29 +08:00
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
display: inline;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
|
|
|
line-height: $line-height-small;
|
2013-09-14 11:03:29 +08:00
|
|
|
}
|
2017-07-28 03:03:41 +08:00
|
|
|
.d-icon {
|
2014-06-13 04:49:13 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 8px;
|
|
|
|
bottom: 9px;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("base");
|
2014-06-13 04:49:13 +08:00
|
|
|
}
|
2013-09-14 11:03:29 +08:00
|
|
|
.bg {
|
|
|
|
position: absolute;
|
2014-03-06 14:14:51 +08:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 0;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-right: 1px solid var(--tertiary-low);
|
|
|
|
background-color: var(--tertiary-low);
|
2018-06-08 17:49:31 +08:00
|
|
|
transition: width 0.75s;
|
2013-09-14 11:03:29 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-15 11:28:28 +08:00
|
|
|
|
2020-08-25 07:29:18 +08:00
|
|
|
.topic-error {
|
2014-06-17 02:25:33 +08:00
|
|
|
padding: 18px;
|
|
|
|
width: 90%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-4;
|
|
|
|
line-height: $line-height-medium;
|
2014-06-17 02:25:33 +08:00
|
|
|
|
2020-08-25 07:29:18 +08:00
|
|
|
.topic-retry {
|
2014-06-17 02:25:33 +08:00
|
|
|
display: block;
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-15 11:28:28 +08:00
|
|
|
#topic-progress-wrapper.docked {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.topic-post:last-of-type {
|
|
|
|
padding-bottom: 40px;
|
|
|
|
}
|
2013-09-15 11:28:28 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
sup sup,
|
|
|
|
sub sup,
|
|
|
|
sup sub,
|
|
|
|
sub sub {
|
|
|
|
top: 0;
|
|
|
|
}
|
2014-10-11 20:41:10 +08:00
|
|
|
|
|
|
|
// inline editing of title on mobile
|
2017-11-28 09:00:18 +08:00
|
|
|
#topic-title .title-wrapper {
|
|
|
|
position: relative;
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
|
2017-08-31 21:08:09 +08:00
|
|
|
input#edit-title {
|
2017-11-28 09:00:18 +08:00
|
|
|
width: 100%;
|
2014-10-11 20:41:10 +08:00
|
|
|
}
|
2017-11-28 09:00:18 +08:00
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit.combo-box.category-chooser {
|
2017-11-28 09:00:18 +08:00
|
|
|
width: 100%;
|
|
|
|
margin-top: 0;
|
2017-08-31 21:08:09 +08:00
|
|
|
}
|
2014-10-11 20:41:10 +08:00
|
|
|
}
|
2016-11-02 07:31:33 +08:00
|
|
|
|
|
|
|
// make mobile timeline top and bottom dates easier to select
|
2017-03-22 11:12:02 +08:00
|
|
|
.topic-timeline {
|
2018-06-08 17:49:31 +08:00
|
|
|
.start-date,
|
|
|
|
.now-date {
|
2018-02-06 01:25:39 +08:00
|
|
|
font-size: $font-up-1;
|
|
|
|
padding: 5px;
|
2017-12-20 06:39:17 +08:00
|
|
|
}
|
2018-05-24 05:05:34 +08:00
|
|
|
.topic-category {
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-bottom: 0.5rem;
|
2018-05-24 05:05:34 +08:00
|
|
|
}
|
2016-12-20 03:06:19 +08:00
|
|
|
}
|
2017-05-19 04:11:46 +08:00
|
|
|
|
2019-02-08 19:09:56 +08:00
|
|
|
.topic-footer-main-buttons {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2020-05-07 10:59:22 +08:00
|
|
|
|
|
|
|
@media screen and (max-height: 600px) {
|
|
|
|
.topic-admin-popup-menu {
|
|
|
|
box-sizing: border-box;
|
2020-05-30 16:53:08 +08:00
|
|
|
padding: 0.25em;
|
2020-07-14 06:50:57 +08:00
|
|
|
width: unset;
|
2020-05-07 10:59:22 +08:00
|
|
|
ul {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr 1fr;
|
2020-05-30 16:53:08 +08:00
|
|
|
|
2020-05-07 10:59:22 +08:00
|
|
|
@media screen and (max-width: 550px) {
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
}
|
2020-05-30 16:53:08 +08:00
|
|
|
|
2020-05-29 15:35:43 +08:00
|
|
|
.popup-menu-btn {
|
|
|
|
@include ellipsis;
|
2020-05-07 10:59:22 +08:00
|
|
|
}
|
2020-05-30 16:53:08 +08:00
|
|
|
|
|
|
|
li {
|
|
|
|
border: 0;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2020-05-07 10:59:22 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|