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 11:27:56 -04:00
|
|
|
}
|
2014-10-28 19:46:05 -04: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 05:53:09 -05: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 04:16:18 -05: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 04:16:18 -05:00
|
|
|
}
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
|
2021-01-06 16:15:28 -05:00
|
|
|
.topic-list.shared-drafts {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Topic list body
|
|
|
|
|
2021-11-15 15:49:45 -05:00
|
|
|
.topic-list-item.visited .topic-list-data,
|
2017-09-11 10:42:51 -04:00
|
|
|
.latest-topic-list-item.visited,
|
2017-09-26 12:13:32 -04:00
|
|
|
.category-topic-link.visited {
|
2018-06-08 05:49:31 -04:00
|
|
|
a.title:not(.badge-notification) {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2018-06-08 05:49:31 -04: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 10:42:51 -04:00
|
|
|
}
|
2015-07-23 03:16:29 -04:00
|
|
|
|
2020-03-12 01:20:56 -04: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 01:20:56 -04: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-11-15 15:49:45 -05:00
|
|
|
.sticky-header .topic-list-header {
|
2021-09-23 10:50:10 -04:00
|
|
|
@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 17:38:36 -04:00
|
|
|
.topic-list {
|
2014-06-23 16:11:55 -04:00
|
|
|
width: 100%;
|
2015-05-11 19:09:46 -04:00
|
|
|
border-collapse: collapse;
|
2014-06-23 16:11:55 -04:00
|
|
|
|
2021-11-15 15:49:45 -05:00
|
|
|
> .topic-list-body > .topic-list-item {
|
2014-06-23 16:11:55 -04:00
|
|
|
&.has-excerpt .star {
|
|
|
|
vertical-align: top;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2016-08-18 21:58:20 -04:00
|
|
|
|
|
|
|
&.last-visit {
|
2016-08-30 22:32:39 -04:00
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-list-separator {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-list-item-separator {
|
|
|
|
border: none;
|
|
|
|
|
2021-11-15 15:49:45 -05:00
|
|
|
.topic-list-data {
|
2021-11-18 14:32:44 -05:00
|
|
|
border-top: 1px solid var(--danger-medium);
|
2021-11-16 06:34:29 -05:00
|
|
|
line-height: 0em;
|
2018-01-25 09:53:36 -05:00
|
|
|
padding: 0;
|
2016-08-30 22:32:39 -04:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-11-15 15:49:45 -05:00
|
|
|
.topic-list-data 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 09:53:36 -05:00
|
|
|
padding: 0 8px;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2016-08-18 21:58:20 -04:00
|
|
|
}
|
2015-05-12 03:26:35 -04:00
|
|
|
}
|
|
|
|
|
2021-11-15 15:49:45 -05:00
|
|
|
.topic-list-data {
|
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-11-15 15:49:45 -05:00
|
|
|
.btn-flat .d-icon {
|
2021-09-23 10:50:10 -04:00
|
|
|
color: currentColor;
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
2021-11-15 15:49:45 -05:00
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2021-11-19 08:47:53 -05:00
|
|
|
.main-link {
|
2017-08-13 12:13:02 -04:00
|
|
|
@extend .topic-list-main-link;
|
2019-05-02 07:43:02 -04:00
|
|
|
|
|
|
|
.raw-topic-link > * {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2019-08-29 11:03:43 -04:00
|
|
|
}
|
2019-08-27 08:09:00 -04:00
|
|
|
|
2019-08-29 11:03:43 -04:00
|
|
|
.unread-indicator {
|
|
|
|
&.read {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.d-icon {
|
2019-08-29 16:33:35 -04:00
|
|
|
vertical-align: middle;
|
2019-08-29 11:03:43 -04:00
|
|
|
font-size: $font-down-5;
|
2019-08-27 08:09:00 -04: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 01:38:33 -05:00
|
|
|
display: flex;
|
2019-01-08 10:33:47 -05:00
|
|
|
flex-wrap: wrap;
|
2018-12-31 01:38:33 -05:00
|
|
|
align-items: center;
|
2019-01-08 10:33:47 -05:00
|
|
|
.discourse-tags {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2018-12-31 01:38:33 -05: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 01:38:33 -05: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 04:01:37 -04: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 02:27:43 -04:00
|
|
|
|
|
|
|
a {
|
2014-06-23 16:11:55 -04:00
|
|
|
color: inherit;
|
|
|
|
}
|
2021-04-06 02:27:43 -04:00
|
|
|
|
|
|
|
.badge-posts {
|
|
|
|
font-weight: 700;
|
|
|
|
color: inherit;
|
|
|
|
padding: 15px 5px;
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-13 03:26:13 -04:00
|
|
|
.num.posts {
|
|
|
|
a {
|
|
|
|
padding: 15px 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.num.activity {
|
|
|
|
a {
|
|
|
|
padding: 15px 5px;
|
|
|
|
}
|
|
|
|
}
|
2014-06-23 16:11:55 -04:00
|
|
|
}
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.heatmap-high,
|
2021-01-22 11:09:39 -05:00
|
|
|
.heatmap-high a,
|
|
|
|
.heatmap-high .d-icon,
|
|
|
|
.heatmap-high .d-button-label {
|
2020-04-16 14:14:25 -04:00
|
|
|
color: #fe7a15 !important;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2021-01-22 11:09:39 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.heatmap-med,
|
2021-01-22 11:09:39 -05:00
|
|
|
.heatmap-med a,
|
|
|
|
.heatmap-med .d-icon,
|
|
|
|
.heatmap-med .d-button-label {
|
2020-04-16 14:14:25 -04:00
|
|
|
color: #cf7721 !important;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2021-01-22 11:09:39 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.heatmap-low,
|
2021-01-22 11:09:39 -05:00
|
|
|
.heatmap-low a,
|
|
|
|
.heatmap-low .d-icon,
|
|
|
|
.heatmap-low .d-button-label {
|
2020-04-16 14:14:25 -04:00
|
|
|
color: #9b764f !important;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2018-02-05 21:36:35 -05:00
|
|
|
|
2020-04-15 02:14:53 -04:00
|
|
|
.topic-list .heatmap-high {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2014-07-29 17:38:36 -04:00
|
|
|
.loading .topic-list {
|
2014-06-23 16:11:55 -04:00
|
|
|
border: 0;
|
2014-10-10 18:02:46 -04:00
|
|
|
box-shadow: none;
|
2021-11-15 15:49:45 -05:00
|
|
|
.topic-list-item {
|
2014-06-23 16:11:55 -04:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#list-area {
|
2014-12-10 03:33:41 -05: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 17:38:36 -04: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 04:34:50 -04: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-30 01:54:07 -04:00
|
|
|
|
|
|
|
div.education {
|
2020-10-13 11:29:27 -04: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 02:17:31 -04: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 22:23:00 -04: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 05:49:31 -04:00
|
|
|
}
|