2018-01-14 00:12:10 +00:00
|
|
|
.search {
|
2022-12-15 16:24:38 +00:00
|
|
|
margin-bottom: 10px;
|
2018-01-14 00:12:10 +00:00
|
|
|
position: relative;
|
2023-07-30 16:42:35 +00:00
|
|
|
|
|
|
|
&__popout {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
inset-inline-start: 0;
|
|
|
|
margin-top: -2px;
|
|
|
|
width: 100%;
|
|
|
|
background: $ui-base-color;
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
|
|
|
|
z-index: 99;
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 15px 5px;
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: $dark-text-color;
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 0 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2023-10-24 17:45:08 +00:00
|
|
|
.icon-button {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
}
|
|
|
|
|
2023-07-30 16:42:35 +00:00
|
|
|
&__menu {
|
2023-08-28 11:18:39 +00:00
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-30 16:42:35 +00:00
|
|
|
&__message {
|
|
|
|
color: $dark-text-color;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__item {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
|
|
|
font: inherit;
|
|
|
|
background: transparent;
|
|
|
|
color: $darker-text-color;
|
|
|
|
padding: 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 4px;
|
|
|
|
text-align: start;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&--flex {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
&.selected {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $primary-text-color;
|
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mark {
|
|
|
|
background: transparent;
|
|
|
|
font-weight: 700;
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
2023-09-12 02:20:57 +00:00
|
|
|
|
|
|
|
span {
|
|
|
|
overflow: inherit;
|
|
|
|
text-overflow: inherit;
|
|
|
|
}
|
2023-07-30 16:42:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
.search__popout {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2018-01-14 00:12:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.search__input {
|
2023-02-25 20:20:01 +00:00
|
|
|
@include search-input;
|
2019-06-27 20:30:55 +00:00
|
|
|
|
2018-01-14 00:12:10 +00:00
|
|
|
display: block;
|
2019-06-27 20:30:55 +00:00
|
|
|
padding: 15px;
|
2023-04-16 15:45:18 +00:00
|
|
|
padding-inline-end: 30px;
|
2019-06-27 20:30:55 +00:00
|
|
|
line-height: 18px;
|
|
|
|
font-size: 16px;
|
2019-09-19 17:58:40 +00: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%);
|
|
|
|
}
|
2018-01-14 00:12:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.search__icon {
|
2019-06-27 20:30:55 +00:00
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
2023-10-24 17:45:08 +00:00
|
|
|
.icon {
|
2018-01-14 00:12:10 +00:00
|
|
|
position: absolute;
|
2023-10-24 17:45:08 +00:00
|
|
|
top: 13px;
|
2023-04-16 15:45:18 +00:00
|
|
|
inset-inline-end: 10px;
|
2018-01-14 00:12:10 +00:00
|
|
|
display: inline-block;
|
|
|
|
opacity: 0;
|
|
|
|
transition: all 100ms linear;
|
2019-06-27 20:30:55 +00:00
|
|
|
transition-property: color, transform, opacity;
|
2018-01-14 00:12:10 +00:00
|
|
|
font-size: 18px;
|
2023-10-24 17:45:08 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2018-05-05 15:58:46 +00:00
|
|
|
color: $secondary-text-color;
|
2018-01-14 00:12:10 +00:00
|
|
|
cursor: default;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-24 17:45:08 +00:00
|
|
|
.icon-search {
|
2019-06-27 20:30:55 +00:00
|
|
|
transform: rotate(0deg);
|
2018-01-14 00:12:10 +00:00
|
|
|
|
|
|
|
&.active {
|
2019-06-27 20:30:55 +00:00
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 0.3;
|
2018-01-14 00:12:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-24 17:45:08 +00:00
|
|
|
.icon-times-circle {
|
2019-06-08 23:59:42 +00:00
|
|
|
top: 17px;
|
2018-01-14 00:12:10 +00:00
|
|
|
transform: rotate(0deg);
|
2019-06-27 20:30:55 +00:00
|
|
|
color: $action-button-color;
|
2018-01-14 00:12:10 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
transform: rotate(90deg);
|
2023-08-23 13:51:07 +00:00
|
|
|
opacity: 1;
|
2018-01-14 00:12:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2019-06-27 20:30:55 +00:00
|
|
|
color: lighten($action-button-color, 7%);
|
2018-01-14 00:12:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-results__header {
|
2018-05-05 15:58:46 +00:00
|
|
|
color: $dark-text-color;
|
2018-01-14 00:12:10 +00:00
|
|
|
background: lighten($ui-base-color, 2%);
|
2021-07-12 06:07:04 +00:00
|
|
|
padding: 15px;
|
2018-01-14 00:12:10 +00:00
|
|
|
font-weight: 500;
|
2021-07-12 06:07:04 +00:00
|
|
|
font-size: 16px;
|
|
|
|
cursor: default;
|
2023-10-24 17:45:08 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 5px;
|
2018-01-14 00:12:10 +00:00
|
|
|
}
|
|
|
|
|
2019-06-27 19:12:26 +00:00
|
|
|
.search-results__info {
|
2019-07-27 03:49:50 +00:00
|
|
|
padding: 20px;
|
|
|
|
color: $darker-text-color;
|
|
|
|
text-align: center;
|
2019-06-27 19:12:26 +00:00
|
|
|
}
|
|
|
|
|
2018-08-20 09:29:42 +00:00
|
|
|
.trends {
|
|
|
|
&__item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 15px;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
2022-10-28 10:56:51 +00:00
|
|
|
gap: 15px;
|
2018-08-20 09:29:42 +00:00
|
|
|
|
|
|
|
&: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;
|
2023-04-16 15:45:18 +00:00
|
|
|
text-align: end;
|
2018-08-20 09:29:42 +00:00
|
|
|
color: $secondary-text-color;
|
2022-07-22 01:17:41 +00:00
|
|
|
text-decoration: none;
|
2018-08-20 09:29:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__sparkline {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
width: 50px;
|
|
|
|
|
2019-08-06 15:57:52 +00:00
|
|
|
path:first-child {
|
|
|
|
fill: rgba($highlight-text-color, 0.25) !important;
|
2023-02-25 20:20:01 +00:00
|
|
|
fill-opacity: 1 !important;
|
2019-08-06 15:57:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
path:last-child {
|
2018-08-20 09:29:42 +00:00
|
|
|
stroke: lighten($highlight-text-color, 6%) !important;
|
2020-05-14 07:01:23 +00:00
|
|
|
fill: none !important;
|
2018-08-20 09:29:42 +00:00
|
|
|
}
|
|
|
|
}
|
2021-10-14 18:44:59 +00: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;
|
2023-07-24 15:56:20 +00:00
|
|
|
padding-inline-end: 28px;
|
2018-01-14 00:12:10 +00:00
|
|
|
}
|
|
|
|
}
|