2021-01-06 16:15:28 -05:00
|
|
|
// Topic list navigation & controls
|
2018-03-13 15:59:12 -04:00
|
|
|
|
2021-01-06 16:15:28 -05:00
|
|
|
.list-controls {
|
|
|
|
.btn {
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notifications-button {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.badge-category {
|
|
|
|
padding: 3px 12px;
|
|
|
|
font-size: $font-up-1;
|
2015-06-15 17:27:56 +02:00
|
|
|
}
|
2014-10-29 00:46:05 +01:00
|
|
|
|
2018-05-01 20:41:28 -04:00
|
|
|
.combo-box .combo-box-header {
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--secondary);
|
|
|
|
color: var(--primary);
|
|
|
|
border: 1px solid var(--primary-medium);
|
2018-05-01 20:41:28 -04:00
|
|
|
font-size: $font-0;
|
|
|
|
transition: none;
|
2021-02-03 11:45:54 -05:00
|
|
|
&:focus {
|
|
|
|
border-color: var(--tertiary);
|
|
|
|
}
|
2018-05-01 20:41:28 -04:00
|
|
|
}
|
2017-11-21 11:53:09 +01:00
|
|
|
.select-kit {
|
2018-05-01 20:41:28 -04:00
|
|
|
.select-kit-collection {
|
2018-05-02 12:23:37 -04:00
|
|
|
max-height: 40vh;
|
2018-05-01 20:41:28 -04:00
|
|
|
}
|
2021-01-06 16:15:28 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-container {
|
|
|
|
width: 100%;
|
|
|
|
--nav-space: 0.75em;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-breadcrumb {
|
|
|
|
display: block;
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2021-02-03 22:38:12 -05:00
|
|
|
> li {
|
|
|
|
// only target the top-level li, not dropdowns
|
|
|
|
display: flex;
|
2021-01-06 16:15:28 -05:00
|
|
|
float: left;
|
|
|
|
margin-right: 0.5em;
|
2021-02-03 22:38:12 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2021-01-06 16:15:28 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#navigation-bar {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2021-09-09 11:01:56 -04:00
|
|
|
margin: 0;
|
|
|
|
margin-bottom: var(--nav-space);
|
2021-01-06 16:15:28 -05:00
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-controls {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
margin-bottom: var(--nav-space);
|
|
|
|
> * {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2021-05-06 17:51:55 -04:00
|
|
|
@include breakpoint(mobile-large) {
|
|
|
|
.edit-category {
|
|
|
|
.d-button-label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.d-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2021-01-27 16:17:08 -05:00
|
|
|
}
|
2021-01-06 16:15:28 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.show-more {
|
|
|
|
width: 100%;
|
|
|
|
z-index: z("base");
|
|
|
|
&.has-topics {
|
|
|
|
position: absolute;
|
|
|
|
top: 7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-heading {
|
|
|
|
max-width: 100%;
|
2021-04-26 18:55:18 -04:00
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
line-height: $line-height-large;
|
|
|
|
font-size: $font-up-3;
|
|
|
|
}
|
2021-01-06 16:15:28 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-logo.aspect-image {
|
|
|
|
width: auto;
|
|
|
|
max-height: 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@supports (--custom: property) {
|
|
|
|
.category-logo.aspect-image {
|
|
|
|
--max-height: 150px;
|
|
|
|
max-height: var(--max-height);
|
|
|
|
width: calc(var(--max-height) * var(--aspect-ratio));
|
2019-01-24 17:16:18 +08:00
|
|
|
max-width: 100%;
|
2021-01-06 16:15:28 -05:00
|
|
|
height: auto;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: inherit;
|
|
|
|
max-width: initial;
|
|
|
|
max-height: initial;
|
|
|
|
}
|
2019-01-24 17:16:18 +08:00
|
|
|
}
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
2018-06-08 11:49:31 +02:00
|
|
|
|
2021-01-06 16:15:28 -05:00
|
|
|
.topic-list.shared-drafts {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Topic list body
|
|
|
|
|
2017-09-11 16:42:51 +02:00
|
|
|
.topic-list-item.visited,
|
|
|
|
.latest-topic-list-item.visited,
|
2017-09-26 18:13:32 +02:00
|
|
|
.category-topic-link.visited {
|
2018-06-08 11:49:31 +02:00
|
|
|
a.title:not(.badge-notification) {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2018-06-08 11:49:31 +02:00
|
|
|
}
|
2020-05-06 18:02:39 -04:00
|
|
|
span.badge-category {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2020-05-06 18:02:39 -04:00
|
|
|
}
|
|
|
|
a.discourse-tag {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2020-05-06 18:02:39 -04:00
|
|
|
}
|
2017-09-11 16:42:51 +02:00
|
|
|
}
|
2015-07-23 17:16:29 +10:00
|
|
|
|
2020-03-12 15:20:56 +10:00
|
|
|
.topic-list-item {
|
|
|
|
.post-excerpt {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
font-size: $font-down-2;
|
2021-07-29 12:11:15 -04:00
|
|
|
word-break: break-word;
|
2020-03-12 15:20:56 +10:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-13 12:13:02 -04:00
|
|
|
.topic-list-main-link {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-1;
|
2017-08-13 12:13:02 -04:00
|
|
|
a.title {
|
|
|
|
padding: 15px 0;
|
|
|
|
word-break: break-word;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2017-08-13 12:13:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.anon & {
|
|
|
|
a.title:visited:not(.badge-notification) {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2017-08-13 12:13:02 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.title.visited:not(.badge-notification) {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2017-08-13 12:13:02 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-23 10:50:10 -04:00
|
|
|
.sticky-header thead {
|
|
|
|
@include sticky;
|
2021-09-23 14:51:06 -04:00
|
|
|
top: var(--header-offset, 60px);
|
2021-09-23 10:50:10 -04:00
|
|
|
background: var(--secondary);
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
2014-07-29 23:38:36 +02:00
|
|
|
.topic-list {
|
2014-06-23 16:11:55 -04:00
|
|
|
width: 100%;
|
2015-05-11 16:09:46 -07:00
|
|
|
border-collapse: collapse;
|
2014-06-23 16:11:55 -04:00
|
|
|
|
|
|
|
> tbody > tr {
|
|
|
|
&.has-excerpt .star {
|
|
|
|
vertical-align: top;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2016-08-19 11:58:20 +10:00
|
|
|
|
|
|
|
&.last-visit {
|
2016-08-30 23:32:39 -03:00
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-list-separator {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-list-item-separator {
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
td {
|
2020-08-03 22:57:10 -04:00
|
|
|
border-bottom: 1px solid var(--danger-medium);
|
2016-08-30 23:32:39 -03:00
|
|
|
line-height: 0.1em;
|
2018-01-25 15:53:36 +01:00
|
|
|
padding: 0;
|
2016-08-30 23:32:39 -03:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
td span {
|
2021-06-01 17:33:29 -04:00
|
|
|
position: relative; // Chrome needs this, otherwise the line is above the text
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--secondary);
|
|
|
|
color: var(--danger-medium);
|
2018-01-25 15:53:36 +01:00
|
|
|
padding: 0 8px;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2016-08-19 11:58:20 +10:00
|
|
|
}
|
2015-05-12 09:26:35 +02:00
|
|
|
}
|
|
|
|
|
2014-06-23 16:11:55 -04:00
|
|
|
th,
|
|
|
|
td {
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-large;
|
2014-06-23 16:11:55 -04:00
|
|
|
text-align: left;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2021-09-23 10:50:10 -04:00
|
|
|
th .btn-flat .d-icon {
|
|
|
|
color: currentColor;
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
|
|
|
td {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-0;
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-link {
|
2017-08-13 12:13:02 -04:00
|
|
|
@extend .topic-list-main-link;
|
2019-05-02 13:43:02 +02:00
|
|
|
|
|
|
|
.raw-topic-link > * {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2019-08-29 12:03:43 -03:00
|
|
|
}
|
2019-08-27 09:09:00 -03:00
|
|
|
|
2019-08-29 12:03:43 -03:00
|
|
|
.unread-indicator {
|
|
|
|
&.read {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.d-icon {
|
2019-08-29 17:33:35 -03:00
|
|
|
vertical-align: middle;
|
2019-08-29 12:03:43 -03:00
|
|
|
font-size: $font-down-5;
|
2019-08-27 09:09:00 -03:00
|
|
|
}
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
|
|
|
|
2018-12-05 19:12:26 -05:00
|
|
|
.link-bottom-line {
|
|
|
|
font-size: $font-down-1;
|
2018-12-31 14:38:33 +08:00
|
|
|
display: flex;
|
2019-01-08 23:33:47 +08:00
|
|
|
flex-wrap: wrap;
|
2018-12-31 14:38:33 +08:00
|
|
|
align-items: center;
|
2019-01-08 23:33:47 +08:00
|
|
|
.discourse-tags {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2018-12-31 14:38:33 +08:00
|
|
|
a.badge-wrapper.box,
|
|
|
|
a.discourse-tag.box {
|
2018-12-07 20:01:38 -05:00
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2018-12-31 14:38:33 +08:00
|
|
|
.discourse-tag.simple:after,
|
|
|
|
.discourse-tag.box {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
2018-12-05 19:12:26 -05:00
|
|
|
}
|
|
|
|
|
2016-12-05 16:29:27 -05:00
|
|
|
.topic-featured-link {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
2014-06-23 16:11:55 -04:00
|
|
|
.topic-excerpt {
|
2021-05-26 20:36:21 -04:00
|
|
|
display: block;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2021-05-26 20:36:21 -04:00
|
|
|
margin-top: 0.33em;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-high);
|
2014-06-24 01:01:37 -07:00
|
|
|
word-wrap: break-word;
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-large;
|
2014-07-09 19:56:35 -04:00
|
|
|
padding-right: 20px;
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.num {
|
|
|
|
text-align: center;
|
2021-04-06 08:27:43 +02:00
|
|
|
|
|
|
|
a {
|
2014-06-23 16:11:55 -04:00
|
|
|
color: inherit;
|
|
|
|
}
|
2021-04-06 08:27:43 +02:00
|
|
|
|
|
|
|
.badge-posts {
|
|
|
|
font-weight: 700;
|
|
|
|
color: inherit;
|
|
|
|
padding: 15px 5px;
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-13 00:26:13 -07:00
|
|
|
.num.posts {
|
|
|
|
a {
|
|
|
|
padding: 15px 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.num.activity {
|
|
|
|
a {
|
|
|
|
padding: 15px 5px;
|
|
|
|
}
|
|
|
|
}
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
|
|
|
|
2018-06-08 11:49:31 +02:00
|
|
|
.heatmap-high,
|
2021-01-22 17:09:39 +01:00
|
|
|
.heatmap-high a,
|
|
|
|
.heatmap-high .d-icon,
|
|
|
|
.heatmap-high .d-button-label {
|
2020-04-16 11:14:25 -07:00
|
|
|
color: #fe7a15 !important;
|
2018-06-08 11:49:31 +02:00
|
|
|
}
|
2021-01-22 17:09:39 +01:00
|
|
|
|
2018-06-08 11:49:31 +02:00
|
|
|
.heatmap-med,
|
2021-01-22 17:09:39 +01:00
|
|
|
.heatmap-med a,
|
|
|
|
.heatmap-med .d-icon,
|
|
|
|
.heatmap-med .d-button-label {
|
2020-04-16 11:14:25 -07:00
|
|
|
color: #cf7721 !important;
|
2018-06-08 11:49:31 +02:00
|
|
|
}
|
2021-01-22 17:09:39 +01:00
|
|
|
|
2018-06-08 11:49:31 +02:00
|
|
|
.heatmap-low,
|
2021-01-22 17:09:39 +01:00
|
|
|
.heatmap-low a,
|
|
|
|
.heatmap-low .d-icon,
|
|
|
|
.heatmap-low .d-button-label {
|
2020-04-16 11:14:25 -07:00
|
|
|
color: #9b764f !important;
|
2018-06-08 11:49:31 +02:00
|
|
|
}
|
2018-02-05 21:36:35 -05:00
|
|
|
|
2020-04-14 23:14:53 -07:00
|
|
|
.topic-list .heatmap-high {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2014-07-29 23:38:36 +02:00
|
|
|
.loading .topic-list {
|
2014-06-23 16:11:55 -04:00
|
|
|
border: 0;
|
2014-10-10 15:02:46 -07:00
|
|
|
box-shadow: none;
|
2014-06-23 16:11:55 -04:00
|
|
|
tr {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#list-area {
|
2014-12-10 00:33:41 -08:00
|
|
|
margin-bottom: 100px;
|
2014-06-23 16:11:55 -04:00
|
|
|
.empty-topic-list {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
.unseen {
|
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--danger-medium);
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-0;
|
2014-06-23 16:11:55 -04:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-29 23:38:36 +02:00
|
|
|
.topic-list {
|
2014-06-23 16:11:55 -04:00
|
|
|
.alert {
|
|
|
|
margin-bottom: 0;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-0;
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
|
|
|
.spinner {
|
|
|
|
margin-top: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon-thumbtack.unpinned {
|
|
|
|
@include fa-rotate(180deg, 1);
|
2014-04-10 18:34:50 +10:00
|
|
|
}
|
2014-08-20 17:37:28 -04:00
|
|
|
|
|
|
|
.top-title-buttons {
|
2021-09-13 14:18:41 -04:00
|
|
|
display: flex;
|
|
|
|
margin: 0.5em 0;
|
2020-05-05 17:18:36 -04:00
|
|
|
flex-wrap: wrap;
|
2021-09-13 14:18:41 -04:00
|
|
|
font-size: var(--font-0-rem);
|
2015-03-16 15:14:33 -04:00
|
|
|
|
|
|
|
button {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2014-08-20 17:37:28 -04:00
|
|
|
}
|
2014-08-29 22:54:07 -07:00
|
|
|
|
|
|
|
div.education {
|
2020-10-13 10:29:27 -05:00
|
|
|
color: var(--primary);
|
|
|
|
padding: 1em 2.5em 1em 1em;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
border-top: 3px solid var(--primary-low);
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
|
|
|
|
2021-07-05 14:17:31 +08:00
|
|
|
.badge-notification.unread-posts {
|
2019-01-18 15:40:07 -05:00
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
2014-09-08 11:11:56 -04:00
|
|
|
}
|
2017-08-13 12:13:02 -04:00
|
|
|
|
|
|
|
.list-cell {
|
|
|
|
padding: 12px 5px;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-high);
|
2017-08-13 12:13:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.table-heading {
|
|
|
|
@extend .list-cell;
|
2020-08-03 22:57:10 -04:00
|
|
|
border-bottom: 3px solid var(--primary-low);
|
2017-08-13 12:13:02 -04:00
|
|
|
}
|
2018-04-19 19:23:00 -07:00
|
|
|
|
|
|
|
// This is not what we want:
|
|
|
|
//
|
|
|
|
// This is an overly-long topic title that would break just right
|
|
|
|
// *
|
|
|
|
//
|
|
|
|
// Instead, we want the line to break like this:
|
|
|
|
//
|
|
|
|
// This is an overly-long topic title that would break just
|
|
|
|
// right *
|
|
|
|
.topic-post-badges {
|
|
|
|
white-space: nowrap;
|
2019-01-17 15:46:55 -05:00
|
|
|
align-self: center;
|
|
|
|
line-height: $line-height-medium;
|
2018-06-08 11:49:31 +02:00
|
|
|
}
|