discourse/app/assets/stylesheets/common/base/search.scss

178 lines
2.8 KiB
SCSS
Raw Normal View History

.fps-invalid {
margin-bottom: 1em;
}
.fps-result {
2015-07-27 17:28:10 +08:00
.author {
display: inline-block;
vertical-align: top;
}
.like-count {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-medium);
.fa { color: $love; font-size: 12px; }
}
2015-07-27 17:28:10 +08:00
.badge-wrapper span.badge-category {
max-width: inherit;
}
.search-category {
2016-06-18 09:54:41 +08:00
padding-top:3px;
}
2015-07-27 17:28:10 +08:00
margin-bottom: 28px;
max-width: 780px;
.topic {
padding-bottom: 2px;
2016-06-18 09:54:41 +08:00
max-width:700px;
}
.avatar {
margin-right: 14px;
}
a.search-link:visited .topic-title {
2017-10-11 04:07:46 +08:00
color: $tertiary-high;
}
.search-link {
.topic-statuses, .topic-title {
font-size: 1.3em;
line-height: 25px;
}
.topic-statuses {
float: none;
display: inline-block;
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-medium);
font-size: 1.0em;
}
}
.blurb {
font-size: 1.0em;
2015-08-04 07:16:46 +08:00
line-height: 20px;
word-wrap: break-word;
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
}
.search-highlight {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary, $secondary-low);
}
}
.discourse-tag {
font-size: 0.8em;
}
}
.fps-topic {
display: inline-block;
}
.fps-select {
margin-top: -15px;
margin-bottom: 15px;
a:hover {
color: $secondary;
background-color: $tertiary;
}
a {
margin-right: 15px;
font-size: 12px;
padding: 2px 5px;
}
}
.search.row {
margin-bottom: 15px;
.search-bar {
display: flex;
margin-bottom: 10px;
input {
height: 22px;
padding-left: 6px;
margin: 0 5px 0 0;
}
}
.new-topic-btn {
float:right;
}
}
.search-advanced {
margin-bottom: 15px;
.search-advanced-btn {
2016-10-11 07:36:08 +08:00
padding: 8px 10px;
width: 100%;
text-align: left;
font-weight: bold;
}
.search-advanced-options {
border: 1px solid $primary-low;
padding: 10px;
.control-group.pull-left {
width: 50%;
}
input[type="checkbox"] {
height: auto;
}
}
}
.no-results-suggestion {
margin-top: 30px;
}
.search-footer {
margin-bottom: 30px;
}
.panel-body-contents .search-context label {
float: left;
}
.search-title {
.term {
font-weight: bold;
}
position: relative;
.result-count {
float: left;
span {
line-height: 28px;
height: 28px;
display: inline-block;
}
margin-bottom: 4px;
}
margin: 10px 0 15px;
max-width: 780px;
2017-06-12 10:20:14 +08:00
border-bottom: 3px solid $primary-low;
width: 100%;
.sort-by {
.desc {
margin-right: 5px;
}
select {
margin-bottom: 0;
width: auto;
min-width: 150px;
}
float: right;
margin-bottom: 4px;
}
}
.google-search-form {
margin-top: 2em;
}