2018-01-13 19:12:10 -05:00
|
|
|
.search {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search__input {
|
2019-06-27 16:30:55 -04:00
|
|
|
@include search-input();
|
|
|
|
|
2018-01-13 19:12:10 -05:00
|
|
|
display: block;
|
2019-06-27 16:30:55 -04:00
|
|
|
padding: 15px;
|
2018-01-13 19:12:10 -05:00
|
|
|
padding-right: 30px;
|
2019-06-27 16:30:55 -04:00
|
|
|
line-height: 18px;
|
|
|
|
font-size: 16px;
|
2019-09-19 13:58:40 -04:00
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: lighten($darker-text-color, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2018-01-13 19:12:10 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.search__icon {
|
2019-06-27 16:30:55 -04:00
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
2018-01-13 19:12:10 -05:00
|
|
|
.fa {
|
|
|
|
position: absolute;
|
2019-06-08 19:59:42 -04:00
|
|
|
top: 16px;
|
2018-01-13 19:12:10 -05:00
|
|
|
right: 10px;
|
|
|
|
z-index: 2;
|
|
|
|
display: inline-block;
|
|
|
|
opacity: 0;
|
|
|
|
transition: all 100ms linear;
|
2019-06-27 16:30:55 -04:00
|
|
|
transition-property: color, transform, opacity;
|
2018-01-13 19:12:10 -05:00
|
|
|
font-size: 18px;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2018-05-05 11:58:46 -04:00
|
|
|
color: $secondary-text-color;
|
2018-01-13 19:12:10 -05:00
|
|
|
cursor: default;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-search {
|
2019-06-27 16:30:55 -04:00
|
|
|
transform: rotate(0deg);
|
2018-01-13 19:12:10 -05:00
|
|
|
|
|
|
|
&.active {
|
2019-06-27 16:30:55 -04:00
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 0.3;
|
2018-01-13 19:12:10 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-times-circle {
|
2019-06-08 19:59:42 -04:00
|
|
|
top: 17px;
|
2018-01-13 19:12:10 -05:00
|
|
|
transform: rotate(0deg);
|
2019-06-27 16:30:55 -04:00
|
|
|
color: $action-button-color;
|
2018-01-13 19:12:10 -05:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2019-06-27 16:30:55 -04:00
|
|
|
color: lighten($action-button-color, 7%);
|
2018-01-13 19:12:10 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-results__header {
|
2018-05-05 11:58:46 -04:00
|
|
|
color: $dark-text-color;
|
2018-01-13 19:12:10 -05:00
|
|
|
background: lighten($ui-base-color, 2%);
|
2021-07-12 02:07:04 -04:00
|
|
|
padding: 15px;
|
2018-01-13 19:12:10 -05:00
|
|
|
font-weight: 500;
|
2021-07-12 02:07:04 -04:00
|
|
|
font-size: 16px;
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2018-01-13 19:12:10 -05:00
|
|
|
}
|
|
|
|
|
2019-06-27 15:12:26 -04:00
|
|
|
.search-results__info {
|
2019-07-26 23:49:50 -04:00
|
|
|
padding: 20px;
|
|
|
|
color: $darker-text-color;
|
|
|
|
text-align: center;
|
2019-06-27 15:12:26 -04:00
|
|
|
}
|
|
|
|
|
2018-08-20 05:29:42 -04:00
|
|
|
.trends {
|
|
|
|
&__header {
|
|
|
|
color: $dark-text-color;
|
|
|
|
background: lighten($ui-base-color, 2%);
|
|
|
|
border-bottom: 1px solid darken($ui-base-color, 4%);
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 15px;
|
|
|
|
font-size: 16px;
|
|
|
|
cursor: default;
|
2018-01-13 19:12:10 -05:00
|
|
|
|
2018-08-20 05:29:42 -04:00
|
|
|
.fa {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 15px;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
color: $dark-text-color;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $darker-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
span {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__current {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 500;
|
2019-08-06 11:57:52 -04:00
|
|
|
text-align: right;
|
|
|
|
padding-right: 15px;
|
2019-08-15 14:20:02 -04:00
|
|
|
margin-left: 5px;
|
2018-08-20 05:29:42 -04:00
|
|
|
color: $secondary-text-color;
|
2022-07-21 21:17:41 -04:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&__asterisk {
|
|
|
|
color: $darker-text-color;
|
|
|
|
font-size: 18px;
|
|
|
|
vertical-align: super;
|
|
|
|
}
|
2018-08-20 05:29:42 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&__sparkline {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
width: 50px;
|
|
|
|
|
2019-08-06 11:57:52 -04:00
|
|
|
path:first-child {
|
|
|
|
fill: rgba($highlight-text-color, 0.25) !important;
|
2022-10-04 14:13:23 -04:00
|
|
|
fill-opacity: 100% !important;
|
2019-08-06 11:57:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
path:last-child {
|
2018-08-20 05:29:42 -04:00
|
|
|
stroke: lighten($highlight-text-color, 6%) !important;
|
2020-05-14 03:01:23 -04:00
|
|
|
fill: none !important;
|
2018-08-20 05:29:42 -04:00
|
|
|
}
|
|
|
|
}
|
2021-10-14 14:44:59 -04:00
|
|
|
|
|
|
|
&--requires-review {
|
|
|
|
.trends__item__name {
|
|
|
|
color: $gold-star;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $gold-star;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.trends__item__current {
|
|
|
|
color: $gold-star;
|
|
|
|
}
|
|
|
|
|
|
|
|
.trends__item__sparkline {
|
|
|
|
path:first-child {
|
|
|
|
fill: rgba($gold-star, 0.25) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
path:last-child {
|
|
|
|
stroke: lighten($gold-star, 6%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--disabled {
|
|
|
|
.trends__item__name {
|
|
|
|
color: lighten($ui-base-color, 12%);
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: lighten($ui-base-color, 12%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.trends__item__current {
|
|
|
|
color: lighten($ui-base-color, 12%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.trends__item__sparkline {
|
|
|
|
path:first-child {
|
|
|
|
fill: rgba(lighten($ui-base-color, 12%), 0.25) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
path:last-child {
|
|
|
|
stroke: lighten(lighten($ui-base-color, 12%), 6%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--compact &__item {
|
|
|
|
padding: 10px;
|
2018-01-13 19:12:10 -05:00
|
|
|
}
|
|
|
|
}
|