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
|
|
|
// List controls
|
|
|
|
// --------------------------------------------------
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.list-controls {
|
|
|
|
.nav {
|
|
|
|
float: left;
|
2018-08-16 00:02:26 -04:00
|
|
|
margin-bottom: 10px;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2013-10-28 17:37:31 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.btn {
|
|
|
|
float: right;
|
|
|
|
margin-left: 8px;
|
2019-08-06 23:44:44 -04:00
|
|
|
margin-bottom: 9px;
|
2018-06-08 05:49:31 -04:00
|
|
|
font-size: $font-up-1;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2015-04-02 01:02:07 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.search .btn {
|
|
|
|
float: none;
|
|
|
|
}
|
2013-10-29 00:37:18 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
a.badge-category {
|
|
|
|
padding: 3px 12px;
|
|
|
|
font-size: $font-up-1;
|
2018-01-12 17:27:38 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
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 {
|
2018-06-08 05:49:31 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
}
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon-thumbtack.unpinned {
|
2018-06-08 05:49:31 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
}
|
|
|
|
a.title {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
.d-icon-bookmark {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
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;
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
padding: 12px 5px;
|
|
|
|
&:first-of-type {
|
|
|
|
padding-left: 10px;
|
2018-01-12 17:27:38 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
&:last-of-type {
|
|
|
|
padding-right: 10px;
|
2018-01-12 17:27:38 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
th {
|
|
|
|
button .d-icon {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.bulk-select {
|
|
|
|
padding: 10px;
|
2018-11-25 15:24:26 -05:00
|
|
|
width: 30px;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.badge-notification {
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
&.new-topic {
|
|
|
|
top: -1px;
|
|
|
|
padding-left: 5px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2018-01-17 09:54:09 -05: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;
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
line-height: $td-posters-more-lh;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
td.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) {
|
|
|
|
box-shadow: 0 0 3px 1px desaturate($tertiary-medium, 35%);
|
|
|
|
border: 2px solid desaturate($tertiary-medium, 40%);
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
left: -2px;
|
|
|
|
}
|
2015-04-06 03:27:05 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.likes {
|
|
|
|
width: 65px;
|
|
|
|
}
|
|
|
|
.views {
|
|
|
|
width: 65px;
|
|
|
|
}
|
|
|
|
.posts {
|
|
|
|
width: 65px;
|
|
|
|
}
|
2015-01-07 02:50:28 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.post-actions {
|
|
|
|
clear: both;
|
|
|
|
width: auto;
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
text-align: left;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
margin-top: 5px;
|
|
|
|
.fa {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
a {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-right: 3px;
|
|
|
|
line-height: $line-height-large;
|
2014-11-06 09:06:21 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
.activity {
|
|
|
|
width: 60px;
|
|
|
|
&:lang(zh_CN) {
|
|
|
|
width: 80px;
|
2018-01-12 17:27:38 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
span {
|
|
|
|
cursor: pointer;
|
2014-08-15 16:39:34 -04:00
|
|
|
}
|
2014-08-04 20:44:01 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.age {
|
|
|
|
width: 60px;
|
|
|
|
}
|
|
|
|
.with-year {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2014-06-20 04:26:59 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.topic-list-bottom {
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
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
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
#list-area .top-lists h2 {
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 5px 0 10px;
|
|
|
|
}
|
2014-07-09 19:56:35 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
#list-area {
|
|
|
|
h2 {
|
|
|
|
margin: 20px 0 10px;
|
|
|
|
}
|
|
|
|
.show-more.has-topics {
|
|
|
|
top: 0;
|
|
|
|
.alert {
|
|
|
|
padding: 12px 35px 12px 14px;
|
2018-01-12 17:27:38 -05:00
|
|
|
}
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#bulk-select {
|
|
|
|
position: fixed;
|
|
|
|
right: 20px;
|
|
|
|
top: 130px;
|
|
|
|
padding: 5px;
|
|
|
|
background-color: $secondary;
|
|
|
|
z-index: z("dropdown");
|
|
|
|
}
|
|
|
|
|
|
|
|
button.dismiss-read {
|
|
|
|
float: right;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tags-admin-menu {
|
|
|
|
.dropdown-menu {
|
|
|
|
right: 0;
|
|
|
|
top: 30px;
|
|
|
|
bottom: auto;
|
|
|
|
left: auto;
|
2018-01-12 17:27:38 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2014-07-09 19:56:35 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.category-heading {
|
|
|
|
p {
|
|
|
|
line-height: $line-height-large;
|
|
|
|
font-size: $font-up-3;
|
2014-07-09 19:56:35 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2014-07-09 19:56:35 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.category-navigation {
|
|
|
|
clear: both;
|
|
|
|
}
|
2018-01-12 17:27:38 -05:00
|
|
|
|
2018-11-28 23:02:03 -05:00
|
|
|
.category-logo.aspect-image {
|
2018-06-08 05:49:31 -04:00
|
|
|
float: left;
|
2018-08-17 23:07:07 -04:00
|
|
|
margin: 0.25em 1em 0.5em 0;
|
2018-11-28 23:02:03 -05:00
|
|
|
|
|
|
|
img {
|
|
|
|
width: auto;
|
|
|
|
max-height: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@supports (--custom: property) {
|
|
|
|
.category-logo.aspect-image {
|
|
|
|
--max-height: 150px;
|
|
|
|
max-height: var(--max-height);
|
2018-12-04 13:01:27 -05:00
|
|
|
max-width: 60%;
|
2018-11-28 23:02:03 -05:00
|
|
|
height: auto;
|
2018-12-04 13:01:27 -05:00
|
|
|
width: calc(var(--max-height) * var(--aspect-ratio));
|
2018-11-28 23:02:03 -05:00
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: inherit;
|
|
|
|
max-width: initial;
|
|
|
|
max-height: initial;
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
|
2018-07-12 16:38:51 -04:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 05:49:31 -04:00
|
|
|
// slightly smaller font, tighten spacing on nav pills
|
|
|
|
.nav-pills {
|
|
|
|
> li > a {
|
|
|
|
font-size: $font-0;
|
|
|
|
padding: 7px 10px;
|
2017-06-23 04:52:06 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2017-06-23 04:52:06 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
// new topic just a "+" no text
|
|
|
|
button#create-topic {
|
|
|
|
span {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon {
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-10-23 20:15:13 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.topic-list {
|
|
|
|
// tighter table header spacing
|
2018-01-12 17:27:38 -05:00
|
|
|
th:first-of-type {
|
|
|
|
padding: 12px 5px;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2018-01-12 17:27:38 -05:00
|
|
|
// smaller table cell spacing
|
2018-06-08 05:49:31 -04: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 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
|
|
|
}
|