/* ***** 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 * * 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 ***** */ /* main toolbar (URL bar) -------------------------------------------------- */ #toolbar-main { -moz-appearance: none; -moz-box-align: center; padding: 0; border: none; background: #5e6166; } #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 */ } %ifndef ANDROID /* MAEMO (and desktop) only */ #tool-app-switch { margin-top: -8px; /* force the button to go to the edge */ -moz-margin-start: 0; /* force the button to go to the edge */ 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-hdpi.png"); background-color: transparent !important; border: none !important; } #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 (and desktop) only */ #tool-app-close { margin-top: -8px; /* force the button to go to the edge */ -moz-margin-end: 0 !important; /* force the button to go to the edge */ 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-hdpi.png"); background-color: transparent !important; border: none !important; } #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-hdpi.png"); } #toolbar-main[dialog="true"] #tool-app-close:-moz-locale-dir(rtl) { list-style-image: url("chrome://browser/skin/images/task-back-rtl-hdpi.png"); } %endif /* URL bar ----------------------------------------------------------------- */ #urlbar-container { color: #000; border-radius: 8px; margin: 8px; background: url("chrome://browser/skin/images/button-bg.png") bottom left repeat-x; } #urlbar-container[mode="edit"] > #identity-box { visibility: collapse; } /* URL bar cap buttons */ .urlbar-cap-button { margin: 0 !important; padding: 0 !important; border: 0 solid transparent; min-width: 64px !important; max-width: 64px !important; -moz-box-flex: 1; -moz-box-align: center; -moz-box-pack: center; background-image: url("chrome://browser/skin/images/endcap-default-bg.png"); } .urlbar-cap-button[open="true"], .urlbar-cap-button:not([disabled="true"]):hover:active { background-image: url("chrome://browser/skin/images/endcap-active-bg.png"); } /* left cap button --------------------------------------------------------- */ #identity-box { border-right: 1px solid rgba(118,121,126,0.5) !important; } #identity-box:-moz-locale-dir(ltr) { -moz-border-radius-topleft: 8px; -moz-border-radius-bottomleft: 8px; } #identity-box:-moz-locale-dir(rtl) { -moz-border-radius-topright: 8px; -moz-border-radius-bottomright: 8px; } #identity-box[open="true"], #identity-box:hover:active { border-right: 1px solid rgba(0, 0, 0, 0.2); } /* add special color */ #identity-box[mode="verifiedIdentity"] { background-image: url("chrome://browser/skin/images/endcap-ev-default-bg.png"); } #identity-box[mode="verifiedIdentity"][open="true"], #identity-box[mode="verifiedIdentity"]:hover:active { background-image: url("chrome://browser/skin/images/endcap-ev-active-bg.png"); } #identity-box[mode="verifiedDomain"] { background-image: url("chrome://browser/skin/images/endcap-ssl-default-bg.png"); } #identity-box[mode="verifiedDomain"][open="true"], #identity-box[mode="verifiedDomain"]:hover:active { background-image: url("chrome://browser/skin/images/endcap-ssl-active-bg.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"); } /* Main urlbar textbox */ #urlbar-title { padding: 16px 8px; } #urlbar-title.placeholder { color: gray; } #urlbar-edit, #urlbar-title { margin: 0 !important; border-left: 1px solid white; border-right: 1px solid white; min-height: 64px; } #urlbar-edit, #urlbar-title:hover:active { background-color: #f9f9f9; background: url("chrome://browser/skin/images/textbox-bg.png") bottom left repeat-x; } #urlbar-edit { -moz-appearance: none !important; border-radius: 0; border: 0 solid transparent; border-right: 1px solid rgba(0,0,0,0.5); padding: 0 !important; } #urlbar-edit:-moz-locale-dir(ltr) { -moz-border-radius-topleft: 8px; -moz-border-radius-bottomleft: 8px; } #urlbar-edit:-moz-locale-dir(rtl) { -moz-border-radius-topright: 8px; -moz-border-radius-bottomright: 8px; } #urlbar-edit > hbox > .textbox-input-box { margin: 0; } #urlbar-edit > hbox > hbox > .textbox-input { min-height: 60px; text-indent: 8px; } /* Right cap button --------------------------------------------------------- */ #urlbar-icons { border-left: 1px solid rgba(118,121,126,0.5) !important; } #urlbar-icons:-moz-locale-dir(ltr) { -moz-border-radius-topright: 8px; -moz-border-radius-bottomright: 8px; } #urlbar-icons:-moz-locale-dir(rtl) { -moz-border-radius-topleft: 8px; -moz-border-radius-bottomleft: 8px; } #urlbar-icons[disabled="true"] { pointer-events: none; } #urlbar-icons[disabled="true"] > toolbarbutton { opacity: 0.5; } #urlbar-icons:not([disabled="true"]):hover:active { border-left: 1px solid rgba(0, 0, 0, 0.2); } #tool-reload { list-style-image: url("chrome://browser/skin/images/reload-hdpi.png"); } #tool-stop { list-style-image: url("chrome://browser/skin/images/stop-hdpi.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; } /* right toolbar (browser controls) ---------------------------------------- */ #browser-controls { -moz-box-align: start; padding: 0; -moz-border-start: 3px solid #262629; min-width: 80px !important; background: #5e6166; } toolbarbutton.button-control { padding: 0 !important; min-width: 80px !important; border-top: 1px solid rgba(255,255,255,0.2) !important; border-bottom: 1px solid rgba(0,0,0,0.2) !important; background-color: transparent !important; -moz-box-align: center; -moz-box-pack: center; height: 82px; } toolbarbutton.button-control[disabled="true"] { opacity: 0.5; } toolbarbutton.button-control:not([disabled="true"]):hover:active { background-image: url("chrome://browser/skin/images/sidebarbutton-active-hdpi.png"); border-top: none; } #tool-star { list-style-image: url("chrome://browser/skin/images/bookmark-default-hdpi.png"); } #tool-star[starred="true"] { list-style-image: url("chrome://browser/skin/images/bookmark-starred-hdpi.png"); } #tool-back, #tool-forward:-moz-locale-dir(rtl) { list-style-image: url("chrome://browser/skin/images/back-default-64.png"); } #tool-back:-moz-locale-dir(rtl), #tool-forward { list-style-image: url("chrome://browser/skin/images/forward-default-64.png"); } #tool-panel-open { list-style-image: url("chrome://browser/skin/images/settings-default-64.png"); } %ifndef ANDROID /* MAEMO (and desktop) only */ .panel-close { min-width: 72px !important; /* 72, not 64 to make up for the negative margin */ max-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-hdpi.png"); background: transparent !important; border: none !important; } .panel-close:hover:active { background-color: #8db8d8 !important; } .panel-close:hover:active:-moz-locale-dir(ltr) { -moz-border-radius-bottomleft: 6px; } .panel-close:-moz-locale-dir(rtl) { list-style-image: url("chrome://browser/skin/images/task-back-rtl-hdpi.png"); } .panel-close:hover:active:-moz-locale-dir(rtl) { -moz-border-radius-bottomright: 6px; } %endif /* awesomescreen buttons --------------------------------------------------- */ toolbarbutton.choice-all { list-style-image: url(chrome://browser/skin/images/allpages-48.png); } toolbarbutton.choice-bookmarks { list-style-image: url(chrome://browser/skin/images/bookmarks-48.png); } toolbarbutton.choice-history { list-style-image: url(chrome://browser/skin/images/history-48.png); } toolbarbutton.choice-remotetabs { list-style-image: url(chrome://browser/skin/images/remotetabs-48.png); } /* browsers ---------------------------------------------------------------- */ .input-overlay:-moz-focusring { outline: 0 !important; } /* * These rules prevent browser to steal the focus while touching the screen * to allow panning/zooming of the browser view without closing the VKB */ #browsers > notificationbox { -moz-user-focus: ignore; } /* browser tools panel UI ------------------------------------------------ */ .panel-header { margin: 0; padding: 4px 8px 8px 8px; font-weight: bold; color: white !important; background-color: rgb(101, 121, 227) !important; } #tool-addons { list-style-image: url("chrome://browser/skin/images/addons-default-64.png"); } #tool-downloads { list-style-image: url("chrome://browser/skin/images/downloads-default-64.png"); } #tool-preferences { list-style-image: url("chrome://browser/skin/images/preferences-default-64.png"); } #tool-console { list-style-image: url("chrome://browser/skin/images/console-default-64.png"); } /* preferences panel UI -----------------------------------------------------*/ #menulist-container[for="prefs-homepage-options"] .menulist-command.selected { pointer-events: none; } /* 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"); width: 32px; height: 32px; } .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"); } .addon-banner-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; } richlistitem[typeName="banner"], richlistitem[typeName="showmore"] { background-color: rgb(255,255,255); background: url(chrome://browser/skin/images/browseaddons-bg.jpg) repeat-x center top; } /* downloads panel UI ---------------------------------------------------- */ .download-retry-failed { color: red !important; display: none; } .download-retry-failed[state="2"] { display: -moz-box; } /* 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; } /* 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-image: url(images/arrowup-16.png), url("images/row-header-bg.png"); background-repeat: no-repeat, repeat-x; background-position: 98% 50%, top left; background-size: auto auto, auto 100%; color: #000; min-height: 70px; /* row size */ } placelabel:-moz-locale-dir(rtl) { background-position: 2% 50%, top left; } /* folder bookmarks row */ placeitem[type="folder"] { -moz-box-pack: center; -moz-padding-end: 40px; background-image: url(images/arrowright-16.png); background-repeat: no-repeat; background-position: 98% 50%; } placeitem[type="folder"]:-moz-locale-dir(rtl) { background-position: 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; } /* autocomplete-items */ .autocomplete-items { background-color: white; } autocompleteresult, placeitem { -moz-user-focus: ignore; color: black; background-color: white; padding: 2px 4px; border-bottom: 1px solid rgb(207,207,207); min-height: 70px; /* row size */ } #popup_autocomplete autocompleteresult:hover:active, placelist placeitem:hover:active:not([selected="true"]), historylist autocompleteresult:hover:active:not([selected="true"]):not([class="history-item-title"]), remotetabslist autocompleteresult:hover: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"], .autocomplete-item-container[remote="true"], .autocomplete-item-container[search="true"] { background-repeat: no-repeat; background-position: 100% 2px; background-size: 26px 26px; } .autocomplete-item-container[favorite="true"] { background-image: url("chrome://browser/skin/images/autocomplete-bookmarked-hdpi.png"); } .autocomplete-item-container[remote="true"] { background-image: url("chrome://browser/skin/images/autocomplete-desktop-hdpi.png"); } .autocomplete-item-container[search="true"] { background-image: url("chrome://browser/skin/images/autocomplete-search-hdpi.png"); } .autocomplete-item-container[favorite="true"][remote="true"] { background-image: url("chrome://browser/skin/images/autocomplete-bookmarked-hdpi.png"), url("chrome://browser/skin/images/autocomplete-desktop-hdpi.png"); background-position: 100% 2px, 94% 2px; -moz-padding-end: 48px; } .autocomplete-item-container[favorite="true"]:-moz-locale-dir(rtl), .autocomplete-item-container[remote="true"]:-moz-locale-dir(rtl) { background-position: left 2px; } .autocomplete-item-container[favorite="true"][remote="true"]:-moz-locale-dir(rtl) { background-position: left 2px, 6% 2px; } .autocomplete-item-subtitle, .bookmark-item-url { color: blue; font-size: 18px !important; -moz-margin-end: 26px; } .autocomplete-item-container[favorite="true"] .autocomplete-item-label, .autocomplete-item-container[remote="true"] .autocomplete-item-label, .autocomplete-item-container[search="true"] .autocomplete-item-label { -moz-padding-end: 30px; } .autocomplete-item-container[search="true"] .autocomplete-item-subtitle { color: black; font-size: smaller; } .autocomplete-item-tags, .bookmark-item-tags { content: attr(tags); font-size: 18px !important; font-weight: lighter; margin: 2px 0 4px 0; -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"], .settings-title { min-height: 0; color: black; font-size: smaller; font-weight: bold; background-color: transparent; margin: 0; padding: 5px 10px; background-image: url(images/row-header-bg.png); background-repeat: repeat-x; background-size: auto 100%; } autocompleteresult[class="history-item-title"] .autocomplete-item-label, autocompleteresult[class="remotetabs-item-title"] .autocomplete-item-label { font-size: 18px !important; font-weight: bold !important; } autocompleteresult[class="history-item-title"] .autocomplete-item-subtitle, autocompleteresult[class="history-item-title"] .autocomplete-item-tags, autocompleteresult[class="history-item-title"] .autocomplete-item-badge, autocompleteresult[class="remotetabs-item-title"] .autocomplete-item-subtitle, autocompleteresult[class="remotetabs-item-title"] .autocomplete-item-tags, autocompleteresult[class="remotetabs-item-title"] .autocomplete-item-badge { margin: 0; padding: 0; } autocompleteresult[class="history-item-title"] .bookmark-item-subtitle, autocompleteresult[class="history-item-title"] .autocomplete-item-tags, autocompleteresult[class="history-item-title"] .autocomplete-item-badge, autocompleteresult[class="remotetabs-item-title"] .bookmark-item-subtitle, autocompleteresult[class="remotetabs-item-title"] .autocomplete-item-tags, autocompleteresult[class="remotetabs-item-title"] .autocomplete-item-badge { 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:hover:active { background-color: white; } autocompleteresult.noresults > .autocomplete-item-container { text-align: center; color: grey; } /* Left sidebar (tabs) ---------------------------------------------------- */ #tabs-container { -moz-border-end: 3px solid #262629; background: #5e6166; } #tabs:-moz-locale-dir(rtl) { -moz-box-align: start; } #tabs > .tabs-list { display: block; -moz-column-width: 121px; -moz-column-gap: 0; -moz-user-focus: ignore; padding: 0; background-color: transparent; margin: 0; -moz-padding-end: 8px; /* core spacing */ -moz-padding-start: 4px; /* allow the thumbnails to get close to the edge */ } #tabs-controls { margin-top: 8px; /* core spacing */ -moz-box-pack: center; } documenttab { /* display:block allow us to change the line-height, it won't work otherwise */ display: block; line-height: 0; -moz-margin-start: 10px; margin-bottom: 5px; width: 121px; padding: 8px; padding-bottom: 10px; background: url("chrome://browser/skin/images/tab-inactive-hdpi.png") bottom repeat-x; border-radius: 6px; background-clip: padding-box; border: 1px solid rgba(0,0,0,.1); border-bottom-width: 2px; } documenttab[selected="true"] { border-bottom-color: rgba(0,0,0,.2); background: url("chrome://browser/skin/images/tab-active-hdpi.png") bottom repeat-x; } .documenttab-thumbnail { background-color: white; opacity: 0.5; } documenttab[selected="true"] > stack > .documenttab-thumbnail { opacity: 1.0; } .documenttab-close-container { position: relative; left: -16px; -moz-margin-end: 49px; } .documenttab-close { width: 40px; height: 40px; list-style-image: url("chrome://browser/skin/images/close-inactive-tab-hdpi.png"); } documenttab[selected="true"] > stack > hbox > .documenttab-close { list-style-image: url("chrome://browser/skin/images/close-default-hdpi.png"); } .documenttab-close-container:hover:active > .documenttab-close { list-style-image: url("chrome://browser/skin/images/close-active-hdpi.png"); } documenttab:only-child > stack > hbox > .documenttab-close { display: none; } documenttab[reload="true"] { background: url("chrome://browser/skin/images/tab-closed-hdpi.png") bottom repeat-x; } .documenttab-reload { background: url("chrome://browser/skin/images/tab-reopen-hdpi.png"); display: none; } documenttab[reload="true"] > stack > .documenttab-close-container { display: none; } documenttab[reload="true"] > stack > .documenttab-reload { display: -moz-box; } #newtab-button { -moz-box-flex: 1; list-style-image: url("images/newtab-default-64.png"); height: 82px; } /* bookmark editor ------------------------------------------------------- */ #bookmark-container { padding: 8px; /* core spacing */ background: rgb(94,97,102); 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-popup-container { padding: 8px; /* core spacing */ padding-bottom: 16px; } /* Popup Icons */ #identity-popup-icon { padding: 0; list-style-image: url("chrome://browser/skin/images/identity-default-hdpi.png"); } #identity-container[mode="verifiedIdentity"] > hbox > #identity-popup-icon { list-style-image: url("chrome://browser/skin/images/identity-ev-hdpi.png"); } #identity-container[mode="verifiedDomain"] > hbox > #identity-popup-icon { list-style-image: url("chrome://browser/skin/images/identity-ssl-hdpi.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/unlocked-hdpi.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/locked-hdpi.png"); } /* Page Actions, Prompt, and Context Menu popups --------------------------- */ .prompt-buttons, #context-commands, #pageactions-container { background: transparent; border-top: 1px solid rgb(205,205,205); padding: 0; -moz-user-focus: ignore; display: inline-block; } .prompt-button, .context-command, pageaction { -moz-border-top-colors: white; -moz-border-right-colors: rgb(175,175,175); -moz-border-bottom-colors: rgb(175,175,175); -moz-border-left-colors: white; border-style: solid; border-width: 1px !important; height: 64px; min-height: 64px; width: 100%; min-width: 200px; /* keep the button from being too narrow */ } /* Override richlistbox and richlistitem styles */ #context-commands > scrollbox { width: 100%; } .prompt-button, .context-command { -moz-box-align: center; } .prompt-button[disabled="true"], .context-command[disabled="true"] { pointer-events: none; color: #aaa !important; } .prompt-button[selected="true"], .context-command[selected="true"] { background: transparent; } /* Override button styles */ .prompt-button { margin: 0; -moz-border-image: none !important; border-radius: 0; margin: 0; background: transparent; } .prompt-button > .button-box { padding: 0 4px 1px 3px !important; } .prompt-button > .button-box > .button-icon { -moz-margin-end: 8px; } @media (min-width: 500px) { .prompt-button, pageaction { width: 50%; } .prompt-button:last-child:nth-child(odd), pageaction.odd-last-child { width: 100%; } } .prompt-button:not([disabled]):hover:active, .context-command:not([disabled]):hover:active, pageaction:not([disabled]):hover:active { background: url("chrome://browser/skin/images/popup-selected-item-hdpi.png") repeat-x !important; background-origin: border-box !important; background-clip: border-box !important; -moz-border-top-colors: transparent; -moz-border-left-colors: transparent; } pageaction > hbox > .pageaction-image { width: 32px; height: 32px; -moz-margin-end: 8px; } pageaction:not([image]) > hbox >.pageaction-image { width: 0; } .prompt-button, .context-command, .pageaction-title { font-size: 24px !important; color: #414141 !important; } .pageaction-desc { font-size: 14px !important; color: #414141; } .pageaction-desc[value=""] { display: none; } #share-title, #context-hint { font-size: 18px; padding: 4px; } #context-hint[value=""] { visibility: collapse; } #search-engines-list > .prompt-button > .button-box > .button-icon { width: 32px; height: 32px; } /* Preferences window ---------------------------------------------------- */ .setting { padding-left: 10px; border-bottom: 1px solid #cacdd5; } /* 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; } .setting-group > .prefbox { border-bottom: none; } .setting-subgroup > .prefbox { border-bottom: none; -moz-margin-start: 16px; } .setting-subgroup + :not(.setting-subgroup) > .prefbox { border-top: 1px solid rgb(207,207,207); } /* Put setting textboxes on a separate row in portrait */ @media (max-width: 499px) { .setting-integer, .setting-string { -moz-box-align: start; -moz-box-orient: vertical; } .setting-integer > .setting-input > textbox, .setting-string > .setting-input > textbox { width: 499px; /* textboxes seem to need a width in order to flex */ -moz-box-flex: 1; } } .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 { padding: 0; background-color: #5e6166; } #content-navigator, #content-navigator > #select-container > #select-spacer, #content-navigator > #select-container > #select-container-inner > #select-buttons { display: none; } #find-helper-textbox[status="1"] { /* Ci.nsITypeAheadFind.FIND_NOTFOUND */ background: rgb(255,200,200); } #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; border-radius: 8px 8px 0 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: 0; } #content-navigator > hbox > .content-navigator-item { margin: 0; } /* XXX this should go with the final Android theme */ #content-navigator > hbox > toolbarbutton { border-left: 1px solid rgba(255,255,255,0.2); border-right: 1px solid rgba(0,0,0,0.2); background-color: transparent; -moz-box-align: center; -moz-box-pack: center; } #content-navigator > hbox > .previous-button { -moz-margin-end: 0; list-style-image: url("chrome://browser/skin/images/previous-hdpi.png"); } #content-navigator > hbox > .next-button { -moz-margin-start: 0; list-style-image: url("chrome://browser/skin/images/next-hdpi.png"); } #content-navigator > hbox > toolbarbutton:not([disabled="true"]):hover:active { background-color: #3d3f42; } #content-navigator > hbox > toolbarbutton[disabled="true"] { opacity: 0.5; } #form-helper-autofill, #select-helper-textbox, #find-helper-textbox { border: none; margin: 4px; border-radius: 8px; } #form-helper-autofill { padding: 0; /* half core spacing & none (autorepeat arrows compensate) */ color: black; background-color: rgb(235,235,235); background-image: url("chrome://browser/skin/images/button-bg.png"); background-size: auto 100%; background-repeat: repeat-x; } #form-helper-autofill > .autorepeatbutton-down, #form-helper-autofill > .autorepeatbutton-up { border: none; } #form-helper-autofill > .autorepeatbutton-down { list-style-image: url("chrome://browser/skin/images/arrowright-16.png"); } #form-helper-autofill > .autorepeatbutton-down:-moz-locale-dir(rtl) { list-style-image: url("chrome://browser/skin/images/arrowleft-16.png"); } #form-helper-autofill > .autorepeatbutton-up { list-style-image: url("chrome://browser/skin/images/arrowleft-16.png"); } #form-helper-autofill > .autorepeatbutton-up:-moz-locale-dir(rtl) { list-style-image: url("chrome://browser/skin/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:hover: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"] { list-style-image: url("chrome://browser/skin/images/check-30.png"); } /* menulist popup ---------------------------------------------------------- */ #menulist-commands { display: -moz-box; } #menulist-title { padding: 12px 4px 4px 4px; font-size: 18px; } #menulist-title[value=""] { display: none; } .menulist-command > image { width: 32px; height: 32px; } .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; } /* full-screen video ------------------------------------------------------- */ .full-screen { position: absolute; z-index: 500; } /* Android menu ------------------------------------------------------------ */ #appmenu { background: rgba(255,255,255,0.95); box-shadow: 0 6px 10px 6px black; border-style: solid; border-color: #6d6d6d; border-width: 3px 3px 0 3px; } .appmenu-button { -moz-box-flex: 1; -moz-box-orient: vertical; border-style: solid; border-color: #d8d8d8 !important; border-width: 0 1px 1px 0; height: 99px; width: 0; } .appmenu-button:hover:active { background-image: url("chrome://browser/skin/images/appmenu-active-hdpi.png"); background-size: 100% 100%; } #appmenu > .appmenu-button .toolbarbutton-text { display: block !important; font-size: 22px !important; } @media (max-width: 499px) { #appmenu[count="4"], #appmenu[count="5"], #appmenu[count="6"] { height: 200px; display: inline-block; } #appmenu[count="4"] > .appmenu-button, #appmenu[count="5"] > .appmenu-button { width: 50%; } #appmenu[count="5"] > .appmenu-button:nth-child(3), #appmenu[count="5"] > .appmenu-button:nth-child(4), #appmenu[count="5"] > .appmenu-button:nth-child(5), #appmenu[count="6"] > .appmenu-button { width: 33.33%; } } /* Sync setup ------------------------------------------------------------- */ .syncsetup-page { padding: 8px; background-color: #000; } .syncsetup-center { text-align: center; } .syncsetup-title { -moz-box-align: center; } .syncsetup-code { color: #000; background-color: #fff; padding: 0.5em; -moz-padding-end: 0.25em; letter-spacing: 0.5em; text-align: center; min-width: 8em; } .syncsetup-link { text-decoration: underline; } .syncsetup-label { color: #fff; }