2013-09-05 15:37:07 -04:00
|
|
|
// --------------------------------------------------
|
|
|
|
// Topic lists
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// List controls
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-10-24 23:18:34 -04:00
|
|
|
.list-controls {
|
2013-09-05 15:37:07 -04:00
|
|
|
.nav {
|
|
|
|
float: left;
|
2014-03-19 09:38:35 -04:00
|
|
|
margin-bottom: 18px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2014-01-16 22:38:08 -05:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.btn {
|
|
|
|
float: right;
|
|
|
|
margin-left: 8px;
|
2013-10-31 09:35:49 -04:00
|
|
|
margin-bottom: 10px;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1.143em;
|
2013-10-28 12:25:52 -04:00
|
|
|
font-weight: normal;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2013-10-28 17:37:31 -04:00
|
|
|
|
2015-04-02 01:02:07 -04:00
|
|
|
.search .btn {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2017-07-28 16:19:33 -04:00
|
|
|
a.badge-category, .dropdown-header {
|
2014-01-16 22:38:08 -05:00
|
|
|
padding: 3px 12px;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1.143em;
|
2013-10-28 17:37:31 -04:00
|
|
|
}
|
2013-10-29 00:37:18 -04:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Base list
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list {
|
2014-01-13 19:02:14 -05:00
|
|
|
margin: 0 0 10px;
|
2017-07-27 15:03:41 -04:00
|
|
|
.d-icon-thumb-tack { color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); }
|
|
|
|
.d-icon-thumb-tack.unpinned { color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); }
|
2014-06-20 04:26:59 -04:00
|
|
|
a.title {color: $primary;}
|
2017-07-27 15:03:41 -04:00
|
|
|
.d-icon-bookmark { color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); }
|
2013-09-05 15:37:07 -04:00
|
|
|
th,
|
|
|
|
td {
|
2014-03-08 00:55:02 -05:00
|
|
|
padding: 12px 5px;
|
2013-09-05 15:37:07 -04:00
|
|
|
&:first-of-type {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
&:last-of-type {
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
th {
|
2017-07-27 15:03:41 -04:00
|
|
|
button .d-icon {color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); }
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
2014-07-28 10:33:23 -04:00
|
|
|
> tbody > tr {
|
2014-08-22 10:45:51 -04:00
|
|
|
&.highlighted {
|
2016-12-05 17:20:52 -05:00
|
|
|
animation: background-fade-highlight 2.5s ease-out;
|
2014-08-22 10:45:51 -04:00
|
|
|
}
|
2014-07-28 10:33:23 -04:00
|
|
|
}
|
2014-01-28 17:13:13 -05:00
|
|
|
button.bulk-select {
|
|
|
|
padding: 0;
|
2017-07-25 11:37:32 -04:00
|
|
|
font-size: 1.05em;
|
|
|
|
margin-right: 0.3em;
|
2014-01-28 17:13:13 -05:00
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.star {
|
|
|
|
width: 20px;
|
|
|
|
padding-right: 0;
|
2017-07-27 15:03:41 -04:00
|
|
|
.d-icon-star {
|
2013-09-05 15:37:07 -04:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
+ .main-link {
|
2013-11-04 12:45:18 -05:00
|
|
|
padding-left: 5px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-notification {
|
|
|
|
position: relative;
|
2014-03-08 00:55:02 -05:00
|
|
|
top: -2px;
|
2014-09-03 21:07:15 -04:00
|
|
|
&.new-topic {
|
2015-02-04 14:29:52 -05:00
|
|
|
top: -1px;
|
2014-09-03 21:07:15 -04:00
|
|
|
padding-left: 5px;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2014-09-03 21:07:15 -04:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.posters {
|
2014-11-13 04:02:37 -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
|
|
|
|
width: 145px;
|
|
|
|
min-width: 145px;
|
2014-05-12 03:32:49 -04:00
|
|
|
}
|
2014-11-13 04:02:37 -05:00
|
|
|
.posters {
|
2013-09-05 15:37:07 -04:00
|
|
|
> a {
|
|
|
|
float: left;
|
|
|
|
margin-right: 4px;
|
|
|
|
&:last-of-type {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-04-06 03:27:05 -04:00
|
|
|
|
|
|
|
.posters a:first-child .avatar.latest:not(.single) {
|
|
|
|
box-shadow: 0 0 3px 1px desaturate(scale-color($tertiary, $lightness: 65%), 35%);
|
|
|
|
border: 2px solid desaturate(scale-color($tertiary, $lightness: 50%), 40%);
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
left: -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-11-11 19:35:57 -05:00
|
|
|
.sortable {
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
2017-06-11 22:20:14 -04:00
|
|
|
background-color: $primary-low;
|
2013-11-11 19:35:57 -05:00
|
|
|
}
|
|
|
|
@include unselectable;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
.likes {
|
2013-11-14 15:50:36 -05:00
|
|
|
width: 65px;
|
|
|
|
}
|
|
|
|
.views {
|
|
|
|
width: 65px;
|
|
|
|
}
|
|
|
|
.posts {
|
|
|
|
width: 65px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2015-01-07 02:50:28 -05:00
|
|
|
|
|
|
|
.post-actions {
|
|
|
|
clear: both;
|
|
|
|
width: auto;
|
2015-08-20 05:42:12 -04:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2015-01-07 02:50:28 -05:00
|
|
|
text-align: left;
|
|
|
|
font-size: 12px;
|
|
|
|
margin-top: 5px;
|
|
|
|
.fa {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
font-size: 11px;
|
2015-08-20 05:42:12 -04:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2015-01-07 02:50:28 -05:00
|
|
|
margin-right: 3px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
.activity {
|
2014-01-10 13:56:27 -05:00
|
|
|
width: 60px;
|
2014-11-06 09:06:21 -05:00
|
|
|
&:lang(zh_CN) {
|
2014-12-15 09:33:37 -05:00
|
|
|
width: 80px;
|
2014-11-06 09:06:21 -05:00
|
|
|
}
|
2014-08-15 16:39:34 -04:00
|
|
|
span {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.age {
|
|
|
|
width: 60px;
|
|
|
|
}
|
2014-01-10 13:56:27 -05:00
|
|
|
.with-year {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list tbody tr.has-excerpt .star {
|
2013-10-19 18:18:25 -04:00
|
|
|
vertical-align: top;
|
|
|
|
margin-top: 3px;
|
2013-10-15 20:31:54 -04:00
|
|
|
}
|
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list.categories {
|
2014-08-04 20:44:01 -04:00
|
|
|
a.title {
|
|
|
|
color: $tertiary;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.929em;
|
2014-08-04 20:44:01 -04:00
|
|
|
}
|
2014-06-20 04:26:59 -04:00
|
|
|
|
2013-12-12 17:27:25 -05:00
|
|
|
th.posts {
|
2013-10-21 00:24:37 -04:00
|
|
|
position: relative;
|
|
|
|
}
|
2013-12-13 15:15:51 -05:00
|
|
|
th.stats {
|
|
|
|
width: 90px;
|
|
|
|
}
|
2013-12-20 16:51:39 -05:00
|
|
|
td.latest {
|
|
|
|
vertical-align: top;
|
2015-08-19 01:02:01 -04:00
|
|
|
padding: 0 8px 8px;
|
2013-12-20 16:51:39 -05:00
|
|
|
}
|
2013-10-20 19:20:16 -04:00
|
|
|
.last-user-info {
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.857em;
|
2013-10-20 19:20:16 -04:00
|
|
|
}
|
2013-12-12 15:51:21 -05:00
|
|
|
.has-description {
|
|
|
|
td.category {
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
}
|
2013-10-20 19:20:16 -04:00
|
|
|
.category{
|
2014-06-19 17:11:21 -04:00
|
|
|
h3 {
|
|
|
|
display: inline-block;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1.286em;
|
2015-01-06 16:42:36 -05:00
|
|
|
i {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2014-06-19 17:11:21 -04:00
|
|
|
a[href] {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
2013-10-31 18:02:24 -04:00
|
|
|
.subcategories {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2013-10-20 19:20:16 -04:00
|
|
|
.category-description {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2014-06-19 17:11:21 -04:00
|
|
|
.clear-badge {
|
|
|
|
color: $primary;
|
|
|
|
}
|
2013-10-20 19:20:16 -04:00
|
|
|
}
|
2013-12-11 15:23:41 -05:00
|
|
|
|
|
|
|
.featured-topic {
|
2014-08-04 20:44:01 -04:00
|
|
|
margin: 10px 0 0;
|
2014-07-13 05:45:50 -04:00
|
|
|
/* topic status glyphs */
|
|
|
|
i {
|
2015-08-20 05:42:12 -04:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)) !important;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.929em;
|
2014-07-13 05:45:50 -04:00
|
|
|
}
|
2013-12-11 15:23:41 -05:00
|
|
|
a.last-posted-at, a.last-posted-at:visited {
|
2015-08-20 05:42:12 -04:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2015-02-07 18:46:04 -05:00
|
|
|
font-size: 0.88em;
|
2013-12-11 15:23:41 -05:00
|
|
|
}
|
2014-08-04 20:44:01 -04:00
|
|
|
.badge {
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.714em;
|
2014-08-04 20:44:01 -04:00
|
|
|
top: -1px;
|
|
|
|
}
|
2013-12-11 15:23:41 -05:00
|
|
|
}
|
2013-10-20 19:20:16 -04:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list-bottom {
|
2013-09-05 15:37:07 -04:00
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Misc. stuff
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2015-07-01 16:26:21 -04:00
|
|
|
#list-area .top-lists h2 {
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 5px 0 10px;
|
|
|
|
}
|
2014-12-10 03:33:41 -05:00
|
|
|
|
2013-10-24 23:18:34 -04:00
|
|
|
#list-area {
|
2013-12-23 18:50:36 -05:00
|
|
|
h2 {
|
|
|
|
margin: 20px 0 10px;
|
|
|
|
}
|
2017-05-19 11:05:38 -04:00
|
|
|
.show-more.has-topics {
|
|
|
|
top: 0;
|
|
|
|
.alert {
|
|
|
|
padding: 12px 35px 12px 14px;
|
|
|
|
}
|
|
|
|
}
|
2013-10-25 15:44:28 -04:00
|
|
|
}
|
|
|
|
|
2013-10-25 15:23:29 -04:00
|
|
|
.category-dropdown-menu {
|
2013-12-02 21:09:16 -05:00
|
|
|
max-height: 350px;
|
2015-03-04 22:15:21 -05:00
|
|
|
min-width: 131px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2013-10-25 15:44:28 -04:00
|
|
|
|
2014-01-29 13:35:24 -05:00
|
|
|
#bulk-select {
|
|
|
|
position: fixed;
|
|
|
|
right: 20px;
|
2016-03-10 13:28:22 -05:00
|
|
|
top: 130px;
|
2014-01-29 13:35:24 -05:00
|
|
|
padding: 5px;
|
2014-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
2015-08-26 21:43:56 -04:00
|
|
|
z-index: 99999;
|
2014-01-29 13:35:24 -05:00
|
|
|
}
|
2014-02-21 12:31:54 -05:00
|
|
|
|
|
|
|
button.dismiss-read {
|
|
|
|
float: right;
|
|
|
|
margin-bottom: 5px;
|
2014-08-08 02:29:51 -04:00
|
|
|
margin-left: 10px;
|
2014-02-21 12:31:54 -05:00
|
|
|
}
|
2014-05-29 14:15:56 -04:00
|
|
|
|
2016-06-06 14:18:15 -04:00
|
|
|
.category-notification-menu, .tags-admin-menu {
|
|
|
|
.dropdown-menu {
|
|
|
|
right: 0;
|
|
|
|
top: 30px;
|
|
|
|
bottom: auto;
|
|
|
|
left: auto;
|
|
|
|
}
|
2014-05-29 14:15:56 -04:00
|
|
|
}
|
2014-06-27 17:06:59 -04:00
|
|
|
|
|
|
|
.category-heading {
|
|
|
|
clear: both;
|
2014-07-04 15:35:02 -04:00
|
|
|
p {
|
|
|
|
line-height: 1.5em;
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
2014-06-27 17:06:59 -04:00
|
|
|
}
|
2014-12-15 09:39:13 -05:00
|
|
|
|
2016-06-18 04:38:03 -04:00
|
|
|
.category-navigation {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2014-06-27 17:06:59 -04:00
|
|
|
.category-logo {
|
|
|
|
max-height: 150px;
|
|
|
|
float: left;
|
|
|
|
margin-bottom: 15px;
|
2014-07-04 15:35:02 -04:00
|
|
|
margin-right: 15px;
|
2014-06-27 17:06:59 -04:00
|
|
|
}
|
2014-07-09 19:56:35 -04:00
|
|
|
|
|
|
|
/* Tablet (portrait) ----------- */
|
|
|
|
|
2014-07-24 12:21:22 -04:00
|
|
|
@media all
|
2014-07-09 19:56:35 -04:00
|
|
|
and (max-width : 850px) {
|
|
|
|
|
2015-10-23 20:15:13 -04:00
|
|
|
// slightly smaller font, tighten spacing on nav pills
|
2014-07-09 19:56:35 -04:00
|
|
|
.nav-pills {
|
|
|
|
> li > a {
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1em;
|
2017-06-23 04:52:06 -04:00
|
|
|
padding: 5px 10px;
|
2014-07-09 19:56:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-23 04:52:06 -04:00
|
|
|
// new topic just a "+" no text
|
|
|
|
button#create-topic {
|
|
|
|
span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
i {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list {
|
2015-10-23 20:15:13 -04:00
|
|
|
|
|
|
|
// tighter table header spacing
|
2014-07-09 19:56:35 -04:00
|
|
|
th:first-of-type {
|
|
|
|
padding: 12px 5px;
|
|
|
|
}
|
2015-10-23 20:15:13 -04:00
|
|
|
// smaller table cell font and cell spacing
|
2014-07-09 19:56:35 -04:00
|
|
|
th, td {
|
|
|
|
padding: 12px 2px;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.929em;
|
2014-07-09 19:56:35 -04:00
|
|
|
}
|
|
|
|
.main-link {
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1.071em;
|
2014-07-09 19:56:35 -04:00
|
|
|
}
|
|
|
|
.category {
|
|
|
|
min-width: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2015-10-23 20:15:13 -04:00
|
|
|
// suppress views column
|
2015-10-23 19:35:22 -04:00
|
|
|
th.views {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
td.views {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-10-23 20:15:13 -04:00
|
|
|
// show only the first poster
|
2014-08-19 16:20:55 -04:00
|
|
|
.posters {
|
2014-07-09 19:56:35 -04:00
|
|
|
min-width: 0;
|
|
|
|
width: 50px;
|
|
|
|
a:not(.latest) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
a.latest {
|
|
|
|
padding: 0 8px;
|
|
|
|
}
|
2015-10-23 20:15:13 -04:00
|
|
|
}
|
2014-07-09 19:56:35 -04:00
|
|
|
}
|
|
|
|
}
|