searchbar.css (1574B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 .searchbar-textbox { 6 width: 6em; 7 min-width: 6em; 8 } 9 10 .autocomplete-textbox-container { 11 -moz-box-align: stretch; 12 } 13 14 .textbox-input-box { 15 margin: 0; 16 } 17 18 /* ::::: searchbar-engine-button ::::: */ 19 20 .searchbar-engine-image { 21 height: 16px; 22 width: 16px; 23 list-style-image: url(chrome://browser/skin/places/places.svg); 24 -moz-image-region: rect(2px, 396px, 18px, 380px); 25 margin-inline-start: 2px; 26 } 27 28 .searchbar-engine-button { 29 -moz-appearance: none; 30 min-width: 0; 31 margin: 0; 32 padding: 0; 33 padding-inline-end: 2px; 34 -moz-box-align: center; 35 background: none; 36 border: none; 37 } 38 39 .searchbar-engine-button > .button-box { 40 -moz-appearance: none; 41 padding: 0; 42 border: 0; 43 } 44 45 .searchbar-dropmarker-image { 46 list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow.svg"); 47 opacity: 0.25; 48 } 49 50 .searchbar-engine-button[open="true"] > .searchbar-dropmarker-image { 51 opacity: 1; 52 } 53 54 55 /* ::::: search-go-button ::::: */ 56 57 .search-go-container { 58 -moz-box-align: center; 59 } 60 61 .search-go-button { 62 padding: 1px; 63 list-style-image: url("chrome://global/skin/icons/Search-glass.svg"); 64 } 65 66 .search-go-button:-moz-locale-dir(rtl) { 67 transform: scaleX(-1); 68 } 69 70 .search-go-button:not(:hover) { 71 opacity: .7; 72 } 73 74 .search-go-button:hover:active { 75 opacity: .8; 76 } 77 78 .searchbar-engine-menuitem[selected="true"] > .menu-iconic-text { 79 font-weight: bold; 80 }