gecko/mobile/themes/wince/browser-low.css

402 lines
11 KiB
CSS

/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Mobile Browser.
*
* The Initial Developer of the Original Code is
* Mozilla Corporation.
* Portions created by the Initial Developer are Copyright (C) 2008
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Mark Finkle <mfinkle@mozilla.com>
* Kantha Kanchiraju <kkanchir@sta.samsung.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
@media all and (max-device-width: 400px) {
/* main toolbar (URL bar) -------------------------------------------------- */
#tool-app-close {
visibility: hidden;
min-height: 0 !important;
min-width: 0 !important;
margin-top: -18px; /* keep pixels */
list-style-image: url(images/fullscreen-close-24.png);
}
#toolbar-main[fullscreen="true"] #tool-app-close {
visibility: visible;
}
#toolbar-main[dialog="true"] #tool-app-close {
visibility: visible;
list-style-image: url("chrome://browser/skin/images/fullscreen-up-24.png");
}
/* URL bar cap buttons */
#tool-go {
list-style-image: url("chrome://browser/skin/images/go-16.png");
}
#tool-reload {
list-style-image: url("chrome://browser/skin/images/reload-16.png");
}
#tool-stop {
list-style-image: url("chrome://browser/skin/images/stop-16.png");
}
/* URL bar ----------------------------------------------------------------- */
/* creates the left endcap */
#identity-box {
min-height: 36px;
min-width: 36px;
background: url("images/leftcap-default-36.png") top left no-repeat;
-moz-box-align: center;
-moz-box-pack: center;
}
#identity-box:hover:active,
#identity-box[open] {
background: url("images/leftcap-active-36.png");
}
/* add special color */
#identity-box[mode="verifiedIdentity"] {
background: url("images/leftcapEV-default-36.png");
}
#identity-box[mode="verifiedIdentity"]:hover:active,
#identity-box[mode="verifiedIdentity"][open] {
background: url("images/leftcapEV-active-36.png");
}
/* add special color */
#identity-box[mode="verifiedDomain"] {
background: url("images/leftcapSSL-default-36.png");
}
#identity-box[mode="verifiedDomain"]:hover:active,
#identity-box[mode="verifiedDomain"][open] {
background: url("images/leftcapSSL-active-36.png");
}
.search-engine-button .button-icon {
width: 16px;
height: 16px;
}
#urlbar-throbber[loading] {
list-style-image: url("chrome://browser/skin/images/throbber.png");
}
#urlbar-favicon {
width: 24px;
height: 24px;
}
#urlbar-favicon[src=""] {
list-style-image: url("chrome://browser/skin/images/favicon-default-24.png");
}
#urlbar-editarea {
min-height: 36px;
-moz-box-align: center;
padding: 0;
border-top: 1px solid #262629; /* keep pixels */
border-bottom: 3px solid #262629; /* keep pixels */
background: #fff;
}
/* make sure this endcap matches the other endcap */
#urlbar-icons {
min-height: 36px;
min-width: 36px;
background: url("images/rightcap-default-36.png") top right no-repeat;
-moz-box-pack: center;
}
#urlbar-icons:hover:active {
background: url("images/rightcap-active-36.png");
}
/* right toolbar (browser controls) ---------------------------------------- */
#tool-star {
list-style-image: url("chrome://browser/skin/images/bookmark-default-36.png");
}
#tool-star:hover:active {
list-style-image: url("chrome://browser/skin/images/bookmark-active-36.png");
}
#tool-star[starred="true"] {
list-style-image: url("chrome://browser/skin/images/bookmarked-default-36.png");
}
#tool-star[starred="true"]:hover:active {
list-style-image: url("chrome://browser/skin/images/bookmarked-active-36.png");
}
#tool-back {
list-style-image: url("chrome://browser/skin/images/back-default-36.png");
}
#tool-back:hover:active {
list-style-image: url("chrome://browser/skin/images/back-active-36.png");
}
#tool-back[disabled="true"],
#tool-back[disabled="true"]:hover:active {
list-style-image: url("chrome://browser/skin/images/back-disabled-36.png");
}
#tool-forward {
list-style-image: url("chrome://browser/skin/images/forward-default-36.png");
}
#tool-forward:hover:active {
list-style-image: url("chrome://browser/skin/images/forward-active-36.png");
}
#tool-forward[disabled="true"],
#tool-forward[disabled="true"]:hover:active {
list-style-image: url("chrome://browser/skin/images/forward-disabled-36.png");
}
/* button overflows off the right edge */
#tool-panel-open {
list-style-image: url("chrome://browser/skin/images/settings-default-36.png");
margin-right: -17px; /* big number just to make sure the image overflows the edge */
}
#tool-panel-open:not([disabled="true"]):active:hover {
list-style-image: url("chrome://browser/skin/images/settings-active-36.png");
}
/* button overflows off the left edge */
#tool-panel-close {
list-style-image: url("chrome://browser/skin/images/settings-open-36.png");
margin-left: -17px; /* big number just to make sure the image overflows the edge */
}
/* "extras" panel UI ----------------------------------------------------- */
#tool-addons {
list-style-image: url("chrome://browser/skin/images/addons-default-36.png");
}
#tool-addons:hover:active,
#tool-addons[checked="true"] {
list-style-image: url("chrome://browser/skin/images/addons-active-36.png");
}
#tool-downloads {
list-style-image: url("chrome://browser/skin/images/downloads-default-36.png");
}
#tool-downloads:hover:active,
#tool-downloads[checked="true"] {
list-style-image: url("chrome://browser/skin/images/downloads-active-36.png");
}
#tool-preferences {
list-style-image: url("chrome://browser/skin/images/preferences-default-36.png");
}
#tool-preferences:hover:active,
#tool-preferences[checked="true"] {
list-style-image: url("chrome://browser/skin/images/preferences-active-36.png");
}
#tool-console {
list-style-image: url("chrome://browser/skin/images/console-default-36.png");
}
#tool-console:hover:active,
#tool-console[checked="true"] {
list-style-image: url("chrome://browser/skin/images/console-active-36.png");
}
/* URL List and autocomplete navigation popup ------------------------------ */
#tool-bookmarks-close {
min-height: 0 !important;
min-width: 0 !important;
margin-top: -18px; /* keep pixels */
list-style-image: url(images/fullscreen-up-24.png);
}
/* folders have a fixed image */
placeitem[type="folder"] .bookmark-item-label > image,
placeitem[type="folder"] > .bookmark-manage > image {
list-style-image: url(images/folder-24.png);
}
.close-button {
-moz-appearance: none;
border: none;
margin: 0;
padding: 0;
list-style-image: url("chrome://browser/skin/images/close-16.png");
}
.tool-search {
list-style-image: url("chrome://browser/skin/images/navigation-magnifier-16.png");
}
.autocomplete-item-label > image,
.bookmark-item-label > image,
placeitem > .bookmark-manage > image {
width: 24px;
height: 24px;
max-height: 24px;
}
placeitem[src=""] .bookmark-item-label > image {
list-style-image: url(chrome://mozapps/skin/places/defaultFavicon.png);
}
.autocomplete-item-url,
.bookmark-item-url {
margin-left: 26px;
}
autocompleteresult.allbookmarks > .autocomplete-item-label > image {
width: 35px;
height: 24px;
list-style-image: url(images/bookmarks-24.png);
}
/* Left sidebar (tabs) ---------------------------------------------------- */
box[type="documenttab"] .documenttab-canvas {
/* keep the unselected thumbnails aligned with the selected one */
border: 4px solid #36373b;
}
box[type="documenttab"][selected="true"] .documenttab-canvas {
border: 4px solid;
-moz-border-radius: 3px;
-moz-border-top-colors: #8db8d8 #8db8d8 #36373b;
-moz-border-right-colors: #8db8d8 #8db8d8 #36373b;
-moz-border-bottom-colors: #8db8d8 #8db8d8 #36373b;
-moz-border-left-colors: #8db8d8 #8db8d8 #36373b;
}
box[type="documenttab"] .documenttab-close {
width: 16px;
height: 17px;
list-style-image: url("chrome://browser/skin/images/close-16.png");
}
#newtab-button {
list-style-image: url("images/newtab-default-36.png");
}
#newtab-button:hover:active {
list-style-image: url("images/newtab-active-36.png");
}
/* bookmark editor ------------------------------------------------------- */
#bookmark-image {
list-style-image: url("images/star-24.png");
}
/* Popup Icons */
#identity-popup-icon {
padding: 0;
list-style-image: url("chrome://browser/skin/images/identity-36.png");
}
#identity-container[mode="verifiedDomain"] > hbox > #identity-popup-icon {
list-style-image: url("chrome://browser/skin/images/identitySSL-36.png");
}
#identity-container[mode="verifiedIdentity"] > hbox > #identity-popup-icon {
list-style-image: url("chrome://browser/skin/images/identityEV-36.png");
}
#identity-popup-encryption-icon {
list-style-image: url("chrome://browser/skin/images/unlock-24.png");
}
#identity-container[mode="verifiedIdentity"] > hbox > vbox > #identity-popup-encryption-icon ,
#identity-container[mode="verifiedDomain"] > hbox > vbox > #identity-popup-encryption-icon {
list-style-image: url("chrome://browser/skin/images/lock-24.png");
}
/* Preferences window ---------------------------------------------------- */
.prefbox {
-moz-box-align: start;
-moz-box-orient: vertical;
}
/* Add-ons panel --------------------------------------------------------- */
.addon-rating[rating] {
width: 78px;
height: 18px;
list-style-image: url("chrome://browser/skin/images/ratings-18.png");
}
.addon-rating[rating="0"] {
-moz-image-region: rect(0px 78px 18px 0px);
}
.addon-rating[rating="1"] {
-moz-image-region: rect(18px 78px 36px 0px);
}
.addon-rating[rating="2"] {
-moz-image-region: rect(36px 78px 54px 0px);
}
.addon-rating[rating="3"] {
-moz-image-region: rect(54px 78px 72px 0px);
}
.addon-rating[rating="4"] {
-moz-image-region: rect(72px 78px 90px 0px);
}
.addon-rating[rating="5"] {
-moz-image-region: rect(90px 78px 108px 0px);
}
.options-box {
margin-left: 28px; /* sized based on the 32px addon image */
}
/* alerts popup ----------------------------------------------------------- */
/* XXX: hack to get the 30px images to a low res size */
#alerts-image {
width: 16px;
height: 16px;
}
/* select popup ------------------------------------------------------------ */
#select-list > option[selected="true"] > image {
list-style-image: url("chrome://browser/skin/images/check-24.png");
}
}