| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| |
| .searchContainer { |
| width: 100%; |
| max-width: 600px; |
| margin: 1.5rem auto; |
| padding: 0 1rem; |
| } |
| |
| .searchForm { |
| display: flex; |
| position: relative; |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
| border-radius: 8px; |
| overflow: hidden; |
| transition: box-shadow 0.3s ease; |
| } |
| |
| .searchForm:focus-within { |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| } |
| |
| .searchInput { |
| flex: 1; |
| padding: 0.75rem 1rem; |
| font-size: 1rem; |
| border: 2px solid var(--ifm-color-emphasis-200); |
| border-right: none; |
| border-radius: 8px 0 0 8px; |
| background-color: var(--ifm-background-color); |
| color: var(--ifm-font-color-base); |
| outline: none; |
| transition: border-color 0.3s ease; |
| } |
| |
| .searchInput:focus { |
| border-color: var(--ifm-color-primary); |
| } |
| |
| .searchButton { |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| width: 3.5rem; |
| background-color: var(--ifm-color-primary); |
| color: white; |
| border: none; |
| border-radius: 0 8px 8px 0; |
| cursor: pointer; |
| transition: background-color 0.3s ease; |
| } |
| |
| .searchButton:hover { |
| background-color: var(--ifm-color-primary-darker); |
| } |
| |
| .searchHint { |
| margin-top: 0.5rem; |
| font-size: 0.8rem; |
| color: var(--ifm-color-emphasis-600); |
| text-align: center; |
| } |
| |
| @media (max-width: 768px) { |
| .searchContainer { |
| margin: 1rem auto; |
| } |
| |
| .searchInput { |
| padding: 0.6rem 0.8rem; |
| font-size: 0.9rem; |
| } |
| |
| .searchButton { |
| width: 3rem; |
| } |
| } |