2013-09-05 15:37:07 -04:00
|
|
|
// --------------------------------------------------
|
|
|
|
// Topic lists
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// List controls
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-10-24 23:18:34 -04:00
|
|
|
.list-controls {
|
2015-06-22 00:25:17 -04:00
|
|
|
.category-breadcrumb.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-07-21 21:46:15 -04:00
|
|
|
margin: 5px 0;
|
2013-09-05 15:37:07 -04:00
|
|
|
.nav {
|
|
|
|
float: left;
|
2013-09-17 16:07:02 -04:00
|
|
|
margin-right: 15px;
|
|
|
|
li {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
float: right;
|
|
|
|
margin-left: 8px;
|
2015-06-22 00:25:17 -04:00
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
.nav-pills {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.nav-pills .drop {
|
2017-10-10 16:07:46 -04:00
|
|
|
border: 1px solid $primary-low;
|
2015-06-22 00:25:17 -04:00
|
|
|
position: absolute;
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("dropdown");
|
2015-06-22 00:25:17 -04:00
|
|
|
background-color: $secondary;
|
|
|
|
padding: 0 10px 10px 10px;
|
|
|
|
width: 150px;
|
|
|
|
top: 100%;
|
|
|
|
margin: 0;
|
|
|
|
li {
|
|
|
|
list-style-type: none;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-top: 5px;
|
|
|
|
padding-top: 10px;
|
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
.nav-pills > li {
|
2017-07-27 15:03:41 -04:00
|
|
|
background: $primary-low;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2017-11-23 11:14:51 -05:00
|
|
|
.d-icon-caret-down {
|
2015-06-22 00:25:17 -04:00
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2017-09-10 05:36:57 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2013-09-17 16:07:02 -04:00
|
|
|
.list-container .full-width {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
// Base list
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list {
|
2014-07-28 10:33:23 -04:00
|
|
|
|
2015-10-23 04:19:28 -04:00
|
|
|
.right {
|
2015-10-30 11:50:46 -04:00
|
|
|
margin-left: 55px;
|
2015-10-23 04:19:28 -04:00
|
|
|
}
|
|
|
|
|
2014-07-28 10:33:23 -04:00
|
|
|
> tbody > tr {
|
2014-08-22 10:45:51 -04:00
|
|
|
&.highlighted {
|
2016-12-16 16:26:49 -05:00
|
|
|
animation: background-fade-highlight 2.5s ease-out;
|
2014-08-22 10:45:51 -04:00
|
|
|
}
|
2015-05-11 19:09:46 -04:00
|
|
|
}
|
2014-07-28 10:33:23 -04:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
th,
|
|
|
|
td {
|
2015-07-21 21:46:15 -04:00
|
|
|
padding: 7px 0;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-01-14 15:12:09 -05:00
|
|
|
max-width: 300px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2014-06-10 14:01:09 -04:00
|
|
|
|
|
|
|
a.title {color: $primary;}
|
|
|
|
|
2015-09-16 11:43:35 -04:00
|
|
|
.badge-notification, .category-topic-link td.num .badge-notification {
|
2013-09-05 15:37:07 -04:00
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2016-08-07 21:02:46 -04:00
|
|
|
padding: 4px 6px 3px 6px;
|
2015-09-11 16:34:27 -04:00
|
|
|
i {color: $secondary;}
|
|
|
|
|
|
|
|
&.new-topic::before {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
&.new-topic {
|
2015-11-09 05:24:19 -05:00
|
|
|
padding: 0;
|
|
|
|
top: -2px;
|
2015-09-11 16:34:27 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2013-09-19 16:25:25 -04:00
|
|
|
|
2015-09-16 11:43:35 -04:00
|
|
|
.category-topic-link td.num .badge-notification {
|
|
|
|
&.new-posts, &.unread-posts {
|
|
|
|
color: dark-light-choose($secondary, $secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-19 16:25:25 -04:00
|
|
|
.topic-item-stats {
|
|
|
|
.category, .num, .last-poster {
|
2013-09-05 15:37:07 -04:00
|
|
|
float: left;
|
|
|
|
}
|
2014-12-02 03:19:42 -05:00
|
|
|
.category a {
|
2014-12-02 03:41:51 -05:00
|
|
|
max-width: 160px;
|
2014-12-02 03:19:42 -05:00
|
|
|
}
|
2015-09-11 16:34:27 -04:00
|
|
|
.num .fa, a, a:visited {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2014-04-23 21:10:50 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2013-09-19 16:25:25 -04:00
|
|
|
|
2014-09-23 04:09:51 -04:00
|
|
|
|
2014-01-10 13:56:27 -05:00
|
|
|
.age {
|
|
|
|
white-space: nowrap;
|
2014-09-23 01:56:46 -04:00
|
|
|
a {
|
2015-10-23 02:23:13 -04:00
|
|
|
// let's make all ages dim on mobile so we're not
|
|
|
|
// overwhelming people with info about each topic
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-low-mid, $secondary-high) !important;
|
2014-09-23 01:56:46 -04:00
|
|
|
}
|
2014-01-10 13:56:27 -05:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Category list
|
|
|
|
// --------------------------------------------------
|
2017-03-27 11:38:01 -04:00
|
|
|
.categories-list .category-list {
|
|
|
|
margin-left: -10px;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 12px 5px;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
2017-03-27 11:38:01 -04:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
td:first-of-type {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
tr {
|
2017-10-19 15:51:08 -04:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2017-03-27 11:38:01 -04:00
|
|
|
&:first-of-type {
|
2017-10-19 15:51:08 -04:00
|
|
|
border-top: 3px solid $primary-low;
|
2017-03-27 11:38:01 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.category {
|
|
|
|
border-left: 6px solid;
|
|
|
|
}
|
|
|
|
}
|
2015-09-11 14:28:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-list-item.category {
|
|
|
|
// Allow percentage widths on table cells to include their padding
|
|
|
|
box-sizing: border-box;
|
|
|
|
*, *:before, *:after {
|
|
|
|
box-sizing: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.posts {
|
|
|
|
width: 10%;
|
2015-10-20 02:02:32 -04:00
|
|
|
vertical-align: top;
|
2015-09-11 14:28:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.age {
|
2015-09-17 15:25:37 -04:00
|
|
|
margin-left: 5px;
|
2015-09-11 14:28:18 -04:00
|
|
|
}
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2015-05-19 19:28:01 -04:00
|
|
|
tr.category-topic-link {
|
2015-05-20 03:46:33 -04:00
|
|
|
border-top: darken($secondary, 3%) 1px solid;
|
|
|
|
border-bottom: darken($secondary, 3%) 1px solid;
|
2015-05-05 12:04:18 -04:00
|
|
|
}
|
2014-07-28 10:33:23 -04:00
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list.categories {
|
2013-12-20 16:51:39 -05:00
|
|
|
td.latest {
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
2014-06-23 16:11:55 -04:00
|
|
|
|
2013-12-19 11:45:42 -05:00
|
|
|
.badge-category {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
2013-12-18 11:50:51 -05:00
|
|
|
.featured-users {
|
2013-12-19 16:51:18 -05:00
|
|
|
@include mobile-portrait {
|
2013-12-18 11:50:51 -05:00
|
|
|
margin-bottom: 10px;
|
|
|
|
padding-top: 8px;
|
|
|
|
clear: left;
|
|
|
|
}
|
2013-12-19 16:51:18 -05:00
|
|
|
@include not-mobile-portrait {
|
2013-12-18 11:50:51 -05:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.latest {
|
2013-12-19 16:51:18 -05:00
|
|
|
@include mobile-portrait { width: 150px; }
|
|
|
|
@include mobile-landscape { width: 270px; }
|
|
|
|
@include tablet-landscape { width: 450px; }
|
2013-12-18 11:50:51 -05:00
|
|
|
.featured-topic {
|
|
|
|
margin: 8px 0;
|
|
|
|
a.last-posted-at, a.last-posted-at:visited {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2013-12-18 11:50:51 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.stats {
|
2013-12-19 16:51:18 -05:00
|
|
|
@include not-tablet-landscape { display: none; }
|
|
|
|
@include tablet-landscape { min-width: 80px; }
|
|
|
|
}
|
2013-12-18 11:50:51 -05:00
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.category-list-item {
|
2014-07-28 10:33:23 -04:00
|
|
|
|
2015-05-05 12:04:18 -04:00
|
|
|
border-left: 6px solid;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
display: inline-block;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-2;
|
2015-09-15 17:37:14 -04:00
|
|
|
margin: 0 0 0 10px;
|
2015-05-05 12:04:18 -04:00
|
|
|
i {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
a[href] {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-05-06 10:58:30 -04:00
|
|
|
.category-topic-link .main-link, .subcategories-list td, .category-description td {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
2015-09-17 15:25:37 -04:00
|
|
|
.category-topic-link .main-link .age {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2015-09-17 15:25:37 -04:00
|
|
|
}
|
|
|
|
|
2015-05-06 10:58:30 -04:00
|
|
|
.category-description td {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subcategories-list td {
|
|
|
|
padding-top: 15px;
|
2015-05-05 12:04:18 -04:00
|
|
|
}
|
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list > tbody > tr {
|
2014-07-28 10:33:23 -04:00
|
|
|
&:nth-child(odd) {
|
|
|
|
background-color: $secondary;
|
|
|
|
}
|
2015-05-05 12:04:18 -04:00
|
|
|
&:nth-child(even) {
|
|
|
|
background-color: $secondary;
|
|
|
|
}
|
|
|
|
}
|
2014-07-28 10:33:23 -04:00
|
|
|
|
2014-07-10 16:28:53 -04:00
|
|
|
th .badge-category {
|
2015-01-29 20:09:42 -05:00
|
|
|
margin: 0;
|
2014-07-10 16:28:53 -04:00
|
|
|
}
|
2014-07-28 10:33:23 -04:00
|
|
|
|
2015-10-20 02:02:32 -04:00
|
|
|
.category-topic-link {
|
|
|
|
.num {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.topic-excerpt {
|
|
|
|
width: 110%;
|
2015-09-16 11:43:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-28 10:33:23 -04:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.posters {
|
2014-07-10 16:28:53 -04:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
> footer {
|
|
|
|
border-top: 0;
|
|
|
|
padding: 7px 10px;
|
|
|
|
figure {
|
|
|
|
float: left;
|
|
|
|
margin: 3px 7px 0 0;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary, $secondary-low);
|
2014-07-10 16:28:53 -04:00
|
|
|
font-weight: bold;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2014-07-10 16:28:53 -04:00
|
|
|
}
|
|
|
|
figcaption {
|
|
|
|
display: inline;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
float: right;
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-27 11:38:01 -04:00
|
|
|
.category-box {
|
|
|
|
h3 {
|
|
|
|
margin: 0 0 0.5em 0;
|
|
|
|
}
|
|
|
|
}
|
2014-07-10 16:28:53 -04:00
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list-bottom {
|
2015-07-21 21:46:15 -04:00
|
|
|
margin: 20px 0 0 0;
|
2013-09-05 15:37:07 -04: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 01:50:51 -04:00
|
|
|
border-top: 4px solid $primary;
|
2013-09-05 15:37:07 -04: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-16 19:05:12 -05:00
|
|
|
z-index: z("dropdown");
|
2013-09-05 15:37:07 -04:00
|
|
|
display: none;
|
|
|
|
float: left;
|
|
|
|
width: 280px;
|
|
|
|
padding: 4px 0;
|
|
|
|
list-style: none;
|
2014-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
2017-10-10 16:07:46 -04:00
|
|
|
border: 1px solid dark-light-choose(rgba(0, 0, 0, 0.2), $primary);
|
2013-09-05 15:37:07 -04:00
|
|
|
border-radius: 5px;
|
|
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
|
|
background-clip: padding-box;
|
2015-08-19 01:02:01 -04:00
|
|
|
margin: 1px 0 20px;
|
|
|
|
.title {font-weight: bold; display: block;}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.dropdown-menu a {
|
|
|
|
display: block;
|
|
|
|
padding: 3px 15px;
|
|
|
|
clear: both;
|
|
|
|
font-weight: normal;
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-medium;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.dropdown-menu li > a:hover,
|
|
|
|
.dropdown-menu .active > a,
|
|
|
|
.dropdown-menu .active > a:hover {
|
2014-05-10 02:09:04 -04:00
|
|
|
color: $tertiary;
|
2013-09-05 15:37:07 -04:00
|
|
|
text-decoration: none;
|
2017-10-10 16:07:46 -04:00
|
|
|
background-color: $tertiary-low;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.open > .dropdown-menu {
|
|
|
|
display: block;
|
2014-03-06 23:55:57 -05:00
|
|
|
clear: both;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.fade {
|
|
|
|
opacity: 0;
|
2014-10-20 09:54:36 -04:00
|
|
|
transition: opacity linear .15s;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.fade.in {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2013-10-24 23:18:34 -04:00
|
|
|
ol.category-breadcrumb {
|
2014-05-10 02:09:04 -04:00
|
|
|
margin: 5px 10px 0 0;
|
2013-10-24 23:18:34 -04:00
|
|
|
}
|
2013-10-25 15:44:28 -04:00
|
|
|
|
2014-07-10 03:57:30 -04:00
|
|
|
.top-lists {
|
|
|
|
h2 { margin-left: 10px; }
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list { padding-bottom: 10px; }
|
2014-07-10 03:57:30 -04:00
|
|
|
.btn-default.pull-right { margin-right: 10px; }
|
2014-05-10 02:09:04 -04:00
|
|
|
}
|
2014-05-29 14:15:56 -04:00
|
|
|
|
2017-09-08 14:47:39 -04:00
|
|
|
.tags-admin-menu {
|
2014-05-29 14:15:56 -04:00
|
|
|
display: none;
|
2014-06-02 01:48:44 -04:00
|
|
|
}
|
2014-06-24 02:31:36 -04:00
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list-bottom h3 {
|
2014-06-24 02:31:36 -04:00
|
|
|
clear:both;
|
|
|
|
padding-top:10px;
|
|
|
|
}
|
2014-08-05 17:09:18 -04:00
|
|
|
|
|
|
|
.category-logo {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
2017-03-27 11:38:01 -04:00
|
|
|
max-height: 150px;
|
2014-08-05 17:09:18 -04:00
|
|
|
padding: 8px 0;
|
|
|
|
}
|
2014-08-20 17:37:28 -04:00
|
|
|
|
2014-09-23 03:49:09 -04:00
|
|
|
button.dismiss-read {
|
|
|
|
margin-right: 10px;
|
2014-10-13 03:26:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// base defines extra padding for easier click/top of title field
|
|
|
|
// this is a bit too much for mobile
|
2015-09-09 16:05:02 -04:00
|
|
|
td .main-link {
|
|
|
|
width: 80%;
|
|
|
|
display: inline-block;
|
2014-10-13 03:26:13 -04:00
|
|
|
a.title {
|
|
|
|
padding: 5px 10px 5px 0;
|
2016-01-13 01:40:36 -05:00
|
|
|
word-wrap: break-word;
|
2014-10-13 03:26:13 -04:00
|
|
|
}
|
2014-10-20 09:54:36 -04:00
|
|
|
}
|
2015-09-10 18:17:00 -04:00
|
|
|
.topic-list {
|
2015-09-09 16:05:02 -04:00
|
|
|
.posts-map {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-1;
|
2015-09-09 16:05:02 -04:00
|
|
|
}
|
2015-10-20 02:02:32 -04:00
|
|
|
// so the topic excerpt is full width
|
|
|
|
// as the containing div is 80%
|
|
|
|
.topic-excerpt {
|
|
|
|
padding-right: 0;
|
|
|
|
width: 120%;
|
|
|
|
}
|
2015-09-09 16:05:02 -04:00
|
|
|
}
|
2016-07-14 08:38:16 -04:00
|
|
|
|
2017-03-27 11:38:01 -04:00
|
|
|
.category-list.with-topics .category-list-item .category-description {
|
2016-07-14 08:38:16 -04:00
|
|
|
display: none;
|
|
|
|
}
|