gecko/browser/themes/windows/searchbar.css

81 lines
1.7 KiB
CSS

/* 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-dropmarker-image {
--searchbar-dropmarker-url: url("chrome://browser/skin/searchbar-dropdown-arrow.png");
}
.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://global/skin/icons/folder-item.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
-moz-margin-start: 2px;
}
.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: var(--searchbar-dropmarker-url);
-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://global/skin/icons/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;
}