2018-06-08 05:49:31 -04:00
|
|
|
// --------------------------------------------------
|
|
|
|
// Topic lists
|
|
|
|
// --------------------------------------------------
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
// Base list
|
|
|
|
// --------------------------------------------------
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.topic-list-icons {
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon-thumbtack {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon-thumbtack.unpinned {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
a.title {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
.d-icon-bookmark {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-01-12 17:27:38 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2017-08-13 12:13:02 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.topic-list {
|
|
|
|
@extend .topic-list-icons;
|
2018-01-12 17:27:38 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
margin: 0 0 10px;
|
2021-11-15 15:49:45 -05:00
|
|
|
.topic-list-data {
|
2024-05-21 13:13:38 -04:00
|
|
|
padding: 0.8em 0.33em;
|
2018-06-08 05:49:31 -04:00
|
|
|
&:first-of-type {
|
2024-05-21 13:13:38 -04:00
|
|
|
padding-left: 0.67em;
|
2018-01-12 17:27:38 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
&:last-of-type {
|
2024-05-21 13:13:38 -04:00
|
|
|
padding-right: 0.67em;
|
2018-01-12 17:27:38 -05:00
|
|
|
}
|
2023-08-18 00:44:04 -04:00
|
|
|
th & {
|
|
|
|
border-bottom: 3px solid var(--primary-low);
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
button.bulk-select {
|
|
|
|
padding: 0;
|
2023-08-20 21:34:12 -04:00
|
|
|
margin-right: 0.5em;
|
2022-10-12 10:05:42 -04:00
|
|
|
line-height: var(--line-height-large);
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
|
2021-11-15 15:49:45 -05:00
|
|
|
.topic-list-data.bulk-select {
|
2021-06-24 11:46:26 -04:00
|
|
|
padding: 0;
|
2018-11-25 15:24:26 -05:00
|
|
|
width: 30px;
|
2021-06-24 11:46:26 -04:00
|
|
|
label {
|
|
|
|
margin: 0px;
|
2024-05-21 13:13:38 -04:00
|
|
|
padding: 0.8em 0.67em 1.1em 0.67em;
|
2021-06-24 11:46:26 -04:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
+ .main-link {
|
|
|
|
padding-left: 0;
|
2014-08-22 10:45:51 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
|
2023-08-18 00:44:04 -04:00
|
|
|
.topics-replies-toggle {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
line-height: var(--line-height-large);
|
2023-08-20 21:34:12 -04:00
|
|
|
padding-left: 0.5em;
|
|
|
|
padding-right: 0.5em;
|
2024-06-24 09:54:34 -04:00
|
|
|
position: relative;
|
2023-08-18 00:44:04 -04:00
|
|
|
&.active {
|
2024-06-24 09:54:34 -04:00
|
|
|
@include nav-active();
|
2023-08-18 00:44:04 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-14 14:14:23 -05:00
|
|
|
$td-posters-height: 29px; // min-height of td with avatar glow
|
|
|
|
$td-posters-more-lh: $td-posters-height - 4;
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.posters {
|
2018-01-17 09:54:09 -05:00
|
|
|
// we know there are up to 5 avatars of fixed size
|
|
|
|
// will be overridden by media width queries on narrow displays to 1 avatar's width
|
2018-06-08 05:49:31 -04:00
|
|
|
width: 146px;
|
|
|
|
> a {
|
|
|
|
float: left;
|
|
|
|
margin-right: 4px;
|
|
|
|
&:last-of-type {
|
|
|
|
margin-right: 0;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2019-11-14 14:14:23 -05:00
|
|
|
|
|
|
|
&.posters-more-count {
|
|
|
|
cursor: default;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2019-11-14 14:14:23 -05:00
|
|
|
line-height: $td-posters-more-lh;
|
2022-10-12 09:31:59 -04:00
|
|
|
font-size: var(--font-down-1);
|
2019-11-14 14:14:23 -05:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2021-11-15 15:49:45 -05:00
|
|
|
.topic-list-data.posters {
|
2019-11-14 14:14:23 -05:00
|
|
|
height: $td-posters-height;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
.posters a:first-child .avatar.latest:not(.single) {
|
2020-08-04 14:39:25 -04:00
|
|
|
box-shadow: 0 0 3px 1px rgba(var(--tertiary-rgb), 0.35);
|
2023-01-11 10:17:20 -05:00
|
|
|
border: 1px solid rgba(var(--tertiary-rgb), 0.5);
|
2018-06-08 05:49:31 -04:00
|
|
|
position: relative;
|
|
|
|
left: -2px;
|
|
|
|
}
|
2015-04-06 03:27:05 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.likes {
|
2024-05-21 13:13:38 -04:00
|
|
|
width: 4.3em;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
.views {
|
2024-05-21 13:13:38 -04:00
|
|
|
width: 4.3em;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
.posts {
|
2024-05-21 13:13:38 -04:00
|
|
|
width: 4.3em;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2015-01-07 02:50:28 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.post-actions {
|
|
|
|
clear: both;
|
|
|
|
width: auto;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-06-08 05:49:31 -04:00
|
|
|
text-align: left;
|
2022-10-12 09:31:59 -04:00
|
|
|
font-size: var(--font-down-1);
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-top: 5px;
|
|
|
|
.fa {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
a {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-right: 3px;
|
2022-10-12 10:05:42 -04:00
|
|
|
line-height: var(--line-height-large);
|
2014-11-06 09:06:21 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
.activity {
|
2024-05-21 13:13:38 -04:00
|
|
|
width: 4em;
|
2018-06-08 05:49:31 -04:00
|
|
|
&:lang(zh_CN) {
|
2024-05-21 13:13:38 -04:00
|
|
|
width: 5.3em;
|
2018-01-12 17:27:38 -05:00
|
|
|
}
|
2014-08-04 20:44:01 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.age {
|
2024-05-21 13:13:38 -04:00
|
|
|
width: 4em;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
.with-year {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2014-06-20 04:26:59 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.topic-list-bottom {
|
2024-06-06 18:04:27 -04:00
|
|
|
margin: 1.25em 0;
|
2022-09-29 22:04:54 -04:00
|
|
|
.dismiss-container-bottom {
|
|
|
|
float: right;
|
|
|
|
}
|
2024-06-06 18:04:27 -04:00
|
|
|
.--no-topics-education + & {
|
|
|
|
margin: 0;
|
|
|
|
.footer-message {
|
|
|
|
padding-top: 4em;
|
|
|
|
}
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2014-12-15 09:39:13 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
// Misc. stuff
|
|
|
|
// --------------------------------------------------
|
2016-06-18 04:38:03 -04:00
|
|
|
|
2021-04-20 16:53:30 -04:00
|
|
|
#list-area .top-lists {
|
|
|
|
h2 {
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 5px 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.period-chooser .select-kit-body {
|
|
|
|
width: 275px;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2014-07-09 19:56:35 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
#list-area {
|
|
|
|
h2 {
|
|
|
|
margin: 20px 0 10px;
|
|
|
|
}
|
2023-08-22 12:16:12 -04:00
|
|
|
|
|
|
|
.show-more {
|
|
|
|
width: 100%;
|
|
|
|
z-index: z("base");
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
.alert {
|
|
|
|
margin: 0;
|
|
|
|
padding: 1.1em 2em 1.1em 0.65em;
|
2024-02-13 05:41:22 -05:00
|
|
|
gap: 0.65em;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&.loading {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
cursor: default;
|
|
|
|
}
|
2023-08-22 12:16:12 -04:00
|
|
|
}
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
|
2021-09-23 10:50:10 -04:00
|
|
|
.bulk-select-topics {
|
|
|
|
display: inline-flex;
|
|
|
|
margin-left: -5px;
|
|
|
|
.btn {
|
|
|
|
margin-right: 0.5em;
|
2020-03-26 19:15:33 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
|
2022-06-30 23:42:16 -04:00
|
|
|
.dismiss-container-top {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
|
2021-02-05 11:30:08 -05:00
|
|
|
.category-breadcrumb {
|
|
|
|
// only target the top-level li, not dropdowns
|
2021-08-23 04:44:19 -04:00
|
|
|
.select-kit {
|
2021-02-05 11:30:08 -05:00
|
|
|
align-self: stretch;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-28 23:02:03 -05:00
|
|
|
.category-logo.aspect-image {
|
2018-06-08 05:49:31 -04:00
|
|
|
float: left;
|
2021-04-26 18:55:18 -04:00
|
|
|
margin: 0.33em 2em 2em 0;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2018-01-12 17:27:38 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
/* Tablet (portrait) ----------- */
|
2018-01-12 17:27:38 -05:00
|
|
|
|
2022-07-28 14:18:27 -04:00
|
|
|
// These styles kick in a little earlier when the sidebar appears
|
2017-06-23 04:52:06 -04:00
|
|
|
|
2022-07-28 14:18:27 -04:00
|
|
|
@include breakpoint(medium, $sidebar: true) {
|
2018-06-08 05:49:31 -04:00
|
|
|
.topic-list {
|
|
|
|
// suppress views column
|
2021-11-15 15:49:45 -05:00
|
|
|
.views {
|
2018-06-08 05:49:31 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
// reduce width for more title space
|
|
|
|
.posts {
|
2023-02-13 17:51:42 -05:00
|
|
|
width: 3em;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
.posters {
|
2023-02-13 17:51:42 -05:00
|
|
|
width: 2em;
|
2018-06-08 05:49:31 -04:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
// show only the first poster
|
2021-11-15 15:49:45 -05:00
|
|
|
.topic-list-data.posters {
|
2022-03-07 12:08:00 -05:00
|
|
|
a:first-child .avatar.latest:not(.single) {
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
a:not(.latest) {
|
2018-01-12 17:27:38 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
a.latest {
|
|
|
|
width: 100%;
|
|
|
|
img {
|
|
|
|
margin: 0 auto;
|
2018-01-23 09:45:46 -05:00
|
|
|
}
|
2014-07-09 19:56:35 -04:00
|
|
|
}
|
2015-10-23 20:15:13 -04:00
|
|
|
}
|
2014-07-09 19:56:35 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2022-07-28 14:18:27 -04:00
|
|
|
|
|
|
|
@include breakpoint(medium) {
|
|
|
|
.nav-pills {
|
|
|
|
> li > a {
|
2022-10-12 09:31:59 -04:00
|
|
|
font-size: var(--font-0);
|
2023-02-13 17:51:42 -05:00
|
|
|
padding: 0.45em 0.67em;
|
2022-07-28 14:18:27 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-list {
|
|
|
|
.topic-list-data {
|
2022-10-12 09:31:59 -04:00
|
|
|
font-size: var(--font-0);
|
2022-07-28 14:18:27 -04:00
|
|
|
}
|
|
|
|
}
|
2023-02-13 17:51:42 -05:00
|
|
|
|
|
|
|
.topic-list-header {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
2022-07-28 14:18:27 -04:00
|
|
|
}
|
2022-08-09 12:22:39 -04:00
|
|
|
|
2022-09-19 17:40:44 -04:00
|
|
|
.container.list-container {
|
|
|
|
position: relative;
|
|
|
|
}
|