2013-09-06 03:37:07 +08:00
|
|
|
// --------------------------------------------------
|
|
|
|
// Topic lists
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// List controls
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-10-25 11:18:34 +08:00
|
|
|
.list-controls {
|
2018-05-10 05:48:34 +08:00
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
#create-topic {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
align-self: stretch;
|
2018-09-19 20:37:04 +08:00
|
|
|
align-items: center;
|
2013-09-18 04:07:02 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2018-05-10 05:48:34 +08:00
|
|
|
|
|
|
|
.dropdown-select-box-header {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-container {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
width: 100%;
|
2021-06-08 01:22:28 +08:00
|
|
|
margin: 0;
|
2018-06-08 17:49:31 +08:00
|
|
|
|
2018-05-10 05:48:34 +08:00
|
|
|
button {
|
|
|
|
&.select-kit-header {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
}
|
2015-06-22 12:25:17 +08:00
|
|
|
}
|
2018-05-10 05:48:34 +08:00
|
|
|
|
|
|
|
.nav-pills {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
margin: 0 3px 5px 3px;
|
|
|
|
position: relative;
|
|
|
|
.navigation-toggle {
|
|
|
|
flex: 0 1 auto;
|
2024-07-27 01:54:09 +08:00
|
|
|
border: 0;
|
|
|
|
|
|
|
|
.toggle-link {
|
|
|
|
font-size: var(--font-up-1-rem);
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--primary-high);
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: inherit;
|
|
|
|
font-size: var(--font-down-2);
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2018-05-10 05:48:34 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
> li {
|
2018-05-10 05:48:34 +08:00
|
|
|
margin-right: 0;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2020-08-04 10:57:10 +08:00
|
|
|
border: 1px solid var(--primary-medium);
|
2022-11-17 00:35:09 +08:00
|
|
|
border-radius: var(--d-input-border-radius);
|
2018-05-10 05:48:34 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
> li > a {
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-large);
|
2018-05-10 05:48:34 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-02-26 23:17:04 +08:00
|
|
|
border-radius: var(--d-input-border-radius);
|
2018-05-10 05:48:34 +08:00
|
|
|
.d-icon {
|
|
|
|
margin-left: 5px;
|
2020-02-18 02:00:31 +08:00
|
|
|
margin-right: 0;
|
2018-05-10 05:48:34 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.drop {
|
2020-08-04 10:57:10 +08:00
|
|
|
border: 1px solid var(--primary-low);
|
2018-05-10 05:48:34 +08:00
|
|
|
position: absolute;
|
2018-06-20 13:09:14 +08:00
|
|
|
z-index: z("dropdown") - 1;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
2018-05-10 05:48:34 +08:00
|
|
|
padding: 0 10px 10px 10px;
|
|
|
|
width: 150px;
|
|
|
|
top: 100%;
|
|
|
|
margin: 0;
|
|
|
|
left: 0; // iOS6 alignment
|
2018-06-08 17:49:31 +08:00
|
|
|
li {
|
2018-05-10 05:48:34 +08:00
|
|
|
list-style-type: none;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-top: 5px;
|
|
|
|
padding-top: 10px;
|
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2015-06-22 12:25:17 +08:00
|
|
|
}
|
2017-09-10 17:36:57 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2013-09-18 04:07:02 +08:00
|
|
|
.list-container .full-width {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2021-12-21 06:08:03 +08:00
|
|
|
.category-breadcrumb {
|
|
|
|
width: 100%;
|
|
|
|
gap: 0.5em;
|
|
|
|
li {
|
2021-01-07 05:15:28 +08:00
|
|
|
flex: 1 1 33%;
|
2021-12-21 06:08:03 +08:00
|
|
|
margin: 0;
|
|
|
|
details {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.name,
|
|
|
|
.category-name {
|
|
|
|
@include ellipsis;
|
2021-01-07 05:15:28 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
// Base list
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2014-07-30 05:38:36 +08:00
|
|
|
.topic-list {
|
2015-10-23 16:19:28 +08:00
|
|
|
.right {
|
2015-10-30 23:50:46 +08:00
|
|
|
margin-left: 55px;
|
2015-10-23 16:19:28 +08:00
|
|
|
}
|
|
|
|
|
2021-11-16 04:49:45 +08:00
|
|
|
.topic-list-data {
|
2018-04-21 07:14:48 +08:00
|
|
|
padding: 7px 0;
|
2016-01-15 04:12:09 +08:00
|
|
|
max-width: 300px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2014-06-11 02:01:09 +08:00
|
|
|
|
2018-10-25 08:42:58 +08:00
|
|
|
.main-link {
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2018-10-25 08:42:58 +08:00
|
|
|
position: relative;
|
|
|
|
z-index: z("base") + 1; // Intentionally overlapping category to create bigger tap target
|
2021-11-16 10:07:32 +08:00
|
|
|
font-size: var(--font-up-1);
|
2018-10-25 08:42:58 +08:00
|
|
|
a.title {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2022-04-27 03:01:43 +08:00
|
|
|
padding: 0;
|
2018-10-25 08:42:58 +08:00
|
|
|
}
|
2018-12-07 08:22:04 +08:00
|
|
|
.topic-statuses {
|
|
|
|
a {
|
|
|
|
line-height: 0.8;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-12-07 08:22:04 +08:00
|
|
|
}
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2014-06-11 02:01:09 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.badge-notification,
|
|
|
|
.category-topic-link td.num .badge-notification {
|
2013-09-06 03:37:07 +08:00
|
|
|
position: relative;
|
2018-07-26 11:58:23 +08:00
|
|
|
display: inline-block;
|
2013-09-06 03:37:07 +08:00
|
|
|
top: -1px;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-0);
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-small);
|
2018-07-28 01:10:13 +08:00
|
|
|
padding: 0.15em 0.4em 0.2em 0.4em;
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary);
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2015-09-12 04:34:27 +08:00
|
|
|
|
|
|
|
&.new-topic::before {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
&.new-topic {
|
2015-11-09 18:24:19 +08:00
|
|
|
padding: 0;
|
2015-09-12 04:34:27 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2013-09-20 04:25:25 +08:00
|
|
|
|
2015-09-16 23:43:35 +08:00
|
|
|
.category-topic-link td.num .badge-notification {
|
2018-06-08 17:49:31 +08:00
|
|
|
&.unread-posts {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary);
|
2015-09-16 23:43:35 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-20 04:25:25 +08:00
|
|
|
.topic-item-stats {
|
2018-10-25 08:42:58 +08:00
|
|
|
position: relative;
|
2022-04-27 03:01:43 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
2022-04-12 21:44:20 +08:00
|
|
|
margin-top: 0.5em;
|
2022-04-14 06:35:47 +08:00
|
|
|
z-index: z("base");
|
2022-04-27 03:01:43 +08:00
|
|
|
.num.activity {
|
|
|
|
margin-left: auto;
|
|
|
|
font-size: var(--font-down-1);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2014-12-02 16:19:42 +08:00
|
|
|
.category a {
|
2014-12-02 16:41:51 +08:00
|
|
|
max-width: 160px;
|
2014-12-02 16:19:42 +08:00
|
|
|
}
|
2022-04-27 03:01:43 +08:00
|
|
|
.num .d-icon,
|
2018-06-08 17:49:31 +08:00
|
|
|
a,
|
|
|
|
a:visited {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2014-04-24 09:10:50 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2013-09-20 04:25:25 +08:00
|
|
|
|
2023-02-08 02:44:07 +08:00
|
|
|
.topic-item-stats {
|
|
|
|
span.relative-date {
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-item-stats__category-tags {
|
|
|
|
margin-right: 0.5em;
|
2023-08-15 00:10:02 +08:00
|
|
|
max-width: 90%;
|
2023-11-13 23:46:15 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2023-02-25 04:29:57 +08:00
|
|
|
|
2023-02-08 02:44:07 +08:00
|
|
|
.discourse-tags {
|
|
|
|
display: inline;
|
2023-02-25 04:29:57 +08:00
|
|
|
}
|
|
|
|
|
2023-11-13 23:46:15 +08:00
|
|
|
.badge-category__wrapper {
|
|
|
|
vertical-align: bottom;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2023-02-25 04:29:57 +08:00
|
|
|
.badge-wrapper,
|
|
|
|
.discourse-tag {
|
2023-02-08 02:44:07 +08:00
|
|
|
// disabling clicks because these targets are too small on mobile
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.discourse-tags .discourse-tag {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-wrapper {
|
2023-08-15 00:10:02 +08:00
|
|
|
max-width: 100%;
|
2023-02-08 02:44:07 +08:00
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-01-11 02:56:27 +08:00
|
|
|
.age {
|
|
|
|
white-space: nowrap;
|
2014-09-23 13:56:46 +08:00
|
|
|
a {
|
2022-04-27 03:01:43 +08:00
|
|
|
color: var(--primary-medium);
|
2014-09-23 13:56:46 +08:00
|
|
|
}
|
2014-01-11 02:56:27 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Category list
|
|
|
|
// --------------------------------------------------
|
2017-03-27 23:38:01 +08:00
|
|
|
.categories-list .category-list {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 12px 5px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-high);
|
2017-03-27 23:38:01 +08:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2018-04-21 07:14:48 +08:00
|
|
|
th {
|
|
|
|
padding: 10px 0 0;
|
|
|
|
}
|
|
|
|
|
2017-03-27 23:38:01 +08:00
|
|
|
td:first-of-type {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody {
|
2020-02-18 02:00:31 +08:00
|
|
|
border-top: none;
|
2017-03-27 23:38:01 +08:00
|
|
|
.category {
|
|
|
|
border-left: 6px solid;
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 02:28:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-list-item.category {
|
2018-05-02 08:41:28 +08:00
|
|
|
tr:first-of-type {
|
|
|
|
border: none;
|
|
|
|
}
|
2015-09-12 02:28:18 +08:00
|
|
|
// Allow percentage widths on table cells to include their padding
|
|
|
|
box-sizing: border-box;
|
2018-06-08 17:49:31 +08:00
|
|
|
*,
|
|
|
|
*:before,
|
|
|
|
*:after {
|
2015-09-12 02:28:18 +08:00
|
|
|
box-sizing: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.posts {
|
2015-10-20 14:02:32 +08:00
|
|
|
vertical-align: top;
|
2015-09-12 02:28:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.age {
|
2015-09-18 03:25:37 +08:00
|
|
|
margin-left: 5px;
|
2015-09-12 02:28:18 +08:00
|
|
|
}
|
2020-07-29 20:59:55 +08:00
|
|
|
|
|
|
|
// numbers get dimmer as they get colder
|
|
|
|
.coldmap {
|
|
|
|
&-high {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-med {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-low {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 02:28:18 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2019-12-19 23:09:45 +08:00
|
|
|
.subcategory-list-item.category {
|
2019-12-21 05:17:34 +08:00
|
|
|
display: block;
|
|
|
|
width: calc(100% + 20px);
|
|
|
|
margin: 1.25em 10px 0;
|
|
|
|
border-bottom: none !important;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-top: 1px solid var(--primary-low) !important;
|
2019-12-21 05:17:34 +08:00
|
|
|
&:last-of-type {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 1.25em;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 1px solid var(--primary-low) !important;
|
2019-12-21 05:17:34 +08:00
|
|
|
}
|
2019-12-19 23:09:45 +08:00
|
|
|
td:first-of-type {
|
|
|
|
padding: 12px 0px;
|
|
|
|
}
|
2019-12-21 05:17:34 +08:00
|
|
|
.category-logo.aspect-image {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-12-19 23:09:45 +08:00
|
|
|
.subcategories {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-05-20 07:28:01 +08:00
|
|
|
tr.category-topic-link {
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2018-04-21 04:48:25 +08:00
|
|
|
&:last-of-type {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2015-05-06 00:04:18 +08:00
|
|
|
}
|
2014-07-28 22:33:23 +08:00
|
|
|
|
2019-12-19 23:09:45 +08:00
|
|
|
.category-list-item,
|
|
|
|
.subcategory-list-item {
|
2019-12-21 05:17:34 +08:00
|
|
|
padding: 0 0 0 3px;
|
2015-05-06 00:04:18 +08:00
|
|
|
border-left: 6px solid;
|
|
|
|
|
2019-12-19 23:09:45 +08:00
|
|
|
h3,
|
|
|
|
h4 {
|
2018-12-05 02:01:27 +08:00
|
|
|
max-width: 100%;
|
|
|
|
padding: 0 0 0 10px;
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2015-05-06 00:04:18 +08:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
a[href] {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2015-05-06 00:04:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-19 23:09:45 +08:00
|
|
|
h3 {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-2);
|
2019-12-19 23:09:45 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-1);
|
2019-12-19 23:09:45 +08:00
|
|
|
}
|
|
|
|
|
2018-02-28 02:10:28 +08:00
|
|
|
.category-name {
|
|
|
|
max-width: 80vw;
|
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.category-topic-link .main-link,
|
|
|
|
.subcategories-list td,
|
|
|
|
.category-description td {
|
2015-05-06 22:58:30 +08:00
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
2015-09-18 03:25:37 +08:00
|
|
|
.category-topic-link .main-link .age {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2015-09-18 03:25:37 +08:00
|
|
|
}
|
|
|
|
|
2015-05-06 22:58:30 +08:00
|
|
|
.category-description td {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2019-12-21 05:17:34 +08:00
|
|
|
.subcategories-list {
|
|
|
|
border-bottom: none;
|
|
|
|
td {
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
2015-05-06 00:04:18 +08:00
|
|
|
}
|
|
|
|
|
2015-10-20 14:02:32 +08:00
|
|
|
.category-topic-link {
|
|
|
|
.num {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.topic-excerpt {
|
|
|
|
width: 110%;
|
2015-09-16 23:43:35 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.posters {
|
2014-07-11 04:28:53 +08:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
> footer {
|
2020-08-04 10:57:10 +08:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2014-07-11 04:28:53 +08:00
|
|
|
padding: 7px 10px;
|
2021-02-02 17:50:04 +08:00
|
|
|
.category-stat {
|
2014-07-11 04:28:53 +08:00
|
|
|
float: left;
|
2021-02-02 17:50:04 +08:00
|
|
|
margin: 3px 1em 0 0;
|
2014-07-11 04:28:53 +08:00
|
|
|
font-weight: normal;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2021-02-02 17:50:04 +08:00
|
|
|
.value {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-07-11 04:28:53 +08:00
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
float: right;
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-21 05:17:34 +08:00
|
|
|
.category-list-item {
|
|
|
|
padding: 0.5em 0 0.25em;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-top: 1px solid var(--primary-low) !important;
|
|
|
|
border-bottom: 1px solid var(--primary-low) !important;
|
2021-06-08 01:22:28 +08:00
|
|
|
margin: 1em 0 2em;
|
2019-12-21 05:17:34 +08:00
|
|
|
}
|
|
|
|
|
2017-03-27 23:38:01 +08:00
|
|
|
.category-box {
|
|
|
|
h3 {
|
|
|
|
margin: 0 0 0.5em 0;
|
|
|
|
}
|
|
|
|
}
|
2014-07-11 04:28:53 +08:00
|
|
|
|
2020-08-27 16:50:18 +08:00
|
|
|
.category-topics-count a {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
|
2014-07-30 05:38:36 +08:00
|
|
|
.topic-list-bottom {
|
2015-07-22 09:46:15 +08:00
|
|
|
margin: 20px 0 0 0;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Misc. stuff
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2023-10-25 19:03:20 +08:00
|
|
|
.dropdown,
|
|
|
|
.multiselect {
|
2013-09-06 03:37:07 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.dropdown-toggle:active,
|
|
|
|
.open .dropdown-toggle {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2020-06-01 17:22:35 +08:00
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.fade.in {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2021-04-27 06:55:18 +08:00
|
|
|
.category-heading {
|
|
|
|
p {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-1);
|
2021-04-27 06:55:18 +08:00
|
|
|
margin-bottom: 0.75em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-29 12:02:03 +08:00
|
|
|
.category-logo.aspect-image {
|
2014-08-06 05:09:18 +08:00
|
|
|
display: block;
|
2021-04-27 06:55:18 +08:00
|
|
|
margin: 1.5em 0 1em;
|
2014-08-06 05:09:18 +08:00
|
|
|
}
|
2014-08-21 05:37:28 +08:00
|
|
|
|
2014-10-13 15:26:13 +08:00
|
|
|
// base defines extra padding for easier click/top of title field
|
|
|
|
// this is a bit too much for mobile
|
2015-09-10 04:05:02 +08:00
|
|
|
td .main-link {
|
2018-07-28 01:10:13 +08:00
|
|
|
width: 78%;
|
2015-09-10 04:05:02 +08:00
|
|
|
display: inline-block;
|
2014-10-13 15:26:13 +08:00
|
|
|
a.title {
|
2024-05-22 01:13:38 +08:00
|
|
|
padding: 0.33em 0.67em 0.33em 0;
|
2016-01-13 14:40:36 +08:00
|
|
|
word-wrap: break-word;
|
2014-10-13 15:26:13 +08:00
|
|
|
}
|
2014-10-20 21:54:36 +08:00
|
|
|
}
|
2015-09-11 06:17:00 +08:00
|
|
|
.topic-list {
|
2024-07-27 01:54:09 +08:00
|
|
|
&-body {
|
|
|
|
border-width: 1px;
|
|
|
|
}
|
2021-11-16 10:07:32 +08:00
|
|
|
.num.posts-map {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-2);
|
2021-04-08 06:14:12 +08:00
|
|
|
padding: 0;
|
2021-11-16 10:07:32 +08:00
|
|
|
button {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2021-04-08 06:14:12 +08:00
|
|
|
}
|
|
|
|
.num.activity a {
|
2022-04-14 06:35:47 +08:00
|
|
|
padding: 0;
|
2015-09-10 04:05:02 +08:00
|
|
|
}
|
2015-10-20 14:02:32 +08:00
|
|
|
// so the topic excerpt is full width
|
|
|
|
// as the containing div is 80%
|
|
|
|
.topic-excerpt {
|
2020-11-11 19:46:53 +08:00
|
|
|
display: block;
|
2015-10-20 14:02:32 +08:00
|
|
|
padding-right: 0;
|
|
|
|
width: 120%;
|
|
|
|
}
|
2020-11-11 19:46:53 +08:00
|
|
|
|
|
|
|
.topic-excerpt-more {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|
2015-09-10 04:05:02 +08:00
|
|
|
}
|
2016-07-14 20:38:16 +08:00
|
|
|
|
2017-03-27 23:38:01 +08:00
|
|
|
.category-list.with-topics .category-list-item .category-description {
|
2016-07-14 20:38:16 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2020-07-31 02:02:51 +08:00
|
|
|
|
|
|
|
.category-list .category.muted a.category-title-link {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2020-07-31 02:02:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.muted-categories-link {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2022-07-27 03:36:35 +08:00
|
|
|
|
|
|
|
// Bulk select
|
|
|
|
|
|
|
|
.topic-list-header {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-list.sticky-header {
|
|
|
|
.topic-list-header {
|
|
|
|
display: table-header-group;
|
|
|
|
position: sticky;
|
|
|
|
z-index: z("base") + 2;
|
|
|
|
top: var(--header-offset);
|
|
|
|
background: var(--secondary);
|
|
|
|
tr {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-list-data {
|
|
|
|
display: none;
|
|
|
|
&.bulk-select {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.default {
|
|
|
|
display: flex;
|
2024-04-03 06:01:21 +08:00
|
|
|
.bulk-select-topic-dropdown__count {
|
2022-07-27 03:36:35 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button.bulk-select {
|
|
|
|
padding-left: 0.85em; // visual alignment
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bulk-select-topics {
|
|
|
|
display: flex;
|
2024-04-03 06:01:21 +08:00
|
|
|
flex-wrap: wrap;
|
2022-07-27 03:36:35 +08:00
|
|
|
padding-left: 0.85em;
|
2024-04-03 06:01:21 +08:00
|
|
|
gap: 0.5em;
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
.select-kit-collection {
|
|
|
|
font-size: var(--font-up-1);
|
2022-07-27 03:36:35 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-list-data .pull-left {
|
|
|
|
label {
|
|
|
|
// bulk select checkbox
|
|
|
|
display: flex;
|
|
|
|
width: 45px;
|
|
|
|
height: 45px;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
2023-08-18 12:44:04 +08:00
|
|
|
|
|
|
|
.topic-replies-toggle-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.topics-replies-toggle {
|
|
|
|
flex-grow: 1;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0.75em;
|
2024-06-24 21:54:34 +08:00
|
|
|
position: relative;
|
2023-08-18 12:44:04 +08:00
|
|
|
|
|
|
|
&.active {
|
2024-06-24 21:54:34 +08:00
|
|
|
@include nav-active;
|
|
|
|
&:after {
|
|
|
|
height: 0.15em;
|
|
|
|
bottom: -0.15em;
|
|
|
|
}
|
2023-08-18 12:44:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-02-13 18:41:22 +08:00
|
|
|
|
|
|
|
#list-area .show-more .alert {
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.5em;
|
|
|
|
&.loading {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
}
|