2018-04-09 23:51:09 +08:00
|
|
|
.search-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.search-bar {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
|
|
.search-query {
|
|
|
|
flex: 1;
|
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;
|
2018-06-08 17:49:31 +08:00
|
|
|
border-bottom: 3px solid $primary-low;
|
|
|
|
padding-bottom: 0.5em;
|
2018-04-09 23:51:09 +08:00
|
|
|
margin-bottom: 1em;
|
|
|
|
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;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.bulk-select {
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-left: 0.5em;
|
2018-04-09 23:51:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.fps-select a {
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-left: 0.5em;
|
2018-04-09 23:51:09 +08:00
|
|
|
font-size: $font-down-1;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-notice {
|
|
|
|
.fps-invalid {
|
2018-06-08 17:49:31 +08:00
|
|
|
padding: 0.5em;
|
2018-04-09 23:51:09 +08:00
|
|
|
background-color: $danger-low;
|
|
|
|
border: 1px solid $danger-medium;
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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,
|
|
|
|
.date-picker,
|
|
|
|
.combo-box,
|
|
|
|
.ac-wrap,
|
|
|
|
.control-group,
|
|
|
|
.date-picker-wrapper,
|
|
|
|
.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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.date-picker-wrapper {
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-top: 0.5em;
|
2018-04-09 23:51:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.date-picker {
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: left;
|
|
|
|
padding: 4px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-advanced-title {
|
|
|
|
background: $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;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
&.btn {
|
|
|
|
background: $primary-low;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-advanced-filters {
|
|
|
|
background: $primary-very-low;
|
|
|
|
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;
|
2016-06-18 08:05:29 +08:00
|
|
|
.author {
|
2016-06-20 12:03:48 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2016-06-18 08:05:29 +08:00
|
|
|
}
|
|
|
|
|
2015-09-18 15:16:10 +08:00
|
|
|
.like-count {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2018-06-08 17:49:31 +08:00
|
|
|
.fa {
|
|
|
|
color: $love;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2015-09-18 15:16:10 +08:00
|
|
|
}
|
|
|
|
|
2015-07-27 17:28:10 +08:00
|
|
|
.badge-wrapper span.badge-category {
|
|
|
|
max-width: inherit;
|
|
|
|
}
|
|
|
|
|
2015-08-06 15:13:30 +08:00
|
|
|
.search-category {
|
2018-06-08 17:49:31 +08:00
|
|
|
padding-top: 3px;
|
2015-08-06 15:13:30 +08:00
|
|
|
}
|
|
|
|
|
2015-07-27 17:28:10 +08:00
|
|
|
margin-bottom: 28px;
|
2016-06-18 09:31:25 +08:00
|
|
|
max-width: 780px;
|
2015-07-27 14:13:11 +08:00
|
|
|
.topic {
|
2018-06-08 17:49:31 +08:00
|
|
|
padding-bottom: 2px;
|
|
|
|
max-width: 700px;
|
2015-07-27 14:13:11 +08:00
|
|
|
}
|
|
|
|
.avatar {
|
2016-06-18 08:05:29 +08:00
|
|
|
margin-right: 14px;
|
2015-07-27 14:13:11 +08:00
|
|
|
}
|
2015-09-08 09:03:51 +08:00
|
|
|
a.search-link:visited .topic-title {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: $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-statuses,
|
|
|
|
.topic-title {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
|
|
|
line-height: $line-height-large;
|
2015-07-27 14:13:11 +08:00
|
|
|
}
|
2015-09-08 09:03:51 +08:00
|
|
|
|
|
|
|
.topic-statuses {
|
|
|
|
float: none;
|
|
|
|
display: inline-block;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
2015-09-08 09:03:51 +08:00
|
|
|
}
|
2015-07-27 14:13:11 +08:00
|
|
|
}
|
|
|
|
.blurb {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
|
|
|
line-height: $line-height-large;
|
2015-07-27 14:13:11 +08:00
|
|
|
word-wrap: break-word;
|
2016-06-18 09:31:25 +08:00
|
|
|
max-width: 640px;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2015-07-27 17:28:10 +08:00
|
|
|
.date {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
2015-07-27 17:28:10 +08:00
|
|
|
}
|
2015-07-27 14:13:11 +08:00
|
|
|
|
|
|
|
.search-highlight {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary, $secondary-low);
|
2015-07-27 14:13:11 +08:00
|
|
|
}
|
|
|
|
}
|
2016-06-18 09:31:25 +08:00
|
|
|
|
|
|
|
.discourse-tag {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
2016-06-18 09:31:25 +08:00
|
|
|
}
|
2015-07-27 14:13:11 +08:00
|
|
|
}
|
|
|
|
|
2016-06-20 12:03:48 +08:00
|
|
|
.fps-topic {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-08-15 06:07:49 +08:00
|
|
|
.no-results-suggestion {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
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;
|
|
|
|
}
|