2008-07-04 02:16:46 -04:00
|
|
|
/* ***** 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 ***** */
|
|
|
|
|
2011-01-13 18:36:56 -05:00
|
|
|
%filter substitution
|
|
|
|
%include defines.inc
|
2010-12-15 14:15:42 -05:00
|
|
|
|
2008-11-12 14:22:44 -05:00
|
|
|
/* main toolbar (URL bar) -------------------------------------------------- */
|
|
|
|
#toolbar-main {
|
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-box-align: center;
|
2010-10-21 17:34:31 -04:00
|
|
|
padding: 0;
|
2008-11-12 14:22:44 -05:00
|
|
|
border: none;
|
2010-10-19 15:54:45 -07:00
|
|
|
background: #5e6166;
|
2008-11-12 14:22:44 -05:00
|
|
|
}
|
2008-07-04 02:16:46 -04:00
|
|
|
|
2009-08-14 13:02:23 -07:00
|
|
|
#toolbar-moveable-container[top="0"] {
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
|
2008-11-12 14:22:44 -05:00
|
|
|
/* main toolbar buttons */
|
|
|
|
toolbarbutton.urlbar-button {
|
2009-05-05 22:30:43 -04:00
|
|
|
/* space out the buttons a bit horizontally */
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-start: @margin_normal@; /* core spacing */
|
2008-11-12 14:22:44 -05:00
|
|
|
}
|
|
|
|
|
2010-10-01 10:56:56 -04:00
|
|
|
%ifndef ANDROID
|
|
|
|
/* MAEMO (and desktop) only */
|
2009-09-23 12:09:44 -04:00
|
|
|
#tool-app-switch {
|
2011-01-13 18:36:56 -05:00
|
|
|
margin-top: -@margin_normal@; /* force the button to go to the edge */
|
2010-10-21 17:34:31 -04:00
|
|
|
-moz-margin-start: 0; /* force the button to go to the edge */
|
2011-01-13 18:36:56 -05:00
|
|
|
min-width: @touch_button_xlarge@ !important; /* 72, not 64 to make up for the negative margin */
|
|
|
|
min-height: @touch_button_xlarge@ !important; /* 72, not 64 to make up for the negative margin */
|
2009-10-07 01:02:32 -04:00
|
|
|
visibility: collapse;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-end: @margin_normal@; /* core spacing */
|
2010-10-21 17:34:31 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/task-switch-hdpi.png");
|
2010-10-07 20:49:00 -04:00
|
|
|
background-color: transparent !important;
|
|
|
|
border: none !important;
|
2009-09-23 12:09:44 -04:00
|
|
|
}
|
|
|
|
|
2010-04-26 09:55:56 -04:00
|
|
|
#tool-app-switch:hover:active {
|
|
|
|
background-color: #8db8d8 !important;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius-bottomright: @border_radius_small@;
|
2010-04-26 09:55:56 -04:00
|
|
|
}
|
|
|
|
|
2009-10-07 01:02:32 -04:00
|
|
|
#toolbar-main[fullscreen="true"] #tool-app-switch:not(:-moz-system-metric(maemo-classic)) {
|
2009-09-23 12:09:44 -04:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2010-10-01 10:56:56 -04:00
|
|
|
/* MAEMO (and desktop) only */
|
2009-07-08 10:55:07 -04:00
|
|
|
#tool-app-close {
|
2011-01-13 18:36:56 -05:00
|
|
|
margin-top: -@margin_normal@; /* force the button to go to the edge */
|
2010-10-21 17:34:31 -04:00
|
|
|
-moz-margin-end: 0 !important; /* force the button to go to the edge */
|
2011-01-13 18:36:56 -05:00
|
|
|
min-width: @touch_button_xlarge@ !important; /* 72, not 64 to make up for the negative margin */
|
|
|
|
min-height: @touch_button_xlarge@ !important; /* 72, not 64 to make up for the negative margin */
|
2010-04-05 23:17:23 -04:00
|
|
|
visibility: collapse;
|
2010-10-21 17:34:31 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/task-close-hdpi.png");
|
2010-10-07 20:49:00 -04:00
|
|
|
background-color: transparent !important;
|
|
|
|
border: none !important;
|
2009-07-08 10:55:07 -04:00
|
|
|
}
|
|
|
|
|
2010-04-26 09:55:56 -04:00
|
|
|
#tool-app-close:hover:active {
|
|
|
|
background-color: #8db8d8 !important;
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#tool-app-close:hover:active:-moz-locale-dir(ltr) {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius-bottomleft: @border_radius_small@;
|
2010-04-26 09:55:56 -04:00
|
|
|
}
|
|
|
|
|
2010-08-20 13:32:00 -07:00
|
|
|
#tool-app-close:hover:active:-moz-locale-dir(rtl) {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius-bottomright: @border_radius_small@;
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2009-07-20 16:22:22 -04:00
|
|
|
#toolbar-main[fullscreen="true"] #tool-app-close {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2009-07-08 10:55:07 -04:00
|
|
|
#toolbar-main[dialog="true"] #tool-app-close {
|
2009-07-20 16:22:22 -04:00
|
|
|
visibility: visible;
|
2010-10-21 17:34:31 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/task-back-hdpi.png");
|
2009-07-08 10:55:07 -04:00
|
|
|
}
|
|
|
|
|
2010-08-20 13:32:00 -07:00
|
|
|
#toolbar-main[dialog="true"] #tool-app-close:-moz-locale-dir(rtl) {
|
2010-10-21 17:34:31 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/task-back-rtl-hdpi.png");
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
2010-09-07 09:46:33 -04:00
|
|
|
%endif
|
2010-08-20 13:32:00 -07:00
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
/* URL bar ----------------------------------------------------------------- */
|
|
|
|
#urlbar-container {
|
|
|
|
color: #000;
|
2011-01-13 18:36:56 -05:00
|
|
|
border-radius: @border_radius_normal@;
|
|
|
|
margin: @margin_normal@;
|
2010-11-02 12:20:11 -07:00
|
|
|
background: url("chrome://browser/skin/images/button-bg.png") bottom left repeat-x;
|
2010-09-07 09:46:34 -04:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#urlbar-container[mode="edit"] > #identity-box {
|
|
|
|
visibility: collapse;
|
2008-09-10 15:30:52 -04:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
/* URL bar cap buttons */
|
|
|
|
.urlbar-cap-button {
|
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
border: 0 solid transparent;
|
2011-01-13 18:36:56 -05:00
|
|
|
min-width: @touch_button_large@ !important;
|
|
|
|
max-width: @touch_button_large@ !important;
|
2010-10-07 20:49:00 -04:00
|
|
|
-moz-box-flex: 1;
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
2010-10-20 23:14:50 -04:00
|
|
|
background-image: url("chrome://browser/skin/images/endcap-default-bg.png");
|
2008-11-12 14:22:44 -05:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
.urlbar-cap-button[open="true"],
|
2010-10-21 19:53:15 +02:00
|
|
|
.urlbar-cap-button:not([disabled="true"]):hover:active {
|
2010-10-20 23:14:50 -04:00
|
|
|
background-image: url("chrome://browser/skin/images/endcap-active-bg.png");
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
/* left cap button --------------------------------------------------------- */
|
2010-10-08 07:21:17 +02:00
|
|
|
#identity-box {
|
2011-01-13 18:36:56 -05:00
|
|
|
border-right: @border_width_tiny@ solid rgba(118,121,126,0.5) !important;
|
2010-10-08 02:40:09 +02:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#identity-box:-moz-locale-dir(ltr) {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius-topleft: @border_radius_normal@;
|
|
|
|
-moz-border-radius-bottomleft: @border_radius_normal@;
|
2010-10-08 07:21:17 +02:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#identity-box:-moz-locale-dir(rtl) {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius-topright: @border_radius_normal@;
|
|
|
|
-moz-border-radius-bottomright: @border_radius_normal@;
|
2009-05-05 22:30:43 -04:00
|
|
|
}
|
|
|
|
|
2010-10-21 19:53:15 +02:00
|
|
|
#identity-box[open="true"],
|
2010-10-07 20:49:00 -04:00
|
|
|
#identity-box:hover:active {
|
2011-01-13 18:36:56 -05:00
|
|
|
border-right: @border_width_tiny@ solid rgba(0, 0, 0, 0.2);
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2009-05-29 01:58:13 -04:00
|
|
|
/* add special color */
|
2009-06-08 14:09:18 -04:00
|
|
|
#identity-box[mode="verifiedIdentity"] {
|
2010-10-26 15:16:06 -04:00
|
|
|
background-image: url("chrome://browser/skin/images/endcap-ev-default-bg.png");
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-10-21 19:53:15 +02:00
|
|
|
#identity-box[mode="verifiedIdentity"][open="true"],
|
2010-10-20 23:14:50 -04:00
|
|
|
#identity-box[mode="verifiedIdentity"]:hover:active {
|
2010-10-26 15:16:06 -04:00
|
|
|
background-image: url("chrome://browser/skin/images/endcap-ev-active-bg.png");
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2009-06-08 14:09:18 -04:00
|
|
|
#identity-box[mode="verifiedDomain"] {
|
2010-10-26 15:16:06 -04:00
|
|
|
background-image: url("chrome://browser/skin/images/endcap-ssl-default-bg.png");
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-10-21 19:53:15 +02:00
|
|
|
#identity-box[mode="verifiedDomain"][open="true"],
|
2010-10-20 23:14:50 -04:00
|
|
|
#identity-box[mode="verifiedDomain"]:hover:active {
|
2010-10-26 15:16:06 -04:00
|
|
|
background-image: url("chrome://browser/skin/images/endcap-ssl-active-bg.png");
|
2010-08-27 01:09:56 +02:00
|
|
|
}
|
|
|
|
|
2008-11-12 14:22:44 -05:00
|
|
|
#urlbar-throbber[loading] {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/throbber.png");
|
|
|
|
}
|
|
|
|
|
2008-11-22 00:12:25 -05:00
|
|
|
#urlbar-favicon {
|
2009-10-28 15:23:40 -04:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2008-11-22 00:12:25 -05:00
|
|
|
}
|
|
|
|
|
2009-10-09 08:34:02 -04:00
|
|
|
#urlbar-favicon[src=""] {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/favicon-default-30.png");
|
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
/* Main urlbar textbox */
|
2010-11-02 12:20:11 -07:00
|
|
|
#urlbar-title {
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: @padding_xxxnormal@ @padding_normal@;
|
2010-11-02 12:20:11 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-title.placeholder {
|
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-edit,
|
|
|
|
#urlbar-title {
|
2010-06-24 18:25:40 -04:00
|
|
|
margin: 0 !important;
|
2011-01-13 18:36:56 -05:00
|
|
|
border-left: @border_width_tiny@ solid white;
|
|
|
|
border-right: @border_width_tiny@ solid white;
|
|
|
|
min-height: @touch_normal@;
|
2008-11-12 14:22:44 -05:00
|
|
|
}
|
2010-07-19 16:51:03 +02:00
|
|
|
|
2010-11-02 12:20:11 -07:00
|
|
|
#urlbar-edit,
|
|
|
|
#urlbar-title:hover:active {
|
2010-10-20 15:57:59 -07:00
|
|
|
background-color: #f9f9f9;
|
2010-11-02 12:20:11 -07:00
|
|
|
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;
|
2011-01-13 18:36:56 -05:00
|
|
|
border-right: @border_width_tiny@ solid rgba(0,0,0,0.5);
|
2010-11-02 12:20:11 -07:00
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-edit:-moz-locale-dir(ltr) {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius-topleft: @border_radius_normal@;
|
|
|
|
-moz-border-radius-bottomleft: @border_radius_normal@;
|
2010-11-02 12:20:11 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-edit:-moz-locale-dir(rtl) {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius-topright: @border_radius_normal@;
|
|
|
|
-moz-border-radius-bottomright: @border_radius_normal@;
|
2010-08-27 00:48:27 +02:00
|
|
|
}
|
|
|
|
|
2010-06-24 18:25:40 -04:00
|
|
|
#urlbar-edit > hbox > .textbox-input-box {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2010-07-19 16:51:03 +02:00
|
|
|
|
2010-11-22 22:41:08 -08:00
|
|
|
:invalid {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2010-06-25 14:52:38 -04:00
|
|
|
#urlbar-edit > hbox > hbox > .textbox-input {
|
2011-01-13 18:36:56 -05:00
|
|
|
min-height: @urlbar_edit_height@;
|
|
|
|
text-indent: @urlbar_edit_indent@;
|
2010-09-07 09:46:34 -04:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
/* Right cap button --------------------------------------------------------- */
|
|
|
|
#urlbar-icons {
|
2011-01-13 18:36:56 -05:00
|
|
|
border-left: @border_width_tiny@ solid rgba(118,121,126,0.5) !important;
|
2010-10-08 07:21:17 +02:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#urlbar-icons:-moz-locale-dir(ltr) {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius-topright: @border_radius_normal@;
|
|
|
|
-moz-border-radius-bottomright: @border_radius_normal@;
|
2008-11-12 14:22:44 -05:00
|
|
|
}
|
|
|
|
|
2010-08-20 13:32:00 -07:00
|
|
|
#urlbar-icons:-moz-locale-dir(rtl) {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius-topleft: @border_radius_normal@;
|
|
|
|
-moz-border-radius-bottomleft: @border_radius_normal@;
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-10-21 19:53:15 +02:00
|
|
|
#urlbar-icons[disabled="true"] {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-icons[disabled="true"] > toolbarbutton {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-icons:not([disabled="true"]):hover:active {
|
2011-01-13 18:36:56 -05:00
|
|
|
border-left: @border_width_tiny@ solid rgba(0, 0, 0, 0.2);
|
2008-11-12 14:22:44 -05:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#tool-reload {
|
2010-10-19 14:57:47 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/reload-hdpi.png");
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#tool-stop {
|
2010-10-19 14:57:47 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/stop-hdpi.png");
|
2009-05-29 01:58:13 -04:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#tool-search {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/navigation-magnifier-30.png");
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#urlbar-icons[mode="loading"] > #tool-search,
|
|
|
|
#urlbar-icons[mode="loading"] > #tool-reload {
|
|
|
|
visibility: collapse;
|
2010-10-08 02:40:09 +02:00
|
|
|
}
|
2009-05-29 01:58:13 -04:00
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#urlbar-icons[mode="view"] > #tool-search,
|
|
|
|
#urlbar-icons[mode="view"] > #tool-stop {
|
|
|
|
visibility: collapse;
|
2010-10-08 07:21:17 +02:00
|
|
|
}
|
2010-08-20 13:32:00 -07:00
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#urlbar-icons[mode="edit"] > #tool-reload,
|
|
|
|
#urlbar-icons[mode="edit"] > #tool-stop {
|
|
|
|
visibility: collapse;
|
2008-07-11 20:50:47 -04:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
/* right toolbar (browser controls) ---------------------------------------- */
|
|
|
|
#browser-controls {
|
|
|
|
-moz-box-align: start;
|
|
|
|
padding: 0;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-start: @border_width_large@ solid #262629;
|
|
|
|
min-width: @sidebar_width_minimum@ !important;
|
2010-10-19 15:54:45 -07:00
|
|
|
background: #5e6166;
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
toolbarbutton.button-control {
|
|
|
|
padding: 0 !important;
|
2011-01-13 18:36:56 -05:00
|
|
|
min-width: @sidebar_width_minimum@ !important;
|
|
|
|
border-top: @border_width_tiny@ solid rgba(255,255,255,0.2) !important;
|
|
|
|
border-bottom: @border_width_tiny@ solid rgba(0,0,0,0.2) !important;
|
2010-10-07 20:49:00 -04:00
|
|
|
background-color: transparent !important;
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
2011-01-13 18:36:56 -05:00
|
|
|
height: @sidebar_button_height@;
|
2010-12-09 10:58:48 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton.button-control:last-child {
|
2011-01-13 18:36:56 -05:00
|
|
|
border-bottom: 0 solid rgba(0,0,0,0.2) !important;
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
toolbarbutton.button-control[disabled="true"] {
|
|
|
|
opacity: 0.5;
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
toolbarbutton.button-control:not([disabled="true"]):hover:active {
|
2010-10-20 23:36:21 +02:00
|
|
|
background-image: url("chrome://browser/skin/images/sidebarbutton-active-hdpi.png");
|
2010-10-07 20:49:00 -04:00
|
|
|
border-top: none;
|
2010-10-08 02:40:09 +02:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#tool-star {
|
2010-10-18 20:34:18 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/bookmark-default-hdpi.png");
|
2010-10-08 07:21:17 +02:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#tool-star[starred="true"] {
|
2010-10-18 20:34:18 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/bookmark-starred-hdpi.png");
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#tool-back,
|
2010-08-20 13:32:00 -07:00
|
|
|
#tool-forward:-moz-locale-dir(rtl) {
|
2011-01-13 18:36:56 -05:00
|
|
|
list-style-image: url("chrome://browser/skin/images/back-default-hdpi.png");
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
#tool-back:-moz-locale-dir(rtl),
|
|
|
|
#tool-forward {
|
2011-01-13 18:36:56 -05:00
|
|
|
list-style-image: url("chrome://browser/skin/images/forward-default-hdpi.png");
|
2010-10-08 07:21:17 +02:00
|
|
|
}
|
|
|
|
|
2008-12-17 14:31:25 -05:00
|
|
|
#tool-panel-open {
|
2011-01-13 18:36:56 -05:00
|
|
|
list-style-image: url("chrome://browser/skin/images/settings-default-hdpi.png");
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-10-01 10:56:56 -04:00
|
|
|
%ifndef ANDROID
|
|
|
|
/* MAEMO (and desktop) only */
|
2010-11-22 22:48:55 -05:00
|
|
|
.panel-close {
|
2011-01-13 18:36:56 -05:00
|
|
|
min-width: @touch_button_xlarge@ !important; /* 72, not 64 to make up for the negative margin */
|
|
|
|
max-width: @touch_button_xlarge@ !important; /* 72, not 64 to make up for the negative margin */
|
|
|
|
min-height: @touch_button_xlarge@ !important; /* 72, not 64 to make up for the negative margin */
|
2010-10-21 17:34:31 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/task-back-hdpi.png");
|
2010-10-07 20:49:00 -04:00
|
|
|
background: transparent !important;
|
|
|
|
border: none !important;
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-11-22 22:48:55 -05:00
|
|
|
.panel-close:hover:active {
|
2010-09-30 23:30:27 +02:00
|
|
|
background-color: #8db8d8 !important;
|
2008-09-10 15:30:52 -04:00
|
|
|
}
|
|
|
|
|
2010-11-22 22:48:55 -05:00
|
|
|
.panel-close:hover:active:-moz-locale-dir(ltr) {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius-bottomleft: @border_radius_small@;
|
2010-09-22 06:46:00 -04:00
|
|
|
}
|
|
|
|
|
2010-11-22 22:48:55 -05:00
|
|
|
.panel-close:-moz-locale-dir(rtl) {
|
2010-10-21 17:34:31 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/task-back-rtl-hdpi.png");
|
2009-07-31 08:33:41 -04:00
|
|
|
}
|
|
|
|
|
2010-11-22 22:48:55 -05:00
|
|
|
.panel-close:hover:active:-moz-locale-dir(rtl) {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius-bottomright: @border_radius_small@;
|
2010-09-30 23:30:27 +02:00
|
|
|
}
|
|
|
|
%endif
|
2010-02-17 14:43:07 -05:00
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
/* awesomescreen buttons --------------------------------------------------- */
|
|
|
|
toolbarbutton.choice-all {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/allpages-48.png);
|
2010-10-08 07:21:17 +02:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
toolbarbutton.choice-bookmarks {
|
|
|
|
list-style-image: url(chrome://browser/skin/images/bookmarks-48.png);
|
2010-10-08 02:40:09 +02:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
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 ---------------------------------------------------------------- */
|
2010-11-11 15:35:27 -05:00
|
|
|
.input-overlay:-moz-focusring {
|
2010-10-07 20:49:00 -04:00
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
2010-10-28 01:41:19 +02:00
|
|
|
/*
|
|
|
|
* These rules prevent browser to steal the focus while touching the screen
|
|
|
|
* to allow panning/zooming of the browser view without closing the VKB
|
|
|
|
*/
|
2010-11-12 10:06:42 -05:00
|
|
|
#browsers > notificationbox {
|
2010-10-28 01:41:19 +02:00
|
|
|
-moz-user-focus: ignore;
|
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
/* browser tools panel UI ------------------------------------------------ */
|
2009-05-08 00:43:08 -04:00
|
|
|
.panel-header {
|
2010-10-08 07:21:17 +02:00
|
|
|
margin: 0;
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: @padding_small@ @padding_normal@ @padding_normal@ @padding_normal@;
|
2010-10-07 20:49:00 -04:00
|
|
|
font-weight: bold;
|
|
|
|
color: white !important;
|
|
|
|
background-color: rgb(101, 121, 227) !important;
|
2009-05-08 00:43:08 -04:00
|
|
|
}
|
|
|
|
|
2008-11-12 14:22:44 -05:00
|
|
|
#tool-addons {
|
2011-01-13 18:36:56 -05:00
|
|
|
list-style-image: url("chrome://browser/skin/images/addons-default-hdpi.png");
|
2009-05-29 01:58:13 -04:00
|
|
|
}
|
|
|
|
|
2008-11-12 14:22:44 -05:00
|
|
|
#tool-downloads {
|
2011-01-13 18:36:56 -05:00
|
|
|
list-style-image: url("chrome://browser/skin/images/downloads-default-hdpi.png");
|
2009-05-29 01:58:13 -04:00
|
|
|
}
|
|
|
|
|
2008-11-12 14:22:44 -05:00
|
|
|
#tool-preferences {
|
2011-01-13 18:36:56 -05:00
|
|
|
list-style-image: url("chrome://browser/skin/images/preferences-default-hdpi.png");
|
2009-05-29 01:58:13 -04:00
|
|
|
}
|
|
|
|
|
2009-06-09 13:55:14 -04:00
|
|
|
#tool-console {
|
2011-01-13 18:36:56 -05:00
|
|
|
list-style-image: url("chrome://browser/skin/images/console-default-hdpi.png");
|
2009-06-09 13:55:14 -04:00
|
|
|
}
|
|
|
|
|
2010-11-05 10:10:00 -04:00
|
|
|
/* preferences panel UI -----------------------------------------------------*/
|
|
|
|
#menulist-container[for="prefs-homepage-options"] .menulist-command.selected {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2010-11-30 15:57:23 +01:00
|
|
|
/* bug 597296 - The language.properties file is LTR and never translated */
|
|
|
|
#prefs-languages .menulist-label {
|
|
|
|
direction: ltr !important;
|
|
|
|
}
|
|
|
|
|
2009-07-31 08:33:41 -04:00
|
|
|
/* addons panel UI ------------------------------------------------------- */
|
2011-01-13 18:36:56 -05:00
|
|
|
#addons-repo {
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
-moz-box-align: center;
|
2009-07-31 08:33:41 -04:00
|
|
|
}
|
|
|
|
|
2011-01-13 18:36:56 -05:00
|
|
|
@media (@orientation@: portrait) {
|
2009-07-31 08:33:41 -04:00
|
|
|
#addons-repo {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-12-22 15:13:39 -05:00
|
|
|
.addon-image,
|
|
|
|
.searchplugin-image {
|
2010-11-10 14:17:23 -08:00
|
|
|
list-style-image: url("chrome://mozapps/skin/xpinstall/xpinstallItemGeneric.png");
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-start: @margin_normal@;
|
|
|
|
-moz-margin-end: @margin_normal@;
|
2010-05-19 22:43:02 -04:00
|
|
|
}
|
|
|
|
|
2009-08-26 20:44:35 -04: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);
|
2009-10-06 16:54:58 -04:00
|
|
|
}
|
|
|
|
|
2010-12-22 15:13:39 -05:00
|
|
|
.addon-showmore-image,
|
2010-09-29 15:54:48 -04:00
|
|
|
.addon-banner-image {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
list-style-image: url("chrome://browser/skin/images/addons-32.png");
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-start: @margin_normal@;
|
|
|
|
-moz-margin-end: @margin_normal@;
|
2010-09-29 15:54:48 -04:00
|
|
|
}
|
|
|
|
|
2009-12-15 16:56:02 -05:00
|
|
|
richlistitem[isDisabled="true"] .title {
|
2010-02-17 14:43:07 -05:00
|
|
|
color: gray;
|
2009-12-15 16:56:02 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem[isDisabled="true"] .normal {
|
2010-02-17 14:43:07 -05:00
|
|
|
color: lightgray;
|
2009-12-15 16:56:02 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem[isDisabled="true"] image {
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
|
2010-10-05 08:37:00 -04:00
|
|
|
richlistitem[typeName="banner"],
|
|
|
|
richlistitem[typeName="showmore"] {
|
|
|
|
background-color: rgb(255,255,255);
|
2010-10-07 20:49:00 -04:00
|
|
|
background: url(chrome://browser/skin/images/browseaddons-bg.jpg) repeat-x center top;
|
2010-10-05 08:37:00 -04:00
|
|
|
}
|
|
|
|
|
2009-10-06 16:54:58 -04:00
|
|
|
/* downloads panel UI ---------------------------------------------------- */
|
|
|
|
.download-retry-failed {
|
|
|
|
color: red !important;
|
2010-09-21 11:53:00 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.download-retry-failed[state="2"] {
|
|
|
|
display: -moz-box;
|
2009-08-26 20:44:35 -04:00
|
|
|
}
|
|
|
|
|
2009-11-18 15:42:19 -05:00
|
|
|
/* special "no downloads" items */
|
|
|
|
#dl-empty-message {
|
2011-01-13 18:36:56 -05:00
|
|
|
margin-top: -moz-calc(2 * @touch_row@); /* 2 times row height */
|
2009-11-18 15:42:19 -05:00
|
|
|
font-style: italic;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#dl-empty-message:active {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#dl-empty-message > label {
|
|
|
|
text-align: center;
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
2009-07-31 08:33:41 -04:00
|
|
|
/* console panel UI ------------------------------------------------------ */
|
2011-01-13 18:36:56 -05:00
|
|
|
#console-filter-warnings,
|
|
|
|
#console-filter-messages {
|
|
|
|
visibility: visible;
|
2009-07-31 08:33:41 -04:00
|
|
|
}
|
|
|
|
|
2010-02-09 22:15:06 -05:00
|
|
|
@media (max-width: 499px) {
|
2009-07-31 08:33:41 -04:00
|
|
|
#console-filter-warnings,
|
|
|
|
#console-filter-messages {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-11 13:40:32 -04:00
|
|
|
.console-error-msg,
|
|
|
|
.console-msg-text {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2009-10-09 14:06:51 -04:00
|
|
|
/* folders navigation row */
|
2009-09-11 10:56:09 -04:00
|
|
|
.place-list-parents placelabel {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.place-list-parents placelabel:last-child:not(:only-child) {
|
|
|
|
visibility: visible;
|
2009-02-25 01:20:45 -05:00
|
|
|
}
|
|
|
|
|
2009-10-09 14:06:51 -04:00
|
|
|
/* be consistent with the size of placeitem */
|
|
|
|
placelabel {
|
|
|
|
-moz-box-align: center;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-padding-end: @placelabel_padding@;
|
2010-11-18 15:36:24 +01:00
|
|
|
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%;
|
2009-10-09 14:06:51 -04:00
|
|
|
color: #000;
|
2011-01-13 18:36:56 -05:00
|
|
|
min-height: @touch_row@; /* row size */
|
2008-09-10 16:54:32 -04:00
|
|
|
}
|
2010-02-17 14:43:07 -05:00
|
|
|
|
2010-09-29 05:38:00 -04:00
|
|
|
placelabel:-moz-locale-dir(rtl) {
|
2010-11-18 15:36:24 +01:00
|
|
|
background-position: 2% 50%, top left;
|
2010-09-29 05:38:00 -04:00
|
|
|
}
|
|
|
|
|
2011-01-03 12:57:01 +01:00
|
|
|
placelabel:hover:active {
|
|
|
|
background-image: url(images/arrowup-16.png);
|
|
|
|
background-color: #8db8d8;
|
|
|
|
}
|
|
|
|
|
2009-10-09 14:06:51 -04:00
|
|
|
/* folder bookmarks row */
|
|
|
|
placeitem[type="folder"] {
|
|
|
|
-moz-box-pack: center;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-padding-end: @placeitem_padding@;
|
2010-11-18 15:36:24 +01:00
|
|
|
background-image: url(images/arrowright-16.png);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 98% 50%;
|
2009-09-09 21:47:37 -04:00
|
|
|
}
|
|
|
|
|
2010-08-20 13:32:00 -07:00
|
|
|
placeitem[type="folder"]:-moz-locale-dir(rtl) {
|
2010-12-09 10:08:58 -05:00
|
|
|
background-image: url(images/arrowleft-16.png);
|
2010-11-18 15:36:24 +01:00
|
|
|
background-position: 2% 50%;
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2009-10-09 14:06:51 -04:00
|
|
|
placelist[ui="manage"] placeitem[type="folder"] {
|
|
|
|
background-image: none;
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
2010-09-09 16:10:27 +02:00
|
|
|
placeitem[type="folder"] > .bookmark-item-container > image,
|
2009-10-09 14:06:51 -04:00
|
|
|
placeitem[type="folder"] > .bookmark-manage > image {
|
2009-10-28 15:23:40 -04:00
|
|
|
list-style-image: url(images/folder-32.png);
|
2010-04-20 00:01:40 -04:00
|
|
|
margin-top: 0;
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
2010-02-17 14:43:07 -05:00
|
|
|
|
2009-10-09 14:06:51 -04:00
|
|
|
placeitem[type="folder"] .bookmark-item-url {
|
|
|
|
display: none;
|
2009-02-25 01:20:45 -05:00
|
|
|
}
|
|
|
|
|
2009-10-09 14:06:51 -04:00
|
|
|
/* bookmark manage controls */
|
|
|
|
placeitem > .bookmark-manage .bookmark-controls {
|
2011-01-13 18:36:56 -05:00
|
|
|
padding-top: @padding_normal@;
|
2009-09-09 21:47:37 -04:00
|
|
|
}
|
|
|
|
|
2009-10-09 14:06:51 -04:00
|
|
|
/* bookmark popup for star button */
|
|
|
|
placeitem[ui="manage"] {
|
|
|
|
border-bottom: 0;
|
2009-09-11 10:56:09 -04:00
|
|
|
}
|
|
|
|
|
2009-10-09 14:06:51 -04:00
|
|
|
placeitem[ui="manage"] > .bookmark-manage > image {
|
2009-02-25 01:20:45 -05:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
/* autocomplete-items */
|
2008-12-09 10:38:31 -08:00
|
|
|
.autocomplete-items {
|
2009-05-11 17:17:31 -04:00
|
|
|
background-color: white;
|
2008-10-09 18:12:22 -04:00
|
|
|
}
|
|
|
|
|
2009-10-09 14:06:51 -04:00
|
|
|
autocompleteresult,
|
|
|
|
placeitem {
|
2010-09-30 23:14:47 +02:00
|
|
|
-moz-user-focus: ignore;
|
2009-09-21 17:09:47 -04:00
|
|
|
color: black;
|
|
|
|
background-color: white;
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: @padding_xsmall@ @padding_small@;
|
|
|
|
border-bottom: @border_width_tiny@ solid rgb(207,207,207);
|
|
|
|
min-height: @touch_row@; /* row size */
|
2008-10-09 18:12:22 -04:00
|
|
|
}
|
|
|
|
|
2010-11-03 14:48:01 +01:00
|
|
|
#popup_autocomplete autocompleteresult:hover:active,
|
2010-10-07 20:49:00 -04:00
|
|
|
placelist placeitem:hover:active:not([selected="true"]),
|
2010-11-03 14:48:01 +01:00
|
|
|
historylist autocompleteresult:hover:active:not([selected="true"]):not([class="history-item-title"]),
|
|
|
|
remotetabslist autocompleteresult:hover:active:not([selected="true"]):not([class="remotetabs-item-title"]),
|
2009-07-28 18:49:09 -04:00
|
|
|
.autocompleteresult-selected {
|
2009-10-28 01:53:47 -04:00
|
|
|
background-color: #8db8d8;
|
2008-12-09 10:38:31 -08:00
|
|
|
}
|
|
|
|
|
2010-09-09 16:10:27 +02:00
|
|
|
.autocomplete-item-container,
|
|
|
|
.bookmark-item-container {
|
2009-09-21 17:09:47 -04:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2010-09-09 16:10:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-item-label,
|
|
|
|
.bookmark-item-label {
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_normal@ !important;
|
2009-09-21 17:09:47 -04:00
|
|
|
font-weight: normal;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-end: @margin_normal@;
|
2008-12-09 10:38:31 -08:00
|
|
|
}
|
|
|
|
|
2010-09-09 16:10:27 +02:00
|
|
|
.autocomplete-item-container > image,
|
|
|
|
.bookmark-item-container > image,
|
2009-10-28 15:23:40 -04:00
|
|
|
placeitem > .bookmark-manage > image {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
max-height: 32px;
|
2010-04-20 00:01:40 -04:00
|
|
|
/* margin-top = (1 - title's line-height) * title's font-size */
|
2011-01-13 18:36:56 -05:00
|
|
|
margin-top: @autocomplete_item_container_image_padding@;
|
2010-08-20 13:32:00 -07:00
|
|
|
margin-bottom: 0;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-end: @margin_xxxnormal@;
|
|
|
|
-moz-margin-start: @margin_normal@;
|
2009-07-28 18:49:09 -04:00
|
|
|
}
|
|
|
|
|
2010-09-09 16:10:27 +02:00
|
|
|
.autocomplete-item-container > image[src=""],
|
|
|
|
placeitem[src=""] .bookmark-item-container > image {
|
2009-11-23 11:44:34 -05:00
|
|
|
list-style-image: url(chrome://mozapps/skin/places/defaultFavicon.png);
|
|
|
|
}
|
|
|
|
|
2010-09-09 16:10:27 +02:00
|
|
|
.autocomplete-item-container > vbox > label,
|
|
|
|
.bookmark-item-container > vbox > label {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-start: @margin_xtiny@;
|
2009-09-21 17:09:47 -04:00
|
|
|
}
|
|
|
|
|
2010-11-03 11:41:00 -04:00
|
|
|
.autocomplete-item-container[favorite="true"],
|
|
|
|
.autocomplete-item-container[remote="true"],
|
|
|
|
.autocomplete-item-container[search="true"] {
|
|
|
|
background-repeat: no-repeat;
|
2011-01-13 18:36:56 -05:00
|
|
|
background-position: 100% @autocomplete_item_container_position@;
|
|
|
|
background-size: @autocomplete_item_container_size@ @autocomplete_item_container_size@;
|
2009-07-28 18:49:09 -04:00
|
|
|
}
|
|
|
|
|
2010-11-03 11:41:00 -04:00
|
|
|
.autocomplete-item-container[favorite="true"] {
|
|
|
|
background-image: url("chrome://browser/skin/images/autocomplete-bookmarked-hdpi.png");
|
|
|
|
}
|
|
|
|
|
2010-09-23 09:26:00 -04:00
|
|
|
.autocomplete-item-container[remote="true"] {
|
2010-11-03 11:41:00 -04:00
|
|
|
background-image: url("chrome://browser/skin/images/autocomplete-desktop-hdpi.png");
|
2010-09-23 09:26:00 -04:00
|
|
|
}
|
|
|
|
|
2010-11-03 11:41:00 -04:00
|
|
|
.autocomplete-item-container[search="true"] {
|
2010-11-16 14:03:00 -05:00
|
|
|
background-image: url("chrome://browser/skin/images/autocomplete-search-hdpi.png");
|
2010-09-23 09:26:00 -04:00
|
|
|
}
|
|
|
|
|
2010-11-03 11:41:00 -04:00
|
|
|
.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");
|
2011-01-13 18:36:56 -05:00
|
|
|
background-position: 100% @autocomplete_item_container_position@,
|
|
|
|
94% @autocomplete_item_container_position@;
|
|
|
|
-moz-padding-end: @autocomplete_item_container_padding@;
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-11-03 11:41:00 -04:00
|
|
|
.autocomplete-item-container[favorite="true"]:-moz-locale-dir(rtl),
|
2010-09-23 09:26:00 -04:00
|
|
|
.autocomplete-item-container[remote="true"]:-moz-locale-dir(rtl) {
|
2011-01-13 18:36:56 -05:00
|
|
|
background-position: left @autocomplete_item_container_position@;
|
2010-09-23 09:26:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-item-container[favorite="true"][remote="true"]:-moz-locale-dir(rtl) {
|
2011-01-13 18:36:56 -05:00
|
|
|
background-position: left @autocomplete_item_container_position@,
|
|
|
|
6% @autocomplete_item_container_position@;
|
2010-09-23 09:26:00 -04:00
|
|
|
}
|
|
|
|
|
2010-11-03 11:41:00 -04:00
|
|
|
.autocomplete-item-subtitle,
|
2010-09-09 16:10:27 +02:00
|
|
|
.bookmark-item-url {
|
|
|
|
color: blue;
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_small@ !important;
|
|
|
|
-moz-margin-end: @autocomplete_item_subtitle_margin@;
|
2010-09-09 16:10:27 +02:00
|
|
|
}
|
|
|
|
|
2010-09-23 09:26:00 -04:00
|
|
|
.autocomplete-item-container[favorite="true"] .autocomplete-item-label,
|
2010-11-03 11:41:00 -04:00
|
|
|
.autocomplete-item-container[remote="true"] .autocomplete-item-label,
|
|
|
|
.autocomplete-item-container[search="true"] .autocomplete-item-label {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-padding-end: @autocomplete_item_label_margin@;
|
2010-09-09 16:10:27 +02:00
|
|
|
}
|
|
|
|
|
2010-11-03 11:41:00 -04:00
|
|
|
.autocomplete-item-container[search="true"] .autocomplete-item-subtitle {
|
|
|
|
color: black;
|
|
|
|
font-size: smaller;
|
2010-09-23 09:26:00 -04:00
|
|
|
}
|
|
|
|
|
2010-09-09 16:10:27 +02:00
|
|
|
.autocomplete-item-tags,
|
|
|
|
.bookmark-item-tags {
|
2009-09-21 17:09:47 -04:00
|
|
|
content: attr(tags);
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_small@ !important;
|
2009-09-21 17:09:47 -04:00
|
|
|
font-weight: lighter;
|
2011-01-13 18:36:56 -05:00
|
|
|
margin: @margin_tiny@ 0 @margin_small@ 0;
|
|
|
|
-moz-margin-start: @margin_normal@;
|
|
|
|
-moz-padding-end: @autocomplete_item_tags_margin@;
|
2009-07-28 18:49:09 -04:00
|
|
|
}
|
|
|
|
|
2010-09-09 16:10:27 +02:00
|
|
|
.autocomplete-item-tags[value=""] {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-item-badge {
|
|
|
|
opacity: 1;
|
|
|
|
-moz-transition: opacity 1s ease;
|
|
|
|
background-color: #c90707;
|
2011-01-13 18:36:56 -05:00
|
|
|
border: @border_width_tiny@ solid #951919;
|
|
|
|
-moz-border-radius: @border_radius_tiny@;
|
2010-09-09 16:10:27 +02:00
|
|
|
content: attr(badge);
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_xtiny@ !important;
|
2010-09-09 16:10:27 +02:00
|
|
|
font-weight: bolder;
|
2011-01-13 18:36:56 -05:00
|
|
|
margin: @margin_small@ 0 0 0;
|
|
|
|
padding: @padding_small@ @padding_snormal@;
|
2010-09-09 16:10:27 +02:00
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
autocompleteresult:not([badge]) .autocomplete-item-badge,
|
|
|
|
.autocomplete-item-badge[value=""] {
|
|
|
|
opacity: 0;
|
|
|
|
-moz-transition: none;
|
2009-07-28 18:49:09 -04:00
|
|
|
}
|
|
|
|
|
2010-08-24 10:42:28 +02:00
|
|
|
/* special "no results", "awesome header row" and "title rows" items */
|
|
|
|
autocompleteresult[class="history-item-title"],
|
2010-11-18 15:36:24 +01:00
|
|
|
autocompleteresult[class="remotetabs-item-title"],
|
|
|
|
.settings-title {
|
2010-10-20 18:16:00 -04:00
|
|
|
min-height: 0;
|
2010-11-18 15:36:24 +01:00
|
|
|
color: black;
|
|
|
|
font-size: smaller;
|
|
|
|
font-weight: bold;
|
|
|
|
background-color: transparent;
|
|
|
|
margin: 0;
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: @autocompleteresult_padding@ @padding_xnormal@;
|
2010-11-18 15:36:24 +01:00
|
|
|
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 {
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_small@ !important;
|
2010-11-18 15:36:24 +01:00
|
|
|
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;
|
2010-08-24 10:42:28 +02:00
|
|
|
}
|
|
|
|
|
2010-11-18 15:36:24 +01:00
|
|
|
autocompleteresult[class="history-item-title"] .bookmark-item-subtitle,
|
2010-09-12 16:21:20 +02:00
|
|
|
autocompleteresult[class="history-item-title"] .autocomplete-item-tags,
|
2010-11-18 15:36:24 +01:00
|
|
|
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 {
|
2010-08-24 10:42:28 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-09-09 16:10:27 +02:00
|
|
|
autocompleteresult[class="history-item-title"] .bookmark-item-container,
|
|
|
|
autocompleteresult[class="remotetabs-item-title"] .bookmark-item-container {
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_normal@ !important;
|
2010-08-24 10:42:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
autocompleteresult[class="history-item-title"] image,
|
|
|
|
autocompleteresult[class="remotetabs-item-title"] image {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-09-21 17:09:47 -04:00
|
|
|
autocompleteresult.noresults {
|
|
|
|
font-style: italic;
|
|
|
|
border-bottom: none;
|
2009-05-26 11:46:39 -04:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
autocompleteresult.noresults:hover:active {
|
2010-12-09 10:08:57 -05:00
|
|
|
background-color: white !important;
|
2009-11-10 12:44:14 -05:00
|
|
|
}
|
|
|
|
|
2010-09-09 16:10:27 +02:00
|
|
|
autocompleteresult.noresults > .autocomplete-item-container {
|
2009-09-21 17:09:47 -04:00
|
|
|
text-align: center;
|
2009-05-26 11:46:39 -04:00
|
|
|
color: grey;
|
2008-10-09 18:12:22 -04:00
|
|
|
}
|
|
|
|
|
2008-11-12 14:22:44 -05:00
|
|
|
/* Left sidebar (tabs) ---------------------------------------------------- */
|
2008-11-22 00:12:25 -05:00
|
|
|
#tabs-container {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-end: @border_width_large@ solid #262629;
|
2010-10-19 15:54:45 -07:00
|
|
|
background: #5e6166;
|
2010-10-07 20:49:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#tabs:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-align: start;
|
2008-07-24 14:50:32 -04:00
|
|
|
}
|
|
|
|
|
2010-10-18 14:53:12 -07:00
|
|
|
#tabs > .tabs-list {
|
2009-09-09 23:32:13 -04:00
|
|
|
display: block;
|
2010-10-07 20:49:00 -04:00
|
|
|
-moz-column-width: 121px;
|
2009-09-09 23:32:13 -04:00
|
|
|
-moz-column-gap: 0;
|
2009-09-15 16:17:50 -04:00
|
|
|
-moz-user-focus: ignore;
|
2009-05-29 01:58:13 -04:00
|
|
|
padding: 0;
|
2008-09-10 15:30:52 -04:00
|
|
|
background-color: transparent;
|
2010-10-07 20:49:00 -04:00
|
|
|
margin: 0;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-padding-end: @padding_normal@; /* core spacing */
|
|
|
|
-moz-padding-start: @padding_small@; /* allow the thumbnails to get close to the edge */
|
2008-07-24 14:50:32 -04:00
|
|
|
}
|
|
|
|
|
2009-05-29 01:58:13 -04:00
|
|
|
#tabs-controls {
|
2011-01-13 18:36:56 -05:00
|
|
|
margin-top: @margin_normal@; /* core spacing */
|
2010-10-07 20:49:00 -04:00
|
|
|
-moz-box-pack: center;
|
2009-05-29 01:58:13 -04:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:08:56 +02:00
|
|
|
documenttab {
|
2009-10-14 09:40:23 -04:00
|
|
|
/* display:block allow us to change the line-height, it won't work otherwise */
|
|
|
|
display: block;
|
|
|
|
line-height: 0;
|
2010-10-07 20:49:00 -04:00
|
|
|
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-start: @margin_xnormal@;
|
|
|
|
margin-bottom: @documenttab_margin_bottom@;
|
2010-10-07 20:49:00 -04:00
|
|
|
width: 121px;
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: @padding_normal@;
|
|
|
|
padding-bottom: @padding_xnormal@;
|
2010-10-18 14:53:12 -07:00
|
|
|
background: url("chrome://browser/skin/images/tab-inactive-hdpi.png") bottom repeat-x;
|
2011-01-13 18:36:56 -05:00
|
|
|
border-radius: @border_radius_small@;
|
2010-10-18 14:53:12 -07:00
|
|
|
background-clip: padding-box;
|
2011-01-13 18:36:56 -05:00
|
|
|
border: @border_width_tiny@ solid rgba(0,0,0,0.1);
|
|
|
|
border-bottom-width: @border_width_small@;
|
2009-10-14 09:40:23 -04:00
|
|
|
}
|
|
|
|
|
2010-10-18 14:53:12 -07:00
|
|
|
documenttab[selected="true"] {
|
2011-01-13 18:36:56 -05:00
|
|
|
border-bottom-color: rgba(0,0,0,0.2);
|
2010-10-18 14:53:12 -07:00
|
|
|
background: url("chrome://browser/skin/images/tab-active-hdpi.png") bottom repeat-x;
|
|
|
|
}
|
|
|
|
|
|
|
|
.documenttab-thumbnail {
|
2009-11-22 23:27:31 -05:00
|
|
|
background-color: white;
|
2010-10-18 14:53:12 -07:00
|
|
|
opacity: 0.5;
|
2008-07-24 14:50:32 -04:00
|
|
|
}
|
|
|
|
|
2010-12-29 05:54:26 +01:00
|
|
|
documenttab:hover:active > stack > .documenttab-thumbnail,
|
2010-10-18 14:53:12 -07:00
|
|
|
documenttab[selected="true"] > stack > .documenttab-thumbnail {
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.documenttab-close-container {
|
|
|
|
position: relative;
|
|
|
|
left: -16px;
|
2010-10-07 20:49:00 -04:00
|
|
|
-moz-margin-end: 49px;
|
2010-09-03 03:27:20 +02:00
|
|
|
}
|
|
|
|
|
2010-10-18 14:53:12 -07:00
|
|
|
.documenttab-close {
|
2009-10-12 15:36:49 -04:00
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
2010-10-18 14:53:12 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/images/close-inactive-tab-hdpi.png");
|
2008-09-29 01:43:33 -05:00
|
|
|
}
|
|
|
|
|
2010-10-18 14:53:12 -07:00
|
|
|
documenttab[selected="true"] > stack > hbox > .documenttab-close {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/close-default-hdpi.png");
|
2010-02-18 20:49:32 -05:00
|
|
|
}
|
|
|
|
|
2010-10-18 14:53:12 -07:00
|
|
|
.documenttab-close-container:hover:active > .documenttab-close {
|
|
|
|
list-style-image: url("chrome://browser/skin/images/close-active-hdpi.png");
|
2010-10-06 17:08:56 +02:00
|
|
|
}
|
|
|
|
|
2010-10-18 14:53:12 -07:00
|
|
|
documenttab:only-child > stack > hbox > .documenttab-close {
|
|
|
|
display: none;
|
2010-10-07 20:49:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
documenttab[reload="true"] {
|
2010-10-18 14:53:12 -07:00
|
|
|
background: url("chrome://browser/skin/images/tab-closed-hdpi.png") bottom repeat-x;
|
2010-10-06 17:08:56 +02:00
|
|
|
}
|
|
|
|
|
2010-10-18 14:53:12 -07:00
|
|
|
.documenttab-reload {
|
|
|
|
background: url("chrome://browser/skin/images/tab-reopen-hdpi.png");
|
|
|
|
display: none;
|
2010-10-06 17:08:56 +02:00
|
|
|
}
|
|
|
|
|
2010-10-18 14:53:12 -07:00
|
|
|
documenttab[reload="true"] > stack > .documenttab-close-container {
|
2008-09-29 01:43:33 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-10-18 14:53:12 -07:00
|
|
|
documenttab[reload="true"] > stack > .documenttab-reload {
|
2010-10-06 17:08:56 +02:00
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
2008-07-25 14:10:35 -04:00
|
|
|
#newtab-button {
|
2010-10-07 20:49:00 -04:00
|
|
|
-moz-box-flex: 1;
|
2011-01-13 18:36:56 -05:00
|
|
|
list-style-image: url("images/newtab-default-hdpi.png");
|
|
|
|
height: @sidebar_button_height@;
|
2009-05-29 01:58:13 -04:00
|
|
|
}
|
|
|
|
|
2008-11-12 14:22:44 -05:00
|
|
|
/* bookmark editor ------------------------------------------------------- */
|
2008-07-04 02:16:46 -04:00
|
|
|
#bookmark-container {
|
2011-01-17 14:21:38 -05:00
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
background-color: rgba(0,0,0,.6);
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmark-dialog {
|
|
|
|
margin: @margin_xxxnormal@ !important;
|
|
|
|
border: @border_width_small@ solid white;
|
|
|
|
border-radius: @border_radius_normal@;
|
2011-01-13 18:36:56 -05:00
|
|
|
box-shadow: black 0 @shadow_width_small@ @shadow_width_small@;
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#bookmark-form {
|
2011-01-17 14:21:38 -05:00
|
|
|
padding: @padding_xxxnormal@;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmark-form-title {
|
|
|
|
font-size: @font_xnormal@;
|
|
|
|
padding-top: @padding_large@;
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmark-form-line {
|
|
|
|
border-bottom: @border_width_small@ solid white;
|
|
|
|
margin: @margin_small@ 3em 0 3em;
|
|
|
|
height: @padding_normal@ !important;
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
2009-10-26 00:21:49 -04:00
|
|
|
#bookmark-form .bookmark-controls {
|
2009-10-15 22:55:17 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2011-01-17 14:21:38 -05:00
|
|
|
#bookmark-form-buttons {
|
|
|
|
background-color: lightgray;
|
2009-10-26 00:21:49 -04:00
|
|
|
}
|
|
|
|
|
2008-11-12 14:22:44 -05:00
|
|
|
/* Identity popup -------------------------------------------------------- */
|
2009-08-26 15:29:46 -04:00
|
|
|
#identity-popup-container {
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: @padding_normal@; /* core spacing */
|
|
|
|
padding-bottom: @padding_xxxnormal@;
|
2010-03-29 16:41:03 -04:00
|
|
|
}
|
|
|
|
|
2008-07-04 02:16:46 -04:00
|
|
|
/* Popup Icons */
|
|
|
|
#identity-popup-icon {
|
|
|
|
padding: 0;
|
2010-10-20 23:14:50 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/identity-default-hdpi.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-container[mode="verifiedIdentity"] > hbox > #identity-popup-icon {
|
2010-10-26 15:16:06 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/identity-ev-hdpi.png");
|
2010-10-20 23:14:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#identity-container[mode="verifiedDomain"] > hbox > #identity-popup-icon {
|
2010-10-26 15:16:06 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/identity-ssl-hdpi.png");
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Popup Body Text */
|
2009-06-08 14:09:18 -04:00
|
|
|
#identity-popup-content-box {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-padding-start: @padding_normal@; /* core spacing */
|
|
|
|
font-size: @font_small@ !important;
|
2010-07-30 12:03:03 -07:00
|
|
|
white-space: pre-wrap;
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
2009-10-05 15:45:39 -04:00
|
|
|
/* let the text flow into a second row, if needed */
|
|
|
|
#identity-popup-runBy-box {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2009-06-08 14:09:18 -04:00
|
|
|
#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;
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
2009-06-08 14:09:18 -04:00
|
|
|
#identity-popup-encryption-label,
|
|
|
|
#identity-popup-content-verifier {
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_tiny@ !important;
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
2009-06-08 14:09:18 -04:00
|
|
|
#identity-popup-content-host,
|
2008-07-04 02:16:46 -04:00
|
|
|
#identity-popup-content-owner {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2009-06-08 14:09:18 -04:00
|
|
|
#identity-popup-encryption-icon {
|
2010-10-20 23:14:50 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/unlocked-hdpi.png");
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
2009-10-14 11:27:23 -04:00
|
|
|
#identity-container[mode="verifiedIdentity"] > hbox > vbox > #identity-popup-encryption-icon ,
|
|
|
|
#identity-container[mode="verifiedDomain"] > hbox > vbox > #identity-popup-encryption-icon {
|
2010-10-20 23:14:50 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/locked-hdpi.png");
|
2008-07-04 02:16:46 -04:00
|
|
|
}
|
|
|
|
|
2010-10-20 17:25:45 -07:00
|
|
|
/* Page Actions, Prompt, and Context Menu popups --------------------------- */
|
2010-04-30 01:00:27 -04:00
|
|
|
.prompt-buttons,
|
2010-10-20 17:25:45 -07:00
|
|
|
#context-commands,
|
2010-03-29 16:41:03 -04:00
|
|
|
#pageactions-container {
|
2010-10-20 17:25:45 -07:00
|
|
|
background: transparent;
|
2011-01-13 18:36:56 -05:00
|
|
|
border-top: @border_width_tiny@ solid rgb(205,205,205);
|
2010-03-29 16:41:03 -04:00
|
|
|
padding: 0;
|
|
|
|
-moz-user-focus: ignore;
|
2010-03-24 15:55:09 -04:00
|
|
|
display: inline-block;
|
2009-08-26 15:29:46 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
.prompt-button,
|
2010-10-20 17:25:45 -07:00
|
|
|
.context-command,
|
2010-03-29 16:41:03 -04:00
|
|
|
pageaction {
|
2010-10-16 21:30:00 -07:00
|
|
|
-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;
|
2010-03-29 16:41:03 -04:00
|
|
|
border-style: solid;
|
2011-01-13 18:36:56 -05:00
|
|
|
border-width: @border_width_tiny@ !important;
|
|
|
|
height: @touch_button_large@;
|
|
|
|
min-height: @touch_button_large@;
|
2010-10-20 17:56:45 -07:00
|
|
|
width: 100%;
|
2011-01-13 18:36:56 -05:00
|
|
|
min-width: @touch_action_minwidth@; /* keep the button from being too narrow */
|
2010-10-20 17:25:45 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Override richlistbox and richlistitem styles */
|
|
|
|
#context-commands > scrollbox {
|
2010-10-19 17:46:13 -07:00
|
|
|
width: 100%;
|
2010-03-24 15:55:09 -04:00
|
|
|
}
|
|
|
|
|
2010-10-21 12:19:58 -07:00
|
|
|
.prompt-button,
|
2010-10-20 17:25:45 -07:00
|
|
|
.context-command {
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2010-11-05 10:10:00 -04:00
|
|
|
.prompt-button[disabled="true"],
|
|
|
|
.context-command[disabled="true"] {
|
|
|
|
pointer-events: none;
|
|
|
|
color: #aaa !important;
|
|
|
|
}
|
|
|
|
|
2010-10-21 12:19:58 -07:00
|
|
|
.prompt-button[selected="true"],
|
2010-10-20 17:25:45 -07:00
|
|
|
.context-command[selected="true"] {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Override button styles */
|
2010-07-30 12:03:03 -07:00
|
|
|
.prompt-button {
|
2010-04-30 01:00:27 -04:00
|
|
|
margin: 0;
|
|
|
|
-moz-border-image: none !important;
|
2010-10-19 20:11:51 -07:00
|
|
|
border-radius: 0;
|
|
|
|
margin: 0;
|
|
|
|
background: transparent;
|
2010-04-30 01:00:27 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
.prompt-button > .button-box {
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: 0 @padding_small@ @padding_tiny@ @padding_xsmall@ !important;
|
2010-04-30 01:00:27 -04:00
|
|
|
}
|
|
|
|
|
2010-10-19 17:46:13 -07:00
|
|
|
.prompt-button > .button-box > .button-icon {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-end: @margin_normal@;
|
2010-10-19 17:46:13 -07:00
|
|
|
}
|
|
|
|
|
2010-04-16 18:06:14 -04:00
|
|
|
@media (min-width: 500px) {
|
2010-07-30 12:03:03 -07:00
|
|
|
.prompt-button,
|
2010-03-29 16:41:03 -04:00
|
|
|
pageaction {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2010-03-24 15:55:09 -04:00
|
|
|
|
2010-10-16 21:30:00 -07:00
|
|
|
.prompt-button:last-child:nth-child(odd),
|
|
|
|
pageaction.odd-last-child {
|
2010-04-28 17:24:54 -04:00
|
|
|
width: 100%;
|
2010-03-29 16:41:03 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-09-03 03:28:12 +02:00
|
|
|
.prompt-button:not([disabled]):hover:active,
|
2010-11-05 10:10:00 -04:00
|
|
|
.context-command:not([disabled]):hover:active,
|
2010-09-03 03:28:12 +02:00
|
|
|
pageaction:not([disabled]):hover:active {
|
2010-10-16 21:30:00 -07:00
|
|
|
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;
|
2010-03-24 15:55:09 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
pageaction > hbox > .pageaction-image {
|
2009-10-28 15:23:40 -04:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-end: @margin_normal@;
|
2009-08-26 15:29:46 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
pageaction:not([image]) > hbox >.pageaction-image {
|
2010-03-29 16:41:03 -04:00
|
|
|
width: 0;
|
2010-03-24 15:55:09 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
.prompt-button,
|
2010-10-20 17:25:45 -07:00
|
|
|
.context-command,
|
2010-07-30 12:03:03 -07:00
|
|
|
.pageaction-title {
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_normal@ !important;
|
2010-04-30 01:00:27 -04:00
|
|
|
color: #414141 !important;
|
2010-03-24 15:55:09 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
.pageaction-desc {
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_tiny@ !important;
|
2010-04-02 13:13:29 -04:00
|
|
|
color: #414141;
|
2010-03-29 16:41:03 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
.pageaction-desc[value=""] {
|
2010-03-24 15:55:09 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-10-20 17:25:45 -07:00
|
|
|
#share-title,
|
|
|
|
#context-hint {
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_small@;
|
|
|
|
padding: @padding_small@;
|
2010-10-20 17:25:45 -07:00
|
|
|
}
|
|
|
|
|
2010-11-04 11:36:13 +01:00
|
|
|
#context-hint[value=""] {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2010-12-09 10:08:14 -05:00
|
|
|
#search-engines-list > .prompt-button > .button-box > .button-text {
|
2010-12-10 13:50:10 -05:00
|
|
|
text-align: start;
|
|
|
|
-moz-box-flex: 1; /* Needed for the crop attribute to have an effect */
|
2010-12-09 10:08:14 -05:00
|
|
|
}
|
|
|
|
|
2010-10-21 10:52:18 -07:00
|
|
|
#search-engines-list > .prompt-button > .button-box > .button-icon {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
2008-11-12 14:22:44 -05:00
|
|
|
/* Preferences window ---------------------------------------------------- */
|
2010-10-19 16:28:00 -04:00
|
|
|
.setting {
|
2011-01-13 18:36:56 -05:00
|
|
|
padding-left: @padding_xnormal@;
|
|
|
|
border-bottom: @border_width_tiny@ solid #cacdd5;
|
2010-10-19 16:28:00 -04:00
|
|
|
}
|
|
|
|
|
2009-05-05 22:30:43 -04:00
|
|
|
/* XXX should be a richlistitem */
|
2008-11-12 14:22:44 -05:00
|
|
|
.prefbox {
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: @padding_xsmall@;
|
|
|
|
border-bottom: @border_width_tiny@ solid rgb(207,207,207);
|
|
|
|
min-height: @touch_row@; /* row size */
|
2009-05-05 22:30:43 -04:00
|
|
|
-moz-box-align: center;
|
2008-09-24 16:09:00 -05:00
|
|
|
}
|
|
|
|
|
2010-11-22 22:48:55 -05:00
|
|
|
.setting-group > .prefbox {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.setting-subgroup > .prefbox {
|
|
|
|
border-bottom: none;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-start: @margin_xxxnormal@;
|
2010-11-22 22:48:55 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.setting-subgroup + :not(.setting-subgroup) > .prefbox {
|
2011-01-13 18:36:56 -05:00
|
|
|
border-top: @border_width_tiny@ solid rgb(207,207,207);
|
2010-11-22 22:48:55 -05:00
|
|
|
}
|
|
|
|
|
2010-10-08 15:01:22 -04:00
|
|
|
/* Put setting textboxes on a separate row in portrait */
|
2011-01-13 18:36:56 -05:00
|
|
|
@media (@orientation@: portrait) {
|
2010-10-08 15:01:22 -04:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-09-03 18:05:43 -04:00
|
|
|
.options-box {
|
2010-08-20 13:32:00 -07:00
|
|
|
-moz-margin-start: 28px; /* sized based on the 32px addon image */
|
2009-09-03 18:05:43 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
.options-box > setting:last-child > .prefbox {
|
2009-09-03 18:05:43 -04:00
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2009-05-05 22:30:43 -04:00
|
|
|
/* XXX should be a richlistitem description.title */
|
2008-11-12 14:22:44 -05:00
|
|
|
.preftitle {
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_normal@ !important;
|
2008-09-24 16:09:00 -05:00
|
|
|
}
|
|
|
|
|
2009-05-05 22:30:43 -04:00
|
|
|
/* XXX should be a richlistitem description.normal */
|
2008-11-12 14:22:44 -05:00
|
|
|
.prefdesc {
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_small@ !important;
|
2008-09-24 16:09:00 -05:00
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
2009-04-09 01:13:16 -04:00
|
|
|
/* alerts popup ----------------------------------------------------------- */
|
2011-01-13 18:36:56 -05:00
|
|
|
#alerts-container {
|
|
|
|
width: 300px;
|
2009-10-26 01:41:11 -04:00
|
|
|
}
|
|
|
|
|
2010-02-09 22:15:06 -05:00
|
|
|
@media (max-width: 499px) {
|
2009-10-26 01:41:11 -04:00
|
|
|
#alerts-container {
|
|
|
|
width: 200px;
|
|
|
|
}
|
2009-04-09 01:13:16 -04:00
|
|
|
}
|
|
|
|
|
2010-08-24 02:34:10 -04:00
|
|
|
#alerts-container {
|
|
|
|
-moz-transform: translatex(100%);
|
|
|
|
-moz-transition-property: -moz-transform;
|
|
|
|
-moz-transition-duration: 0.5s;
|
2011-01-13 18:36:56 -05:00
|
|
|
margin-bottom: @margin_large@;
|
|
|
|
-moz-margin-end: @margin_large@;
|
2010-08-24 02:34:10 -04:00
|
|
|
}
|
|
|
|
|
2010-09-03 03:27:20 +02:00
|
|
|
#alerts-container:-moz-locale-dir(rtl) {
|
|
|
|
-moz-transform: translatex(-100%);
|
|
|
|
}
|
|
|
|
|
2010-08-24 02:34:10 -04:00
|
|
|
#alerts-container.showing {
|
|
|
|
-moz-transform: translatex(0);
|
|
|
|
}
|
|
|
|
|
2009-04-09 01:13:16 -04:00
|
|
|
#alerts-text {
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_small@ !important;
|
2009-04-09 01:13:16 -04:00
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
2009-06-24 12:42:53 -04:00
|
|
|
|
2009-07-02 17:49:00 -04:00
|
|
|
/* helperapp (save-as) popup ----------------------------------------------- */
|
|
|
|
#helperapp-target {
|
2011-01-13 18:36:56 -05:00
|
|
|
font-size: @font_small@ !important;
|
2009-07-02 17:49:00 -04:00
|
|
|
}
|
|
|
|
|
2010-07-19 16:51:03 +02:00
|
|
|
/* navigator popup -------------------------------------------------------------- */
|
2010-10-20 18:16:00 -04:00
|
|
|
#content-navigator {
|
|
|
|
padding: 0;
|
|
|
|
background-color: #5e6166;
|
|
|
|
}
|
|
|
|
|
2010-07-19 16:51:03 +02:00
|
|
|
#content-navigator,
|
2010-07-30 12:03:03 -07:00
|
|
|
#content-navigator > #select-container > #select-spacer,
|
|
|
|
#content-navigator > #select-container > #select-container-inner > #select-buttons {
|
2010-07-19 16:51:03 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-10-19 00:20:04 +02:00
|
|
|
#find-helper-textbox[status="1"] { /* Ci.nsITypeAheadFind.FIND_NOTFOUND */
|
2010-10-20 14:25:36 -07:00
|
|
|
background: rgb(255,200,200);
|
2010-10-19 00:20:04 +02:00
|
|
|
}
|
|
|
|
|
2010-07-19 16:51:03 +02:00
|
|
|
#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,
|
2010-07-22 01:39:43 +02:00
|
|
|
#content-navigator:not([type="form"]) > #select-helper-textbox,
|
2010-07-19 16:51:03 +02:00
|
|
|
#content-navigator:not([type="find"]) > #find-helper-textbox {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#content-navigator > #select-container > #select-container-inner {
|
|
|
|
border-width: 0;
|
2011-01-13 18:36:56 -05:00
|
|
|
border-radius: @border_radius_normal@ @border_radius_normal@ 0 0;
|
|
|
|
padding: @padding_normal@ @padding_small@ @padding_normal@ @padding_small@;
|
2010-04-12 10:44:15 -04:00
|
|
|
-moz-box-flex: 0;
|
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
#content-navigator > #select-container > #select-container-inner > #select-list {
|
2011-01-13 18:36:56 -05:00
|
|
|
min-height: @touch_row@;
|
2010-04-12 10:44:15 -04:00
|
|
|
}
|
|
|
|
|
2010-08-24 10:44:50 +02:00
|
|
|
#content-navigator > #select-container > spacer {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-10-24 00:04:51 -04:00
|
|
|
#select-buttons {
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: @padding_small@ @padding_normal@; /* row size & core spacing */
|
2009-10-24 00:04:51 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
#select-buttons-done {
|
2009-10-24 00:04:51 -04:00
|
|
|
-moz-user-focus: ignore;
|
|
|
|
-moz-user-select: none;
|
|
|
|
}
|
2010-02-17 14:43:07 -05:00
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
.content-navigator-box {
|
2010-10-20 18:16:00 -04:00
|
|
|
padding: 0;
|
2010-07-22 01:35:47 +02:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
#content-navigator > hbox > .content-navigator-item {
|
2010-10-20 18:16:00 -04:00
|
|
|
margin: 0;
|
2010-07-22 01:35:47 +02:00
|
|
|
}
|
|
|
|
|
2010-10-07 20:49:00 -04:00
|
|
|
/* XXX this should go with the final Android theme */
|
|
|
|
#content-navigator > hbox > toolbarbutton {
|
2011-01-13 18:36:56 -05:00
|
|
|
border-left: @border_width_tiny@ solid rgba(255,255,255,0.2);
|
|
|
|
border-right: @border_width_tiny@ solid rgba(0,0,0,0.2);
|
2010-10-20 18:16:00 -04:00
|
|
|
background-color: transparent;
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
2010-10-07 20:49:00 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
#content-navigator > hbox > .previous-button {
|
2010-08-20 13:32:00 -07:00
|
|
|
-moz-margin-end: 0;
|
2010-10-20 18:16:00 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/previous-hdpi.png");
|
2010-07-22 01:35:47 +02:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
#content-navigator > hbox > .next-button {
|
2010-08-20 13:32:00 -07:00
|
|
|
-moz-margin-start: 0;
|
2010-10-20 18:16:00 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/next-hdpi.png");
|
2010-07-22 01:35:47 +02:00
|
|
|
}
|
|
|
|
|
2010-10-20 18:16:00 -04:00
|
|
|
#content-navigator > hbox > toolbarbutton:not([disabled="true"]):hover:active {
|
|
|
|
background-color: #3d3f42;
|
2010-07-22 01:35:47 +02:00
|
|
|
}
|
|
|
|
|
2010-10-20 18:16:00 -04:00
|
|
|
#content-navigator > hbox > toolbarbutton[disabled="true"] {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
#form-helper-autofill,
|
|
|
|
#select-helper-textbox,
|
|
|
|
#find-helper-textbox {
|
|
|
|
border: none;
|
2011-01-13 18:36:56 -05:00
|
|
|
margin: @margin_small@;
|
|
|
|
border-radius: @border_radius_normal@;
|
2010-07-22 01:35:47 +02:00
|
|
|
}
|
|
|
|
|
2010-03-09 22:42:04 -05:00
|
|
|
#form-helper-autofill {
|
2010-10-20 18:16:00 -04:00
|
|
|
padding: 0; /* half core spacing & none (autorepeat arrows compensate) */
|
2010-07-22 01:35:47 +02:00
|
|
|
color: black;
|
2010-03-31 22:52:37 -04:00
|
|
|
background-color: rgb(235,235,235);
|
2010-10-20 18:16:00 -04:00
|
|
|
background-image: url("chrome://browser/skin/images/button-bg.png");
|
|
|
|
background-size: auto 100%;
|
|
|
|
background-repeat: repeat-x;
|
2010-03-09 22:42:04 -05:00
|
|
|
}
|
|
|
|
|
2010-11-11 15:06:00 -05:00
|
|
|
#form-helper-autofill > .autorepeatbutton-down,
|
|
|
|
#form-helper-autofill > .autorepeatbutton-up {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
#form-helper-autofill > .autorepeatbutton-down {
|
2010-10-19 16:28:00 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/arrowright-16.png");
|
2010-03-09 22:42:04 -05:00
|
|
|
}
|
|
|
|
|
2010-08-20 13:32:00 -07:00
|
|
|
#form-helper-autofill > .autorepeatbutton-down:-moz-locale-dir(rtl) {
|
2010-10-19 16:28:00 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/arrowleft-16.png");
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
#form-helper-autofill > .autorepeatbutton-up {
|
2010-10-19 16:28:00 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/arrowleft-16.png");
|
2010-03-09 22:42:04 -05:00
|
|
|
}
|
|
|
|
|
2010-08-20 13:32:00 -07:00
|
|
|
#form-helper-autofill > .autorepeatbutton-up:-moz-locale-dir(rtl) {
|
2010-10-19 16:28:00 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/arrowright-16.png");
|
2010-08-20 13:32:00 -07:00
|
|
|
}
|
|
|
|
|
2010-03-09 22:42:04 -05:00
|
|
|
/* force the autorepeat buttons to create a 'padding' when collapsed */
|
2010-07-30 12:03:03 -07:00
|
|
|
#form-helper-autofill > autorepeatbutton[collapsed="true"],
|
|
|
|
#form-helper-autofill > autorepeatbutton[disabled="true"] {
|
2010-03-09 22:42:04 -05:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
.form-helper-autofill-label {
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: @padding_xxnormal@ @padding_normal@; /* 12px helps get row size for the labels */
|
2010-03-09 22:42:04 -05:00
|
|
|
margin: 0;
|
2010-03-31 22:52:37 -04:00
|
|
|
border-color: transparent rgb(215,215,215) transparent rgb(255,255,255);
|
|
|
|
border-style: solid;
|
2011-01-13 18:36:56 -05:00
|
|
|
border-width: @border_width_tiny@;
|
2010-03-09 22:42:04 -05:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
.form-helper-autofill-label:first-child {
|
2010-08-20 13:32:00 -07:00
|
|
|
-moz-padding-start: -moz-initial; /* the arrowscrollbox creates enough left padding */
|
|
|
|
-moz-border-start: none;
|
2010-03-09 22:42:04 -05:00
|
|
|
}
|
|
|
|
|
2010-07-30 12:03:03 -07:00
|
|
|
.form-helper-autofill-label:last-child {
|
2010-08-20 13:32:00 -07:00
|
|
|
-moz-border-end: none;
|
2010-03-09 22:42:04 -05:00
|
|
|
}
|
|
|
|
|
2010-10-19 16:28:00 -04:00
|
|
|
.form-helper-autofill-label:hover:active {
|
2010-03-09 22:42:04 -05:00
|
|
|
background-color: #8db8d8;
|
|
|
|
}
|
|
|
|
|
2009-10-24 00:04:51 -04:00
|
|
|
#select-container:not([hidden=true]) + #form-buttons {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
|
2009-06-24 12:42:53 -04:00
|
|
|
/* select popup ------------------------------------------------------------ */
|
2009-10-24 00:04:51 -04:00
|
|
|
#stack > #select-container {
|
2009-11-25 19:27:25 -05:00
|
|
|
padding: 32px;
|
2009-07-07 17:18:54 -04:00
|
|
|
}
|
|
|
|
|
2009-10-24 00:04:51 -04:00
|
|
|
#select-list {
|
2011-01-13 18:36:56 -05:00
|
|
|
border: @border_width_tiny@ solid gray;
|
2010-04-12 10:44:15 -04:00
|
|
|
background-color: #fff;
|
2009-10-24 00:04:51 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 11:20:48 -07:00
|
|
|
.chrome-select-option {
|
2009-06-24 12:42:53 -04:00
|
|
|
color: #000;
|
|
|
|
background-color: #fff;
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: @padding_small@;
|
|
|
|
border-bottom: @border_width_tiny@ solid rgb(207,207,207);
|
|
|
|
min-height: @touch_row@; /* row size */
|
|
|
|
max-height: @touch_row@; /* row size */
|
2009-06-24 12:42:53 -04:00
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2010-07-30 11:20:48 -07:00
|
|
|
.chrome-select-option[filtered="true"] {
|
2010-07-22 01:39:43 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-07-30 11:20:48 -07:00
|
|
|
.chrome-select-option[selected="true"] {
|
2009-10-27 09:26:39 -04:00
|
|
|
background-color: #8db8d8;
|
2009-06-24 12:42:53 -04:00
|
|
|
}
|
|
|
|
|
2010-11-05 10:10:00 -04:00
|
|
|
.chrome-select-option[disabled="true"] {
|
2010-07-23 18:03:30 +02:00
|
|
|
pointer-events: none;
|
|
|
|
color: #aaa !important;
|
|
|
|
}
|
|
|
|
|
2010-07-30 11:20:48 -07:00
|
|
|
.chrome-select-option.optgroup {
|
2009-06-24 12:42:53 -04:00
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2010-07-30 11:20:48 -07:00
|
|
|
.chrome-select-option.in-optgroup {
|
2011-01-20 15:31:31 -08:00
|
|
|
-moz-padding-start: -moz-calc(30px + @padding_large@);
|
2009-06-24 12:42:53 -04:00
|
|
|
}
|
|
|
|
|
2010-07-30 11:20:48 -07:00
|
|
|
.chrome-select-option-image {
|
2009-06-24 12:42:53 -04:00
|
|
|
min-width: 30px;
|
|
|
|
}
|
|
|
|
|
2010-07-30 11:20:48 -07:00
|
|
|
.chrome-select-option[selected="true"] {
|
2009-07-01 15:16:52 -04:00
|
|
|
list-style-image: url("chrome://browser/skin/images/check-30.png");
|
2009-06-24 12:42:53 -04:00
|
|
|
}
|
2009-09-02 10:15:22 -04:00
|
|
|
|
2010-08-24 10:53:22 +02:00
|
|
|
/* menulist popup ---------------------------------------------------------- */
|
2010-10-22 15:26:07 -07:00
|
|
|
#menulist-commands {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menulist-title {
|
2011-01-13 18:36:56 -05:00
|
|
|
padding: @padding_xxnormal@ @padding_small@ @padding_small@ @padding_small@;
|
|
|
|
font-size: @font_small@;
|
2010-08-27 01:09:56 +02:00
|
|
|
}
|
|
|
|
|
2010-10-22 15:26:07 -07:00
|
|
|
#menulist-title[value=""] {
|
2010-08-27 01:09:56 +02:00
|
|
|
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");
|
2011-01-13 18:36:56 -05:00
|
|
|
margin-right: @margin_tiny@;
|
|
|
|
margin-top: @margin_tiny@;
|
2010-08-27 01:09:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.menulist-command:not(.selected) > image[src=""] {
|
|
|
|
visibility: hidden;
|
2010-08-24 10:53:22 +02:00
|
|
|
}
|
|
|
|
|
2010-10-16 06:25:15 -07:00
|
|
|
/* full-screen video ------------------------------------------------------- */
|
|
|
|
.full-screen {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 500;
|
|
|
|
}
|
2010-10-21 19:53:15 +02:00
|
|
|
|
2010-11-09 13:42:16 -08:00
|
|
|
/* Android menu ------------------------------------------------------------ */
|
|
|
|
#appmenu {
|
|
|
|
background: rgba(255,255,255,0.95);
|
2011-01-13 18:36:56 -05:00
|
|
|
box-shadow: 0 @shadow_width_large@ @shadow_width_xlarge@ @shadow_width_large@ black;
|
2010-11-09 13:42:16 -08:00
|
|
|
border-style: solid;
|
|
|
|
border-color: #6d6d6d;
|
2011-01-13 18:36:56 -05:00
|
|
|
border-width: @border_width_large@ @border_width_large@ 0 @border_width_large@;
|
2010-11-09 13:42:16 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.appmenu-button {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: #d8d8d8 !important;
|
2011-01-13 18:36:56 -05:00
|
|
|
border-width: 0 @border_width_tiny@ @border_width_tiny@ 0;
|
|
|
|
height: @appmenu_button_height@;
|
2010-11-09 13:42:16 -08:00
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.appmenu-button:hover:active {
|
2010-11-12 13:35:12 -08:00
|
|
|
background-image: url("chrome://browser/skin/images/appmenu-active-hdpi.png");
|
|
|
|
background-size: 100% 100%;
|
2010-11-09 13:42:16 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#appmenu > .appmenu-button .toolbarbutton-text {
|
|
|
|
display: block !important;
|
2011-01-17 14:21:38 -05:00
|
|
|
font-size: @font_snormal@ !important;
|
2010-11-09 13:42:16 -08:00
|
|
|
}
|
|
|
|
|
2011-01-13 18:36:56 -05:00
|
|
|
#appmenu > .appmenu-button .toolbarbutton-icon {
|
|
|
|
margin-top: @margin_normal@ !important;
|
|
|
|
margin-bottom: @margin_small@ !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (@orientation@: portrait) {
|
2010-11-09 13:42:16 -08:00
|
|
|
#appmenu[count="4"],
|
|
|
|
#appmenu[count="5"],
|
|
|
|
#appmenu[count="6"] {
|
2011-01-13 18:36:56 -05:00
|
|
|
height: @appmenu_portrait_height@;
|
2010-11-09 13:42:16 -08:00
|
|
|
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 {
|
2010-11-10 16:50:59 -08:00
|
|
|
width: 33.33%;
|
2010-11-09 13:42:16 -08:00
|
|
|
}
|
|
|
|
}
|
2010-11-22 22:48:55 -05:00
|
|
|
|
|
|
|
/* Sync setup ------------------------------------------------------------- */
|
2011-01-17 14:21:38 -05:00
|
|
|
#syncsetup-container {
|
|
|
|
background-color: rgba(0,0,0,.6);
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#syncsetup-dialog {
|
|
|
|
margin: @margin_xxxnormal@ !important;
|
|
|
|
border: @border_width_large@ solid white;
|
|
|
|
border-radius: @border_radius_normal@;
|
|
|
|
box-shadow: black 0 @shadow_width_small@ @shadow_width_small@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.syncsetup-scrollbox {
|
|
|
|
padding: @padding_xxxnormal@;
|
2010-11-22 22:48:55 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.syncsetup-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.syncsetup-title {
|
2011-01-17 14:21:38 -05:00
|
|
|
font-size: @font_xnormal@;
|
|
|
|
padding-top: @padding_large@;
|
2010-11-22 22:48:55 -05:00
|
|
|
-moz-box-align: center;
|
2011-01-17 14:21:38 -05:00
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.syncsetup-line {
|
|
|
|
border-bottom: @border_width_small@ solid white;
|
|
|
|
margin: @margin_small@ 3em 0 3em;
|
|
|
|
height: @padding_normal@ !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.syncsetup-desc {
|
|
|
|
font-size: @font_snormal@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.syncsetup-buttons {
|
|
|
|
background-color: lightgray;
|
2010-11-22 22:48:55 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.syncsetup-code {
|
2011-01-17 14:21:38 -05:00
|
|
|
color: #000;
|
|
|
|
background-color: #fff;
|
2011-01-13 18:36:56 -05:00
|
|
|
border-radius: @border_radius_normal@;
|
|
|
|
font-size: @font_xlarge@ !important;
|
2010-12-09 19:52:02 -05:00
|
|
|
padding: 0.2em 0.4em;
|
|
|
|
-moz-padding-end: 0.2em;
|
|
|
|
letter-spacing: 0.2em;
|
2010-11-22 22:48:55 -05:00
|
|
|
text-align: center;
|
2010-12-09 19:52:02 -05:00
|
|
|
min-width: 5.5em;
|
2010-11-22 22:48:55 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.syncsetup-link {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.syncsetup-label {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2010-12-09 19:52:02 -05:00
|
|
|
|
|
|
|
.syncsetup-edit {
|
2011-01-13 18:36:56 -05:00
|
|
|
margin-bottom: @margin_xnormal@;
|
2010-12-09 19:52:02 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#syncsetup-customserver {
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-margin-start: @margin_xnormal@;
|
2010-12-09 19:52:02 -05:00
|
|
|
}
|
2010-12-15 21:07:36 +01:00
|
|
|
|
|
|
|
/* content scrollbars */
|
|
|
|
.scroller {
|
|
|
|
opacity: 0;
|
|
|
|
background-color: rgba(0, 0, 0, 0.4) !important;
|
|
|
|
-moz-border-top-colors: none !important;
|
|
|
|
-moz-border-bottom-colors: none !important;
|
|
|
|
-moz-border-right-colors: none !important;
|
|
|
|
-moz-border-left-colors: none !important;
|
2011-01-13 18:36:56 -05:00
|
|
|
-moz-border-radius: @border_radius_tiny@;
|
|
|
|
border: @border_width_tiny@ solid rgba(255, 255, 255, 0.4) !important;
|
2010-12-15 21:07:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.scroller[panning="true"] {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scroller[orient="vertical"] {
|
2011-01-13 18:36:56 -05:00
|
|
|
min-width: @scroller_thickness@;
|
|
|
|
width: @scroller_thickness@;
|
|
|
|
min-height: @scroller_minimum@;
|
2010-12-15 21:07:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.scroller[orient="horizontal"] {
|
2011-01-13 18:36:56 -05:00
|
|
|
min-height: @scroller_thickness@;
|
|
|
|
height: @scroller_thickness@;
|
|
|
|
min-width: @scroller_minimum@;
|
2010-12-15 21:07:36 +01:00
|
|
|
}
|