gecko/mobile/themes/core/browser.css

1695 lines
43 KiB
CSS
Raw Normal View History

/* ***** 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>
*
* 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 ***** */
Bug 473992: Create separate theme folders for hildon and wince, r=gavin --HG-- rename : mobile/chrome/skin/browser.css => mobile/themes/wince/browser.css rename : mobile/chrome/skin/extensions.css => mobile/themes/wince/extensions.css rename : mobile/chrome/skin/firstrun/firstrun.css => mobile/themes/wince/firstrun/firstrun.css rename : mobile/chrome/content/firstrun/firstrun.xhtml => mobile/themes/wince/firstrun/firstrun.xhtml rename : mobile/chrome/skin/firstrun/firstrun_arrow_l.png => mobile/themes/wince/firstrun/firstrun_arrow_l.png rename : mobile/chrome/skin/firstrun/firstrun_arrow_r.png => mobile/themes/wince/firstrun/firstrun_arrow_r.png rename : mobile/chrome/skin/firstrun/firstrun_background.jpg => mobile/themes/wince/firstrun/firstrun_background.jpg rename : mobile/chrome/skin/firstrun/firstrun_splash.png => mobile/themes/wince/firstrun/firstrun_splash.png rename : mobile/chrome/skin/images/addressbar_endcap_l_off.png => mobile/themes/wince/images/addressbar_endcap_l_off.png rename : mobile/chrome/skin/images/addressbar_endcap_l_on.png => mobile/themes/wince/images/addressbar_endcap_l_on.png rename : mobile/chrome/skin/images/addressbar_endcap_r_off.png => mobile/themes/wince/images/addressbar_endcap_r_off.png rename : mobile/chrome/skin/images/addressbar_endcap_r_on.png => mobile/themes/wince/images/addressbar_endcap_r_on.png rename : mobile/chrome/skin/images/addressbar_middle.png => mobile/themes/wince/images/addressbar_middle.png rename : mobile/chrome/skin/images/close-small.png => mobile/themes/wince/images/close-small.png rename : mobile/chrome/skin/images/default-favicon.png => mobile/themes/wince/images/default-favicon.png rename : mobile/chrome/skin/images/identity.png => mobile/themes/wince/images/identity.png rename : mobile/chrome/skin/images/left_buttons.png => mobile/themes/wince/images/left_buttons.png rename : mobile/chrome/skin/images/left_sidebar_middle.png => mobile/themes/wince/images/left_sidebar_middle.png rename : mobile/chrome/skin/images/navigation_background.png => mobile/themes/wince/images/navigation_background.png rename : mobile/chrome/skin/images/navigation_magnifier.gif => mobile/themes/wince/images/navigation_magnifier.gif rename : mobile/chrome/skin/images/navigation_search_caps.png => mobile/themes/wince/images/navigation_search_caps.png rename : mobile/chrome/skin/images/navigation_url_caps.png => mobile/themes/wince/images/navigation_url_caps.png rename : mobile/chrome/skin/images/page-starred.png => mobile/themes/wince/images/page-starred.png rename : mobile/chrome/skin/images/page_buttons.png => mobile/themes/wince/images/page_buttons.png rename : mobile/chrome/skin/images/panel_background.png => mobile/themes/wince/images/panel_background.png rename : mobile/chrome/skin/images/panel_buttons.png => mobile/themes/wince/images/panel_buttons.png rename : mobile/chrome/skin/images/right_buttons.png => mobile/themes/wince/images/right_buttons.png rename : mobile/chrome/skin/images/right_sidebar_middle.png => mobile/themes/wince/images/right_sidebar_middle.png rename : mobile/chrome/skin/images/starred48.png => mobile/themes/wince/images/starred48.png rename : mobile/chrome/skin/images/tab_close.png => mobile/themes/wince/images/tab_close.png rename : mobile/chrome/skin/images/tag.png => mobile/themes/wince/images/tag.png rename : mobile/chrome/skin/images/throbber.png => mobile/themes/wince/images/throbber.png rename : mobile/chrome/skin/images/toolbar.png => mobile/themes/wince/images/toolbar.png rename : mobile/chrome/skin/images/toolbar_background.png => mobile/themes/wince/images/toolbar_background.png rename : mobile/chrome/skin/notification.css => mobile/themes/wince/notification.css
2009-01-21 14:16:28 -08:00
/* browser area -------------------------------------------------- */
#tile-container {
Bug 473992: Create separate theme folders for hildon and wince, r=gavin --HG-- rename : mobile/chrome/skin/browser.css => mobile/themes/wince/browser.css rename : mobile/chrome/skin/extensions.css => mobile/themes/wince/extensions.css rename : mobile/chrome/skin/firstrun/firstrun.css => mobile/themes/wince/firstrun/firstrun.css rename : mobile/chrome/content/firstrun/firstrun.xhtml => mobile/themes/wince/firstrun/firstrun.xhtml rename : mobile/chrome/skin/firstrun/firstrun_arrow_l.png => mobile/themes/wince/firstrun/firstrun_arrow_l.png rename : mobile/chrome/skin/firstrun/firstrun_arrow_r.png => mobile/themes/wince/firstrun/firstrun_arrow_r.png rename : mobile/chrome/skin/firstrun/firstrun_background.jpg => mobile/themes/wince/firstrun/firstrun_background.jpg rename : mobile/chrome/skin/firstrun/firstrun_splash.png => mobile/themes/wince/firstrun/firstrun_splash.png rename : mobile/chrome/skin/images/addressbar_endcap_l_off.png => mobile/themes/wince/images/addressbar_endcap_l_off.png rename : mobile/chrome/skin/images/addressbar_endcap_l_on.png => mobile/themes/wince/images/addressbar_endcap_l_on.png rename : mobile/chrome/skin/images/addressbar_endcap_r_off.png => mobile/themes/wince/images/addressbar_endcap_r_off.png rename : mobile/chrome/skin/images/addressbar_endcap_r_on.png => mobile/themes/wince/images/addressbar_endcap_r_on.png rename : mobile/chrome/skin/images/addressbar_middle.png => mobile/themes/wince/images/addressbar_middle.png rename : mobile/chrome/skin/images/close-small.png => mobile/themes/wince/images/close-small.png rename : mobile/chrome/skin/images/default-favicon.png => mobile/themes/wince/images/default-favicon.png rename : mobile/chrome/skin/images/identity.png => mobile/themes/wince/images/identity.png rename : mobile/chrome/skin/images/left_buttons.png => mobile/themes/wince/images/left_buttons.png rename : mobile/chrome/skin/images/left_sidebar_middle.png => mobile/themes/wince/images/left_sidebar_middle.png rename : mobile/chrome/skin/images/navigation_background.png => mobile/themes/wince/images/navigation_background.png rename : mobile/chrome/skin/images/navigation_magnifier.gif => mobile/themes/wince/images/navigation_magnifier.gif rename : mobile/chrome/skin/images/navigation_search_caps.png => mobile/themes/wince/images/navigation_search_caps.png rename : mobile/chrome/skin/images/navigation_url_caps.png => mobile/themes/wince/images/navigation_url_caps.png rename : mobile/chrome/skin/images/page-starred.png => mobile/themes/wince/images/page-starred.png rename : mobile/chrome/skin/images/page_buttons.png => mobile/themes/wince/images/page_buttons.png rename : mobile/chrome/skin/images/panel_background.png => mobile/themes/wince/images/panel_background.png rename : mobile/chrome/skin/images/panel_buttons.png => mobile/themes/wince/images/panel_buttons.png rename : mobile/chrome/skin/images/right_buttons.png => mobile/themes/wince/images/right_buttons.png rename : mobile/chrome/skin/images/right_sidebar_middle.png => mobile/themes/wince/images/right_sidebar_middle.png rename : mobile/chrome/skin/images/starred48.png => mobile/themes/wince/images/starred48.png rename : mobile/chrome/skin/images/tab_close.png => mobile/themes/wince/images/tab_close.png rename : mobile/chrome/skin/images/tag.png => mobile/themes/wince/images/tag.png rename : mobile/chrome/skin/images/throbber.png => mobile/themes/wince/images/throbber.png rename : mobile/chrome/skin/images/toolbar.png => mobile/themes/wince/images/toolbar.png rename : mobile/chrome/skin/images/toolbar_background.png => mobile/themes/wince/images/toolbar_background.png rename : mobile/chrome/skin/notification.css => mobile/themes/wince/notification.css
2009-01-21 14:16:28 -08:00
background-image: url("chrome://browser/content/checkerboard.png");
}
/* main toolbar (URL bar) -------------------------------------------------- */
#toolbar-main {
-moz-appearance: none;
-moz-box-align: center;
padding: 4px 8px; /* half core spacing & core spacing */
border: none;
}
#toolbar-moveable-container[top="0"] {
position: fixed;
left: 0;
z-index: 1000;
}
/* main toolbar buttons */
toolbarbutton.urlbar-button {
/* space out the buttons a bit horizontally */
-moz-margin-start: 8px; /* core spacing */
}
%ifdef MOZ_PLATFORM_MAEMO
/* MAEMO only */
#tool-app-switch {
margin-top: -8px; /* force the button to go to the edge */
margin-bottom: -8px; /* force the button to go to the edge */
-moz-margin-start: -8px; /* force the button to go to the edge */
-moz-padding-start: 8px !important; /* re-center the image */
min-width: 72px !important; /* 72, not 64 to make up for the negative margin */
min-height: 72px !important; /* 72, not 64 to make up for the negative margin */
visibility: collapse;
-moz-margin-end: 8px; /* core spacing */
list-style-image: url("chrome://browser/skin/images/task-switch-40.png");
}
#tool-app-switch:hover:active {
background-color: #8db8d8 !important;
-moz-border-radius-bottomright: 6px;
}
#toolbar-main[fullscreen="true"] #tool-app-switch:not(:-moz-system-metric(maemo-classic)) {
visibility: visible;
}
/* MAEMO only */
#tool-app-close {
margin-top: -8px; /* force the button to go to the edge */
margin-bottom: -8px; /* force the button to go to the edge */
-moz-margin-end: -8px; /* force the button to go to the edge */
-moz-padding-end: 8px !important; /* re-center the image */
min-width: 72px !important; /* 72, not 64 to make up for the negative margin */
min-height: 72px !important; /* 72, not 64 to make up for the negative margin */
visibility: collapse;
list-style-image: url("chrome://browser/skin/images/task-close-40.png");
}
#tool-app-close:hover:active {
background-color: #8db8d8 !important;
}
#tool-app-close:hover:active:-moz-locale-dir(ltr) {
-moz-border-radius-bottomleft: 6px;
}
#tool-app-close:hover:active:-moz-locale-dir(rtl) {
-moz-border-radius-bottomright: 6px;
}
#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/task-back-40.png");
}
#toolbar-main[dialog="true"] #tool-app-close:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/images/task-back-rtl-40.png");
}
%endif
/* URL bar cap buttons */
toolbarbutton.urlbar-cap-button {
margin: 0;
padding: 0;
min-width: 0 !important;
min-height: 0 !important;
-moz-box-flex: 1;
}
#tool-reload {
500049: Refresh and cleanup images, r=stuart --HG-- rename : mobile/themes/hildon/images/check-default-30.png => mobile/themes/hildon/images/check-30.png rename : mobile/themes/hildon/images/tab-close.png => mobile/themes/hildon/images/close-30.png rename : mobile/themes/hildon/images/go-default-30.png => mobile/themes/hildon/images/go-30.png rename : mobile/themes/hildon/images/reload-default-30.png => mobile/themes/hildon/images/reload-30.png rename : mobile/themes/hildon/images/star-default-30.png => mobile/themes/hildon/images/star-30.png rename : mobile/themes/hildon/images/starred-default-64.png => mobile/themes/hildon/images/starred-64.png rename : mobile/themes/hildon/images/stop-default-30.png => mobile/themes/hildon/images/stop-30.png rename : mobile/themes/hildon/images/tag-default-30.png => mobile/themes/hildon/images/tag-30.png rename : mobile/themes/wince/images/check-default-30.png => mobile/themes/wince/images/check-30.png rename : mobile/themes/wince/images/tab-close.png => mobile/themes/wince/images/close-30.png rename : mobile/themes/wince/images/go-default-30.png => mobile/themes/wince/images/go-30.png rename : mobile/themes/wince/images/reload-default-30.png => mobile/themes/wince/images/reload-30.png rename : mobile/themes/wince/images/star-default-30.png => mobile/themes/wince/images/star-30.png rename : mobile/themes/wince/images/starred-default-64.png => mobile/themes/wince/images/starred-64.png rename : mobile/themes/wince/images/stop-default-30.png => mobile/themes/wince/images/stop-30.png rename : mobile/themes/wince/images/tag-default-30.png => mobile/themes/wince/images/tag-30.png
2009-07-01 12:16:52 -07:00
list-style-image: url("chrome://browser/skin/images/reload-30.png");
}
#tool-stop {
500049: Refresh and cleanup images, r=stuart --HG-- rename : mobile/themes/hildon/images/check-default-30.png => mobile/themes/hildon/images/check-30.png rename : mobile/themes/hildon/images/tab-close.png => mobile/themes/hildon/images/close-30.png rename : mobile/themes/hildon/images/go-default-30.png => mobile/themes/hildon/images/go-30.png rename : mobile/themes/hildon/images/reload-default-30.png => mobile/themes/hildon/images/reload-30.png rename : mobile/themes/hildon/images/star-default-30.png => mobile/themes/hildon/images/star-30.png rename : mobile/themes/hildon/images/starred-default-64.png => mobile/themes/hildon/images/starred-64.png rename : mobile/themes/hildon/images/stop-default-30.png => mobile/themes/hildon/images/stop-30.png rename : mobile/themes/hildon/images/tag-default-30.png => mobile/themes/hildon/images/tag-30.png rename : mobile/themes/wince/images/check-default-30.png => mobile/themes/wince/images/check-30.png rename : mobile/themes/wince/images/tab-close.png => mobile/themes/wince/images/close-30.png rename : mobile/themes/wince/images/go-default-30.png => mobile/themes/wince/images/go-30.png rename : mobile/themes/wince/images/reload-default-30.png => mobile/themes/wince/images/reload-30.png rename : mobile/themes/wince/images/star-default-30.png => mobile/themes/wince/images/star-30.png rename : mobile/themes/wince/images/starred-default-64.png => mobile/themes/wince/images/starred-64.png rename : mobile/themes/wince/images/stop-default-30.png => mobile/themes/wince/images/stop-30.png rename : mobile/themes/wince/images/tag-default-30.png => mobile/themes/wince/images/tag-30.png
2009-07-01 12:16:52 -07:00
list-style-image: url("chrome://browser/skin/images/stop-30.png");
}
#tool-search {
list-style-image: url("chrome://browser/skin/images/navigation-magnifier-30.png");
}
#urlbar-icons[mode="loading"] > #tool-search,
#urlbar-icons[mode="loading"] > #tool-reload {
visibility: collapse;
}
#urlbar-icons[mode="view"] > #tool-search,
#urlbar-icons[mode="view"] > #tool-stop {
visibility: collapse;
}
#urlbar-icons[mode="edit"] > #tool-reload,
#urlbar-icons[mode="edit"] > #tool-stop {
visibility: collapse;
}
/* URL bar ----------------------------------------------------------------- */
#urlbar-container {
color: #000;
-moz-box-align: center;
}
/* creates the left endcap */
#identity-box {
min-height: 64px;
min-width: 64px;
background: url("images/leftcap-default-64.png") top left no-repeat;
-moz-box-align: center;
-moz-box-pack: center;
}
#identity-box:-moz-locale-dir(rtl) {
background: url("images/rightcap-default-64.png") top left no-repeat;
}
#identity-box:hover:active,
#identity-box[open] {
background: url("images/leftcap-active-64.png");
}
#identity-box:hover:active:-moz-locale-dir(rtl),
#identity-box[open]:-moz-locale-dir(rtl) {
background: url("images/rightcap-active-64.png");
}
/* add special color */
#identity-box[mode="verifiedIdentity"] {
background: url("images/leftcapEV-default-64.png");
}
#identity-box[mode="verifiedIdentity"]:-moz-locale-dir(rtl) {
background: url("images/rightcapEV-default-64.png");
}
#identity-box[mode="verifiedIdentity"]:hover:active,
#identity-box[mode="verifiedIdentity"][open] {
background: url("images/leftcapEV-active-64.png");
}
#identity-box[mode="verifiedIdentity"]:hover:active:-moz-locale-dir(rtl),
#identity-box[mode="verifiedIdentity"][open]:-moz-locale-dir(rtl) {
background: url("images/rightcapEV-active-64.png");
}
/* add special color */
#identity-box[mode="verifiedDomain"] {
background: url("images/leftcapSSL-default-64.png");
}
#identity-box[mode="verifiedDomain"]:-moz-locale-dir(rtl) {
background: url("images/rightcapSSL-default-64.png");
}
#identity-box[mode="verifiedDomain"]:hover:active,
#identity-box[mode="verifiedDomain"][open] {
background: url("images/leftcapSSL-active-64.png");
}
#identity-box[mode="verifiedDomain"]:hover:active:-moz-locale-dir(rtl),
#identity-box[mode="verifiedDomain"][open]:-moz-locale-dir(rtl) {
background: url("images/rightcapSSL-active-64.png");
}
#urlbar-container[mode="edit"] > #identity-box {
visibility: collapse;
}
#urlbar-throbber[loading] {
list-style-image: url("chrome://browser/skin/images/throbber.png");
}
#urlbar-favicon {
width: 32px;
height: 32px;
}
#urlbar-favicon[src=""] {
list-style-image: url("chrome://browser/skin/images/favicon-default-30.png");
}
#urlbar-edit {
-moz-appearance: none !important;
min-height: 64px;
background: #fff;
margin: 0 !important;
padding: 0 !important;
border: none !important;
border-top: 1px solid #262629 !important;
border-bottom: 3px solid #262629 !important;
-moz-border-radius: 0;
}
#urlbar-edit:not([open]):hover:active {
background-color: #8db8d8;
}
#urlbar-edit > hbox > .textbox-input-box {
margin: 0;
}
#urlbar-edit > hbox > hbox > .textbox-input {
min-height: 60px;
text-indent: 8px;
}
#urlbar-container[mode="edit"] > #urlbar-edit {
-moz-border-start: 3px solid #262629 !important;
-moz-border-radius-topleft: 10px;
-moz-border-radius-bottomleft: 10px;
}
#urlbar-container[mode="edit"] > #urlbar-edit:-moz-locale-dir(rtl) {
-moz-border-radius-topleft: 0;
-moz-border-radius-bottomleft: 0;
-moz-border-radius-topright: 10px;
-moz-border-radius-bottomright: 10px;
}
/* make sure this endcap matches the other endcap */
#urlbar-icons {
min-height: 64px;
min-width: 64px;
background: url("images/rightcap-default-64.png") top right no-repeat;
-moz-box-pack: center;
}
#urlbar-icons:-moz-locale-dir(rtl) {
background: url("images/leftcap-default-64.png") top right no-repeat;
}
#urlbar-icons:hover:active {
background: url("images/rightcap-active-64.png");
}
#urlbar-icons:hover:active:-moz-locale-dir(rtl) {
background: url("images/leftcap-active-64.png");
}
/* right toolbar (browser controls) ---------------------------------------- */
#browser-controls {
-moz-box-align: start;
padding: 0 8px; /* core spacing + tiny bit for a rounding issue? */
-moz-border-start: 3px solid #262629;
}
toolbarbutton.browser-control-button,
toolbarbutton.panel-button,
toolbarbutton.page-button {
/* space out the buttons a bit vertically */
margin-bottom: 8px; /* core spacing */
}
#tool-star {
list-style-image: url("chrome://browser/skin/images/bookmark-default-64.png");
}
#tool-star:hover:active {
list-style-image: url("chrome://browser/skin/images/bookmark-active-64.png");
}
#tool-star[starred="true"] {
list-style-image: url("chrome://browser/skin/images/bookmarked-default-64.png");
}
#tool-star[starred="true"]:hover:active {
list-style-image: url("chrome://browser/skin/images/bookmarked-active-64.png");
}
#tool-back {
list-style-image: url("chrome://browser/skin/images/back-default-64.png");
}
#tool-back:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/images/forward-default-64.png");
}
#tool-back:hover:active {
list-style-image: url("chrome://browser/skin/images/back-active-64.png");
}
#tool-back:hover:active:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/images/forward-active-64.png");
}
#tool-back[disabled="true"],
#tool-back[disabled="true"]:hover:active {
list-style-image: url("chrome://browser/skin/images/back-disabled-64.png");
}
#tool-back[disabled="true"]:-moz-locale-dir(rtl),
#tool-back[disabled="true"]:hover:active:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/images/forward-disabled-64.png");
}
#tool-forward {
list-style-image: url("chrome://browser/skin/images/forward-default-64.png");
}
#tool-forward:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/images/back-default-64.png");
}
#tool-forward:hover:active {
list-style-image: url("chrome://browser/skin/images/forward-active-64.png");
}
#tool-forward:hover:active:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/images/back-active-64.png");
}
#tool-forward[disabled="true"],
#tool-forward[disabled="true"]:hover:active {
list-style-image: url("chrome://browser/skin/images/forward-disabled-64.png");
}
#tool-forward[disabled="true"]:-moz-locale-dir(rtl),
#tool-forward[disabled="true"]:hover:active:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/images/back-disabled-64.png");
}
/* button overflows off the right edge */
#tool-panel-open {
list-style-image: url("chrome://browser/skin/images/settings-default-64.png");
-moz-margin-end: -40px; /* big number just to make sure the image overflows the edge */
}
#tool-panel-open:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/images/settings-default-rtl-64.png");
}
#tool-panel-open:not([disabled="true"]):hover:active {
list-style-image: url("chrome://browser/skin/images/settings-active-64.png");
}
#tool-panel-open:not([disabled="true"]):hover:active:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/images/settings-active-rtl-64.png");
}
/* button overflows off the left edge */
#tool-panel-close {
list-style-image: url("chrome://browser/skin/images/settings-open-64.png");
-moz-margin-start: -40px; /* big number just to make sure the image overflows the edge */
}
#tool-panel-close:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/images/settings-open-rtl-64.png");
}
/* browser tools panel UI ------------------------------------------------ */
@media (min-width: 500px) {
#panel-container {
-moz-box-orient: horizontal;
-moz-box-direction: normal;
}
#panel-controls {
-moz-box-orient: vertical;
-moz-box-direction: normal;
}
}
@media (max-width: 499px) {
#panel-container {
-moz-box-orient: vertical;
-moz-box-direction: reverse;
}
#panel-controls {
-moz-box-orient: horizontal;
-moz-box-direction: reverse;
padding-top: 8px; /* core spacing */
}
#tool-panel-close {
-moz-margin-end: 8px; /* core spacing */
}
toolbarbutton.panel-button {
-moz-margin-end: 8px; /* core spacing */
}
}
#panel-controls {
/* match #browser-controls end padding */
-moz-padding-start: 8px; /* core spacing */
-moz-padding-end: 8px; /* core spacing */
-moz-box-align: end;
-moz-box-pack: end;
}
.panel-header {
padding: 8px; /* core spacing */
}
#tool-addons {
list-style-image: url("chrome://browser/skin/images/addons-default-64.png");
}
#tool-addons:hover:active,
#tool-addons[checked="true"] {
list-style-image: url("chrome://browser/skin/images/addons-active-64.png");
}
#tool-downloads {
list-style-image: url("chrome://browser/skin/images/downloads-default-64.png");
}
#tool-downloads:hover:active,
#tool-downloads[checked="true"] {
list-style-image: url("chrome://browser/skin/images/downloads-active-64.png");
}
#tool-preferences {
list-style-image: url("chrome://browser/skin/images/preferences-default-64.png");
}
#tool-preferences:hover:active,
#tool-preferences[checked="true"] {
list-style-image: url("chrome://browser/skin/images/preferences-active-64.png");
}
#tool-console {
list-style-image: url("chrome://browser/skin/images/console-default-64.png");
}
#tool-console:hover:active,
#tool-console[checked="true"] {
list-style-image: url("chrome://browser/skin/images/console-active-64.png");
}
/* addons panel UI ------------------------------------------------------- */
@media (min-width: 500px) {
#addons-repo {
-moz-box-orient: horizontal;
-moz-box-align: center;
}
}
@media (max-width: 499px) {
#addons-repo {
-moz-box-orient: vertical;
-moz-box-pack: center;
}
}
.addon-image {
list-style-image: url("chrome://mozapps/skin/xpinstall/xpinstallItemGeneric.png");
}
2009-08-26 17:44:35 -07:00
.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);
}
.addon-showmore-image {
width: 32px;
height: 32px;
list-style-image: url("chrome://browser/skin/images/addons-32.png");
}
richlistitem[isDisabled="true"] .title {
color: gray;
}
richlistitem[isDisabled="true"] .normal {
color: lightgray;
}
richlistitem[isDisabled="true"] image {
opacity: 0.25;
}
/* downloads panel UI ---------------------------------------------------- */
.download-retry-failed {
color: red !important;
2009-08-26 17:44:35 -07:00
}
/* special "no downloads" items */
#dl-empty-message {
margin-top: 140px; /* 2 times row height */
font-style: italic;
border-bottom: none;
}
#dl-empty-message:active {
background-color: white;
}
#dl-empty-message > label {
text-align: center;
color: grey;
}
/* console panel UI ------------------------------------------------------ */
@media (min-width: 500px) {
#console-filter-warnings,
#console-filter-messages {
visibility: visible;
}
}
@media (max-width: 499px) {
#console-filter-warnings,
#console-filter-messages {
visibility: collapse;
}
}
.console-error-msg,
.console-msg-text {
white-space: pre-wrap;
}
/* bookmarks navigation popup ------------------------------ */
#tool-bookmarks-close {
margin-top: -8px; /* force the button to go to the edge */
margin-bottom: -8px; /* force the button to go to the edge */
-moz-margin-end: -8px; /* force the button to go to the edge */
-moz-padding-end: 8px !important; /* re-center the image */
min-width: 72px !important; /* 72, not 64 to make up for the negative margin */
min-height: 72px !important; /* 72, not 64 to make up for the negative margin */
list-style-image: url("chrome://browser/skin/images/task-back-40.png");
}
#tool-bookmarks-close:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/images/task-back-rtl-40.png");
}
#tool-bookmarks-close:hover:active {
background-color: #8db8d8 !important;
}
#tool-bookmarks-close:hover:active:-moz-locale-dir(ltr) {
-moz-border-radius-bottomleft: 6px;
}
#tool-bookmarks-close:hover:active:-moz-locale-dir(rtl) {
-moz-border-radius-bottomright: 6px;
}
#bookmarklist-container {
padding: 0;
}
#bookmarklist-header {
-moz-box-align: center;
padding: 4px 8px; /* half core spacing & core spacing */
}
#bookmark-items {
-moz-appearance: none !important;
padding: 0;
}
/* folders navigation row */
.place-list-parents placelabel {
visibility: collapse;
}
.place-list-parents placelabel:last-child:not(:only-child) {
visibility: visible;
}
/* be consistent with the size of placeitem */
placelabel {
-moz-box-align: center;
-moz-padding-end: 80px;
background: rgb(207,207,207) url(images/arrowup-16.png) no-repeat 98% 50%;
color: #000;
min-height: 70px; /* row size */
}
/* folder bookmarks row */
placeitem[type="folder"] {
-moz-box-pack: center;
-moz-padding-end: 40px;
background: url(images/arrowright-16.png) no-repeat 98% 50%;
}
placeitem[type="folder"]:-moz-locale-dir(rtl) {
background: url(images/arrowleft-16.png) no-repeat 2% 50%;
}
placelist[ui="manage"] placeitem[type="folder"] {
background-image: none;
}
placeitem[type="folder"] > .bookmark-item-container > image,
placeitem[type="folder"] > .bookmark-manage > image {
list-style-image: url(images/folder-32.png);
margin-top: 0;
}
placeitem[type="folder"] .bookmark-item-url {
display: none;
}
/* bookmark manage controls */
placeitem > .bookmark-manage .bookmark-controls {
padding-top: 8px;
}
/* bookmark popup for star button */
placeitem[ui="manage"] {
border-bottom: 0;
}
placeitem[ui="manage"] > .bookmark-manage > image {
visibility: collapse;
}
.tool-search {
500049: Refresh and cleanup images, r=stuart --HG-- rename : mobile/themes/hildon/images/check-default-30.png => mobile/themes/hildon/images/check-30.png rename : mobile/themes/hildon/images/tab-close.png => mobile/themes/hildon/images/close-30.png rename : mobile/themes/hildon/images/go-default-30.png => mobile/themes/hildon/images/go-30.png rename : mobile/themes/hildon/images/reload-default-30.png => mobile/themes/hildon/images/reload-30.png rename : mobile/themes/hildon/images/star-default-30.png => mobile/themes/hildon/images/star-30.png rename : mobile/themes/hildon/images/starred-default-64.png => mobile/themes/hildon/images/starred-64.png rename : mobile/themes/hildon/images/stop-default-30.png => mobile/themes/hildon/images/stop-30.png rename : mobile/themes/hildon/images/tag-default-30.png => mobile/themes/hildon/images/tag-30.png rename : mobile/themes/wince/images/check-default-30.png => mobile/themes/wince/images/check-30.png rename : mobile/themes/wince/images/tab-close.png => mobile/themes/wince/images/close-30.png rename : mobile/themes/wince/images/go-default-30.png => mobile/themes/wince/images/go-30.png rename : mobile/themes/wince/images/reload-default-30.png => mobile/themes/wince/images/reload-30.png rename : mobile/themes/wince/images/star-default-30.png => mobile/themes/wince/images/star-30.png rename : mobile/themes/wince/images/starred-default-64.png => mobile/themes/wince/images/starred-64.png rename : mobile/themes/wince/images/stop-default-30.png => mobile/themes/wince/images/stop-30.png rename : mobile/themes/wince/images/tag-default-30.png => mobile/themes/wince/images/tag-30.png
2009-07-01 12:16:52 -07:00
list-style-image: url("chrome://browser/skin/images/navigation-magnifier-30.png");
-moz-margin-end: 8px;
}
.searchengine {
-moz-box-orient: horizontal;
min-width: 140px !important;
}
.searchengine .radio-icon {
display: block;
width: 32px;
height: 32px;
-moz-margin-end: 8px;
}
#autocomplete_navbuttons {
padding: 4px 0; /* half core spacing & none (autorepeat arrows compensate) */
}
#autocomplete_navbuttons .autorepeatbutton-down {
list-style-image: url(images/arrowrightdark-16.png);
}
#autocomplete_navbuttons .autorepeatbutton-down:-moz-locale-dir(rtl) {
list-style-image: url(images/arrowleftdark-16.png);
}
#autocomplete_navbuttons .autorepeatbutton-up {
list-style-image: url(images/arrowleftdark-16.png);
}
#autocomplete_navbuttons .autorepeatbutton-up:-moz-locale-dir(rtl) {
list-style-image: url(images/arrowrightdark-16.png);
}
/* force the autorepeat buttons to create a 'padding' when collapsed */
#autocomplete_navbuttons autorepeatbutton[collapsed="true"],
#autocomplete_navbuttons autorepeatbutton[disabled="true"] {
visibility: hidden;
}
.autocomplete-items {
background-color: white;
}
autocompleteresult,
placeitem {
color: black;
background-color: white;
padding: 2px 4px;
border-bottom: 1px solid rgb(207,207,207);
min-height: 70px; /* row size */
}
autocompleteresult:active,
placelist placeitem:active:not([selected="true"]),
historylist placeitem:active:not([selected="true"]):not([class="history-item-title"]),
historylist placeitem:active:not([selected="true"]):not([class="remotetabs-item-title"]),
.autocompleteresult-selected {
background-color: #8db8d8;
}
.autocomplete-item-container,
.bookmark-item-container {
margin: 0;
padding: 0;
}
.autocomplete-item-label,
.bookmark-item-label {
font-size: 24px !important;
font-weight: normal;
-moz-margin-end: 8px;
}
.autocomplete-item-container > image,
.bookmark-item-container > image,
placeitem > .bookmark-manage > image {
width: 32px;
height: 32px;
max-height: 32px;
/* margin-top = (1 - title's line-height) * title's font-size */
margin-top: 5px;
margin-bottom: 0;
-moz-margin-end: 16px;
-moz-margin-start: 8px;
}
.autocomplete-item-container > image[src=""],
placeitem[src=""] .bookmark-item-container > image {
list-style-image: url(chrome://mozapps/skin/places/defaultFavicon.png);
}
.autocomplete-item-container > vbox > label,
.bookmark-item-container > vbox > label {
-moz-margin-start: 1px;
}
.autocomplete-item-container[favorite="true"] {
background: url(images/star-24.png) no-repeat 100% 2px;
}
.autocomplete-item-container[favorite="true"]:-moz-locale-dir(rtl) {
background: url(images/star-24.png) no-repeat left 2px;
}
.autocomplete-item-url,
.bookmark-item-url {
color: blue;
font-size: 18px !important;
-moz-margin-end: 24px;
}
.autocomplete-item-container[favorite="true"] .autocomplete-item-label {
-moz-padding-end: 30px;
}
.autocomplete-item-tags,
.bookmark-item-tags {
content: attr(tags);
font-size: 18px !important;
font-weight: lighter;
margin: 2px 0 4px 0px;
-moz-margin-start: 8px;
-moz-padding-end: 32px;
}
.autocomplete-item-tags[value=""] {
visibility: hidden;
}
.autocomplete-item-badge {
opacity: 1;
-moz-transition: opacity 1s ease;
background-color: #c90707;
border: 1px solid #951919;
-moz-border-radius: 2px;
content: attr(badge);
font-size: 12px !important;
font-weight: bolder;
margin: 4px 0 0 0;
padding: 4px 6px;
color: white;
}
autocompleteresult:not([badge]) .autocomplete-item-badge,
.autocomplete-item-badge[value=""] {
opacity: 0;
-moz-transition: none;
}
/* special "no results", "awesome header row" and "title rows" items */
autocompleteresult[class="history-item-title"],
autocompleteresult[class="remotetabs-item-title"] {
-moz-box-pack: center;
background-color: #E9E9E9;
min-height: 0px;
}
autocompleteresult[class="history-item-title"] .bookmark-item-url,
autocompleteresult[class="remotetabs-item-title"] .bookmark-item-url {
display: none;
}
autocompleteresult[class="history-item-title"] .bookmark-item-container,
autocompleteresult[class="remotetabs-item-title"] .bookmark-item-container {
font-size: 24px !important;
}
autocompleteresult[class="history-item-title"] image,
autocompleteresult[class="remotetabs-item-title"] image {
display: none;
}
autocompleteresult.noresults {
font-style: italic;
border-bottom: none;
}
autocompleteresult.noresults:active {
background-color: white;
}
autocompleteresult.noresults > .autocomplete-item-container {
text-align: center;
color: grey;
}
#awesome-header {
min-height: 70px; /* row size */
}
#awesome-header > toolbarbutton {
-moz-user-focus: ignore;
-moz-user-select: none;
-moz-appearance: none;
color: white;
font-weight: bold;
border: 1px solid #36373b;
border-left-width: 0;
background-color: #797979;
-moz-box-flex: 1;
}
@media (max-width: 499px) {
#awesome-header > toolbarbutton {
-moz-box-orient: vertical;
}
#awesome-header > toolbarbutton .toolbarbutton-text {
font-size: 18px !important;
}
}
#awesome-header > toolbarbutton:last-child {
-moz-border-end-width: 0;
}
#awesome-header > toolbarbutton:hover:active,
#awesome-header > toolbarbutton[checked="true"] {
border-color: #36373b !important;
color: white !important;
background: -moz-radial-gradient(#757575, #636363, #666769) !important;
}
#awesome-header > toolbarbutton[checked="true"],
#awesome-header > toolbarbutton[disabled="true"] {
pointer-events: none;
}
#awesome-header > toolbarbutton[disabled="true"] .toolbarbutton-icon {
opacity: 0.5;
}
#awesome-header > toolbarbutton[disabled="true"] .toolbarbutton-text {
color: #aaa;
}
#awesome-header > toolbarbutton .toolbarbutton-icon {
min-width: 48px;
min-height: 48px;
}
#awesome-header > toolbarbutton .toolbarbutton-text {
text-align: left;
}
#awesome-header > toolbarbutton .toolbarbutton-text:-moz-locale-dir(rtl) {
text-align: right;
}
#awesome-header > toolbarbutton.choice-bookmarks {
list-style-image: url(chrome://browser/skin/images/bookmarks-48.png);
}
#awesome-header > toolbarbutton.choice-history {
list-style-image: url(chrome://browser/skin/images/history-48.png);
}
#awesome-header > toolbarbutton.choice-remotetabs {
list-style-image: url(chrome://browser/skin/images/remotetabs-48.png);
}
#awesome-header > toolbarbutton:hover:active,
#awesome-header > toolbarbutton[checked="true"] {
border-color: #36373b !important;
color: white !important;
background: -moz-radial-gradient(#757575, #636363, #666769) !important;
}
#awesome-header > toolbarbutton[checked="true"],
#awesome-header > toolbarbutton[disabled="true"] {
pointer-events: none;
}
#awesome-header > toolbarbutton[disabled="true"] .toolbarbutton-icon {
opacity: 0.5;
}
#awesome-header > toolbarbutton[disabled="true"] .toolbarbutton-text {
color: #aaa;
}
#awesome-header > toolbarbutton .toolbarbutton-icon {
min-width: 48px;
min-height: 48px;
}
#awesome-header > toolbarbutton .toolbarbutton-text {
text-align: left;
}
#awesome-header > toolbarbutton.choice-bookmarks {
list-style-image: url(chrome://browser/skin/images/bookmarks-48.png);
}
#awesome-header > toolbarbutton.choice-history {
list-style-image: url(chrome://browser/skin/images/history-48.png);
}
#awesome-header > toolbarbutton.choice-remotetabs {
list-style-image: url(chrome://browser/skin/images/remotetabs-48.png);
}
/* Left sidebar (tabs) ---------------------------------------------------- */
#tabs-container {
-moz-padding-start: 4px; /* allow the thumbnails to get close to the edge */
-moz-padding-end: 8px; /* core spacing */
padding-bottom: 8px; /* core spacing */
-moz-border-end: 3px solid #262629;
}
#tabs {
display: block;
-moz-column-width: 128px;
-moz-column-gap: 0;
-moz-user-focus: ignore;
margin: 0;
padding: 0;
background-color: transparent;
}
#tabs-controls {
margin-top: 8px; /* core spacing */
-moz-box-pack: start;
}
box[type="documenttab"] {
/* display:block allow us to change the line-height, it won't work otherwise */
display: block;
width: 128px;
-moz-margin-start: 8px; /* core spacing */
line-height: 0;
}
.documenttab-canvas {
/* keep the unselected thumbnails aligned with the selected one */
border: 8px solid #36373b;
background-color: white;
}
.documenttab-canvas[selected="true"] {
border: 8px solid;
-moz-border-radius: 3px;
-moz-border-top-colors: #8db8d8 #8db8d8 #8db8d8 #8db8d8 #36373b;
-moz-border-right-colors: #8db8d8 #8db8d8 #8db8d8 #8db8d8 #36373b;
-moz-border-bottom-colors: #8db8d8 #8db8d8 #8db8d8 #8db8d8 #36373b;
-moz-border-left-colors: #8db8d8 #8db8d8 #8db8d8 #8db8d8 #36373b;
}
.documenttab-close-container {
-moz-margin-end: 65px;
}
.documenttab-close {
width: 40px;
height: 40px;
list-style-image: url("chrome://browser/skin/images/close-default-40.png");
}
hbox:hover:active > .documenttab-close {
list-style-image: url("chrome://browser/skin/images/close-active-40.png");
}
box[type="documenttab"]:only-child > stack > hbox > .documenttab-close {
display: none;
}
#newtab-button {
list-style-image: url("images/newtab-default-64.png");
}
#newtab-button:hover:active {
list-style-image: url("images/newtab-active-64.png");
}
#remotetabs-button {
list-style-image: url("images/remotetabs-default-64.png");
}
#remotetabs-button:not([disabled]):hover:active {
list-style-image: url("images/remotetabs-active-64.png");
}
#remotetabs-button[disabled] {
list-style-image: url("images/remotetabs-disabled-64.png");
}
/* bookmark editor ------------------------------------------------------- */
#bookmark-container {
padding: 8px; /* core spacing */
background-image: url("chrome://browser/skin/images/panel-shadow.png");
background-repeat: repeat-x;
-moz-box-shadow: black 0 2px 2px;
}
#bookmark-form {
padding: 8px; /* core spacing */
}
#bookmark-form .bookmark-controls {
display: none;
}
#bookmark-image {
list-style-image: url("images/star-40.png");
}
/* Identity popup -------------------------------------------------------- */
#identity-container {
background-image: url("chrome://browser/skin/images/panel-shadow.png");
background-repeat: repeat-x;
-moz-box-shadow: black 0 2px 2px;
-moz-border-radius-bottomleft: 8px;
-moz-border-radius-bottomright: 8px;
}
#identity-popup-container {
padding: 8px; /* core spacing */
background-image: -moz-linear-gradient(bottom, rgb(94,95,99) 0%, rgb(54,55,59) 25%, transparent);
padding-bottom: 16px;
}
/* Popup Icons */
#identity-popup-icon {
padding: 0;
list-style-image: url("chrome://browser/skin/images/identity-64.png");
}
#identity-container[mode="verifiedDomain"] > hbox > #identity-popup-icon {
list-style-image: url("chrome://browser/skin/images/identitySSL-64.png");
}
#identity-container[mode="verifiedIdentity"] > hbox > #identity-popup-icon {
list-style-image: url("chrome://browser/skin/images/identityEV-64.png");
}
/* Popup Body Text */
#identity-popup-content-box {
-moz-padding-start: 8px; /* core spacing */
font-size: 18px !important;
white-space: pre-wrap;
}
/* let the text flow into a second row, if needed */
#identity-popup-runBy-box {
display: block;
}
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-connectedToLabel,
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-runByLabel,
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-content-host,
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-content-owner,
#identity-popup-content-box.verifiedIdentity > hbox > #identity-popup-connectedToLabel2,
#identity-popup-content-box.verifiedDomain > hbox > #identity-popup-connectedToLabel2 {
display: none;
}
#identity-popup-encryption-label,
#identity-popup-content-verifier {
font-size: 14px !important;
}
#identity-popup-content-host,
#identity-popup-content-owner {
font-weight: bold;
}
#identity-popup-encryption-icon {
list-style-image: url("chrome://browser/skin/images/unlock-40.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-40.png");
}
/* Page Actions popup ---------------------------------------------------- */
.prompt-buttons,
#pageactions-container {
background: rgb(210, 210, 210) -moz-linear-gradient(top, rgba(255,255,255,0.4) 0%, rgba(235,235,235,0.4) 90%, rgba(185,185,185,0.4) 100%);
border: none;
padding: 0;
-moz-user-focus: ignore;
display: inline-block;
-moz-border-radius-bottomleft: 8px;
-moz-border-radius-bottomright: 8px;
}
.prompt-button,
pageaction {
-moz-border-top-colors: rgb(235, 235, 235);
-moz-border-right-colors: rgb(205, 205, 205);
-moz-border-bottom-colors: rgb(205, 205, 205);
-moz-border-left-colors: rgb(235, 235, 235);
background-color: rgb(235,235,235);
border-style: solid;
border-width: 1px !important;
height: 64px;
width :100%;
}
/* Override buttons style */
.prompt-button {
margin: 0;
-moz-border-image: none !important;
}
.prompt-button > .button-box {
padding: 0 4px 1px 3px !important;
}
@media (min-width: 500px) {
.prompt-button,
pageaction {
width: 50%;
}
.prompt-button:nth-last-child(2):not(:nth-child(even)),
pageaction[selector="second-last-child"][even=false] {
background-image: -moz-linear-gradient(top, rgb(235,235,235) 0%, rgb(215,215,215) 90%);
border-bottom: 1px solid #fff;
-moz-border-radius-bottomleft: 8px;
}
.prompt-button:first-child,
.prompt-button:nth-child(2),
pageaction[selector="first-child"],
pageaction[selector="second-child"] {
background-image: -moz-linear-gradient(top, rgb(255,255,255) 0%, rgb(235,235,235) 90%) !important;
}
.prompt-button:last-child:not(:nth-child(even)),
pageaction[selector="last-child"][even=false] {
border-bottom: 1px solid #fff;
-moz-border-radius-bottomleft: 8px;
-moz-border-radius-bottomright: 8px;
width: 100%;
}
.prompt-button:last-child:not(:nth-child(odd)),
pageaction[selector="last-child"][even=true] {
border-bottom: 1px solid #fff;
-moz-border-radius-bottomright: 8px;
}
.prompt-button:nth-last-child(2):not(:nth-child(even)):-moz-locale-dir(rtl) {
-moz-border-radius-bottomleft: 0;
-moz-border-radius-bottomright: 8px;
}
.prompt-button:last-child:not(:nth-child(odd)):-moz-locale-dir(rtl) {
-moz-border-radius-bottomright: 0;
-moz-border-radius-bottomleft: 8px;
}
}
@media (max-width: 499px) {
.prompt-button:last-child,
pageaction[selector="last-child"] {
-moz-border-radius-bottomleft: 8px;
-moz-border-radius-bottomright: 8px;
}
}
.prompt-button:last-child,
pageaction[selector="last-child"] {
background-image: -moz-linear-gradient(top, rgb(235,235,235) 0%, rgb(215,215,215) 90%);
}
.prompt-button:first-child,
pageaction[selector="first-child"] {
background-image: -moz-linear-gradient(top, rgb(255,255,255) 0%, rgb(235,235,235) 90%);
}
.prompt-button:not([disabled]):hover:active,
pageaction:not([disabled]):hover:active {
background-image: none !important;
background-color: #8db8d8 !important;
}
pageaction > hbox > .pageaction-image {
width: 32px;
height: 32px;
-moz-margin-end: 8px;
}
pageaction:not([image]) > hbox >.pageaction-image {
width: 0;
}
.prompt-button,
.pageaction-title {
font-size: 24px !important;
color: #414141 !important;
}
.pageaction-desc {
font-size: 14px !important;
color: #414141;
}
pageaction:hover:active > vbox > .pageaction-desc {
color: white;
}
.pageaction-desc[value=""] {
display: none;
}
/* Preferences window ---------------------------------------------------- */
.settings-title {
font-weight: bold;
color: black;
background-color: lightgray;
margin: 0;
padding: 2px;
}
/* XXX should be a richlistitem */
.prefbox {
padding: 2px;
border-bottom: 1px solid rgb(207,207,207);
min-height: 70px; /* row size */
-moz-box-align: center;
}
.options-box {
-moz-margin-start: 28px; /* sized based on the 32px addon image */
}
.options-box > setting:last-child > .prefbox {
border-bottom: 0;
}
/* XXX should be a richlistitem description.title */
.preftitle {
font-size: 24px !important;
}
/* XXX should be a richlistitem description.normal */
.prefdesc {
font-size: 18px !important;
color: grey;
}
/* alerts popup ----------------------------------------------------------- */
@media (min-width: 500px) {
#alerts-container {
width: 300px;
}
}
@media (max-width: 499px) {
#alerts-container {
width: 200px;
}
}
#alerts-container {
-moz-transform: translatex(100%);
-moz-transition-property: -moz-transform;
-moz-transition-duration: 0.5s;
margin-bottom: 20px;
-moz-margin-end: 20px;
}
#alerts-container:-moz-locale-dir(rtl) {
-moz-transform: translatex(-100%);
}
#alerts-container.showing {
-moz-transform: translatex(0);
}
#alerts-text {
font-size: 18px !important;
white-space: pre-wrap;
}
/* helperapp (save-as) popup ----------------------------------------------- */
#helperapp-target {
font-size: 18px !important;
}
/* navigator popup -------------------------------------------------------------- */
#content-navigator,
#content-navigator > #select-container > #select-spacer,
#content-navigator > #select-container > #select-container-inner > #select-buttons {
display: none;
}
#content-navigator[type="find"],
#content-navigator[type="form"] {
display: -moz-box;
}
#content-navigator:not([type="form"]) > #form-helper-autofill {
visibility: collapse;
}
#content-navigator:not([type="form"]) > #select-container,
#content-navigator:not([type="form"]) > #select-helper-textbox,
#content-navigator:not([type="find"]) > #find-helper-textbox {
display: none;
}
#content-navigator > #select-container > #select-container-inner {
border-width: 0;
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
-moz-border-radius-bottomright: 0;
-moz-border-radius-bottomleft: 0;
padding: 8px 4px 8px 4px;
-moz-box-flex: 0;
}
#content-navigator > #select-container > #select-container-inner > #select-list {
min-height: 70px;
}
#content-navigator > #select-container > spacer {
display: none;
}
#select-buttons {
padding: 4px 8px; /* row size & core spacing */
}
#select-buttons-done {
-moz-user-focus: ignore;
-moz-user-select: none;
}
.content-navigator-box {
padding: 2px 0; /* half row size */
}
#content-navigator > hbox > .content-navigator-item {
margin: 2px 8px; /* half row size & core spacing */
}
#content-navigator > hbox > .previous-button {
height: 64px;
-moz-margin-end: 0;
list-style-image: url("chrome://browser/skin/images/previous-default-64.png");
}
#content-navigator > hbox > .previous-button:not([disabled="true"]):hover:active {
list-style-image: url("chrome://browser/skin/images/previous-active-64.png");
}
#content-navigator > hbox > .previous-button[disabled="true"] {
list-style-image: url("chrome://browser/skin/images/previous-disabled-64.png");
}
#content-navigator > hbox > .next-button {
height: 64px;
-moz-margin-start: 0;
list-style-image: url("chrome://browser/skin/images/next-default-64.png");
}
#content-navigator > hbox > .next-button:not([disabled="true"]):hover:active {
list-style-image: url("chrome://browser/skin/images/next-active-64.png");
}
#content-navigator > hbox > .next-button[disabled="true"] {
list-style-image: url("chrome://browser/skin/images/next-disabled-64.png");
}
#form-helper-autofill {
padding: 4px 0; /* half core spacing & none (autorepeat arrows compensate) */
color: black;
background-color: rgb(235,235,235);
background-image: -moz-linear-gradient(top, rgb(255,255,255) 0%, rgb(235,235,235) 90%);
}
#form-helper-autofill > .autorepeatbutton-down {
list-style-image: url(images/arrowright-16.png);
}
#form-helper-autofill > .autorepeatbutton-down:-moz-locale-dir(rtl) {
list-style-image: url(images/arrowleft-16.png);
}
#form-helper-autofill > .autorepeatbutton-up {
list-style-image: url(images/arrowleft-16.png);
}
#form-helper-autofill > .autorepeatbutton-up:-moz-locale-dir(rtl) {
list-style-image: url(images/arrowright-16.png);
}
/* force the autorepeat buttons to create a 'padding' when collapsed */
#form-helper-autofill > autorepeatbutton[collapsed="true"],
#form-helper-autofill > autorepeatbutton[disabled="true"] {
visibility: hidden;
}
.form-helper-autofill-label {
padding: 12px 8px; /* 12px helps get row size for the labels */
margin: 0;
border-color: transparent rgb(215,215,215) transparent rgb(255,255,255);
border-style: solid;
border-width: 1px;
}
.form-helper-autofill-label:first-child {
-moz-padding-start: -moz-initial; /* the arrowscrollbox creates enough left padding */
-moz-border-start: none;
}
.form-helper-autofill-label:last-child {
-moz-border-end: none;
}
.form-helper-autofill-label:active {
background-color: #8db8d8;
}
#select-container:not([hidden=true]) + #form-buttons {
border-top: 0;
}
/* select popup ------------------------------------------------------------ */
#stack > #select-container {
padding: 32px;
}
#select-list {
border: 1px solid gray;
background-color: #fff;
}
.chrome-select-option {
color: #000;
background-color: #fff;
padding: 5px;
border-bottom: 1px solid rgb(207,207,207);
min-height: 70px; /* row size */
max-height: 70px; /* row size */
-moz-box-align: center;
}
.chrome-select-option[filtered="true"] {
display: none;
}
.chrome-select-option[selected="true"] {
background-color: #8db8d8;
}
.chrome-select-option[disabled="true"] {
pointer-events: none;
color: #aaa !important;
}
.chrome-select-option.optgroup {
font-weight: bold;
font-style: italic;
}
.chrome-select-option.optgroup > .chrome-select-option-image {
display: none;
}
.chrome-select-option.in-optgroup {
-moz-padding-start: 24px;
}
.chrome-select-option-image {
min-width: 30px;
}
.chrome-select-option[selected="true"] {
500049: Refresh and cleanup images, r=stuart --HG-- rename : mobile/themes/hildon/images/check-default-30.png => mobile/themes/hildon/images/check-30.png rename : mobile/themes/hildon/images/tab-close.png => mobile/themes/hildon/images/close-30.png rename : mobile/themes/hildon/images/go-default-30.png => mobile/themes/hildon/images/go-30.png rename : mobile/themes/hildon/images/reload-default-30.png => mobile/themes/hildon/images/reload-30.png rename : mobile/themes/hildon/images/star-default-30.png => mobile/themes/hildon/images/star-30.png rename : mobile/themes/hildon/images/starred-default-64.png => mobile/themes/hildon/images/starred-64.png rename : mobile/themes/hildon/images/stop-default-30.png => mobile/themes/hildon/images/stop-30.png rename : mobile/themes/hildon/images/tag-default-30.png => mobile/themes/hildon/images/tag-30.png rename : mobile/themes/wince/images/check-default-30.png => mobile/themes/wince/images/check-30.png rename : mobile/themes/wince/images/tab-close.png => mobile/themes/wince/images/close-30.png rename : mobile/themes/wince/images/go-default-30.png => mobile/themes/wince/images/go-30.png rename : mobile/themes/wince/images/reload-default-30.png => mobile/themes/wince/images/reload-30.png rename : mobile/themes/wince/images/star-default-30.png => mobile/themes/wince/images/star-30.png rename : mobile/themes/wince/images/starred-default-64.png => mobile/themes/wince/images/starred-64.png rename : mobile/themes/wince/images/stop-default-30.png => mobile/themes/wince/images/stop-30.png rename : mobile/themes/wince/images/tag-default-30.png => mobile/themes/wince/images/tag-30.png
2009-07-01 12:16:52 -07:00
list-style-image: url("chrome://browser/skin/images/check-30.png");
}
/* menulist popup ---------------------------------------------------------- */
#menulist-popup {
border: none;
padding: 1px;
-moz-border-radius: 8px;
}
#menulist-popup > #menulist-title {
padding: 12px 4px 4px 4px;
font-size: 18px;
}
#menulist-popup > #menulist-title[value=""] {
display: none;
}
#menulist-commands {
border: 1px solid rgb(207,207,207);
-moz-border-radius: 8px;
}
#menulist-popup > label:not([value=""]) + #menulist-commands {
-moz-border-radius-topleft: 0px;
-moz-border-radius-topright: 0px;
}
.menulist-command,
.menulist-command[selected] {
-moz-box-align: center;
background-color: rgb(245,245,245);
min-width: 200px; /* keep the command from being too narrow */
}
.menulist-command > image {
width: 32px;
height: 32px;
}
.menulist-command:first-child {
background: -moz-linear-gradient(top, rgb(255,255,255), rgb(245,245,245));
}
#menulist-popup > #menulist-title[value=""] + #menulist-commands > .menulist-command:first-child {
-moz-border-radius: 8px 8px 0 0;
}
.menulist-command:last-child {
background: -moz-linear-gradient(top, rgb(245,245,245), rgb(215,215,215));
-moz-border-radius: 0 0 8px 8px;
}
.menulist-command:first-child:last-child {
-moz-border-radius: 8px;
}
.menulist-command:hover:active {
background: #8db8d8;
}
.menulist-command.selected {
background: #8db8d8;
pointer-events: none;
}
.menulist-command.selected > image {
width: 30px;
height: 30px;
list-style-image: url("chrome://browser/skin/images/check-30.png");
margin-right: 2px;
margin-top: 2px;
}
.menulist-command:not(.selected) > image[src=""] {
visibility: hidden;
}
/* context popup ----------------------------------------------------------- */
#context-popup {
/* Remove some dialog-dark styles */
padding: 8px 0 0 0;
border: none;
}
#share-title,
#context-hint {
font-size: 18px;
padding: 4px;
}
#context-commands {
border: 1px solid rgb(207,207,207);
-moz-border-radius: 0 0 8px 8px;
}
.context-command {
-moz-box-align: center;
background-color: rgb(245,245,245);
min-width: 200px; /* keep the command from being too narrow */
}
.context-command[selector="first-child"] {
background: -moz-linear-gradient(top, rgb(255,255,255), rgb(245,245,245));
}
.context-command[selector="last-child"] {
background: -moz-linear-gradient(top, rgb(245,245,245), rgb(215,215,215));
-moz-border-radius: 0 0 8px 8px;
}
/* Force any command tap to highlight */
.context-command:hover:active {
background: #8db8d8;
}