2018-06-08 17:49:31 +08:00
|
|
|
// --------------------------------------------------
|
|
|
|
// Topic lists
|
|
|
|
// --------------------------------------------------
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
// Base list
|
|
|
|
// --------------------------------------------------
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.topic-list-icons {
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon-thumbtack {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon-thumbtack.unpinned {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
a.title {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
.d-icon-bookmark {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-01-13 06:27:38 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2017-08-14 00:13:02 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.topic-list {
|
|
|
|
@extend .topic-list-icons;
|
2018-01-13 06:27:38 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
margin: 0 0 10px;
|
2021-11-16 04:49:45 +08:00
|
|
|
.topic-list-data {
|
2018-06-08 17:49:31 +08:00
|
|
|
padding: 12px 5px;
|
|
|
|
&:first-of-type {
|
|
|
|
padding-left: 10px;
|
2018-01-13 06:27:38 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
&:last-of-type {
|
|
|
|
padding-right: 10px;
|
2018-01-13 06:27:38 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
button.bulk-select {
|
|
|
|
padding: 0;
|
2021-06-08 02:40:37 +08:00
|
|
|
line-height: $line-height-large;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
|
2021-11-16 04:49:45 +08:00
|
|
|
.topic-list-data.bulk-select {
|
2021-06-24 23:46:26 +08:00
|
|
|
padding: 0;
|
2018-11-26 04:24:26 +08:00
|
|
|
width: 30px;
|
2021-06-24 23:46:26 +08:00
|
|
|
label {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 12px 10px 16px 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
+ .main-link {
|
|
|
|
padding-left: 0;
|
2014-08-22 22:45:51 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.badge-notification {
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
2022-03-13 19:50:06 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
&.new-topic {
|
|
|
|
top: -1px;
|
2022-03-13 19:50:06 +08:00
|
|
|
padding-left: 2px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2018-01-17 22:54:09 +08:00
|
|
|
|
2019-11-15 03:14:23 +08:00
|
|
|
$td-posters-height: 29px; // min-height of td with avatar glow
|
|
|
|
$td-posters-more-lh: $td-posters-height - 4;
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.posters {
|
2018-01-17 22:54:09 +08: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 17:49:31 +08:00
|
|
|
width: 146px;
|
|
|
|
> a {
|
|
|
|
float: left;
|
|
|
|
margin-right: 4px;
|
|
|
|
&:last-of-type {
|
|
|
|
margin-right: 0;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2019-11-15 03:14:23 +08:00
|
|
|
|
|
|
|
&.posters-more-count {
|
|
|
|
cursor: default;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2019-11-15 03:14:23 +08:00
|
|
|
line-height: $td-posters-more-lh;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2021-11-16 04:49:45 +08:00
|
|
|
.topic-list-data.posters {
|
2019-11-15 03:14:23 +08:00
|
|
|
height: $td-posters-height;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
.posters a:first-child .avatar.latest:not(.single) {
|
2020-08-05 02:39:25 +08:00
|
|
|
box-shadow: 0 0 3px 1px rgba(var(--tertiary-rgb), 0.35);
|
|
|
|
border: 2px solid rgba(var(--tertiary-rgb), 0.5);
|
2018-06-08 17:49:31 +08:00
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
left: -2px;
|
|
|
|
}
|
2015-04-06 15:27:05 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.likes {
|
|
|
|
width: 65px;
|
|
|
|
}
|
|
|
|
.views {
|
|
|
|
width: 65px;
|
|
|
|
}
|
|
|
|
.posts {
|
|
|
|
width: 65px;
|
|
|
|
}
|
2015-01-07 15:50:28 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.post-actions {
|
|
|
|
clear: both;
|
|
|
|
width: auto;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-06-08 17:49:31 +08:00
|
|
|
text-align: left;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
margin-top: 5px;
|
|
|
|
.fa {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
a {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-right: 3px;
|
|
|
|
line-height: $line-height-large;
|
2014-11-06 22:06:21 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
.activity {
|
|
|
|
width: 60px;
|
|
|
|
&:lang(zh_CN) {
|
|
|
|
width: 80px;
|
2018-01-13 06:27:38 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
span {
|
|
|
|
cursor: pointer;
|
2014-08-16 04:39:34 +08:00
|
|
|
}
|
2014-08-05 08:44:01 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.age {
|
|
|
|
width: 60px;
|
|
|
|
}
|
|
|
|
.with-year {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2014-06-20 16:26:59 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.topic-list-bottom {
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
2014-12-15 22:39:13 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
// Misc. stuff
|
|
|
|
// --------------------------------------------------
|
2016-06-18 16:38:03 +08:00
|
|
|
|
2021-04-21 04:53:30 +08:00
|
|
|
#list-area .top-lists {
|
|
|
|
h2 {
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 5px 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.period-chooser .select-kit-body {
|
|
|
|
width: 275px;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2014-07-10 07:56:35 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
#list-area {
|
|
|
|
h2 {
|
|
|
|
margin: 20px 0 10px;
|
|
|
|
}
|
|
|
|
.show-more.has-topics {
|
|
|
|
top: 0;
|
|
|
|
.alert {
|
2021-11-17 01:09:07 +08:00
|
|
|
padding: 16px 35px 16px 14px;
|
2018-01-13 06:27:38 +08:00
|
|
|
}
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
|
2021-09-23 22:50:10 +08:00
|
|
|
.bulk-select-topics {
|
|
|
|
display: inline-flex;
|
|
|
|
margin-left: -5px;
|
|
|
|
.btn {
|
|
|
|
margin-right: 0.5em;
|
2020-03-27 07:15:33 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
|
2022-07-01 11:42:16 +08:00
|
|
|
.dismiss-container-top {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
|
2021-02-06 00:30:08 +08:00
|
|
|
.category-breadcrumb {
|
|
|
|
// only target the top-level li, not dropdowns
|
2021-08-23 16:44:19 +08:00
|
|
|
.select-kit {
|
2021-02-06 00:30:08 +08:00
|
|
|
align-self: stretch;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-29 12:02:03 +08:00
|
|
|
.category-logo.aspect-image {
|
2018-06-08 17:49:31 +08:00
|
|
|
float: left;
|
2021-04-27 06:55:18 +08:00
|
|
|
margin: 0.33em 2em 2em 0;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2018-01-13 06:27:38 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
/* Tablet (portrait) ----------- */
|
2018-01-13 06:27:38 +08:00
|
|
|
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 17:49:31 +08:00
|
|
|
// slightly smaller font, tighten spacing on nav pills
|
|
|
|
.nav-pills {
|
|
|
|
> li > a {
|
|
|
|
font-size: $font-0;
|
|
|
|
padding: 7px 10px;
|
2017-06-23 16:52:06 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2017-06-23 16:52:06 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.topic-list {
|
|
|
|
// tighter table header spacing
|
2021-11-19 03:32:44 +08:00
|
|
|
.topic-list-item .topic-list-data:first-of-type {
|
2018-01-13 06:27:38 +08:00
|
|
|
padding: 12px 5px;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2018-01-13 06:27:38 +08:00
|
|
|
// smaller table cell spacing
|
2021-11-16 04:49:45 +08:00
|
|
|
.topic-list-data {
|
2018-06-08 17:49:31 +08:00
|
|
|
padding: 10px;
|
|
|
|
font-size: $font-0;
|
|
|
|
}
|
|
|
|
// suppress views column
|
2021-11-16 04:49:45 +08:00
|
|
|
.views {
|
2018-06-08 17:49:31 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
// reduce width for more title space
|
|
|
|
.posts {
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
.posters {
|
|
|
|
width: 30px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
// show only the first poster
|
2021-11-16 04:49:45 +08:00
|
|
|
.topic-list-data.posters {
|
2022-03-08 01:08:00 +08:00
|
|
|
a:first-child .avatar.latest:not(.single) {
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
a:not(.latest) {
|
2018-01-13 06:27:38 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
a.latest {
|
|
|
|
width: 100%;
|
|
|
|
img {
|
|
|
|
margin: 0 auto;
|
2018-01-23 22:45:46 +08:00
|
|
|
}
|
2014-07-10 07:56:35 +08:00
|
|
|
}
|
2015-10-24 08:15:13 +08:00
|
|
|
}
|
2014-07-10 07:56:35 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|