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