gecko/mobile/themes/hildon/browser.css

960 lines
23 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: 0.5mm 1mm; /* 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 */
margin-left: 1mm; /* core spacing */
}
#tool-app-switch {
visibility: collapse;
margin-right: 1mm; /* core spacing */
list-style-image: url("chrome://browser/skin/images/task-switch-40.png");
}
#toolbar-main[fullscreen="true"] #tool-app-switch:not(:-moz-system-metric(maemo-classic)) {
visibility: visible;
}
#tool-app-close {
visibility: hidden;
list-style-image: url("chrome://browser/skin/images/task-close-40.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/task-back-40.png");
}
/* 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-go {
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/go-30.png");
}
#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");
}
#urlbar-icons[mode="loading"] > #tool-go,
#urlbar-icons[mode="loading"] > #tool-reload {
visibility: collapse;
}
#urlbar-icons[mode="view"] > #tool-go,
#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:hover:active,
#identity-box[open] {
background: url("images/leftcap-active-64.png");
}
/* add special color */
#identity-box[mode="verifiedIdentity"] {
background: url("images/leftcapEV-default-64.png");
}
#identity-box[mode="verifiedIdentity"]:hover:active,
#identity-box[mode="verifiedIdentity"][open] {
background: url("images/leftcapEV-active-64.png");
}
/* add special color */
#identity-box[mode="verifiedDomain"] {
background: url("images/leftcapSSL-default-64.png");
}
#identity-box[mode="verifiedDomain"]:hover:active,
#identity-box[mode="verifiedDomain"][open] {
background: url("images/leftcapSSL-active-64.png");
}
#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-editarea {
min-height: 64px;
-moz-box-align: center;
padding: 0;
border-top: 1px solid #262629; /* keep pixels */
border-bottom: 3px solid #262629; /* keep pixels */
background: #fff;
}
#urlbar-edit {
-moz-appearance: none !important;
padding: 0px !important;
border: none !important;
color: #000;
background-color: #fff;
}
/* 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:hover:active {
background: url("images/rightcap-active-64.png");
}
/* right toolbar (browser controls) ---------------------------------------- */
#browser-controls {
-moz-box-align: start;
padding: 0 1mm; /* core spacing + tiny bit for a rounding issue? */
border-left: 3px solid #262629; /* keep pixels */
}
toolbarbutton.browser-control-button,
toolbarbutton.panel-button,
toolbarbutton.page-button {
/* space out the buttons a bit vertically */
margin-bottom: 1mm; /* 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:hover:active {
list-style-image: url("chrome://browser/skin/images/back-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-forward {
list-style-image: url("chrome://browser/skin/images/forward-default-64.png");
}
#tool-forward:hover:active {
list-style-image: url("chrome://browser/skin/images/forward-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");
}
/* button overflows off the right edge */
#tool-panel-open {
list-style-image: url("chrome://browser/skin/images/settings-default-64.png");
margin-right: -40px; /* 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-64.png");
}
/* button overflows off the left edge */
#tool-panel-close {
list-style-image: url("chrome://browser/skin/images/settings-open-64.png");
margin-left: -40px; /* big number just to make sure the image overflows the edge */
}
/* browser tools panel UI ------------------------------------------------ */
@media (orientation: landscape) {
#panel-container {
-moz-box-orient: horizontal;
}
#panel-controls {
-moz-box-orient: vertical;
-moz-box-ordinal-group: 1;
-moz-box-pack: end;
}
#tool-panel-close {
-moz-box-ordinal-group: 1000;
}
}
@media (orientation: portrait) {
#panel-container {
-moz-box-orient: vertical;
}
#panel-controls {
-moz-box-orient: horizontal;
-moz-box-ordinal-group: 1000;
-moz-box-pack: start;
padding-top: 1mm; /* core spacing */
}
#tool-panel-close {
-moz-box-ordinal-group: 1;
}
}
#panel-controls {
/* match #browser-controls end padding */
padding-left: 1mm; /* core spacing */
padding-right: 1mm; /* core spacing */
-moz-box-align: end;
}
.panel-header {
padding: 1mm; /* 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 (orientation: landscape) {
#addons-repo {
-moz-box-orient: horizontal;
-moz-box-align: center;
}
}
@media (orientation: portrait) {
#addons-repo {
-moz-box-orient: vertical;
-moz-box-pack: center;
}
}
#addons-update-all {
color: #000 !important;
}
#addons-update-all[disabled="true"] {
color: #aaa !important;
}
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);
}
/* downloads panel UI ---------------------------------------------------- */
.download-retry-failed {
color: red !important;
2009-08-26 17:44:35 -07:00
}
/* console panel UI ------------------------------------------------------ */
@media (orientation: landscape) {
#console-filter-warnings,
#console-filter-messages {
visibility: visible;
}
}
@media (orientation: portrait) {
#console-filter-warnings,
#console-filter-messages {
visibility: collapse;
}
}
/* bookmarks navigation popup ------------------------------ */
#tool-bookmarks-close {
list-style-image: url("chrome://browser/skin/images/task-back-40.png");
}
#bookmarklist-container {
padding: 0;
}
#bookmarklist-header {
-moz-box-align: center;
padding: 0.5mm 1mm; /* 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;
padding-right: 8mm;
background: rgb(207,207,207) url(images/arrowup-16.png) no-repeat 98% 50%;
color: #000;
min-height: 6mm; /* row size */
}
/* folder bookmarks row */
placeitem[type="folder"] {
-moz-box-pack: center;
padding-right: 4mm;
background: url(images/arrowright-16.png) no-repeat 98% 50%;
}
placelist[ui="manage"] placeitem[type="folder"] {
background-image: none;
}
placeitem[type="folder"] > .bookmark-item-label > image,
placeitem[type="folder"] > .bookmark-manage > image {
list-style-image: url(images/folder-32.png);
}
placeitem[type="folder"] .bookmark-item-url {
display: none;
}
/* bookmark manage controls */
placeitem > .bookmark-manage .bookmark-controls {
padding-top: 1.1mm;
}
/* bookmark popup for star button */
placeitem[ui="manage"] {
border-bottom: 0;
}
placeitem[ui="manage"] > .bookmark-manage > image {
visibility: collapse;
}
.close-button {
-moz-appearance: none;
border: none;
margin: 0;
padding: 0;
list-style-image: url("chrome://browser/skin/images/close-40.png");
}
.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");
margin-right: 1mm;
}
.searchengine {
-moz-box-orient: horizontal;
min-width: 8mm;
}
.searchengine .radio-icon {
display: block;
width: 32px;
height: 32px;
-moz-margin-end: 1mm;
}
#autocomplete_navbuttons {
padding: 0.5mm 0; /* half core spacing & none (autorepeat arrows compensate) */
min-height: 6mm; /* row size */
-moz-user-focus: ignore;
}
#autocomplete_navbuttons .autorepeatbutton-down {
list-style-image: url(images/arrowrightdark-16.png);
}
#autocomplete_navbuttons .autorepeatbutton-up {
list-style-image: url(images/arrowleftdark-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: 0.2mm 0.5mm;
border-bottom: 0.1mm solid rgb(207,207,207);
min-height: 6mm; /* row size */
}
autocompleteresult:active,
placelist placeitem:active,
.autocompleteresult-selected {
background-color: #8db8d8;
}
.autocomplete-item-label,
.bookmark-item-label {
margin: 0;
padding: 0;
font-size: 2.4mm !important;
font-weight: normal;
margin-right: 1mm;
}
.autocomplete-item-label > image,
.bookmark-item-label > image,
placeitem > .bookmark-manage > image {
width: 32px;
height: 32px;
max-height: 32px;
margin: 0mm 2.5mm 0mm 1mm;
}
.autocomplete-item-label > label,
.bookmark-item-label > label {
-moz-margin-start: 1px;
}
.autocomplete-item-label[favorite="true"] {
padding-right: 30px;
background: url(images/star-24.png) no-repeat 100%;
}
.autocomplete-item-label:not([tags=""]):after,
.bookmark-item-label:not([tags=""]):after {
float: right;
content: attr(tags);
font-size: 1.8mm !important;
font-weight: lighter;
padding-top: 0.5mm;
margin-left: 1mm;
}
.autocomplete-item-url,
.bookmark-item-url {
color: blue;
font-size: 1.8mm !important;
margin-left: 34px;
margin-right: 2mm;
padding-left: 3.5mm;
}
/* special "no results" and "all bookmarks" items */
autocompleteresult.noresults {
font-style: italic;
border-bottom: none;
}
autocompleteresult.noresults:active {
background-color: white;
}
autocompleteresult.noresults > .autocomplete-item-label {
text-align: center;
color: grey;
}
autocompleteresult.allbookmarks {
-moz-box-pack: center;
background: #E9E9E9 url("images/arrowright-16.png") no-repeat 98% 50%;
}
autocompleteresult.allbookmarks:active,
autocompleteresult.allbookmarks.autocompleteresult-selected {
background-color: #8db8d8;
}
autocompleteresult.allbookmarks > .autocomplete-item-label {
font-size: 2.4mm !important;
}
autocompleteresult.allbookmarks > .autocomplete-item-label > image {
width: 44px;
height: 30px;
margin: 0 1.5mm;
list-style-image: url(images/bookmarks-30.png);
}
autocompleteresult.allbookmarks > .autocomplete-item-url {
display: none;
}
/* Left sidebar (tabs) ---------------------------------------------------- */
#tabs-container {
-moz-padding-start: 0.5mm; /* allow the thumbnails to get close to the edge */
-moz-padding-end: 1mm; /* core spacing */
padding-bottom: 1mm; /* core spacing */
border-right: 3px solid #262629; /* keep pixels */
}
#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: 1mm; /* 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;
line-height: 0;
}
box[type="documenttab"] .documenttab-canvas {
/* keep the unselected thumbnails aligned with the selected one */
border: 0.8mm solid transparent;
}
box[type="documenttab"][selected="true"] .documenttab-canvas {
border: 0.8mm solid #262629;
-moz-border-radius: 3px;
}
box[type="documenttab"] .documenttab-close {
width: 40px;
height: 40px;
list-style-image: url("chrome://browser/skin/images/close-40.png");
}
box[type="documenttab"]:only-child .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");
}
/* bookmark editor ------------------------------------------------------- */
#bookmark-container {
padding: 1mm; /* core spacing */
-moz-box-shadow: black 0 0.25mm 0.25mm;
}
#bookmark-form {
padding: 1mm; /* core spacing */
}
#bookmark-form .bookmark-controls {
display: none;
}
#bookmark-image {
list-style-image: url("images/star-40.png");
}
/* Identity popup -------------------------------------------------------- */
#identity-container {
border-bottom: 0.1mm solid grey;
}
#identity-popup-container {
padding: 1mm; /* core spacing */
}
/* 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: 1mm; /* core spacing */
}
/* 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-content-box > hbox > description,
#identity-popup-content-box > hbox > label {
font-size: 1.8mm !important;
white-space: pre-wrap;
}
#identity-popup-encryption-label,
#identity-popup-content-verifier {
font-size: 1.2mm !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");
}
/* search popup ---------------------------------------------------------- */
#search-container {
border-top: 0.1mm solid rgb(207,207,207);
padding: 1mm; /* core spacing */
margin-top: 1mm;
}
#search-engine-label-add {
font-size: 1.8mm;
}
#search-buttons,
.search-engine-button {
-moz-user-focus: ignore;
}
.search-engine-button .button-icon {
width: 32px;
height: 32px;
-moz-margin-end: 1mm;
}
/* Preferences window ---------------------------------------------------- */
.settings-title {
font-weight: bold;
color: black;
background-color: lightgray;
margin: 0;
padding: 0.25mm;
}
/* XXX should be a richlistitem */
.prefbox {
padding: 0.2mm 0.25mm;
border-bottom: 0.1mm solid rgb(207,207,207);
min-height: 6mm; /* row size */
-moz-box-align: center;
}
.options-box {
margin-left: 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: 2.4mm !important;
}
/* XXX should be a richlistitem description.normal */
.prefdesc {
font-size: 1.8mm !important;
color: grey;
}
/* alerts popup ----------------------------------------------------------- */
@media (orientation: landscape) {
#alerts-container {
width: 300px;
}
}
@media (orientation: portrait) {
#alerts-container {
width: 200px;
}
}
#alerts-text {
font-size: 1.8mm !important;
white-space: pre-wrap;
}
/* helperapp (save-as) popup ----------------------------------------------- */
#helperapp-target {
font-size: 1.8mm !important;
}
/* form popup -------------------------------------------------------------- */
#form-helper-container > #select-container > #select-container-inner {
-moz-border-radius-topleft: 1mm;
-moz-border-radius-topright: 1mm;
-moz-border-radius-bottomright: 0;
-moz-border-radius-bottomleft: 0;
padding: 1mm 0.5mm 1mm 0.5mm;
}
#form-helper-container > #select-container > #select-container-inner,
#form-buttons {
border: 0.1mm solid gray;
border-bottom: 0;
}
#form-buttons,
#select-buttons {
padding: 0.5mm 1mm; /* row size & core spacing */
}
#form-buttons > button,
#select-buttons > button {
-moz-user-focus: ignore;
-moz-user-select: none;
}
#form-helper-container #select-buttons {
display: none;
}
#select-container:not([hidden=true]) + #form-buttons {
border-top: 0;
}
/* select popup ------------------------------------------------------------ */
#stack > #select-container {
padding: 3mm;
}
#select-list {
border: 0.1mm solid gray;
}
#select-list > option {
color: #000;
background-color: #fff;
padding: 5px;
border-bottom: 1px solid rgb(207,207,207);
min-height: 6mm; /* row size */
-moz-box-align: center;
}
#select-list > option[selected="true"] {
background-color: #8db8d8;
}
#select-list > option.optgroup {
font-weight: bold;
font-style: italic;
}
#select-list > option.optgroup > image {
display: none;
}
#select-list > option.in-optgroup {
-moz-padding-start: 2.2mm;
}
#select-list > option > image {
min-width: 30px;
}
#select-list > option[selected="true"] > image {
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");
}
.modal-block {
-moz-box-align: center;
-moz-box-pack: center;
background-color: rgba(128, 128, 128, 0.5);
}