2018-04-09 11:51:09 -04:00
|
|
|
.search-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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;
|
2018-04-09 11:51:09 -04:00
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
|
|
.search-query {
|
2019-01-21 13:40:55 -05:00
|
|
|
flex: 1 0 0px;
|
2018-06-14 09:46:03 -04:00
|
|
|
margin: 0 0.5em 0 0;
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-cta {
|
|
|
|
padding-bottom: 6.5px;
|
|
|
|
padding-top: 6.5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-advanced {
|
|
|
|
width: 70%;
|
2018-07-12 16:38:51 -04:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 05:49:31 -04:00
|
|
|
width: 65%;
|
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
|
|
|
|
.search-actions,
|
|
|
|
.search-notice,
|
|
|
|
.search-results,
|
|
|
|
.search-title,
|
|
|
|
.search-bar {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-info {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2020-08-03 22:57:10 -04:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2020-07-21 00:04:07 -04:00
|
|
|
padding-bottom: 1em;
|
|
|
|
margin-bottom: 1.5em;
|
2018-04-09 11:51:09 -04:00
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.result-count {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.term {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
// spans can be in different orders depending of locale
|
|
|
|
span + span {
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-left: 0.25em;
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sort-by {
|
|
|
|
display: flex;
|
|
|
|
margin-left: auto;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.desc {
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-right: 0.5em;
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.combo-box {
|
|
|
|
min-width: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-title {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
2021-03-08 17:22:13 -05:00
|
|
|
align-items: stretch;
|
2020-07-21 00:04:07 -04:00
|
|
|
flex-wrap: wrap;
|
2021-04-05 23:11:43 -04:00
|
|
|
padding-right: 2.6em; // placeholder for fixed position bulk search button
|
2020-07-21 00:04:07 -04:00
|
|
|
button {
|
|
|
|
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-container {
|
|
|
|
order: 2; // last button
|
|
|
|
margin-left: auto;
|
|
|
|
z-index: z("dropdown"); // below composer
|
|
|
|
}
|
|
|
|
|
|
|
|
#bulk-select {
|
|
|
|
position: fixed;
|
|
|
|
right: unset;
|
|
|
|
margin: 0;
|
|
|
|
button {
|
|
|
|
margin: 0;
|
|
|
|
box-shadow: 0 0 0.4em 0.45em var(--secondary); // slight fade behind the button, because it can overlay content
|
|
|
|
}
|
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-notice {
|
|
|
|
.fps-invalid {
|
2018-06-08 05:49:31 -04:00
|
|
|
padding: 0.5em;
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--danger-low);
|
|
|
|
border: 1px solid var(--danger-medium);
|
|
|
|
color: var(--danger);
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-advanced-sidebar {
|
|
|
|
width: 30%;
|
2018-07-12 16:38:51 -04:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 05:49:31 -04:00
|
|
|
width: 35%;
|
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
margin-left: 1em;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2020-09-16 09:05:19 -04:00
|
|
|
.input-small,
|
2018-04-09 11:51:09 -04:00
|
|
|
.combo-box,
|
|
|
|
.ac-wrap,
|
|
|
|
.control-group,
|
2020-09-16 09:05:19 -04:00
|
|
|
.multi-select,
|
2018-04-09 11:51:09 -04:00
|
|
|
.search-advanced-category-chooser {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 100%;
|
2020-09-16 09:05:19 -04:00
|
|
|
margin: 0;
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
input,
|
|
|
|
.item {
|
2018-04-09 11:51:09 -04:00
|
|
|
padding-left: 4px; // temporarily normalizing input padding for this section
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-22 16:17:53 -04:00
|
|
|
.d-date-input {
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-top: 0.5em;
|
2020-04-22 16:17:53 -04:00
|
|
|
width: 100%;
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-advanced-title {
|
2021-01-22 08:35:17 -05:00
|
|
|
font-size: $font-up-1;
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--primary-low);
|
2018-06-08 05:49:31 -04:00
|
|
|
padding: 0.358em 1em;
|
2018-07-12 16:38:51 -04:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 05:49:31 -04:00
|
|
|
padding: 0.358em 0.5em;
|
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
font-weight: 700;
|
|
|
|
text-align: left;
|
2020-09-15 03:39:12 -04:00
|
|
|
cursor: pointer;
|
2018-04-09 11:51:09 -04:00
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-advanced-filters {
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--primary-very-low);
|
2018-04-09 11:51:09 -04:00
|
|
|
padding: 1em;
|
|
|
|
.control-group {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
section.field {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2018-07-12 16:38:51 -04:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 05:49:31 -04:00
|
|
|
padding: 0.75em 0.5em;
|
|
|
|
.ac-wrap,
|
|
|
|
.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
|
|
|
|
2020-09-28 12:04:16 -04:00
|
|
|
.count-group {
|
|
|
|
.count {
|
2020-09-28 06:36:48 -04:00
|
|
|
width: 45%;
|
|
|
|
}
|
2020-09-28 12:04:16 -04:00
|
|
|
.count-dash {
|
|
|
|
padding-left: 6px;
|
2020-09-28 06:36:48 -04:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
2018-04-09 11:51:09 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-09 15:11:58 -04:00
|
|
|
.fps-invalid {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2015-07-27 02:13:11 -04:00
|
|
|
.fps-result {
|
2018-04-09 11:51:09 -04:00
|
|
|
display: flex;
|
2020-03-25 00:45:35 -04:00
|
|
|
padding: 0 0.5em;
|
2020-07-21 00:04:07 -04:00
|
|
|
margin-bottom: 28px;
|
|
|
|
max-width: 780px;
|
2020-08-10 14:17:41 -04:00
|
|
|
word-break: break-word;
|
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 {
|
|
|
|
grid-area: bulk-select;
|
|
|
|
}
|
|
|
|
.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
|
|
|
input[type="checkbox"] {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
// cross-browser alignment below
|
|
|
|
position: relative;
|
|
|
|
vertical-align: bottom;
|
|
|
|
margin-bottom: 0.39em;
|
2015-08-06 03:13:30 -04:00
|
|
|
}
|
|
|
|
|
2020-07-21 00:04:07 -04:00
|
|
|
.blurb {
|
|
|
|
font-size: $font-0;
|
|
|
|
line-height: $line-height-large;
|
|
|
|
max-width: 640px;
|
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 {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--tertiary-high);
|
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 {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-2;
|
2018-12-06 19:22:04 -05:00
|
|
|
line-height: $line-height-medium;
|
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
|
|
|
}
|
|
|
|
|
2017-08-14 18:07:49 -04:00
|
|
|
.no-results-suggestion {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
2020-07-21 00:04:07 -04:00
|
|
|
|
2015-07-27 02:13:11 -04:00
|
|
|
.search-footer {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
2015-09-07 21:03:51 -04:00
|
|
|
|
|
|
|
.panel-body-contents .search-context label {
|
|
|
|
float: left;
|
|
|
|
}
|
2015-09-18 03:16:10 -04:00
|
|
|
|
2017-08-14 18:07:49 -04:00
|
|
|
.google-search-form {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|