2021-09-20 10:01:11 -04:00
|
|
|
@mixin search-page-spacing {
|
2022-02-10 13:32:21 -05:00
|
|
|
padding: 1rem 10%;
|
2021-10-18 09:36:30 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
@include breakpoint(medium) {
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
}
|
2021-10-18 09:36:30 -04:00
|
|
|
|
2021-06-03 00:14:24 -04:00
|
|
|
.search-highlight {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2018-04-09 11:51:09 -04:00
|
|
|
.search-container {
|
2021-09-20 10:01:11 -04:00
|
|
|
.search-header {
|
|
|
|
@include search-page-spacing();
|
|
|
|
background: var(--primary-very-low);
|
|
|
|
}
|
2019-07-01 21:21:52 -04:00
|
|
|
.warning {
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--danger-medium);
|
2019-07-01 21:21:52 -04:00
|
|
|
padding: 5px 8px;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--secondary);
|
2019-07-01 21:21:52 -04:00
|
|
|
}
|
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.search-page-heading {
|
|
|
|
font-size: var(--font-up-3);
|
|
|
|
|
|
|
|
// spans can be in different orders depending of locale
|
|
|
|
span + span {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.term {
|
|
|
|
background: var(--tertiary-low);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-09 11:51:09 -04:00
|
|
|
.search-bar {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2021-01-27 16:17:08 -05:00
|
|
|
align-items: stretch;
|
2021-09-20 10:01:11 -04:00
|
|
|
background: var(--primary-very-low);
|
2018-04-09 11:51:09 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
input.search-query {
|
|
|
|
flex: 1 0 60%;
|
|
|
|
margin: 0 1em 0 0;
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.select-kit {
|
|
|
|
margin-right: 1em;
|
|
|
|
flex: 1 0 20%;
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
input.search-query,
|
|
|
|
.select-kit {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2021-09-20 10:01:11 -04:00
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.search-advanced {
|
|
|
|
position: relative;
|
2018-04-09 11:51:09 -04:00
|
|
|
.search-actions,
|
|
|
|
.search-title,
|
|
|
|
.search-bar {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.search-results {
|
|
|
|
@include search-page-spacing();
|
|
|
|
}
|
|
|
|
|
2018-04-09 11:51:09 -04:00
|
|
|
.search-info {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2022-02-10 13:32:21 -05:00
|
|
|
padding: 1em 10%;
|
|
|
|
background-color: var(--secondary);
|
2020-08-03 22:57:10 -04:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2022-02-10 13:32:21 -05:00
|
|
|
@include breakpoint(medium) {
|
|
|
|
padding: 0.5em 0;
|
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
&.bulk-select-visible {
|
|
|
|
@include sticky;
|
|
|
|
top: 60px;
|
|
|
|
z-index: 10;
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.sort-by {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
2020-07-21 00:04:07 -04:00
|
|
|
button {
|
2022-02-10 13:32:21 -05:00
|
|
|
margin: 0 0.5em 0 0;
|
|
|
|
@include breakpoint(medium) {
|
|
|
|
margin: 0 0.5em 0.5em 0;
|
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
2021-04-05 23:11:43 -04:00
|
|
|
|
|
|
|
#bulk-select {
|
2021-09-20 10:01:11 -04:00
|
|
|
position: relative;
|
2021-04-05 23:11:43 -04:00
|
|
|
right: unset;
|
|
|
|
margin: 0;
|
2021-09-20 10:01:11 -04:00
|
|
|
padding: 0;
|
|
|
|
display: inline;
|
2021-04-05 23:11:43 -04:00
|
|
|
button {
|
2021-09-20 10:01:11 -04:00
|
|
|
margin-right: 0.5em;
|
2021-04-05 23:11:43 -04:00
|
|
|
}
|
|
|
|
}
|
2022-02-10 13:32:21 -05:00
|
|
|
|
|
|
|
.sort-by.inline-form label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
#search-sort-by {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
2021-09-20 10:01:11 -04:00
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.search-notice .fps-invalid {
|
|
|
|
padding: 0.5em;
|
|
|
|
background-color: var(--danger-low);
|
|
|
|
border: 1px solid var(--danger-medium);
|
|
|
|
color: var(--danger);
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.search-context {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2021-10-18 09:36:30 -04:00
|
|
|
.user-items {
|
|
|
|
display: grid;
|
|
|
|
gap: 2em 1em;
|
|
|
|
grid: auto-flow / repeat(4, 1fr);
|
|
|
|
|
|
|
|
@include breakpoint(medium) {
|
|
|
|
grid: auto-flow / repeat(3, 1fr);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint(tablet) {
|
|
|
|
grid: auto-flow / 1fr 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint(mobile-large) {
|
|
|
|
grid: auto-flow / 1fr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.search-filters {
|
|
|
|
background: var(--primary-very-low);
|
2018-04-09 11:51:09 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
details.advanced-filters,
|
|
|
|
details.search-advanced-additional-options {
|
|
|
|
margin-top: 1em;
|
2020-09-16 09:05:19 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
> summary {
|
|
|
|
color: var(--tertiary);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
&[open] > summary {
|
|
|
|
color: var(--primary);
|
|
|
|
margin-bottom: 1em;
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
details.search-advanced-additional-options {
|
|
|
|
> summary {
|
|
|
|
font-size: var(--font-down-1);
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2021-09-20 10:01:11 -04:00
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.combo-box:not(#postTime),
|
|
|
|
.control-group,
|
|
|
|
.multi-select {
|
|
|
|
width: 100%;
|
|
|
|
min-width: 100%;
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-advanced-filters {
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--primary-very-low);
|
2021-09-20 10:01:11 -04:00
|
|
|
|
|
|
|
@include breakpoint(mobile-extra-large, min-width) {
|
|
|
|
.search-advanced-options {
|
|
|
|
column-count: 2;
|
|
|
|
column-gap: 2em;
|
|
|
|
.control-group {
|
|
|
|
break-inside: avoid;
|
|
|
|
}
|
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
2021-09-20 10:01:11 -04:00
|
|
|
|
|
|
|
@include breakpoint(medium, min-width) {
|
|
|
|
.search-advanced-options {
|
|
|
|
column-gap: 5em;
|
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
2021-09-20 10:01:11 -04:00
|
|
|
|
2018-07-12 16:38:51 -04:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 05:49:31 -04:00
|
|
|
.choices,
|
|
|
|
.select-kit.multi-select {
|
|
|
|
// overriding inline width from JS
|
2018-04-09 11:51:09 -04:00
|
|
|
width: 100% !important;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
.select-kit {
|
|
|
|
min-width: unset;
|
|
|
|
}
|
|
|
|
}
|
2020-09-28 06:36:48 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.control-group {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2020-09-28 12:04:16 -04:00
|
|
|
.count-group {
|
2021-09-20 10:01:11 -04:00
|
|
|
input[type="number"] {
|
|
|
|
width: 8em;
|
2020-09-28 06:36:48 -04:00
|
|
|
}
|
2021-09-20 10:01:11 -04:00
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
margin-right: 0.25em;
|
2020-09-28 06:36:48 -04:00
|
|
|
}
|
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-09 15:11:58 -04:00
|
|
|
.fps-invalid {
|
2021-09-20 10:01:11 -04:00
|
|
|
margin-top: 1em;
|
2016-08-09 15:11:58 -04:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2015-07-27 02:13:11 -04:00
|
|
|
.fps-result {
|
2018-04-09 11:51:09 -04:00
|
|
|
display: flex;
|
2022-02-10 13:32:21 -05:00
|
|
|
padding: 0 0.5em 0 0;
|
2021-09-20 10:01:11 -04:00
|
|
|
margin-bottom: 2em;
|
|
|
|
max-width: 100%;
|
2020-08-10 14:17:41 -04:00
|
|
|
word-break: break-word;
|
2021-09-20 10:01:11 -04:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&.bulk-select-enabled {
|
|
|
|
padding-left: 3em;
|
|
|
|
}
|
2020-03-25 00:45:35 -04:00
|
|
|
|
2016-06-17 20:05:29 -04:00
|
|
|
.author {
|
2016-06-20 00:03:48 -04:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2020-07-21 00:04:07 -04:00
|
|
|
padding-top: 0.15em;
|
|
|
|
padding-left: 0.15em;
|
|
|
|
margin-right: 1em;
|
2016-06-17 20:05:29 -04:00
|
|
|
}
|
|
|
|
|
2020-07-21 00:04:07 -04:00
|
|
|
.topic {
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
max-width: 700px;
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas:
|
|
|
|
"bulk-select title"
|
|
|
|
"meta meta";
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
align-items: baseline;
|
|
|
|
.bulk-select {
|
2021-09-20 10:01:11 -04:00
|
|
|
position: absolute;
|
2022-02-10 13:32:21 -05:00
|
|
|
left: 0.5em;
|
|
|
|
top: 0.75em;
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
background-color: var(--tertiary-low);
|
2021-09-20 10:01:11 -04:00
|
|
|
input[type="checkbox"] {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-07-21 00:04:07 -04:00
|
|
|
}
|
|
|
|
.search-link {
|
|
|
|
grid-area: title;
|
|
|
|
}
|
|
|
|
.search-category {
|
|
|
|
grid-area: meta;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2015-09-18 03:16:10 -04:00
|
|
|
}
|
|
|
|
|
2020-07-21 00:04:07 -04:00
|
|
|
.search-category {
|
|
|
|
max-width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
.badge-wrapper {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2015-07-27 05:28:10 -04:00
|
|
|
}
|
|
|
|
|
2020-12-16 08:10:58 -05:00
|
|
|
.discourse-tags {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
display: inline-flex;
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
.discourse-tag.simple {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-21 00:04:07 -04:00
|
|
|
.blurb {
|
|
|
|
font-size: $font-0;
|
|
|
|
line-height: $line-height-large;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2020-07-21 00:04:07 -04:00
|
|
|
.date {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-high);
|
2020-07-21 00:04:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-highlight {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-high);
|
2020-07-21 00:04:07 -04:00
|
|
|
}
|
2015-07-27 02:13:11 -04:00
|
|
|
}
|
2020-07-21 00:04:07 -04:00
|
|
|
|
|
|
|
.like-count {
|
|
|
|
display: block;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-high);
|
2020-07-21 00:04:07 -04:00
|
|
|
margin-top: 0.25em;
|
|
|
|
.d-icon {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--love);
|
2020-07-21 00:04:07 -04:00
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2015-07-27 02:13:11 -04:00
|
|
|
}
|
2020-07-21 00:04:07 -04:00
|
|
|
|
2015-09-07 21:03:51 -04:00
|
|
|
a.search-link:visited .topic-title {
|
2021-05-25 18:08:34 -04:00
|
|
|
color: var(--primary-medium);
|
2015-09-07 21:03:51 -04:00
|
|
|
}
|
2015-07-27 02:13:11 -04:00
|
|
|
.search-link {
|
2018-06-08 05:49:31 -04:00
|
|
|
.topic-title {
|
2021-05-26 20:36:21 -04:00
|
|
|
font-size: $font-up-1;
|
2018-12-06 19:22:04 -05:00
|
|
|
line-height: $line-height-medium;
|
2021-05-25 18:08:34 -04:00
|
|
|
color: var(--primary);
|
2015-07-27 02:13:11 -04:00
|
|
|
}
|
2015-09-07 21:03:51 -04:00
|
|
|
.topic-statuses {
|
|
|
|
display: inline-block;
|
2018-12-06 19:22:04 -05:00
|
|
|
font-size: 1.3em;
|
2018-12-13 21:49:43 -05:00
|
|
|
line-height: $line-height-medium;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2018-12-06 19:22:04 -05:00
|
|
|
span {
|
|
|
|
line-height: 1;
|
|
|
|
}
|
2015-09-07 21:03:51 -04:00
|
|
|
}
|
2015-07-27 02:13:11 -04:00
|
|
|
}
|
2020-12-08 10:05:46 -05:00
|
|
|
|
|
|
|
.discourse-tag.simple {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
2015-07-27 02:13:11 -04:00
|
|
|
}
|
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.no-results-suggestion,
|
|
|
|
.google-search-form {
|
|
|
|
margin-top: 1em;
|
2017-08-14 18:07:49 -04:00
|
|
|
}
|
2020-07-21 00:04:07 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
// temporary
|
2015-09-07 21:03:51 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.search-results {
|
|
|
|
.fps-user-item {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2021-10-18 09:36:30 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.avatar {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
min-width: 25px;
|
|
|
|
}
|
|
|
|
.user-titles {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
max-width: 300px;
|
|
|
|
.name {
|
|
|
|
color: var(--primary-high-or-secondary-low);
|
|
|
|
font-size: var(--font-0);
|
|
|
|
font-weight: 700;
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
|
|
|
.username {
|
|
|
|
color: var(--primary-high-or-secondary-low);
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-09-18 03:16:10 -04:00
|
|
|
|
2021-09-20 10:01:11 -04:00
|
|
|
.category-items,
|
|
|
|
.tag-items {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
.fps-category-item,
|
|
|
|
.fps-tag-item {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2017-08-14 18:07:49 -04:00
|
|
|
}
|