X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fheader%2Fsearch-typeahead.component.scss;h=0a30ebd552311561d18f38901615e46ba733e625;hb=e66883b37ae0796256b3aba550670a2d76cfc98a;hp=a55e78326694e666ced390d422bb04ac2a0e5101;hpb=2ad9dcda240ee843c5e4a5b98cc94f7b2aab2c89;p=oweals%2Fpeertube.git diff --git a/client/src/app/header/search-typeahead.component.scss b/client/src/app/header/search-typeahead.component.scss index a55e78326..0a30ebd55 100644 --- a/client/src/app/header/search-typeahead.component.scss +++ b/client/src/app/header/search-typeahead.component.scss @@ -10,7 +10,7 @@ font-size: 14px; &::placeholder { - color: var(--inputPlaceholderColor); + color: pvar(--inputPlaceholderColor); } } @@ -18,7 +18,7 @@ @include icon(25px); height: 21px; - background-color: var(--mainForegroundColor); + background-color: pvar(--mainForegroundColor); mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%; // yolo @@ -30,17 +30,17 @@ .jump-to-suggestions { top: 100%; left: 0; - z-index: 35; + z-index: z(typeahead); width: 100%; } #typeahead-help, #typeahead-instructions, my-suggestions ::ng-deep ul { - border: 1px solid var(--mainBackgroundColor); + border: 1px solid pvar(--mainBackgroundColor); border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; - background: var(--mainBackgroundColor); + background: pvar(--mainBackgroundColor); transition: .3s ease; transition-property: box-shadow; } @@ -67,7 +67,7 @@ my-suggestions ::ng-deep ul { #typeahead-container { input { - border: 1px solid var(--mainBackgroundColor) !important; + border: 1px solid pvar(--mainBackgroundColor) !important; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 20px 0px; flex-grow: 1; transition: box-shadow .3s ease, width .2s ease;