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;
|
2013-10-28 12:25:52 -04:00
|
|
|
font-size: 16px;
|
|
|
|
font-weight: normal;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2013-10-28 17:37:31 -04:00
|
|
|
|
2014-01-16 22:38:08 -05:00
|
|
|
a.badge-category {
|
|
|
|
padding: 3px 12px;
|
|
|
|
font-size: 16px;
|
2013-11-04 12:45:18 -05:00
|
|
|
|
2013-11-11 19:35:57 -05:00
|
|
|
&.category-dropdown-button {
|
2014-01-24 12:30:42 -05:00
|
|
|
height: 24px;
|
2014-01-16 22:38:08 -05:00
|
|
|
padding: 3px 9px;
|
|
|
|
i { height: 20px; }
|
2013-10-28 17:37:31 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2013-10-29 00:37:18 -04:00
|
|
|
|
2013-10-28 17:37:31 -04:00
|
|
|
.badge-category {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
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;
|
2014-05-06 01:50:51 -04:00
|
|
|
.fa-thumb-tack {color: $primary;}
|
|
|
|
.fa-thumb-tack.unpinned {color: $primary;}
|
2014-06-20 04:26:59 -04:00
|
|
|
a.title {color: $primary;}
|
|
|
|
a.title:visited:not(.badge-notification) {color: scale-color($primary, $lightness: 35%);}
|
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 {
|
2014-05-12 01:02:05 -04:00
|
|
|
button i.fa {color: scale-color($primary, $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 {
|
|
|
|
&:nth-child(even) {
|
|
|
|
background-color: darken($secondary, 3%);
|
|
|
|
}
|
|
|
|
&:nth-child(odd) {
|
|
|
|
background-color: $secondary;
|
|
|
|
}
|
|
|
|
}
|
2014-01-28 17:13:13 -05:00
|
|
|
button.bulk-select {
|
|
|
|
padding: 0;
|
|
|
|
background: transparent;
|
|
|
|
&:hover {
|
2014-05-19 01:17:59 -04:00
|
|
|
color: scale-color-diff();
|
2014-01-28 17:13:13 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.star {
|
|
|
|
width: 20px;
|
|
|
|
padding-right: 0;
|
2013-12-09 16:27:49 -05:00
|
|
|
.fa-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
|
|
|
}
|
|
|
|
}
|
|
|
|
.main-link {
|
|
|
|
width: 495px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-notification {
|
|
|
|
position: relative;
|
2014-03-08 00:55:02 -05:00
|
|
|
top: -2px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.category {
|
2014-03-08 00:55:02 -05:00
|
|
|
padding: 0 20px 0 20px;
|
|
|
|
min-width: 80px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.posters {
|
2013-12-04 10:38:01 -05:00
|
|
|
min-width: 150px;
|
2014-05-12 03:32:49 -04:00
|
|
|
}
|
|
|
|
.participants {
|
|
|
|
min-width: 85px;
|
|
|
|
}
|
|
|
|
.posters, .participants {
|
2013-09-05 15:37:07 -04:00
|
|
|
> a {
|
|
|
|
float: left;
|
|
|
|
margin-right: 4px;
|
|
|
|
&:last-of-type {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
&.latest {
|
2014-05-06 01:50:51 -04:00
|
|
|
@include box-shadow(0 0 6px 1px desaturate(scale-color($tertiary, $lightness: 30%), 35%));
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
2014-06-23 16:11:55 -04:00
|
|
|
|
2013-11-11 19:35:57 -05:00
|
|
|
.sortable {
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
2014-05-19 01:17:59 -04:00
|
|
|
background-color: scale-color-diff();
|
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
|
|
|
}
|
|
|
|
.activity {
|
2014-01-10 13:56:27 -05:00
|
|
|
width: 60px;
|
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-01-13 19:02:14 -05:00
|
|
|
#list-area .top-lists h2 { margin: 5px 0 10px; }
|
2013-11-11 19:35:57 -05: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-08-05 00:30:40 -04:00
|
|
|
font-size: 13px;
|
2014-08-04 20:44:01 -04:00
|
|
|
}
|
2014-06-20 04:26:59 -04:00
|
|
|
a.title:visited:not(.badge-notification) {color: scale-color($tertiary, $lightness: 35%);}
|
|
|
|
|
2013-12-12 17:27:25 -05:00
|
|
|
th.posts {
|
2013-10-21 00:24:37 -04:00
|
|
|
position: relative;
|
|
|
|
}
|
2014-07-28 10:33:23 -04:00
|
|
|
> tbody > tr {
|
|
|
|
&:nth-child(odd) {
|
|
|
|
background-color: darken($secondary, 3%);
|
|
|
|
}
|
|
|
|
&:nth-child(even) {
|
|
|
|
background-color: $secondary;
|
|
|
|
}
|
2014-05-26 11:33:47 -04:00
|
|
|
}
|
2013-10-21 00:24:37 -04:00
|
|
|
th .toggle-admin {
|
|
|
|
position: absolute;
|
|
|
|
padding: 3px 8px;
|
|
|
|
font-size: 12px;
|
2013-12-12 17:27:25 -05:00
|
|
|
right: -35px;
|
2013-10-21 00:24:37 -04:00
|
|
|
top: 4px;
|
|
|
|
}
|
2013-10-20 19:20:16 -04:00
|
|
|
th.latest, td.latest {
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
th.num {
|
|
|
|
width: 45px;
|
|
|
|
}
|
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;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
2013-10-20 19:20:16 -04:00
|
|
|
.last-user-info {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2013-12-12 15:51:21 -05:00
|
|
|
.has-description {
|
|
|
|
td.category {
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
}
|
2013-10-20 19:20:16 -04:00
|
|
|
.category{
|
|
|
|
position: relative;
|
2013-12-13 15:15:51 -05:00
|
|
|
width: 45%;
|
2013-10-31 18:02:24 -04:00
|
|
|
|
2014-06-19 17:11:21 -04:00
|
|
|
h3 {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 18px;
|
|
|
|
a[href] {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
2013-10-31 18:02:24 -04:00
|
|
|
.subcategories {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2013-10-20 19:20:16 -04:00
|
|
|
.featured-users {
|
2013-12-18 11:50:51 -05:00
|
|
|
float: right;
|
2013-12-12 15:51:21 -05:00
|
|
|
margin-right: 13px;
|
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;
|
|
|
|
}
|
2014-03-27 15:05:46 -04:00
|
|
|
.badge-category.bigger {
|
2013-10-20 19:20:16 -04:00
|
|
|
padding: 6px 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
2013-12-11 15:23:41 -05:00
|
|
|
|
|
|
|
.featured-topic {
|
2014-08-04 20:44:01 -04:00
|
|
|
margin: 10px 0 0;
|
2014-08-05 00:30:40 -04:00
|
|
|
font-size: 13px;
|
2014-07-13 05:45:50 -04:00
|
|
|
/* topic status glyphs */
|
|
|
|
i {
|
|
|
|
color: scale-color($primary, $lightness: 50%) !important;
|
2014-08-05 00:30:40 -04:00
|
|
|
font-size: 13px;
|
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 {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: scale-color($primary, $lightness: 50%);
|
2013-12-11 15:23:41 -05:00
|
|
|
}
|
2014-08-04 20:44:01 -04:00
|
|
|
.badge {
|
2014-08-05 00:30:40 -04:00
|
|
|
font-size: 10px;
|
2014-08-04 20:44:01 -04:00
|
|
|
top: -1px;
|
|
|
|
}
|
2013-12-11 15:23:41 -05:00
|
|
|
}
|
2013-12-20 16:51:39 -05:00
|
|
|
|
2014-08-04 20:44:01 -04:00
|
|
|
.category .badge-category {
|
2013-12-20 16:51:39 -05:00
|
|
|
display: inline-block;
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
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
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-10-24 23:18:34 -04:00
|
|
|
#list-area {
|
2013-12-23 18:50:36 -05:00
|
|
|
h2 {
|
|
|
|
margin: 20px 0 10px;
|
|
|
|
}
|
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;
|
2013-10-28 17:37:31 -04:00
|
|
|
margin-top: 30px;
|
2014-06-24 14:27:48 -04:00
|
|
|
min-width: 152px;
|
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;
|
|
|
|
padding: 5px;
|
2014-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
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-05-29 14:15:56 -04:00
|
|
|
|
|
|
|
.category-notification-menu .dropdown-menu {
|
|
|
|
right: 0;
|
|
|
|
top: 30px;
|
|
|
|
bottom: auto;
|
|
|
|
left: auto;
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
.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) {
|
|
|
|
|
|
|
|
.nav-pills {
|
|
|
|
> li > a {
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 5px 10px ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-controls {
|
|
|
|
padding: 0 5px;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
font-size: 14px
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-dropdown-menu {
|
|
|
|
min-width: 139px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.badge-category {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.topic-list {
|
2014-07-09 19:56:35 -04:00
|
|
|
.categories td.category {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
td:first-of-type {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
th:first-of-type {
|
|
|
|
padding: 12px 5px;
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
.btn .fa {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
th, td {
|
|
|
|
padding: 12px 2px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
.star {
|
|
|
|
padding: 12px 5px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.main-link {
|
|
|
|
font-size: 15px;
|
|
|
|
padding: 12px 8px 12px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.likes {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.category {
|
|
|
|
min-width: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.topic-excerpt {
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
th.posters {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.posters {
|
|
|
|
|
|
|
|
min-width: 0;
|
|
|
|
width: 50px;
|
|
|
|
a:not(.latest) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
a.latest {
|
|
|
|
padding: 0 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|