| 
4 | 4 |     -webkit-appearance: none;  | 
5 | 5 |     -moz-appearance: none;  | 
6 | 6 |     appearance: none;  | 
7 |  | -    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/></svg>');  | 
 | 7 | +    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="white"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/></svg>');  | 
8 | 8 |     background-repeat: no-repeat;  | 
9 | 9 |     background-position: right 1rem center;  | 
10 | 10 |     background-size: 1rem;  | 
11 | 11 |   }  | 
 | 12 | + | 
 | 13 | +  .search-magnifier-label svg {  | 
 | 14 | +    color: #9ca3af;  | 
 | 15 | +  }  | 
 | 16 | + | 
 | 17 | +  .search-item a {  | 
 | 18 | +    color: #d1d5db;  | 
 | 19 | +    padding: 0.75rem;  | 
 | 20 | +    display: block;  | 
 | 21 | +    border-radius: 0.375rem;  | 
 | 22 | +    transition: background-color 0.2s;  | 
 | 23 | +  }  | 
 | 24 | + | 
 | 25 | +  .search-item a:hover,  | 
 | 26 | +  .search-item[aria-selected] a {  | 
 | 27 | +    background-color: #374151;  | 
 | 28 | +    color: white;  | 
 | 29 | +  }  | 
 | 30 | + | 
 | 31 | +  .search-item-title {  | 
 | 32 | +    font-weight: 500;  | 
 | 33 | +  }  | 
 | 34 | + | 
 | 35 | +  .search-item-path {  | 
 | 36 | +    font-size: 0.875rem;  | 
 | 37 | +    color: #9ca3af;  | 
 | 38 | +  }  | 
 | 39 | + | 
 | 40 | +  .search-term-match {  | 
 | 41 | +    background-color: #fbbf24;  | 
 | 42 | +    color: #1f2937;  | 
 | 43 | +    padding: 0.125rem 0.25rem;  | 
 | 44 | +    border-radius: 0.25rem;  | 
 | 45 | +  }  | 
12 | 46 | </style>  | 
13 | 47 | <div class="sr-only w-screen h-screen fixed z-[200] top-0 left-0 cursor-auto flex flex-col bg-redis-ink-900/75 p-4 sm:p-6 md:p-[10vh] lg:p-[12vh]" id="search-container" role="button" aria-expanded="true" aria-haspopup="listbox" aria-labelledby="search-label" tabindex="0">  | 
14 |  | -<div class="my-0 mx-auto w-full max-w-[47.375rem] flex flex-col min-h-0 rounded-lg shadow-lg bg-white p-6 gap-4">  | 
 | 48 | +<div class="my-0 mx-auto w-full max-w-[47.375rem] flex flex-col min-h-0 rounded-lg shadow-lg bg-redis-ink-900 border border-white border-opacity-30 p-6 gap-4">  | 
15 | 49 |   <header class="flex flex-row gap-4 p-2">  | 
16 | 50 |     <form id="search-form" class="grow flex flex-row gap-3 items-center" style="position: relative;">  | 
17 | 51 |       <label class="search-magnifier-label" for="search-input" id="search-label" style="position: absolute;  left:20px; pointer-events: none;">  | 
18 | 52 |         {{ partial "icons/search.html" }}  | 
19 | 53 |       </label>  | 
20 |  | -      <input id="search-input" style="height: calc(3rem - 2px);" class="w-full pl-12 border border-redis-pen-800 rounded-md search-input appearance-none focus:outline-none" aria-autocomplete="both" aria-labelledby="search-label" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search…" type="text" value="">  | 
 | 54 | +      <input id="search-input" style="height: calc(3rem - 2px);" class="w-full pl-12 border border-white border-opacity-30 rounded-md search-input appearance-none focus:outline-none bg-redis-pen-800 text-white placeholder-gray-300" aria-autocomplete="both" aria-labelledby="search-label" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search…" type="text" value="">  | 
21 | 55 |       <button type="reset" title="Clear the query" class="search-reset" aria-label="Clear the query" hidden="">  | 
22 | 56 |         <svg width="20" height="20" viewBox="0 0 20 20">  | 
23 | 57 |           <path d="M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" />  | 
24 | 58 |         </svg>  | 
25 | 59 |       </button>  | 
26 |  | -      <select id="search-select" style="height: calc(3rem - 2px);" class="w-2/5 pl-3 grow-0 border border-redis-pen-800 rounded-md search-filter bg-white text-left pr-8 appearance-none hidden md:block" autocomplete="off">  | 
 | 60 | +      <select id="search-select" style="height: calc(3rem - 2px);" class="w-2/5 pl-3 grow-0 border border-white border-opacity-30 rounded-md search-filter bg-redis-pen-800 text-white text-left pr-8 appearance-none hidden md:block" autocomplete="off">  | 
27 | 61 |         <option value="all" selected>All products</option>  | 
28 | 62 |         <option value="rs">Redis Enterprise</option>  | 
29 | 63 |         <option value="rc">Redis Cloud</option>  | 
 | 
34 | 68 |         <option value="clients">Client Libraries</option>  | 
35 | 69 |       </select>  | 
36 | 70 |     </form>  | 
37 |  | -    <button id="search-cancel" type="reset" aria-label="Cancel" class="px-3 border border-redis-pen-800 rounded-md text-center bg-redis-yellow-500 hover:bg-redis-yellow-300">  | 
 | 71 | +    <button id="search-cancel" type="reset" aria-label="Cancel" class="px-3 border border-white border-opacity-30 rounded-md text-center bg-[#163341] text-white hover:bg-[#1a3a4a]">  | 
38 | 72 |       ESC  | 
39 | 73 |     </button>  | 
40 | 74 |   </header>  | 
41 |  | -  <dl id="search-results" class="min-h-48 overflow-auto px-2" role="listbox"></dl>  | 
 | 75 | +  <dl id="search-results" class="min-h-48 overflow-auto px-2 text-white" role="listbox"></dl>  | 
42 | 76 | </div>  | 
43 | 77 | </div>  | 
44 | 78 | 
 
  | 
 | 
0 commit comments