2013-09-05 14:37:07 -05:00
|
|
|
// --------------------------------------------------
|
|
|
|
// Topic lists
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// List controls
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-10-24 22:18:34 -05:00
|
|
|
.list-controls {
|
2015-06-21 23:25:17 -05:00
|
|
|
.category-breadcrumb.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-07-21 20:46:15 -05:00
|
|
|
margin: 5px 0;
|
2013-09-05 14:37:07 -05:00
|
|
|
.nav {
|
|
|
|
float: left;
|
2013-09-17 15:07:02 -05:00
|
|
|
margin-right: 15px;
|
|
|
|
li {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
float: right;
|
|
|
|
margin-left: 8px;
|
2015-06-21 23:25:17 -05:00
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
.nav-pills {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.nav-pills .drop {
|
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1000;
|
|
|
|
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 {
|
|
|
|
background: dark-light-diff($primary, $secondary, 90%, -65%);
|
|
|
|
i.fa-caret-down {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-17 15:07:02 -05:00
|
|
|
.list-container .full-width {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
// Base list
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2014-07-29 16:38:36 -05:00
|
|
|
.topic-list {
|
2014-07-28 09:33:23 -05:00
|
|
|
|
|
|
|
> tbody > tr {
|
2014-08-22 09:45:51 -05:00
|
|
|
&.highlighted {
|
2015-08-20 14:54:07 -05:00
|
|
|
background-color: dark-light-choose(scale-color($tertiary, $lightness: 85%), scale-color($tertiary, $lightness: -55%));
|
2014-08-22 09:45:51 -05:00
|
|
|
}
|
2015-05-11 18:09:46 -05:00
|
|
|
}
|
2014-07-28 09:33:23 -05:00
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
th,
|
|
|
|
td {
|
2015-07-21 20:46:15 -05:00
|
|
|
padding: 7px 0;
|
2015-08-20 04:42:12 -05:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2014-06-10 13:01:09 -05:00
|
|
|
|
|
|
|
a.title {color: $primary;}
|
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
.badge-notification {
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
2014-07-25 22:06:14 -05:00
|
|
|
i {color: $secondary;}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2013-09-19 15:25:25 -05:00
|
|
|
|
|
|
|
.topic-item-stats {
|
|
|
|
margin-top: 8px;
|
|
|
|
.category, .num, .last-poster {
|
2013-09-05 14:37:07 -05:00
|
|
|
float: left;
|
|
|
|
}
|
2014-12-02 02:19:42 -06:00
|
|
|
.category a {
|
2014-12-02 02:41:51 -06:00
|
|
|
max-width: 160px;
|
2014-12-02 02:19:42 -06:00
|
|
|
}
|
2014-06-20 09:22:55 -05:00
|
|
|
.num .fa {
|
2015-08-20 04:42:12 -05:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2014-04-23 20:10:50 -05:00
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2013-09-19 15:25:25 -05:00
|
|
|
|
2014-05-06 03:14:56 -05:00
|
|
|
.num.posts {
|
|
|
|
font-weight: bold;
|
2014-09-23 03:09:51 -05:00
|
|
|
}
|
|
|
|
|
2014-01-10 12:56:27 -06:00
|
|
|
.age {
|
|
|
|
white-space: nowrap;
|
2014-09-23 00:56:46 -05:00
|
|
|
a {
|
|
|
|
padding: 15px 10px 15px 5px;
|
|
|
|
}
|
2014-01-10 12:56:27 -06:00
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Category list
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2015-05-19 18:28:01 -05:00
|
|
|
tr.category-topic-link {
|
2015-05-20 02:46:33 -05:00
|
|
|
border-top: darken($secondary, 3%) 1px solid;
|
|
|
|
border-bottom: darken($secondary, 3%) 1px solid;
|
2015-05-05 11:04:18 -05:00
|
|
|
}
|
2014-07-28 09:33:23 -05:00
|
|
|
|
2014-07-29 16:38:36 -05:00
|
|
|
.topic-list.categories {
|
2013-12-20 15:51:39 -06:00
|
|
|
td.latest {
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
2014-06-23 15:11:55 -05:00
|
|
|
|
2013-12-19 10:45:42 -06:00
|
|
|
.badge-category {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
2013-12-18 10:50:51 -06:00
|
|
|
.featured-users {
|
2013-12-19 15:51:18 -06:00
|
|
|
@include mobile-portrait {
|
2013-12-18 10:50:51 -06:00
|
|
|
margin-bottom: 10px;
|
|
|
|
padding-top: 8px;
|
|
|
|
clear: left;
|
|
|
|
}
|
2013-12-19 15:51:18 -06:00
|
|
|
@include not-mobile-portrait {
|
2013-12-18 10:50:51 -06:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.latest {
|
2013-12-19 15:51:18 -06:00
|
|
|
@include mobile-portrait { width: 150px; }
|
|
|
|
@include mobile-landscape { width: 270px; }
|
|
|
|
@include tablet-landscape { width: 450px; }
|
2013-12-18 10:50:51 -06:00
|
|
|
.featured-topic {
|
|
|
|
margin: 8px 0;
|
|
|
|
a.last-posted-at, a.last-posted-at:visited {
|
2015-08-20 04:42:12 -05:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2013-12-18 10:50:51 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.stats {
|
2013-12-19 15:51:18 -06:00
|
|
|
@include not-tablet-landscape { display: none; }
|
|
|
|
@include tablet-landscape { min-width: 80px; }
|
|
|
|
}
|
2013-12-18 10:50:51 -06:00
|
|
|
}
|
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
.category-list-item {
|
2014-07-28 09:33:23 -05:00
|
|
|
|
2015-05-05 11:04:18 -05:00
|
|
|
border-left: 6px solid;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 1.286em;
|
|
|
|
margin: 10px 0 0 5px;
|
|
|
|
i {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
a[href] {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-05-06 09:58:30 -05:00
|
|
|
.category-topic-link .main-link, .subcategories-list td, .category-description td {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-description td {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subcategories-list td {
|
|
|
|
padding-top: 15px;
|
2015-05-05 11:04:18 -05:00
|
|
|
}
|
|
|
|
|
2014-07-29 16:38:36 -05:00
|
|
|
.topic-list > tbody > tr {
|
2014-07-28 09:33:23 -05:00
|
|
|
&:nth-child(odd) {
|
|
|
|
background-color: $secondary;
|
|
|
|
}
|
2015-05-05 11:04:18 -05:00
|
|
|
&:nth-child(even) {
|
|
|
|
background-color: $secondary;
|
|
|
|
}
|
|
|
|
}
|
2014-07-28 09:33:23 -05:00
|
|
|
|
2014-07-10 15:28:53 -05:00
|
|
|
th .badge-category {
|
2015-01-29 19:09:42 -06:00
|
|
|
margin: 0;
|
2014-07-20 01:54:57 -05:00
|
|
|
font-size: 110%;
|
2014-07-10 15:28:53 -05:00
|
|
|
}
|
2014-07-28 09:33:23 -05:00
|
|
|
|
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
.posters {
|
2014-07-10 15:28:53 -05:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
> footer {
|
|
|
|
border-top: 0;
|
|
|
|
padding: 7px 10px;
|
|
|
|
figure {
|
|
|
|
float: left;
|
|
|
|
margin: 3px 7px 0 0;
|
2015-08-20 04:42:12 -05:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 10%), scale-color($secondary, $lightness: 90%));
|
2014-07-10 15:28:53 -05:00
|
|
|
font-weight: bold;
|
2014-12-15 21:12:56 -06:00
|
|
|
font-size: 0.857em;
|
2014-07-10 15:28:53 -05:00
|
|
|
}
|
|
|
|
figcaption {
|
|
|
|
display: inline;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
float: right;
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-10 15:28:53 -05:00
|
|
|
|
2014-07-29 16:38:36 -05:00
|
|
|
.topic-list-bottom {
|
2015-07-21 20:46:15 -05:00
|
|
|
margin: 20px 0 0 0;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Misc. stuff
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-10-24 22:18:34 -05:00
|
|
|
.list-controls {
|
2013-10-25 14:44:28 -05:00
|
|
|
.category-dropdown-button {
|
2014-05-10 01:09:04 -05:00
|
|
|
padding: 4px 10px 4px 8px;
|
2014-05-19 22:55:46 -05:00
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.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 00:50:51 -05:00
|
|
|
border-top: 4px solid $primary;
|
2013-09-05 14:37:07 -05:00
|
|
|
border-right: 4px solid transparent;
|
|
|
|
border-left: 4px solid transparent;
|
|
|
|
content: "";
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
.dropdown-menu {
|
|
|
|
position: relative;
|
|
|
|
top: 100%;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1000;
|
|
|
|
display: none;
|
|
|
|
float: left;
|
|
|
|
width: 280px;
|
|
|
|
padding: 4px 0;
|
|
|
|
list-style: none;
|
2014-05-06 00:50:51 -05:00
|
|
|
background-color: $secondary;
|
2015-08-19 00:02:01 -05:00
|
|
|
border: 1px solid dark-light-choose(rgba(0, 0, 0, 0.2), scale-color($primary, $lightness: -60%));
|
2013-09-05 14:37:07 -05:00
|
|
|
border-radius: 5px;
|
|
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
|
|
background-clip: padding-box;
|
2015-08-19 00:02:01 -05:00
|
|
|
margin: 1px 0 20px;
|
|
|
|
.title {font-weight: bold; display: block;}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.dropdown-menu a {
|
|
|
|
display: block;
|
|
|
|
padding: 3px 15px;
|
|
|
|
clear: both;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 18px;
|
2014-05-06 00:50:51 -05:00
|
|
|
color: $primary;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.dropdown-menu li > a:hover,
|
|
|
|
.dropdown-menu .active > a,
|
|
|
|
.dropdown-menu .active > a:hover {
|
2014-05-10 01:09:04 -05:00
|
|
|
color: $tertiary;
|
2013-09-05 14:37:07 -05:00
|
|
|
text-decoration: none;
|
2014-05-10 01:09:04 -05:00
|
|
|
background-color: scale-color($tertiary, $lightness: 75%);
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.open > .dropdown-menu {
|
|
|
|
display: block;
|
2014-03-06 22:55:57 -06:00
|
|
|
clear: both;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.fade {
|
|
|
|
opacity: 0;
|
2014-10-20 08:54:36 -05:00
|
|
|
transition: opacity linear .15s;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.fade.in {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2013-10-24 22:18:34 -05:00
|
|
|
ol.category-breadcrumb {
|
2014-05-10 01:09:04 -05:00
|
|
|
margin: 5px 10px 0 0;
|
2013-10-24 22:18:34 -05:00
|
|
|
}
|
2013-10-25 14:44:28 -05:00
|
|
|
|
|
|
|
.category-dropdown-menu {
|
|
|
|
height: 200px;
|
|
|
|
|
2014-06-23 15:11:55 -05:00
|
|
|
a.badge-category {
|
2014-07-03 17:29:46 -05:00
|
|
|
line-height: 26px !important;
|
|
|
|
margin-bottom: 0 !important;
|
2013-10-25 14:44:28 -05:00
|
|
|
}
|
|
|
|
}
|
2014-05-10 01:09:04 -05:00
|
|
|
|
2014-07-10 02:57:30 -05:00
|
|
|
.top-lists {
|
|
|
|
h2 { margin-left: 10px; }
|
2014-07-29 16:38:36 -05:00
|
|
|
.topic-list { padding-bottom: 10px; }
|
2014-07-10 02:57:30 -05:00
|
|
|
.btn-default.pull-right { margin-right: 10px; }
|
2014-05-10 01:09:04 -05:00
|
|
|
}
|
2014-05-29 13:15:56 -05:00
|
|
|
|
|
|
|
.category-notification-menu {
|
|
|
|
display: none;
|
2014-06-02 00:48:44 -05:00
|
|
|
}
|
2014-06-24 01:31:36 -05:00
|
|
|
|
2014-07-29 16:38:36 -05:00
|
|
|
.topic-list-bottom h3 {
|
2014-06-24 01:31:36 -05:00
|
|
|
clear:both;
|
|
|
|
padding-top:10px;
|
|
|
|
}
|
2014-08-05 16:09:18 -05:00
|
|
|
|
|
|
|
.category-logo {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
padding: 8px 0;
|
|
|
|
}
|
2014-08-20 16:37:28 -05:00
|
|
|
|
|
|
|
.period-chooser {
|
|
|
|
button {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2014-09-23 02:49:09 -05:00
|
|
|
|
|
|
|
button.dismiss-read {
|
|
|
|
margin-right: 10px;
|
2014-10-13 02:26:13 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// base defines extra padding for easier click/top of title field
|
|
|
|
// this is a bit too much for mobile
|
2015-09-09 15:05:02 -05:00
|
|
|
td .main-link {
|
|
|
|
width: 80%;
|
|
|
|
display: inline-block;
|
2014-10-13 02:26:13 -05:00
|
|
|
a.title {
|
|
|
|
padding: 5px 10px 5px 0;
|
|
|
|
}
|
2014-10-20 08:54:36 -05:00
|
|
|
}
|
2015-09-09 15:05:02 -05:00
|
|
|
.topic-list-item {
|
|
|
|
.posts-map {
|
|
|
|
font-size: 1.071em;
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
}
|