browser/themes/osx/searchbar.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/themes/osx/searchbar.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,68 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +.searchbar-textbox {
     1.9 +  border-radius: 10000px;
    1.10 +}
    1.11 +
    1.12 +.searchbar-engine-button {
    1.13 +  -moz-padding-start: 6px;
    1.14 +  -moz-padding-end: 2px;
    1.15 +  margin: 0;
    1.16 +  -moz-margin-end: 2px;
    1.17 +  -moz-appearance: none;
    1.18 +  min-width: 0;
    1.19 +}
    1.20 +
    1.21 +.searchbar-popup {
    1.22 +  margin-top: 4px;
    1.23 +  -moz-margin-start: 3px;
    1.24 +}
    1.25 +
    1.26 +.searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box {
    1.27 +  margin: 0;
    1.28 +  padding: 3px 0 2px;
    1.29 +  height: 20px;
    1.30 +}
    1.31 +
    1.32 +.searchbar-engine-image {
    1.33 +  width: 16px;
    1.34 +  height: 16px;
    1.35 +  list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
    1.36 +}
    1.37 +
    1.38 +.searchbar-dropmarker-image {
    1.39 +  list-style-image: url("chrome://browser/skin/searchbar-dropmarker.png");
    1.40 +  -moz-margin-start: 2px;
    1.41 +}
    1.42 +
    1.43 +.search-go-container {
    1.44 +  -moz-box-align: center;
    1.45 +  -moz-padding-end: 6px;
    1.46 +}
    1.47 +
    1.48 +.search-go-button {
    1.49 +  list-style-image: url("chrome://browser/skin/Search.png");
    1.50 +}
    1.51 +
    1.52 +@media (min-resolution: 2dppx) {
    1.53 +  .searchbar-engine-image,
    1.54 +  .searchbar-engine-menuitem > .menu-iconic-left > .menu-iconic-icon {
    1.55 +    image-rendering: -moz-crisp-edges;
    1.56 +  }
    1.57 +
    1.58 +  .searchbar-engine-image {
    1.59 +    list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
    1.60 +  }
    1.61 +
    1.62 +  .searchbar-dropmarker-image {
    1.63 +    list-style-image: url("chrome://browser/skin/searchbar-dropmarker@2x.png");
    1.64 +    width: 7px;
    1.65 +  }
    1.66 +
    1.67 +  .search-go-button {
    1.68 +    list-style-image: url("chrome://browser/skin/Search@2x.png");
    1.69 +    width: 14px;
    1.70 +  }
    1.71 +}

mercurial