From f9cab004186edb425a9b88ad649726605080a17c Mon Sep 17 00:00:00 2001 From: Thomas Groman Date: Mon, 20 Apr 2020 20:49:37 -0700 Subject: move browser to webbrowser/ --- webbrowser/themes/osx/searchbar.css | 79 +++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 webbrowser/themes/osx/searchbar.css (limited to 'webbrowser/themes/osx/searchbar.css') diff --git a/webbrowser/themes/osx/searchbar.css b/webbrowser/themes/osx/searchbar.css new file mode 100644 index 0000000..55fdfc4 --- /dev/null +++ b/webbrowser/themes/osx/searchbar.css @@ -0,0 +1,79 @@ +/* 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 http://mozilla.org/MPL/2.0/. */ + +.searchbar-textbox { + width: 6em; + min-width: 6em; +} + +.autocomplete-textbox-container { + -moz-box-align: stretch; +} + +.textbox-input-box { + margin: 0; +} + +/* ::::: searchbar-engine-button ::::: */ + +.searchbar-engine-image { + height: 16px; + width: 16px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +.searchbar-engine-button { + -moz-appearance: none; + min-width: 0; + margin: 0; + padding: 0; + -moz-padding-end: 2px; + -moz-box-align: center; + background: none; + border: none; +} + +.searchbar-engine-button > .button-box { + -moz-appearance: none; + padding: 0; + border: 0; +} + +.searchbar-dropmarker-image { + list-style-image: url("chrome://browser/skin/searchbar-dropdown-arrow.png"); + -moz-image-region: rect(0, 13px, 11px, 0); +} + +.searchbar-engine-button[open="true"] > .searchbar-dropmarker-image { + -moz-image-region: rect(0, 26px, 11px, 13px); +} + + +/* ::::: search-go-button ::::: */ + +.search-go-container { + -moz-box-align: center; +} + +.search-go-button { + padding: 1px; + list-style-image: url("chrome://browser/skin/Search-glass.png"); + -moz-image-region: rect(0px 16px 16px 0px); +} + +.search-go-button:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +.search-go-button:hover { + -moz-image-region: rect(0px 32px 16px 16px); +} + +.search-go-button:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +.searchbar-engine-menuitem[selected="true"] > .menu-iconic-text { + font-weight: bold; +} -- cgit v1.2.3