2013-09-05 14:37:07 -05:00
|
|
|
// --------------------------------------------------
|
|
|
|
// Topic lists
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// List controls
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-10-24 22:18:34 -05:00
|
|
|
.list-controls {
|
2013-09-05 14:37:07 -05:00
|
|
|
.nav {
|
|
|
|
float: left;
|
2014-03-19 08:38:35 -05:00
|
|
|
margin-bottom: 18px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2014-01-16 21:38:08 -06:00
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
.btn {
|
|
|
|
float: right;
|
|
|
|
margin-left: 8px;
|
2013-10-31 08:35:49 -05:00
|
|
|
margin-bottom: 10px;
|
2013-10-28 11:25:52 -05:00
|
|
|
font-size: 16px;
|
|
|
|
font-weight: normal;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2013-10-28 16:37:31 -05:00
|
|
|
|
2014-01-16 21:38:08 -06:00
|
|
|
a.badge-category {
|
|
|
|
padding: 3px 12px;
|
|
|
|
font-size: 16px;
|
2013-11-04 11:45:18 -06:00
|
|
|
|
2013-11-11 18:35:57 -06:00
|
|
|
&.category-dropdown-button {
|
2014-01-24 11:30:42 -06:00
|
|
|
height: 24px;
|
2014-01-16 21:38:08 -06:00
|
|
|
padding: 3px 9px;
|
|
|
|
i { height: 20px; }
|
2013-10-28 16:37:31 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2013-10-28 23:37:18 -05:00
|
|
|
|
2013-10-28 16:37:31 -05:00
|
|
|
.badge-category {
|
|
|
|
font-weight: normal;
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Base list
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
#topic-list {
|
2014-01-13 18:02:14 -06:00
|
|
|
margin: 0 0 10px;
|
2014-05-06 00:50:51 -05:00
|
|
|
.fa-thumb-tack {color: $primary;}
|
|
|
|
.fa-thumb-tack.unpinned {color: $primary;}
|
2014-06-20 03:26:59 -05:00
|
|
|
a.title {color: $primary;}
|
|
|
|
a.title:visited:not(.badge-notification) {color: scale-color($primary, $lightness: 35%);}
|
2013-09-05 14:37:07 -05:00
|
|
|
th,
|
|
|
|
td {
|
2014-03-07 23:55:02 -06:00
|
|
|
padding: 12px 5px;
|
2013-09-05 14:37:07 -05:00
|
|
|
&:first-of-type {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
&:last-of-type {
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
th {
|
2014-05-12 00:02:05 -05:00
|
|
|
button i.fa {color: scale-color($primary, $lightness: 50%);}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2013-10-19 17:18:25 -05:00
|
|
|
|
2014-06-23 15:11:55 -05:00
|
|
|
|
2014-01-28 16:13:13 -06:00
|
|
|
button.bulk-select {
|
|
|
|
padding: 0;
|
|
|
|
background: transparent;
|
|
|
|
&:hover {
|
2014-05-19 00:17:59 -05:00
|
|
|
color: scale-color-diff();
|
2014-01-28 16:13:13 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
.star {
|
|
|
|
width: 20px;
|
|
|
|
padding-right: 0;
|
2013-12-09 15:27:49 -06:00
|
|
|
.fa-star {
|
2013-09-05 14:37:07 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
+ .main-link {
|
2013-11-04 11:45:18 -06:00
|
|
|
padding-left: 5px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.main-link {
|
|
|
|
width: 495px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-notification {
|
|
|
|
position: relative;
|
2014-03-07 23:55:02 -06:00
|
|
|
top: -2px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.category {
|
2014-03-07 23:55:02 -06:00
|
|
|
padding: 0 20px 0 20px;
|
|
|
|
min-width: 80px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.posters {
|
2013-12-04 09:38:01 -06:00
|
|
|
min-width: 150px;
|
2014-05-12 02:32:49 -05:00
|
|
|
}
|
|
|
|
.participants {
|
|
|
|
min-width: 85px;
|
|
|
|
}
|
|
|
|
.posters, .participants {
|
2013-09-05 14:37:07 -05:00
|
|
|
> a {
|
|
|
|
float: left;
|
|
|
|
margin-right: 4px;
|
|
|
|
&:last-of-type {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
&.latest {
|
2014-05-06 00:50:51 -05:00
|
|
|
@include box-shadow(0 0 6px 1px desaturate(scale-color($tertiary, $lightness: 30%), 35%));
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
}
|
2014-06-23 15:11:55 -05:00
|
|
|
|
2013-11-11 18:35:57 -06:00
|
|
|
.sortable {
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
2014-05-19 00:17:59 -05:00
|
|
|
background-color: scale-color-diff();
|
2013-11-11 18:35:57 -06:00
|
|
|
}
|
|
|
|
@include unselectable;
|
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
.likes {
|
2013-11-14 14:50:36 -06:00
|
|
|
width: 65px;
|
|
|
|
}
|
|
|
|
.views {
|
|
|
|
width: 65px;
|
|
|
|
}
|
|
|
|
.posts {
|
|
|
|
width: 65px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.activity {
|
2014-01-10 12:56:27 -06:00
|
|
|
width: 60px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.age {
|
|
|
|
width: 60px;
|
|
|
|
}
|
2014-01-10 12:56:27 -06:00
|
|
|
.with-year {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
2014-01-13 18:02:14 -06:00
|
|
|
#list-area .top-lists h2 { margin: 5px 0 10px; }
|
2013-11-11 18:35:57 -06:00
|
|
|
|
2013-10-20 18:20:16 -05:00
|
|
|
#topic-list tbody tr.has-excerpt .star {
|
2013-10-19 17:18:25 -05:00
|
|
|
vertical-align: top;
|
|
|
|
margin-top: 3px;
|
2013-10-15 19:31:54 -05:00
|
|
|
}
|
|
|
|
|
2013-10-20 18:20:16 -05:00
|
|
|
#topic-list.categories {
|
2014-06-20 03:26:59 -05:00
|
|
|
a.title {color: $tertiary;}
|
|
|
|
a.title:visited:not(.badge-notification) {color: scale-color($tertiary, $lightness: 35%);}
|
|
|
|
|
2013-12-12 16:27:25 -06:00
|
|
|
th.posts {
|
2013-10-20 23:24:37 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
2014-06-05 13:58:20 -05:00
|
|
|
> tbody > tr:nth-child(odd) {
|
2014-05-26 10:33:47 -05:00
|
|
|
background-color: darken($secondary, 3%);
|
|
|
|
}
|
2014-06-05 13:58:20 -05:00
|
|
|
> tbody > tr:nth-child(even) {
|
2014-05-26 10:33:47 -05:00
|
|
|
background-color: $secondary;
|
|
|
|
}
|
2013-10-20 23:24:37 -05:00
|
|
|
th .toggle-admin {
|
|
|
|
position: absolute;
|
|
|
|
padding: 3px 8px;
|
|
|
|
font-size: 12px;
|
2013-12-12 16:27:25 -06:00
|
|
|
right: -35px;
|
2013-10-20 23:24:37 -05:00
|
|
|
top: 4px;
|
|
|
|
}
|
2013-10-20 18:20:16 -05:00
|
|
|
th.latest, td.latest {
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
th.num {
|
|
|
|
width: 45px;
|
|
|
|
}
|
2013-12-13 14:15:51 -06:00
|
|
|
th.stats {
|
|
|
|
width: 90px;
|
|
|
|
}
|
2013-12-20 15:51:39 -06:00
|
|
|
td.latest {
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
2013-10-20 18:20:16 -05:00
|
|
|
.last-user-info {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2013-12-12 14:51:21 -06:00
|
|
|
.has-description {
|
|
|
|
td.category {
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
}
|
2013-10-20 18:20:16 -05:00
|
|
|
.category{
|
|
|
|
position: relative;
|
2013-12-13 14:15:51 -06:00
|
|
|
width: 45%;
|
2013-10-31 17:02:24 -05:00
|
|
|
|
2014-06-19 16:11:21 -05:00
|
|
|
h3 {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 18px;
|
|
|
|
a[href] {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
2013-10-31 17:02:24 -05:00
|
|
|
.subcategories {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2013-10-20 18:20:16 -05:00
|
|
|
.featured-users {
|
2013-12-18 10:50:51 -06:00
|
|
|
float: right;
|
2013-12-12 14:51:21 -06:00
|
|
|
margin-right: 13px;
|
2013-10-20 18:20:16 -05:00
|
|
|
}
|
|
|
|
.category-description {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2014-06-19 16:11:21 -05:00
|
|
|
.clear-badge {
|
|
|
|
color: $primary;
|
|
|
|
}
|
2014-03-27 14:05:46 -05:00
|
|
|
.badge-category.bigger {
|
2013-10-20 18:20:16 -05:00
|
|
|
padding: 6px 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
2013-12-11 14:23:41 -06:00
|
|
|
|
|
|
|
.featured-topic {
|
|
|
|
margin: 6px 0;
|
|
|
|
a.last-posted-at, a.last-posted-at:visited {
|
2014-05-06 00:50:51 -05:00
|
|
|
color: scale-color($primary, $lightness: 50%);
|
2013-12-11 14:23:41 -06:00
|
|
|
}
|
|
|
|
}
|
2013-12-20 15:51:39 -06:00
|
|
|
|
|
|
|
.badge-category {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
2013-10-20 18:20:16 -05:00
|
|
|
}
|
2013-10-19 17:18:25 -05:00
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
// Category list
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.category-list-item {
|
2013-10-31 17:02:24 -05:00
|
|
|
th .badge-category {
|
2013-09-05 14:37:07 -05:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.posters {
|
2014-02-26 21:23:48 -06:00
|
|
|
display: block;
|
|
|
|
width: 165px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#topic-list-bottom {
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Misc. stuff
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-10-24 22:18:34 -05:00
|
|
|
#list-area {
|
2013-12-23 17:50:36 -06:00
|
|
|
h2 {
|
|
|
|
margin: 20px 0 10px;
|
|
|
|
}
|
2013-10-25 14:44:28 -05:00
|
|
|
}
|
|
|
|
|
2013-10-25 14:23:29 -05:00
|
|
|
.category-dropdown-menu {
|
2013-12-02 20:09:16 -06:00
|
|
|
max-height: 350px;
|
2013-10-28 16:37:31 -05:00
|
|
|
margin-top: 30px;
|
2014-06-24 13:27:48 -05:00
|
|
|
min-width: 152px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2013-10-25 14:44:28 -05:00
|
|
|
|
2014-01-29 12:35:24 -06:00
|
|
|
#bulk-select {
|
|
|
|
position: fixed;
|
|
|
|
right: 20px;
|
|
|
|
padding: 5px;
|
2014-05-06 00:50:51 -05:00
|
|
|
background-color: $secondary;
|
2014-01-29 12:35:24 -06:00
|
|
|
}
|
2014-02-21 11:31:54 -06:00
|
|
|
|
|
|
|
button.dismiss-read {
|
|
|
|
float: right;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2014-05-29 13:15:56 -05:00
|
|
|
|
|
|
|
.category-notification-menu .dropdown-menu {
|
|
|
|
right: 0;
|
|
|
|
top: 30px;
|
|
|
|
bottom: auto;
|
|
|
|
left: auto;
|
|
|
|
}
|
2014-06-27 16:06:59 -05:00
|
|
|
|
|
|
|
.category-heading {
|
|
|
|
clear: both;
|
2014-07-04 14:35:02 -05:00
|
|
|
p {
|
|
|
|
line-height: 1.5em;
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
2014-06-27 16:06:59 -05:00
|
|
|
}
|
|
|
|
.category-logo {
|
|
|
|
max-height: 150px;
|
|
|
|
float: left;
|
|
|
|
margin-bottom: 15px;
|
2014-07-04 14:35:02 -05:00
|
|
|
margin-right: 15px;
|
2014-06-27 16:06:59 -05:00
|
|
|
}
|