2022-01-27 03:14:36 +01:00
|
|
|
@import './header';
|
|
|
|
|
2020-12-03 18:29:47 +01:00
|
|
|
.wunderbar__wrapper {
|
2019-08-21 22:54:44 +02:00
|
|
|
flex: 1;
|
2020-12-03 18:29:47 +01:00
|
|
|
max-width: 30rem;
|
2022-04-14 23:27:16 +02:00
|
|
|
//margin-left: var(--spacing-s);
|
2020-12-03 18:29:47 +01:00
|
|
|
margin-right: var(--spacing-s);
|
2022-04-14 23:27:16 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.wunderbar__input {
|
|
|
|
outline: 2px solid var(--color-primary);
|
|
|
|
}
|
|
|
|
}
|
2020-12-03 18:29:47 +01:00
|
|
|
}
|
|
|
|
|
2020-12-11 19:33:27 +01:00
|
|
|
.wunderbar__wrapper--mobile {
|
|
|
|
margin: 0;
|
|
|
|
border-bottom: 1px solid var(--color-border);
|
2022-04-14 23:27:16 +02:00
|
|
|
height: var(--header-height-mobile);
|
2020-12-11 19:33:27 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.wunderbar {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__input {
|
|
|
|
font-size: 16px; // https://stackoverflow.com/questions/2989263/disable-auto-zoom-in-input-text-tag-safari-on-iphone
|
|
|
|
background-color: transparent;
|
|
|
|
color: var(--color-text);
|
|
|
|
border-radius: 0;
|
|
|
|
margin-right: var(--spacing-l);
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-03 18:29:47 +01:00
|
|
|
.wunderbar {
|
2018-12-19 06:44:53 +01:00
|
|
|
cursor: text;
|
|
|
|
display: flex;
|
2019-06-11 20:10:58 +02:00
|
|
|
align-items: center;
|
2018-12-19 06:44:53 +01:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2019-11-22 22:13:00 +01:00
|
|
|
font-size: var(--font-small);
|
2020-01-02 17:30:27 +01:00
|
|
|
height: var(--height-input);
|
2020-12-11 19:33:27 +01:00
|
|
|
padding-left: var(--spacing-s);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
|
|
|
> .icon {
|
|
|
|
top: 0;
|
2022-04-14 23:27:16 +02:00
|
|
|
left: var(--spacing-s);
|
2018-12-19 06:44:53 +01:00
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
2020-02-04 15:52:56 +01:00
|
|
|
stroke: var(--color-input-placeholder);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
2020-12-11 19:33:27 +01:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2022-04-14 23:27:16 +02:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
> .icon {
|
|
|
|
left: 22px;
|
|
|
|
}
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-10-03 23:20:55 +02:00
|
|
|
.wunderbar--inline {
|
2019-09-16 07:32:02 +02:00
|
|
|
@extend .wunderbar;
|
|
|
|
flex: 0;
|
|
|
|
margin-right: 0;
|
2019-09-16 07:48:44 +02:00
|
|
|
|
|
|
|
fieldset-section {
|
|
|
|
width: 15rem;
|
|
|
|
}
|
2019-12-18 06:27:08 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
2020-07-15 21:59:21 +02:00
|
|
|
margin: var(--spacing-xxs) 0;
|
2022-04-14 23:27:16 +02:00
|
|
|
padding-left: 0px;
|
|
|
|
.icon {
|
|
|
|
left: 11px;
|
|
|
|
}
|
2019-12-18 06:27:08 +01:00
|
|
|
}
|
2019-09-16 07:32:02 +02:00
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.wunderbar__input {
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
2019-06-17 22:32:38 +02:00
|
|
|
min-width: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2019-07-21 23:31:22 +02:00
|
|
|
text-overflow: ellipsis;
|
2019-11-22 22:13:00 +01:00
|
|
|
height: var(--height-input);
|
2022-04-14 23:27:16 +02:00
|
|
|
border-radius: var(--border-radius);
|
2019-11-22 22:13:00 +01:00
|
|
|
background-color: var(--color-input-bg);
|
|
|
|
color: var(--color-input);
|
2020-06-01 19:03:19 +02:00
|
|
|
padding-right: var(--spacing-s);
|
2022-04-14 23:27:16 +02:00
|
|
|
padding-left: 2.2rem;
|
2020-05-18 08:23:55 +02:00
|
|
|
-webkit-app-region: no-drag;
|
2022-04-14 23:27:16 +02:00
|
|
|
border: 1px solid rgba(0, 0, 0, 0);
|
2019-06-11 20:10:58 +02:00
|
|
|
|
|
|
|
&:focus {
|
2022-04-14 23:27:16 +02:00
|
|
|
//border-radius: var(--border-radius);
|
|
|
|
outline: 2px solid var(--color-primary) !important;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-15 21:59:21 +02:00
|
|
|
.wunderbar__input--inline {
|
|
|
|
@extend .wunderbar__input;
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
}
|
2022-04-15 05:05:59 +02:00
|
|
|
border-radius: var(--border-radius);
|
2020-07-15 21:59:21 +02:00
|
|
|
}
|
|
|
|
|
2020-12-03 18:29:47 +01:00
|
|
|
.wunderbar__suggestions {
|
2022-04-14 23:27:16 +02:00
|
|
|
@extend .card;
|
|
|
|
|
2020-12-03 18:29:47 +01:00
|
|
|
z-index: 3;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2022-04-14 23:27:16 +02:00
|
|
|
top: calc(var(--header-height) - (var(--height-input)) + 22px);
|
2020-12-03 18:29:47 +01:00
|
|
|
border-top: none;
|
2020-12-16 17:00:02 +01:00
|
|
|
padding-top: var(--spacing-xs);
|
2022-04-14 23:27:16 +02:00
|
|
|
background-color: var(--color-background);
|
|
|
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
|
|
|
|
|
|
|
[data-highlighted] {
|
|
|
|
.button {
|
|
|
|
color: var(--color-primary-contrast) !important;
|
|
|
|
}
|
|
|
|
.wunderbar__suggestion-label {
|
|
|
|
.wunderbar__suggestion-title,
|
|
|
|
.wunderbar__suggestion-name {
|
|
|
|
color: var(--color-primary-contrast) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__more-results {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
.button--link {
|
|
|
|
color: var(--color-text-subtitle); // --color-odysee
|
|
|
|
color: var(--color-brand); // --color-odysee
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.button--link {
|
|
|
|
color: var(--color-brand-contrast) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-12-03 18:29:47 +01:00
|
|
|
}
|
|
|
|
|
2020-12-11 19:33:27 +01:00
|
|
|
.wunderbar__suggestions--mobile {
|
2022-04-14 23:27:16 +02:00
|
|
|
top: calc(var(--header-height-mobile) - var(--spacing-xs));
|
2020-12-11 19:33:27 +01:00
|
|
|
margin-top: var(--spacing-m);
|
2022-04-14 23:27:16 +02:00
|
|
|
padding: var(--spacing-m) !important;
|
2020-12-11 19:33:27 +01:00
|
|
|
overflow: visible;
|
2022-04-14 23:27:16 +02:00
|
|
|
|
|
|
|
.wunderbar__bottom-links {
|
|
|
|
.wunderbar__more-results {
|
|
|
|
margin-left: 0;
|
|
|
|
.button {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
.wunderbar__tag-search {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__label {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-left: 0;
|
|
|
|
.wunderbar__suggestion {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-12-11 19:33:27 +01:00
|
|
|
}
|
|
|
|
|
2020-12-03 18:29:47 +01:00
|
|
|
.wunderbar__top-claim {
|
|
|
|
margin-bottom: var(--spacing-m);
|
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__label {
|
|
|
|
margin-bottom: var(--spacing-xs);
|
2020-12-11 19:33:27 +01:00
|
|
|
margin-left: var(--spacing-m);
|
2020-12-03 18:29:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__top-separator {
|
|
|
|
margin: var(--spacing-s) 0;
|
2020-12-11 19:33:27 +01:00
|
|
|
width: 100%;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__suggestion {
|
|
|
|
display: flex;
|
2020-12-03 18:29:47 +01:00
|
|
|
align-items: center;
|
2020-12-11 19:33:27 +01:00
|
|
|
padding: var(--spacing-s) 0;
|
|
|
|
margin-left: var(--spacing-m);
|
2020-12-03 18:29:47 +01:00
|
|
|
|
|
|
|
.media__thumb {
|
|
|
|
flex-shrink: 0;
|
2021-09-13 17:21:46 +02:00
|
|
|
overflow: hidden;
|
2020-12-11 19:33:27 +01:00
|
|
|
$width: 5rem;
|
2020-12-03 18:29:47 +01:00
|
|
|
@include handleClaimListGifThumbnail($width);
|
|
|
|
width: $width;
|
|
|
|
height: calc(#{$width} * (9 / 16));
|
|
|
|
margin-right: var(--spacing-s);
|
2020-12-11 19:33:27 +01:00
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2020-12-11 19:33:27 +01:00
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-left: var(--spacing-s);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
2020-12-03 18:29:47 +01:00
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2020-12-03 18:29:47 +01:00
|
|
|
.wunderbar__suggestion--channel {
|
|
|
|
.channel-thumbnail {
|
|
|
|
@include handleChannelGif(calc(5rem * 9 / 16));
|
|
|
|
margin-right: var(--spacing-xs);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
@include handleChannelGif(calc(5rem * 9 / 16));
|
|
|
|
margin-right: var(--spacing-s);
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__suggestion-label {
|
2020-12-03 18:29:47 +01:00
|
|
|
font-size: var(--font-small);
|
|
|
|
min-width: 0;
|
|
|
|
white-space: nowrap;
|
2021-02-16 22:09:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__suggestion-title {
|
2018-12-19 06:44:53 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2020-12-03 18:29:47 +01:00
|
|
|
.wunderbar__suggestion-name {
|
|
|
|
@extend .help;
|
|
|
|
margin-top: 0;
|
2022-04-14 23:27:16 +02:00
|
|
|
color: var(--color-text);
|
2020-12-03 18:29:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__more-results {
|
2020-12-30 23:16:06 +01:00
|
|
|
margin-left: var(--spacing-s);
|
2020-12-11 19:33:27 +01:00
|
|
|
|
2020-12-16 17:00:02 +01:00
|
|
|
.button {
|
|
|
|
padding: var(--spacing-s);
|
|
|
|
}
|
|
|
|
|
2022-04-14 23:27:16 +02:00
|
|
|
&:hover {
|
|
|
|
.button {
|
|
|
|
color: var(--color-primary-contrast);
|
|
|
|
}
|
2020-12-11 19:33:27 +01:00
|
|
|
}
|
2020-12-03 18:29:47 +01:00
|
|
|
}
|
|
|
|
|
2020-12-03 21:42:41 +01:00
|
|
|
.wunderbar__placeholder-suggestion {
|
2020-12-11 19:33:27 +01:00
|
|
|
margin-bottom: var(--spacing-s);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
2020-12-11 19:42:54 +01:00
|
|
|
padding-left: 0;
|
2020-12-11 19:33:27 +01:00
|
|
|
}
|
2020-12-03 21:42:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__placeholder-label {
|
|
|
|
width: 30%;
|
|
|
|
height: 1rem;
|
|
|
|
margin-top: var(--spacing-xs);
|
|
|
|
@include placeholder;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__placeholder-thumbnail {
|
|
|
|
width: 3rem;
|
|
|
|
height: 3rem;
|
|
|
|
|
|
|
|
@include placeholder;
|
|
|
|
}
|
|
|
|
.wunderbar__placeholder-info {
|
|
|
|
width: 50%;
|
|
|
|
height: 3rem;
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
@include placeholder;
|
|
|
|
}
|
|
|
|
|
2020-12-11 19:33:27 +01:00
|
|
|
.wunderbar__mobile-search {
|
|
|
|
@extend .button--alt;
|
2022-01-27 03:14:36 +01:00
|
|
|
@extend .header__navigationItem--icon;
|
2020-12-03 21:42:41 +01:00
|
|
|
padding: var(--spacing-xs);
|
2022-04-14 23:27:16 +02:00
|
|
|
margin-right: var(--spacing-s);
|
2020-12-11 19:33:27 +01:00
|
|
|
|
|
|
|
.button__label {
|
|
|
|
color: var(--color-input-placeholder);
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-13 06:30:39 +02:00
|
|
|
.wunderbar__tag-search {
|
|
|
|
.tag {
|
2022-04-14 23:27:16 +02:00
|
|
|
//display: flex;
|
|
|
|
//align-items: center;
|
2021-04-13 06:30:39 +02:00
|
|
|
height: 1.2rem;
|
|
|
|
margin-left: var(--spacing-xxs);
|
2022-04-14 23:27:16 +02:00
|
|
|
color: var(--color-brand-contrast);
|
|
|
|
background-color: var(--color-brand);
|
2021-04-13 06:30:39 +02:00
|
|
|
|
2022-04-14 23:27:16 +02:00
|
|
|
//padding-right:60px;
|
|
|
|
padding-top: 1px;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 11rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.tag {
|
|
|
|
background-color: var(--color-background);
|
|
|
|
color: var(--color-text);
|
2021-04-13 06:30:39 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar__bottom-links {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
:first-child {
|
|
|
|
flex: 1;
|
|
|
|
}
|
2021-09-14 08:47:39 +02:00
|
|
|
|
|
|
|
.wunderbar__more-results {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-left: var(--spacing-xxs);
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-04-14 23:27:16 +02:00
|
|
|
|
|
|
|
[data-reach-combobox-option]:last-of-type {
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
2021-04-13 06:30:39 +02:00
|
|
|
}
|
|
|
|
|
2020-12-11 19:33:27 +01:00
|
|
|
[data-reach-combobox-option] {
|
|
|
|
padding: 0;
|
2020-12-03 18:29:47 +01:00
|
|
|
border-radius: var(--border-radius);
|
|
|
|
|
|
|
|
&:hover {
|
2022-04-14 23:27:16 +02:00
|
|
|
color: var(--color-odysee-contrast);
|
|
|
|
background-color: var(--color-brand);
|
|
|
|
|
|
|
|
.wunderbar__suggestion-name {
|
|
|
|
color: var(--color-brand-contrast);
|
|
|
|
}
|
2020-12-03 18:29:47 +01:00
|
|
|
}
|
2020-12-16 17:00:02 +01:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-left: var(--spacing-xs);
|
|
|
|
margin-right: var(--spacing-xs);
|
|
|
|
}
|
2020-12-03 18:29:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
[data-reach-combobox-option][data-highlighted] {
|
2022-04-14 23:27:16 +02:00
|
|
|
background-color: var(--color-brand);
|
2020-12-03 18:29:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
[data-reach-combobox-option][aria-selected='true'] {
|
|
|
|
&:hover {
|
2022-04-14 23:27:16 +02:00
|
|
|
background-color: var(--color-brand);
|
2020-12-03 18:29:47 +01:00
|
|
|
}
|
|
|
|
}
|
2022-04-14 23:27:16 +02:00
|
|
|
|
|
|
|
[data-reach-combobox-option]:last-of-type {
|
|
|
|
margin-bottom: var(--spacing-xs);
|
|
|
|
}
|