2013-09-06 03:37:07 +08:00
|
|
|
// --------------------------------------------------
|
|
|
|
// Topic lists
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// List controls
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-10-25 11:18:34 +08:00
|
|
|
.list-controls {
|
2018-06-08 17:49:31 +08:00
|
|
|
margin: 10px -3px 5px -3px;
|
2015-06-22 12:25:17 +08:00
|
|
|
.category-breadcrumb.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
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;
|
2018-06-08 17:49:31 +08:00
|
|
|
margin: 0 3px 10px 3px;
|
|
|
|
order: 10; // always last for consistent placement
|
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%;
|
|
|
|
margin: 5px 0;
|
2018-06-08 17:49:31 +08:00
|
|
|
|
2018-05-10 05:48:34 +08:00
|
|
|
button {
|
|
|
|
margin: 0 3px;
|
2018-06-08 17:49:31 +08:00
|
|
|
|
2018-05-10 05:48:34 +08:00
|
|
|
&.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
|
|
|
|
|
|
|
.select-kit {
|
|
|
|
display: flex;
|
2018-06-08 17:49:31 +08:00
|
|
|
align-self: stretch;
|
2018-05-10 05:48:34 +08:00
|
|
|
margin-bottom: 10px;
|
2015-06-22 12:25:17 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
|
2018-05-10 05:48:34 +08:00
|
|
|
.btn:not(.select-kit-header) {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.categories-admin-dropdown,
|
|
|
|
.tag-notifications-button {
|
2018-05-10 05:48:34 +08:00
|
|
|
order: 2; // after main nav
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-navigation {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
width: 100%;
|
|
|
|
.edit-category {
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2018-05-10 05:48:34 +08:00
|
|
|
margin: 0;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
@media screen and (max-width: 374px) {
|
|
|
|
// Hide edit label on very tiny screens
|
2018-05-10 05:48:34 +08:00
|
|
|
.d-button-label {
|
|
|
|
display: none;
|
|
|
|
}
|
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;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
> li {
|
2018-05-10 05:48:34 +08:00
|
|
|
margin-right: 0;
|
|
|
|
font-size: $font-down-1;
|
2018-10-02 02:49:00 +08:00
|
|
|
border: 1px solid $primary-medium;
|
2018-05-10 05:48:34 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
> li > a {
|
2018-05-10 05:48:34 +08:00
|
|
|
line-height: $line-height-large;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
.d-icon {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.drop {
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
position: absolute;
|
2018-06-20 13:09:14 +08:00
|
|
|
z-index: z("dropdown") - 1;
|
2018-05-10 05:48:34 +08:00
|
|
|
background-color: $secondary;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
th,
|
|
|
|
td {
|
2018-04-21 07:14:48 +08:00
|
|
|
padding: 7px 0;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
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 {
|
|
|
|
line-height: $line-height-medium;
|
|
|
|
position: relative;
|
|
|
|
z-index: z("base") + 1; // Intentionally overlapping category to create bigger tap target
|
|
|
|
a.title {
|
|
|
|
color: $primary;
|
|
|
|
padding: 0.5em 0.667em 1.2em 0;
|
|
|
|
}
|
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;
|
2018-07-28 01:10:13 +08:00
|
|
|
font-size: $font-0;
|
2018-07-26 11:58:23 +08:00
|
|
|
line-height: $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 {
|
2018-06-08 17:49:31 +08:00
|
|
|
color: $secondary;
|
|
|
|
}
|
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;
|
|
|
|
top: -2px;
|
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
|
|
|
&.new-posts,
|
|
|
|
&.unread-posts {
|
2015-09-16 23:43:35 +08:00
|
|
|
color: dark-light-choose($secondary, $secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-20 04:25:25 +08:00
|
|
|
.topic-item-stats {
|
2018-10-25 08:42:58 +08:00
|
|
|
position: relative;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
z-index: z("base");
|
2018-06-08 17:49:31 +08:00
|
|
|
.category,
|
|
|
|
.num,
|
|
|
|
.last-poster {
|
2013-09-06 03:37:07 +08:00
|
|
|
float: left;
|
|
|
|
}
|
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
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.num .fa,
|
|
|
|
a,
|
|
|
|
a:visited {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2014-04-24 09:10:50 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2013-09-20 04:25:25 +08:00
|
|
|
|
2014-01-11 02:56:27 +08:00
|
|
|
.age {
|
|
|
|
white-space: nowrap;
|
2014-09-23 13:56:46 +08:00
|
|
|
a {
|
2015-10-23 14:23:13 +08:00
|
|
|
// let's make all ages dim on mobile so we're not
|
|
|
|
// overwhelming people with info about each topic
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-low-mid, $secondary-high) !important;
|
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-left: -10px;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 12px 5px;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $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 {
|
|
|
|
.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 {
|
|
|
|
width: 10%;
|
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
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2015-05-20 07:28:01 +08:00
|
|
|
tr.category-topic-link {
|
2018-04-21 01:22:35 +08:00
|
|
|
border-bottom: 1px solid $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
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.category-list-item {
|
2018-04-21 01:22:35 +08:00
|
|
|
padding: 5px 0 2px;
|
2015-05-06 00:04:18 +08:00
|
|
|
border-left: 6px solid;
|
2018-04-21 01:22:35 +08:00
|
|
|
border-top: 1px solid;
|
2015-05-06 00:04:18 +08:00
|
|
|
|
|
|
|
h3 {
|
2018-12-05 02:01:27 +08:00
|
|
|
max-width: 100%;
|
2015-05-06 00:04:18 +08:00
|
|
|
display: inline-block;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2018-12-05 02:01:27 +08:00
|
|
|
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] {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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 {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subcategories-list td {
|
|
|
|
padding-top: 15px;
|
2015-05-06 00:04:18 +08:00
|
|
|
}
|
|
|
|
|
2014-07-30 05:38:36 +08:00
|
|
|
.topic-list > tbody > tr {
|
2014-07-28 22:33:23 +08:00
|
|
|
&:nth-child(odd) {
|
|
|
|
background-color: $secondary;
|
|
|
|
}
|
2015-05-06 00:04:18 +08:00
|
|
|
&:nth-child(even) {
|
|
|
|
background-color: $secondary;
|
|
|
|
}
|
|
|
|
}
|
2014-07-28 22:33:23 +08:00
|
|
|
|
2014-07-11 04:28:53 +08:00
|
|
|
th .badge-category {
|
2015-01-30 09:09:42 +08:00
|
|
|
margin: 0;
|
2014-07-11 04:28:53 +08:00
|
|
|
}
|
2014-07-28 22:33:23 +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 {
|
2018-04-21 04:48:25 +08:00
|
|
|
border-top: 1px solid $primary-low;
|
2014-07-11 04:28:53 +08:00
|
|
|
padding: 7px 10px;
|
|
|
|
figure {
|
|
|
|
float: left;
|
|
|
|
margin: 3px 7px 0 0;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary, $secondary-low);
|
2014-07-11 04:28:53 +08:00
|
|
|
font-weight: bold;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
2014-07-11 04:28:53 +08:00
|
|
|
}
|
|
|
|
figcaption {
|
|
|
|
display: inline;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
float: right;
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
2013-09-06 03:37:07 +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
|
|
|
|
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
|
|
|
|
// --------------------------------------------------
|
|
|
|
.btn-group .dropdown-toggle:active,
|
|
|
|
.btn-group.open .dropdown-toggle {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.dropdown-toggle:active,
|
|
|
|
.open .dropdown-toggle {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
.caret {
|
|
|
|
display: inline-block;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
vertical-align: middle;
|
2014-05-06 13:50:51 +08:00
|
|
|
border-top: 4px solid $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
border-right: 4px solid transparent;
|
|
|
|
border-left: 4px solid transparent;
|
|
|
|
content: "";
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
.dropdown-menu {
|
|
|
|
position: relative;
|
|
|
|
top: 100%;
|
|
|
|
left: 0;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("dropdown");
|
2013-09-06 03:37:07 +08:00
|
|
|
display: none;
|
|
|
|
float: left;
|
|
|
|
width: 280px;
|
|
|
|
padding: 4px 0;
|
|
|
|
list-style: none;
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2017-10-11 04:07:46 +08:00
|
|
|
border: 1px solid dark-light-choose(rgba(0, 0, 0, 0.2), $primary);
|
2013-09-06 03:37:07 +08:00
|
|
|
border-radius: 5px;
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("dropdown");
|
2013-09-06 03:37:07 +08:00
|
|
|
background-clip: padding-box;
|
2015-08-19 13:02:01 +08:00
|
|
|
margin: 1px 0 20px;
|
2018-06-08 17:49:31 +08:00
|
|
|
.title {
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.dropdown-menu a {
|
|
|
|
display: block;
|
|
|
|
padding: 3px 15px;
|
|
|
|
clear: both;
|
|
|
|
font-weight: normal;
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-medium;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.dropdown-menu li > a:hover,
|
|
|
|
.dropdown-menu .active > a,
|
|
|
|
.dropdown-menu .active > a:hover {
|
2014-05-10 14:09:04 +08:00
|
|
|
color: $tertiary;
|
2013-09-06 03:37:07 +08:00
|
|
|
text-decoration: none;
|
2017-10-11 04:07:46 +08:00
|
|
|
background-color: $tertiary-low;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.open > .dropdown-menu {
|
|
|
|
display: block;
|
2014-03-07 12:55:57 +08:00
|
|
|
clear: both;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.fade {
|
|
|
|
opacity: 0;
|
2018-06-08 17:49:31 +08:00
|
|
|
transition: opacity linear 0.15s;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.fade.in {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2013-10-25 11:18:34 +08:00
|
|
|
ol.category-breadcrumb {
|
2018-05-10 05:48:34 +08:00
|
|
|
margin: 0 0 5px 0;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex: 1 1 100%;
|
|
|
|
li.select-kit {
|
2018-05-10 12:17:15 +08:00
|
|
|
flex: 1 1 33%;
|
2018-05-10 05:48:34 +08:00
|
|
|
margin: 0 3px 5px 3px;
|
2018-06-08 17:49:31 +08:00
|
|
|
.select-kit-header .selected-name {
|
2018-05-10 05:48:34 +08:00
|
|
|
max-width: 80vw;
|
|
|
|
.badge-wrapper {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-10-25 11:18:34 +08:00
|
|
|
}
|
2013-10-26 03:44:28 +08:00
|
|
|
|
2014-07-10 15:57:30 +08:00
|
|
|
.top-lists {
|
2018-06-08 17:49:31 +08:00
|
|
|
h2 {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
.topic-list {
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
.btn-default.pull-right {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2014-05-10 14:09:04 +08:00
|
|
|
}
|
2014-05-30 02:15:56 +08:00
|
|
|
|
2017-09-09 02:47:39 +08:00
|
|
|
.tags-admin-menu {
|
2014-05-30 02:15:56 +08:00
|
|
|
display: none;
|
2014-06-02 13:48:44 +08:00
|
|
|
}
|
2014-06-24 14:31:36 +08:00
|
|
|
|
2018-03-17 01:43:00 +08:00
|
|
|
.staff.tags-page #create-topic {
|
|
|
|
clear: right;
|
|
|
|
}
|
|
|
|
|
2014-07-30 05:38:36 +08:00
|
|
|
.topic-list-bottom h3 {
|
2018-06-08 17:49:31 +08:00
|
|
|
clear: both;
|
|
|
|
padding-top: 10px;
|
2014-06-24 14:31:36 +08:00
|
|
|
}
|
2014-08-06 05:09:18 +08:00
|
|
|
|
2018-11-29 12:02:03 +08:00
|
|
|
.category-logo.aspect-image {
|
2014-08-06 05:09:18 +08:00
|
|
|
display: block;
|
2018-11-29 12:02:03 +08:00
|
|
|
margin: 8px 0;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@supports (--custom: property) {
|
|
|
|
.category-logo.aspect-image {
|
|
|
|
--max-height: 150px;
|
|
|
|
max-height: var(--max-height);
|
|
|
|
width: calc(var(--max-height) * var(--aspect-ratio));
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: inherit;
|
|
|
|
max-width: initial;
|
|
|
|
max-height: initial;
|
|
|
|
}
|
|
|
|
}
|
2014-08-06 05:09:18 +08:00
|
|
|
}
|
2014-08-21 05:37:28 +08:00
|
|
|
|
2014-09-23 15:49:09 +08:00
|
|
|
button.dismiss-read {
|
|
|
|
margin-right: 10px;
|
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 {
|
|
|
|
padding: 5px 10px 5px 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 {
|
2015-09-10 04:05:02 +08:00
|
|
|
.posts-map {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-1;
|
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 {
|
|
|
|
padding-right: 0;
|
|
|
|
width: 120%;
|
|
|
|
}
|
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;
|
|
|
|
}
|