/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at . */ .search-shadow { margin: 1px; } .search-shadow.focused { box-shadow: var(--theme-focus-box-shadow-textbox); } .search-field { position: relative; width: calc(100% - 1px); background-color: var(--theme-toolbar-background); border-bottom: 1px solid var(--theme-splitter-color); padding: 5px 10px; display: flex; flex-shrink: 0; } .search-field.big { height: 40px; } .search-field i { display: block; padding: 0; width: 16px; } .search-field i svg { width: 22px; } .search-field.big input { line-height: 40px; } .search-field input { position: relative; margin-left: 30px; border: none; line-height: 30px; background-color: var(--theme-toolbar-background); color: var(--theme-body-color-active); width: calc(100% - 38px); flex: 1; font-size: 14px; } .search-field input:focus { outline: none; } .theme-dark .search-field input { color: var(--theme-body-color-inactive); } .search-field i.magnifying-glass, .search-field i.sad-face { position: absolute; top: 50%; padding: 2px 0; width: 24px; margin-top: -12px; } .search-field i.sad-face { padding-top: 1px; } .search-field.big i.magnifying-glass, .search-field.big i.sad-face { padding: 14px; width: 40px; margin-top: -20px; } .search-field .magnifying-glass path, .search-field .magnifying-glass ellipse { stroke: var(--theme-comment); } .search-field input::placeholder { color: var(--theme-toolbar-color); } .search-field input.empty { color: var(--theme-highlight-orange); } .search-field.big .summary { line-height: 40px; } .search-field .summary { line-height: 27px; padding-right: 10px; color: var(--theme-body-color-inactive); } .search-field .search-nav-buttons { display: flex; user-select: none; } .search-field .search-nav-buttons .nav-btn { display: flex; height: 100%; background: transparent; transition: all 0.25s ease-in-out; border: 1px solid transparent; justify-content: center; padding-top: 4px; } .search-field .search-nav-buttons .nav-btn:hover { background: var(--theme-toolbar-background-hover); } .search-field .search-nav-buttons .nav-btn:active path { fill: var(--theme-comment-alt); } .search-field .search-nav-buttons .nav-btn path { fill: var(--theme-comment); }