2018-04-09 23:51:09 +08:00
|
|
|
.search-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2019-07-02 09:21:52 +08:00
|
|
|
.warning {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--danger-medium);
|
2019-07-02 09:21:52 +08:00
|
|
|
padding: 5px 8px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary);
|
2019-07-02 09:21:52 +08:00
|
|
|
}
|
|
|
|
|
2018-04-09 23:51:09 +08:00
|
|
|
.search-bar {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
|
|
.search-query {
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2018-06-14 21:46:03 +08:00
|
|
|
margin: 0 0.5em 0 0;
|
2018-04-09 23:51:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-cta {
|
|
|
|
padding-bottom: 6.5px;
|
|
|
|
padding-top: 6.5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-advanced {
|
|
|
|
width: 70%;
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 17:49:31 +08:00
|
|
|
width: 65%;
|
|
|
|
}
|
2018-04-09 23:51:09 +08:00
|
|
|
|
|
|
|
.search-actions,
|
|
|
|
.search-notice,
|
|
|
|
.search-results,
|
|
|
|
.search-title,
|
|
|
|
.search-bar {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-info {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2020-07-21 12:04:07 +08:00
|
|
|
padding-bottom: 1em;
|
|
|
|
margin-bottom: 1.5em;
|
2018-04-09 23:51:09 +08: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 17:49:31 +08:00
|
|
|
margin-left: 0.25em;
|
2018-04-09 23:51:09 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sort-by {
|
|
|
|
display: flex;
|
|
|
|
margin-left: auto;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.desc {
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-right: 0.5em;
|
2018-04-09 23:51:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.combo-box {
|
|
|
|
min-width: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-title {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
2020-07-21 12:04:07 +08:00
|
|
|
align-items: flex-start;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
button {
|
|
|
|
margin: 0 0.5em 0.5em 0;
|
2018-04-09 23:51:09 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-notice {
|
|
|
|
.fps-invalid {
|
2018-06-08 17:49:31 +08:00
|
|
|
padding: 0.5em;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--danger-low);
|
|
|
|
border: 1px solid var(--danger-medium);
|
|
|
|
color: var(--danger);
|
2018-04-09 23:51:09 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-advanced-sidebar {
|
|
|
|
width: 30%;
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 17:49:31 +08:00
|
|
|
width: 35%;
|
|
|
|
}
|
2018-04-09 23:51:09 +08:00
|
|
|
margin-left: 1em;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
#search-min-post-count,
|
|
|
|
.combo-box,
|
|
|
|
.ac-wrap,
|
|
|
|
.control-group,
|
|
|
|
.search-advanced-category-chooser {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 100%;
|
2018-06-08 17:49:31 +08:00
|
|
|
input,
|
|
|
|
.item {
|
2018-04-09 23:51:09 +08:00
|
|
|
padding-left: 4px; // temporarily normalizing input padding for this section
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-23 04:17:53 +08:00
|
|
|
.d-date-input {
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-top: 0.5em;
|
2020-04-23 04:17:53 +08:00
|
|
|
width: 100%;
|
2018-04-09 23:51:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-advanced-title {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--primary-low);
|
2018-06-08 17:49:31 +08:00
|
|
|
padding: 0.358em 1em;
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 17:49:31 +08:00
|
|
|
padding: 0.358em 0.5em;
|
|
|
|
}
|
2018-04-09 23:51:09 +08:00
|
|
|
font-weight: 700;
|
|
|
|
text-align: left;
|
2020-09-15 15:39:12 +08:00
|
|
|
cursor: pointer;
|
2018-04-09 23:51:09 +08:00
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-advanced-filters {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--primary-very-low);
|
2018-04-09 23:51:09 +08:00
|
|
|
padding: 1em;
|
|
|
|
.control-group {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
section.field {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 17:49:31 +08:00
|
|
|
padding: 0.75em 0.5em;
|
|
|
|
.ac-wrap,
|
|
|
|
.choices,
|
|
|
|
.select-kit.multi-select {
|
|
|
|
// overriding inline width from JS
|
2018-04-09 23:51:09 +08:00
|
|
|
width: 100% !important;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2018-04-09 23:51:09 +08:00
|
|
|
.select-kit {
|
|
|
|
min-width: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-10 03:11:58 +08:00
|
|
|
.fps-invalid {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2015-07-27 14:13:11 +08:00
|
|
|
.fps-result {
|
2018-04-09 23:51:09 +08:00
|
|
|
display: flex;
|
2020-03-25 12:45:35 +08:00
|
|
|
padding: 0 0.5em;
|
2020-07-21 12:04:07 +08:00
|
|
|
margin-bottom: 28px;
|
|
|
|
max-width: 780px;
|
2020-08-11 02:17:41 +08:00
|
|
|
word-break: break-word;
|
2020-03-25 12:45:35 +08:00
|
|
|
|
2016-06-18 08:05:29 +08:00
|
|
|
.author {
|
2016-06-20 12:03:48 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2020-07-21 12:04:07 +08:00
|
|
|
padding-top: 0.15em;
|
|
|
|
padding-left: 0.15em;
|
|
|
|
margin-right: 1em;
|
2016-06-18 08:05:29 +08:00
|
|
|
}
|
|
|
|
|
2020-07-21 12:04:07 +08: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 17:49:31 +08:00
|
|
|
}
|
2015-09-18 15:16:10 +08:00
|
|
|
}
|
|
|
|
|
2020-07-21 12:04:07 +08:00
|
|
|
.search-category {
|
|
|
|
max-width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
.badge-wrapper {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2015-07-27 17:28:10 +08:00
|
|
|
}
|
|
|
|
|
2020-07-21 12:04:07 +08: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 15:13:30 +08:00
|
|
|
}
|
|
|
|
|
2020-07-21 12:04:07 +08:00
|
|
|
.blurb {
|
|
|
|
font-size: $font-0;
|
|
|
|
line-height: $line-height-large;
|
|
|
|
max-width: 640px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2020-07-21 12:04:07 +08:00
|
|
|
.date {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2020-07-21 12:04:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-highlight {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2020-07-21 12:04:07 +08:00
|
|
|
}
|
2015-07-27 14:13:11 +08:00
|
|
|
}
|
2020-07-21 12:04:07 +08:00
|
|
|
|
|
|
|
.like-count {
|
|
|
|
display: block;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2020-07-21 12:04:07 +08:00
|
|
|
margin-top: 0.25em;
|
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--love);
|
2020-07-21 12:04:07 +08:00
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2015-07-27 14:13:11 +08:00
|
|
|
}
|
2020-07-21 12:04:07 +08:00
|
|
|
|
2015-09-08 09:03:51 +08:00
|
|
|
a.search-link:visited .topic-title {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--tertiary-high);
|
2015-09-08 09:03:51 +08:00
|
|
|
}
|
2015-07-27 14:13:11 +08:00
|
|
|
.search-link {
|
2018-06-08 17:49:31 +08:00
|
|
|
.topic-title {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2018-12-07 08:22:04 +08:00
|
|
|
line-height: $line-height-medium;
|
2015-07-27 14:13:11 +08:00
|
|
|
}
|
2015-09-08 09:03:51 +08:00
|
|
|
.topic-statuses {
|
|
|
|
display: inline-block;
|
2018-12-07 08:22:04 +08:00
|
|
|
font-size: 1.3em;
|
2018-12-14 10:49:43 +08:00
|
|
|
line-height: $line-height-medium;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-12-07 08:22:04 +08:00
|
|
|
span {
|
|
|
|
line-height: 1;
|
|
|
|
}
|
2015-09-08 09:03:51 +08:00
|
|
|
}
|
2015-07-27 14:13:11 +08:00
|
|
|
}
|
|
|
|
|
2020-07-21 12:04:07 +08:00
|
|
|
.discourse-tag.simple {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
2020-07-21 12:04:07 +08:00
|
|
|
margin-right: 0.25em;
|
2016-06-18 09:31:25 +08:00
|
|
|
}
|
2015-07-27 14:13:11 +08:00
|
|
|
}
|
|
|
|
|
2017-08-15 06:07:49 +08:00
|
|
|
.no-results-suggestion {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
2020-07-21 12:04:07 +08:00
|
|
|
|
2015-07-27 14:13:11 +08:00
|
|
|
.search-footer {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
2015-09-08 09:03:51 +08:00
|
|
|
|
|
|
|
.panel-body-contents .search-context label {
|
|
|
|
float: left;
|
|
|
|
}
|
2015-09-18 15:16:10 +08:00
|
|
|
|
2017-08-15 06:07:49 +08:00
|
|
|
.google-search-form {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|