2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
@import url("chrome://global/skin/");
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
|
|
|
|
2013-02-19 12:34:47 -08:00
|
|
|
%include ../shared/browser.inc
|
2013-04-22 17:01:31 -07:00
|
|
|
%include windowsShared.inc
|
2010-06-11 05:15:37 -07:00
|
|
|
%filter substitution
|
2012-06-08 11:05:00 -07:00
|
|
|
%define toolbarShadowColor hsla(209,67%,12%,0.35)
|
|
|
|
%define fgTabBackgroundMiddle linear-gradient(transparent, transparent 2px, -moz-dialog 2px, -moz-dialog)
|
2011-03-29 10:53:28 -07:00
|
|
|
%define navbarTextboxCustomBorder border-color: rgba(0,0,0,.32);
|
2013-04-24 10:26:01 -07:00
|
|
|
%define navbarLargeIcons #navigator-toolbox[iconsize=large] > #nav-bar
|
2011-10-10 01:01:33 -07:00
|
|
|
%define forwardTransitionLength 150ms
|
2013-04-29 21:25:08 -07:00
|
|
|
%define conditionalForwardWithUrlbar window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large] > :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > #nav-bar-customizationtarget > #unified-back-forward-button
|
2011-10-10 01:01:33 -07:00
|
|
|
%define conditionalForwardWithUrlbarWidth 27
|
2010-06-11 05:15:37 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#menubar-items {
|
|
|
|
-moz-box-orient: vertical; /* for flex hack */
|
|
|
|
}
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
#main-menubar {
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-box-flex: 1; /* make menu items expand to fill toolbar height */
|
|
|
|
}
|
|
|
|
|
2013-02-14 07:59:13 -08:00
|
|
|
#main-window[tabsintitlebar][sizemode="normal"] #toolbar-menubar[autohide="true"][inactive="true"]:not([customizing="true"]) {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[sizemode="normal"] #toolbar-menubar,
|
|
|
|
/* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
|
|
|
|
toolbar-menu is displayed in either restored or maximized mode. */
|
|
|
|
#main-window:not([sizemode="fullscreen"]) #toolbar-menubar:-moz-any(:not([autohide="true"]), :not([inactive="true"])) {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toolbar-menubar:not([autohide="true"]) {
|
2013-05-22 02:42:39 -07:00
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
|
2013-02-14 07:59:13 -08:00
|
|
|
}
|
|
|
|
|
2010-06-11 05:15:37 -07:00
|
|
|
#navigator-toolbox {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: transparent;
|
2010-08-11 06:12:26 -07:00
|
|
|
border-top: none;
|
2011-01-24 17:43:19 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox::after {
|
|
|
|
content: "";
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
|
|
|
|
height: 1px;
|
|
|
|
background-color: ThreeDShadow;
|
2010-06-11 05:15:37 -07:00
|
|
|
}
|
2013-05-15 02:32:09 -07:00
|
|
|
#navigator-toolbox[tabsontop=false]::after {
|
2011-02-10 17:04:53 -08:00
|
|
|
visibility: collapse;
|
2011-02-09 17:36:26 -08:00
|
|
|
}
|
2010-06-11 05:15:37 -07:00
|
|
|
|
|
|
|
#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
|
2010-03-16 23:36:13 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
border-style: none;
|
2010-06-11 05:15:37 -07:00
|
|
|
background-color: -moz-Dialog;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2013-02-22 22:47:52 -08:00
|
|
|
%ifdef WINDOWS_AERO
|
2011-01-07 12:28:02 -08:00
|
|
|
@media not all and (-moz-windows-compositor) {
|
|
|
|
%endif
|
2013-02-14 07:59:13 -08:00
|
|
|
#toolbar-menubar {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
|
2013-05-29 15:16:48 -07:00
|
|
|
background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px),
|
2013-01-05 07:00:32 -08:00
|
|
|
linear-gradient(rgba(50%,50%,50%,0), ActiveCaption 85%);
|
2011-01-07 12:28:02 -08:00
|
|
|
color: CaptionText;
|
|
|
|
}
|
2013-02-14 07:59:13 -08:00
|
|
|
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
|
2013-05-29 15:16:48 -07:00
|
|
|
background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px),
|
2013-01-05 07:00:32 -08:00
|
|
|
linear-gradient(rgba(50%,50%,50%,0), InactiveCaption 85%);
|
2011-01-07 12:28:02 -08:00
|
|
|
color: InactiveCaptionText;
|
|
|
|
}
|
2013-04-22 17:01:31 -07:00
|
|
|
#TabsToolbar:-moz-lwtheme {
|
2013-05-29 15:16:48 -07:00
|
|
|
background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px);
|
2013-04-22 17:01:31 -07:00
|
|
|
}
|
2011-01-07 12:28:02 -08:00
|
|
|
#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
#main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2013-02-22 22:47:52 -08:00
|
|
|
%ifdef WINDOWS_AERO
|
2011-01-07 12:28:02 -08:00
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2012-03-29 02:31:47 -07:00
|
|
|
#nav-bar[tabsontop=true],
|
2013-05-21 07:27:17 -07:00
|
|
|
#nav-bar[tabsontop=true][collapsed=true] + toolbar,
|
|
|
|
#nav-bar[tabsontop=true][collapsed=true] + #customToolbars + #PersonalToolbar {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0));
|
2013-05-16 13:32:15 -07:00
|
|
|
box-shadow: 0 1px 0 @toolbarHighlight@ inset;
|
|
|
|
margin-top: -1px; /* Move up 1px into the TabsToolbar */
|
|
|
|
/* Position the toolbar above the bottom of background tabs */
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2010-06-11 05:15:37 -07:00
|
|
|
}
|
|
|
|
|
2013-05-23 06:40:55 -07:00
|
|
|
#nav-bar-overflow-button {
|
|
|
|
-moz-image-region: rect(-5px, 12px, 11px, -4px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#widget-overflow-list > .overflowedItem {
|
|
|
|
width: 100%;
|
|
|
|
min-height: 36px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 0 center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#widget-overflow-list > .overflowedItem > .toolbarbutton-text {
|
|
|
|
-moz-padding-start: 10px;
|
|
|
|
text-align: start;
|
|
|
|
}
|
|
|
|
|
2010-06-11 05:15:37 -07:00
|
|
|
#personal-bookmarks {
|
|
|
|
min-height: 24px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-01-15 00:20:08 -08:00
|
|
|
#print-preview-toolbar:not(:-moz-lwtheme) {
|
2008-05-05 13:46:30 -07:00
|
|
|
-moz-appearance: toolbox;
|
|
|
|
}
|
|
|
|
|
2011-10-02 04:53:00 -07:00
|
|
|
#browser-bottombox:not(:-moz-lwtheme) {
|
|
|
|
background-color: -moz-dialog;
|
|
|
|
}
|
|
|
|
|
2013-02-22 22:47:52 -08:00
|
|
|
%ifndef WINDOWS_AERO
|
2012-01-06 02:38:39 -08:00
|
|
|
@media (-moz-windows-default-theme) {
|
2013-02-14 07:59:13 -08:00
|
|
|
#main-window[tabsintitlebar][sizemode="normal"] #toolbar-menubar {
|
|
|
|
margin-top: 4px;
|
2011-01-14 08:22:32 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2010-08-24 20:03:37 -07:00
|
|
|
/* ::::: titlebar ::::: */
|
|
|
|
|
2010-11-29 08:19:17 -08:00
|
|
|
#main-window[sizemode="normal"] > #titlebar {
|
2010-08-24 20:03:37 -07:00
|
|
|
-moz-appearance: -moz-window-titlebar;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[sizemode="maximized"] > #titlebar {
|
|
|
|
-moz-appearance: -moz-window-titlebar-maximized;
|
|
|
|
}
|
|
|
|
|
2012-01-06 02:38:39 -08:00
|
|
|
@media (-moz-windows-classic) {
|
2013-02-14 07:59:13 -08:00
|
|
|
#main-window[tabsintitlebar][sizemode="normal"] > #tab-view-deck > #browser-panel > #navigator-toolbox > #toolbar-menubar {
|
2010-09-07 03:44:36 -07:00
|
|
|
margin-top: 4px;
|
2010-06-25 13:41:04 -07:00
|
|
|
}
|
2010-08-24 20:03:37 -07:00
|
|
|
}
|
|
|
|
|
2013-02-14 07:59:13 -08:00
|
|
|
/* The button box must appear on top of the navigator-toolbox in order for
|
|
|
|
* click and hover mouse events to work properly for the button in the restored
|
|
|
|
* window state. Otherwise, elements in the navigator-toolbox, like the menubar,
|
|
|
|
* can swallow those events. It will also place the buttons above the fog on
|
|
|
|
* themes with Aero Glass.
|
|
|
|
*/
|
2010-08-24 20:03:37 -07:00
|
|
|
#titlebar-buttonbox {
|
2013-02-14 07:59:13 -08:00
|
|
|
z-index: 1;
|
2010-08-24 20:03:37 -07:00
|
|
|
}
|
|
|
|
|
2011-01-07 12:28:02 -08:00
|
|
|
.titlebar-placeholder[type="appmenu-button"] {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.titlebar-placeholder[type="caption-buttons"] {
|
2013-02-22 22:47:52 -08:00
|
|
|
%ifdef WINDOWS_AERO
|
2011-02-11 09:57:24 -08:00
|
|
|
margin-left: 22px; /* additional space for Aero Snap */
|
|
|
|
%else
|
2011-01-07 12:28:02 -08:00
|
|
|
margin-left: 10px;
|
2011-02-11 09:57:24 -08:00
|
|
|
%endif
|
2011-01-07 12:28:02 -08:00
|
|
|
}
|
|
|
|
|
2010-08-24 20:03:37 -07:00
|
|
|
/* titlebar command buttons */
|
|
|
|
|
|
|
|
#titlebar-min {
|
|
|
|
-moz-appearance: -moz-window-button-minimize;
|
|
|
|
}
|
|
|
|
|
|
|
|
#titlebar-max {
|
|
|
|
-moz-appearance: -moz-window-button-maximize;
|
|
|
|
}
|
|
|
|
|
2010-11-17 03:08:28 -08:00
|
|
|
#main-window[sizemode="maximized"] #titlebar-max {
|
2010-08-24 20:03:37 -07:00
|
|
|
-moz-appearance: -moz-window-button-restore;
|
|
|
|
}
|
|
|
|
|
|
|
|
#titlebar-close {
|
|
|
|
-moz-appearance: -moz-window-button-close;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media not all and (-moz-windows-classic) {
|
2010-11-29 08:19:17 -08:00
|
|
|
#titlebar-min {
|
2010-08-24 20:03:37 -07:00
|
|
|
-moz-margin-end: 2px;
|
2010-06-25 13:41:04 -07:00
|
|
|
}
|
2010-08-24 20:03:37 -07:00
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/* ::::: bookmark buttons ::::: */
|
|
|
|
|
|
|
|
toolbarbutton.bookmark-item {
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px 3px;
|
|
|
|
}
|
|
|
|
|
2009-11-06 13:57:12 -08:00
|
|
|
toolbarbutton.bookmark-item:hover:active:not([disabled="true"]),
|
2007-03-22 10:30:00 -07:00
|
|
|
toolbarbutton.bookmark-item[open="true"] {
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
-moz-padding-start: 4px;
|
|
|
|
-moz-padding-end: 2px;
|
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon {
|
2007-03-22 10:30:00 -07:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2013-05-14 05:29:31 -07:00
|
|
|
#PlacesToolbarItems > .bookmark-item:not([image]):not([label=""]):not([container]) > .toolbarbutton-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
/* Force the display of the label for bookmarks */
|
2007-03-22 10:30:00 -07:00
|
|
|
.bookmark-item > .toolbarbutton-text {
|
|
|
|
display: -moz-box !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-05-05 01:14:37 -07:00
|
|
|
#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
|
2011-12-21 15:16:05 -08:00
|
|
|
background: url("chrome://browser/skin/places/bookmarksToolbar.png") no-repeat center;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.bookmarks-toolbar-customize {
|
|
|
|
max-width: 15em !important;
|
2009-10-14 04:56:59 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: bookmark menus ::::: */
|
|
|
|
|
|
|
|
menu.bookmark-item,
|
|
|
|
menuitem.bookmark-item {
|
|
|
|
min-width: 0;
|
2011-01-12 15:49:29 -08:00
|
|
|
max-width: 32em;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item > .menu-iconic-left {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
-moz-padding-start: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: bookmark items ::::: */
|
|
|
|
|
|
|
|
.bookmark-item {
|
2011-08-11 17:50:09 -07:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2007-11-19 18:01:53 -08:00
|
|
|
.bookmark-item[container] {
|
2011-08-11 17:50:09 -07:00
|
|
|
list-style-image: url("chrome://global/skin/icons/folder-item.png");
|
2007-11-19 18:01:53 -08:00
|
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2007-11-19 18:01:53 -08:00
|
|
|
.bookmark-item[container][open] {
|
|
|
|
-moz-image-region: rect(16px, 32px, 32px, 16px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-05-08 14:47:19 -07:00
|
|
|
.bookmark-item[container][livemark] {
|
2007-11-19 18:01:53 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/livemark-folder.png");
|
2008-02-29 19:53:59 -08:00
|
|
|
-moz-image-region: auto;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-03-01 20:37:58 -08:00
|
|
|
.bookmark-item[container][livemark] .bookmark-item {
|
2012-02-24 04:42:26 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/places/livemark-item.png");
|
|
|
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[container][livemark] .bookmark-item[visited] {
|
|
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
2008-03-01 20:37:58 -08:00
|
|
|
}
|
|
|
|
|
2008-04-15 10:09:00 -07:00
|
|
|
.bookmark-item[container][query] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/query.png");
|
2007-11-19 18:01:53 -08:00
|
|
|
-moz-image-region: auto;
|
|
|
|
}
|
2007-10-10 23:42:38 -07:00
|
|
|
|
2008-04-15 10:09:00 -07:00
|
|
|
.bookmark-item[query][tagContainer] {
|
2011-11-29 04:24:01 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
2007-11-19 18:01:53 -08:00
|
|
|
-moz-image-region: auto;
|
2007-10-10 23:42:38 -07:00
|
|
|
}
|
|
|
|
|
2008-04-15 10:09:00 -07:00
|
|
|
.bookmark-item[query][dayContainer] {
|
2008-05-01 14:50:03 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/calendar.png");
|
|
|
|
-moz-image-region: auto;
|
2008-04-15 10:09:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer] {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/folder-item.png");
|
|
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer][open] {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/folder-item.png");
|
|
|
|
-moz-image-region: rect(16px, 32px, 32px, 16px);
|
|
|
|
}
|
|
|
|
|
2011-06-30 06:34:02 -07:00
|
|
|
.bookmark-item[cutting] > .toolbarbutton-icon,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[cutting] > .toolbarbutton-text,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/* ::::: primary toolbar buttons ::::: */
|
|
|
|
|
|
|
|
.toolbarbutton-1 {
|
2011-01-18 00:43:54 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar.png");
|
|
|
|
}
|
|
|
|
|
2011-07-21 06:50:33 -07:00
|
|
|
.toolbarbutton-1:-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
|
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
.toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
|
|
|
|
.toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
|
|
|
|
.toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
|
2013-04-23 07:06:17 -07:00
|
|
|
.toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled] > .toolbarbutton-icon {
|
2012-03-21 09:03:28 -07:00
|
|
|
opacity: .4;
|
2011-01-18 00:43:54 -08:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
|
|
list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow.png");
|
2011-01-18 00:43:54 -08:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow-inverted.png");
|
2011-02-04 00:09:04 -08:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-icon,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
|
|
-moz-margin-end: 0;
|
2011-02-17 10:42:10 -08:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
#nav-bar {
|
|
|
|
/* force iconsize="small" on this toolbar */
|
|
|
|
counter-reset: smallicons;
|
2010-02-22 23:10:45 -08:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1,
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button {
|
2010-02-16 12:41:58 -08:00
|
|
|
-moz-appearance: none;
|
2012-03-21 09:03:28 -07:00
|
|
|
border: none;
|
2010-02-16 12:41:58 -08:00
|
|
|
padding: 0;
|
2012-03-21 09:03:28 -07:00
|
|
|
background: none;
|
2010-02-16 12:41:58 -08:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([type=menu-button]),
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
|
|
padding: 5px 2px;
|
|
|
|
-moz-box-pack: center;
|
2010-02-16 12:41:58 -08:00
|
|
|
}
|
|
|
|
|
2013-03-26 14:23:23 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) {
|
2012-03-21 09:03:28 -07:00
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
2010-02-16 12:41:58 -08:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > menupopup {
|
|
|
|
margin-top: -3px;
|
2010-02-16 12:41:58 -08:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button {
|
|
|
|
-moz-padding-end: 0;
|
2012-02-09 08:19:03 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
2012-03-21 09:03:28 -07:00
|
|
|
-moz-padding-start: 0;
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-icon,
|
2013-04-07 23:53:41 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-badge-container,
|
2012-03-21 09:03:28 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
|
|
|
padding: 2px 6px;
|
2012-04-21 10:13:07 -07:00
|
|
|
background: hsla(210,32%,93%,0) padding-box;
|
|
|
|
border-radius: 2px;
|
2012-03-21 09:03:28 -07:00
|
|
|
border: 1px solid;
|
|
|
|
border-color: hsla(210,54%,20%,0) hsla(210,54%,20%,0) hsla(210,54%,20%,0);
|
2012-04-21 10:13:07 -07:00
|
|
|
box-shadow: 0 1px hsla(0,0%,100%,0) inset,
|
|
|
|
0 1px hsla(210,54%,20%,0),
|
|
|
|
0 0 2px hsla(210,54%,20%,0);
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-property: background-color, border-color, box-shadow;
|
|
|
|
transition-duration: 150ms;
|
2012-03-21 09:03:28 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
|
2013-04-07 23:53:41 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
|
2012-03-21 09:03:28 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
|
|
padding: 3px 7px;
|
|
|
|
}
|
|
|
|
|
2013-03-26 14:23:23 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
|
2012-06-24 10:40:00 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
|
2012-03-21 09:03:28 -07:00
|
|
|
-moz-padding-end: 17px;
|
2012-02-09 08:19:03 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
|
2012-03-21 09:03:28 -07:00
|
|
|
-moz-margin-start: -15px;
|
2012-02-09 08:19:03 -08:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
|
|
-moz-border-end: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2013-04-23 07:06:20 -07:00
|
|
|
padding: 8px 5px 7px;
|
2012-04-21 10:13:07 -07:00
|
|
|
}
|
|
|
|
|
2013-04-30 12:27:25 -07:00
|
|
|
@navbarLargeIcons@ #social-toolbar-item {
|
|
|
|
margin-left: 2px;
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@navbarLargeIcons@ #social-toolbar-item > .toolbarbutton-1 {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
2012-09-27 16:57:37 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
|
2013-04-30 12:27:25 -07:00
|
|
|
@navbarLargeIcons@ #social-toolbar-item > .toolbarbutton-1:not(:hover):not(:active):not([open]) + .toolbarbutton-1:not(:hover):not(:active):not([open])::before {
|
2012-04-21 10:13:07 -07:00
|
|
|
content: "";
|
|
|
|
display: -moz-box;
|
|
|
|
width: 1px;
|
|
|
|
height: 18px;
|
|
|
|
-moz-margin-end: -1px;
|
2012-09-27 16:57:37 -07:00
|
|
|
background-image: linear-gradient(hsla(210,54%,20%,.2) 0, hsla(210,54%,20%,.2) 18px);
|
|
|
|
background-clip: padding-box;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 1px 18px;
|
2012-04-21 10:13:07 -07:00
|
|
|
box-shadow: 0 0 0 1px hsla(0,0%,100%,.2);
|
2012-03-21 09:03:28 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon:-moz-locale-dir(ltr),
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2010-03-01 13:30:08 -08:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon:-moz-locale-dir(rtl),
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2010-02-12 01:09:56 -08:00
|
|
|
}
|
|
|
|
|
2012-04-21 10:13:07 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
|
2013-04-07 23:53:41 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
|
2012-04-21 10:13:07 -07:00
|
|
|
@conditionalForwardWithUrlbar@ > .toolbarbutton-1:-moz-any([disabled],:not([open]):not([disabled]):not(:active)) > .toolbarbutton-icon {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1));
|
2012-04-21 10:13:07 -07:00
|
|
|
border-color: hsla(210,54%,20%,.15) hsla(210,54%,20%,.2) hsla(210,54%,20%,.25);
|
|
|
|
box-shadow: 0 1px hsla(0,0%,100%,.3) inset,
|
|
|
|
0 1px hsla(210,54%,20%,.03),
|
|
|
|
0 0 2px hsla(210,54%,20%,.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):not([open]):not(:active):hover > .toolbarbutton-icon,
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled]) > .dropmarker-icon,
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button:not([open]):not(:active):not([disabled]):hover > .toolbarbutton-icon {
|
2012-02-21 02:24:28 -08:00
|
|
|
border-color: hsla(210,54%,20%,.3) hsla(210,54%,20%,.35) hsla(210,54%,20%,.4);
|
2012-04-21 10:13:07 -07:00
|
|
|
background-color: hsla(210,48%,96%,.75);
|
|
|
|
box-shadow: 0 0 1px hsla(210,54%,20%,.03),
|
2012-02-21 02:24:28 -08:00
|
|
|
0 0 2px hsla(210,54%,20%,.1);
|
2010-02-12 01:09:56 -08:00
|
|
|
}
|
|
|
|
|
2012-04-21 10:13:07 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover:active > .toolbarbutton-icon,
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled]) > .dropmarker-icon,
|
2013-04-07 23:53:41 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:not([disabled]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1));
|
2012-04-21 10:13:07 -07:00
|
|
|
background-color: hsla(210,54%,20%,.15);
|
2012-02-21 02:24:28 -08:00
|
|
|
border-color: hsla(210,54%,20%,.3) hsla(210,54%,20%,.35) hsla(210,54%,20%,.4);
|
2012-04-21 10:13:07 -07:00
|
|
|
box-shadow: 0 1px 1px hsla(210,54%,20%,.1) inset,
|
|
|
|
0 0 1px hsla(210,54%,20%,.2) inset,
|
2013-02-22 22:47:52 -08:00
|
|
|
/* allows windows-keyhole-forward-clip-path to be used for non-hover as well as hover: */
|
2012-02-21 02:24:28 -08:00
|
|
|
0 1px 0 hsla(210,54%,20%,0),
|
|
|
|
0 0 2px hsla(210,54%,20%,0);
|
2010-02-12 01:09:56 -08:00
|
|
|
text-shadow: none;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: none;
|
2010-02-12 01:09:56 -08:00
|
|
|
}
|
|
|
|
|
2012-04-21 10:13:07 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1:-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker:not([disabled]) > .dropmarker-icon {
|
|
|
|
-moz-border-start-color: hsla(210,54%,20%,.35);
|
|
|
|
}
|
|
|
|
|
|
|
|
@navbarLargeIcons@ .toolbarbutton-1[checked]:not(:active):hover > .toolbarbutton-icon {
|
2010-02-12 01:09:56 -08:00
|
|
|
background-color: rgba(90%,90%,90%,.4);
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: background-color .4s;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-12-15 10:59:19 -08:00
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
|
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
2011-02-14 13:23:03 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border-style: none;
|
|
|
|
padding: 0 3px;
|
2010-04-27 09:57:19 -07:00
|
|
|
}
|
|
|
|
|
2011-02-14 13:23:03 -08:00
|
|
|
#TabsToolbar .toolbarbutton-1:not([disabled]):hover,
|
|
|
|
#TabsToolbar .toolbarbutton-1[open],
|
|
|
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.5)),
|
|
|
|
linear-gradient(transparent, rgba(0,0,0,.25) 30%),
|
|
|
|
linear-gradient(transparent, rgba(0,0,0,.25) 30%);
|
2011-02-14 13:23:03 -08:00
|
|
|
background-position: 1px -1px, 0 -1px, 100% -1px;
|
2012-07-18 17:44:39 -07:00
|
|
|
background-size: calc(100% - 2px) 100%, 1px 100%, 1px 100%;
|
2011-02-14 13:23:03 -08:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
#addon-bar .toolbarbutton-1:not([disabled]):hover,
|
|
|
|
#addon-bar .toolbarbutton-1[open],
|
|
|
|
#addon-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(to top, transparent, rgba(0,0,0,.15)),
|
|
|
|
linear-gradient(to top, transparent, rgba(0,0,0,.15) 30%),
|
|
|
|
linear-gradient(to top, transparent, rgba(0,0,0,.15) 30%);
|
2011-02-14 13:23:03 -08:00
|
|
|
background-position: left, left, right;
|
|
|
|
background-size: auto, 1px 100%, 1px 100%;
|
|
|
|
background-repeat: no-repeat;
|
2010-08-25 23:35:54 -07:00
|
|
|
}
|
|
|
|
|
2010-02-12 01:09:56 -08:00
|
|
|
/* unified back/forward button */
|
|
|
|
|
2010-02-16 12:42:21 -08:00
|
|
|
#back-button {
|
|
|
|
-moz-image-region: rect(0, 18px, 18px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#forward-button {
|
|
|
|
-moz-image-region: rect(0, 36px, 18px, 18px);
|
2011-01-18 00:43:54 -08:00
|
|
|
}
|
|
|
|
|
2009-08-11 01:27:20 -07:00
|
|
|
#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
|
2010-11-24 00:35:16 -08:00
|
|
|
#forward-button:-moz-locale-dir(rtl),
|
|
|
|
#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2009-08-11 01:27:20 -07:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@ {
|
|
|
|
-moz-box-align: center;
|
2011-01-18 00:43:54 -08:00
|
|
|
}
|
|
|
|
|
2011-10-10 01:01:33 -07:00
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button {
|
2012-03-21 09:03:28 -07:00
|
|
|
padding: 0;
|
2011-10-10 01:01:33 -07:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button > menupopup {
|
|
|
|
margin-top: 1px;
|
2011-10-10 01:01:33 -07:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button > .toolbarbutton-icon {
|
|
|
|
/*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
|
2013-02-22 22:47:52 -08:00
|
|
|
clip-path: url(chrome://browser/content/browser.xul#windows-keyhole-forward-clip-path);
|
2012-03-21 09:03:28 -07:00
|
|
|
-moz-margin-start: -6px !important;
|
|
|
|
border-left-style: none;
|
|
|
|
border-radius: 0;
|
|
|
|
padding-left: 7px;
|
|
|
|
padding-right: 3px;
|
2011-10-10 01:01:33 -07:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: opacity @forwardTransitionLength@ ease-out;
|
2008-03-20 21:31:27 -07:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #back-button {
|
2011-07-21 06:50:33 -07:00
|
|
|
-moz-image-region: rect(18px, 20px, 38px, 0);
|
2012-03-21 09:03:28 -07:00
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
2011-07-09 06:49:42 -07:00
|
|
|
-moz-padding-start: 5px;
|
|
|
|
-moz-padding-end: 0;
|
2010-02-12 01:09:56 -08:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2011-07-09 06:49:42 -07:00
|
|
|
border-radius: 0 10000px 10000px 0;
|
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@ > #back-button:-moz-locale-dir(rtl) {
|
2011-07-09 06:49:42 -07:00
|
|
|
border-radius: 10000px 0 0 10000px;
|
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@ > #back-button > menupopup {
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #back-button > .toolbarbutton-icon {
|
2011-07-09 06:49:42 -07:00
|
|
|
border-radius: 10000px;
|
|
|
|
padding: 5px;
|
2010-03-27 00:14:58 -07:00
|
|
|
border: none;
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1));
|
2012-04-21 10:13:07 -07:00
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset,
|
|
|
|
0 0 0 1px hsla(0,0%,100%,.3) inset,
|
|
|
|
0 0 0 1px hsla(210,54%,20%,.25),
|
|
|
|
0 1px 0 hsla(210,54%,20%,.35);
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-property: background-color, box-shadow;
|
|
|
|
transition-duration: 250ms;
|
2010-03-27 00:14:58 -07:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@ > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
|
2012-02-21 02:24:28 -08:00
|
|
|
background-color: hsla(210,48%,96%,.75);
|
2012-04-21 10:13:07 -07:00
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset,
|
|
|
|
0 0 0 1px hsla(0,0%,100%,.3) inset,
|
|
|
|
0 0 0 1px hsla(210,54%,20%,.3),
|
|
|
|
0 1px 0 hsla(210,54%,20%,.4),
|
|
|
|
0 0 4px hsla(210,54%,20%,.2);
|
2010-03-27 00:14:58 -07:00
|
|
|
}
|
|
|
|
|
2012-03-21 09:03:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@ > #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
|
|
|
|
@conditionalForwardWithUrlbar@ > #back-button[open="true"] > .toolbarbutton-icon {
|
2012-04-21 10:13:07 -07:00
|
|
|
background-color: hsla(210,54%,20%,.15);
|
|
|
|
box-shadow: 0 1px 1px hsla(210,54%,20%,.1) inset,
|
|
|
|
0 0 1px hsla(210,54%,20%,.2) inset,
|
|
|
|
0 0 0 1px hsla(210,54%,20%,.4),
|
|
|
|
0 1px 0 hsla(210,54%,20%,.2);
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: none;
|
2012-04-21 10:13:07 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #back-button[disabled] > .toolbarbutton-icon {
|
|
|
|
box-shadow: 0 0 0 1px hsla(210,54%,20%,.55),
|
|
|
|
0 1px 0 hsla(210,54%,20%,.65);
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: none;
|
2010-02-16 12:42:21 -08:00
|
|
|
}
|
|
|
|
|
2009-08-07 01:42:16 -07:00
|
|
|
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
|
|
|
|
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
|
2008-03-01 20:37:58 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/menu-back.png") !important;
|
2008-02-29 19:53:59 -08:00
|
|
|
}
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-08-07 01:42:16 -07:00
|
|
|
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
|
|
|
|
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
|
2008-03-01 20:37:58 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
|
2008-02-29 19:53:59 -08:00
|
|
|
}
|
2007-06-16 18:41:59 -07:00
|
|
|
|
2010-02-12 01:09:56 -08:00
|
|
|
#stop-button {
|
2010-02-16 12:42:21 -08:00
|
|
|
-moz-image-region: rect(0, 54px, 18px, 36px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-02-12 01:09:56 -08:00
|
|
|
#reload-button {
|
2010-02-16 12:42:21 -08:00
|
|
|
-moz-image-region: rect(0, 72px, 18px, 54px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2008-01-30 15:16:52 -08:00
|
|
|
|
|
|
|
#home-button.bookmark-item {
|
2010-02-12 01:09:56 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar.png");
|
2008-01-30 02:43:29 -08:00
|
|
|
}
|
2011-07-21 06:50:33 -07:00
|
|
|
#home-button.bookmark-item:-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
|
|
|
|
}
|
2010-02-12 01:09:56 -08:00
|
|
|
#home-button {
|
2010-02-16 12:42:21 -08:00
|
|
|
-moz-image-region: rect(0, 90px, 18px, 72px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-02-12 01:09:56 -08:00
|
|
|
#downloads-button {
|
2010-02-16 12:42:21 -08:00
|
|
|
-moz-image-region: rect(0, 108px, 18px, 90px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2013-05-21 15:54:39 -07:00
|
|
|
toolbar > .customization-target > #history-panelmenu,
|
|
|
|
toolbar > .customization-target > toolbarpaletteitem > #history-panelmenu {
|
2010-02-16 12:42:21 -08:00
|
|
|
-moz-image-region: rect(0, 126px, 18px, 108px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#bookmarks-menu-button {
|
2010-02-16 12:42:21 -08:00
|
|
|
-moz-image-region: rect(0, 144px, 18px, 126px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2011-07-21 06:50:33 -07:00
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#bookmarks-menu-button.bookmark-item {
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarks-menu-button.bookmark-item:-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
|
|
|
|
}
|
|
|
|
|
2010-02-12 01:09:56 -08:00
|
|
|
#print-button {
|
2010-02-16 12:42:21 -08:00
|
|
|
-moz-image-region: rect(0, 162px, 18px, 144px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-02-12 01:09:56 -08:00
|
|
|
#new-tab-button {
|
2010-02-16 12:42:21 -08:00
|
|
|
-moz-image-region: rect(0, 180px, 18px, 162px);
|
2009-01-23 00:13:13 -08:00
|
|
|
}
|
|
|
|
|
2010-02-12 01:09:56 -08:00
|
|
|
#new-window-button {
|
2010-02-16 12:42:21 -08:00
|
|
|
-moz-image-region: rect(0, 198px, 18px, 180px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-02-12 01:09:56 -08:00
|
|
|
#fullscreen-button {
|
2010-02-16 12:42:21 -08:00
|
|
|
-moz-image-region: rect(0, 270px, 18px, 252px);
|
2009-07-31 10:58:17 -07:00
|
|
|
}
|
|
|
|
|
2010-09-11 03:07:47 -07:00
|
|
|
#zoom-out-button {
|
|
|
|
-moz-image-region: rect(0, 288px, 18px, 270px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#zoom-in-button {
|
|
|
|
-moz-image-region: rect(0, 306px, 18px, 288px);
|
2011-01-18 00:43:54 -08:00
|
|
|
}
|
|
|
|
|
2010-09-10 10:00:55 -07:00
|
|
|
#sync-button {
|
2010-09-15 13:49:13 -07:00
|
|
|
-moz-image-region: rect(0, 324px, 18px, 306px);
|
2010-09-10 10:00:55 -07:00
|
|
|
}
|
|
|
|
#sync-button[status="active"] {
|
2010-09-15 13:49:13 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/sync-throbber.png");
|
|
|
|
-moz-image-region: rect(0, 18px, 18px, 0);
|
2010-09-10 10:00:55 -07:00
|
|
|
}
|
2010-09-16 04:23:13 -07:00
|
|
|
|
2010-10-15 10:57:10 -07:00
|
|
|
#feed-button {
|
|
|
|
-moz-image-region: rect(0, 342px, 18px, 324px);
|
|
|
|
}
|
|
|
|
|
2013-01-14 01:21:10 -08:00
|
|
|
#webrtc-status-button {
|
|
|
|
-moz-image-region: rect(0, 360px, 18px, 342px);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* tabview button & menu item */
|
|
|
|
|
|
|
|
#tabview-button,
|
|
|
|
#menu_tabview {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabview/tabview.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button:-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabview/tabview-inverted.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button {
|
|
|
|
-moz-image-region: rect(0, 90px, 18px, 72px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button[groups="0"] {
|
|
|
|
-moz-image-region: rect(0, 18px, 18px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button[groups="1"] {
|
|
|
|
-moz-image-region: rect(0, 36px, 18px, 18px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button[groups="2"] {
|
|
|
|
-moz-image-region: rect(0, 54px, 18px, 36px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button[groups="3"] {
|
|
|
|
-moz-image-region: rect(0, 72px, 18px, 54px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_tabview {
|
|
|
|
-moz-image-region: rect(1px, 89px, 17px, 73px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_tabview[groups="0"] {
|
|
|
|
-moz-image-region: rect(1px, 17px, 17px, 1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_tabview[groups="1"] {
|
|
|
|
-moz-image-region: rect(1px, 35px, 17px, 19px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_tabview[groups="2"] {
|
|
|
|
-moz-image-region: rect(1px, 53px, 17px, 37px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_tabview[groups="3"] {
|
|
|
|
-moz-image-region: rect(1px, 71px, 17px, 55px);
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/* ::::: fullscreen window controls ::::: */
|
|
|
|
|
2012-03-28 01:33:17 -07:00
|
|
|
#window-controls {
|
2011-01-10 23:38:17 -08:00
|
|
|
-moz-margin-start: 4px;
|
|
|
|
}
|
|
|
|
|
2009-06-03 09:01:26 -07:00
|
|
|
#minimize-button,
|
|
|
|
#restore-button,
|
|
|
|
#close-button {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/windowControls.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#minimize-button {
|
2009-06-03 09:01:26 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
#minimize-button:hover {
|
|
|
|
-moz-image-region: rect(16px, 16px, 32px, 0);
|
|
|
|
}
|
|
|
|
#minimize-button:hover:active {
|
|
|
|
-moz-image-region: rect(32px, 16px, 48px, 0);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
#restore-button {
|
2009-06-03 09:01:26 -07:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
#restore-button:hover {
|
|
|
|
-moz-image-region: rect(16px, 32px, 32px, 16px);
|
|
|
|
}
|
|
|
|
#restore-button:hover:active {
|
|
|
|
-moz-image-region: rect(32px, 32px, 48px, 16px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
#close-button {
|
2009-06-03 09:01:26 -07:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
|
|
-moz-appearance: none;
|
|
|
|
border-style: none;
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
#close-button:hover {
|
|
|
|
-moz-image-region: rect(16px, 48px, 32px, 32px);
|
|
|
|
}
|
|
|
|
#close-button:hover:active {
|
|
|
|
-moz-image-region: rect(32px, 48px, 48px, 32px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-03-02 03:43:23 -08:00
|
|
|
/* ::::: Location Bar ::::: */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-03-02 15:22:25 -08:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
|
|
|
-moz-appearance: none;
|
|
|
|
margin: 1px 3px;
|
2011-09-24 04:03:09 -07:00
|
|
|
padding: 0;
|
2010-06-08 18:44:33 -07:00
|
|
|
background-clip: padding-box;
|
2011-05-16 02:04:52 -07:00
|
|
|
border: 1px solid ThreeDShadow;
|
2012-03-06 02:15:31 -08:00
|
|
|
border-radius: 2px;
|
2009-11-11 10:49:56 -08:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#urlbar {
|
|
|
|
width: 7em;
|
|
|
|
-moz-padding-end: 2px;
|
|
|
|
}
|
|
|
|
|
2012-01-06 02:38:39 -08:00
|
|
|
@media (-moz-windows-default-theme) {
|
2010-06-12 00:00:09 -07:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
|
|
|
@navbarTextboxCustomBorder@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-03-02 15:22:25 -08:00
|
|
|
#urlbar:-moz-lwtheme,
|
|
|
|
.searchbar-textbox:-moz-lwtheme {
|
|
|
|
background-color: rgba(255,255,255,.8);
|
2010-06-12 00:00:09 -07:00
|
|
|
@navbarTextboxCustomBorder@
|
2010-03-02 15:22:25 -08:00
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
2011-10-10 01:01:33 -07:00
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container {
|
|
|
|
padding-left: @conditionalForwardWithUrlbarWidth@px;
|
|
|
|
-moz-margin-start: -@conditionalForwardWithUrlbarWidth@px;
|
|
|
|
position: relative;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar {
|
|
|
|
-moz-border-start: none;
|
|
|
|
margin-left: 0;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@:not([switchingtabs]) + #urlbar-container > #urlbar {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: margin-left @forwardTransitionLength@ ease-out;
|
2011-10-10 01:01:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container {
|
2013-02-22 22:47:52 -08:00
|
|
|
clip-path: url("chrome://browser/content/browser.xul#windows-urlbar-back-button-clip-path");
|
2011-10-10 01:01:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar {
|
|
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar {
|
|
|
|
/* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-delay: 100s;
|
2011-10-10 01:01:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar {
|
|
|
|
/* when not hovered anymore, trigger a new transition to hide the forward button immediately */
|
2011-10-10 07:19:24 -07:00
|
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@.01px;
|
2011-10-10 01:01:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container:-moz-locale-dir(rtl),
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
|
2013-02-22 22:47:52 -08:00
|
|
|
/* let windows-urlbar-back-button-mask clip the urlbar's right side for RTL */
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2011-10-10 01:01:33 -07:00
|
|
|
}
|
|
|
|
|
2012-11-09 02:24:23 -08:00
|
|
|
html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
|
|
|
|
.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
|
2012-11-09 02:30:54 -08:00
|
|
|
opacity: 1.0;
|
2010-03-02 15:22:25 -08:00
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar:-moz-lwtheme[focused="true"],
|
|
|
|
.searchbar-textbox:-moz-lwtheme[focused="true"] {
|
|
|
|
background-color: white;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-container {
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
-moz-box-align: stretch;
|
|
|
|
}
|
|
|
|
|
2011-02-10 16:59:40 -08:00
|
|
|
.urlbar-textbox-container {
|
|
|
|
-moz-box-align: stretch;
|
|
|
|
}
|
2012-05-08 14:47:19 -07:00
|
|
|
|
2012-04-23 12:12:47 -07:00
|
|
|
.urlbar-input-box {
|
|
|
|
-moz-margin-start: 0;
|
2012-10-04 19:28:46 -07:00
|
|
|
min-width: 4em;
|
2012-04-23 12:12:47 -07:00
|
|
|
}
|
2011-02-10 16:59:40 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#urlbar-icons {
|
2007-11-23 22:00:27 -08:00
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2009-08-10 19:59:10 -07:00
|
|
|
.urlbar-icon {
|
2012-10-23 22:16:18 -07:00
|
|
|
padding: 0 3px;
|
2011-09-24 04:03:09 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.searchbar-engine-button,
|
|
|
|
.search-go-container {
|
|
|
|
padding: 2px 2px;
|
2009-08-10 19:59:10 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
.urlbar-icon:hover {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(200,100%,70%,.3), hsla(200,100%,70%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.urlbar-icon[open="true"],
|
|
|
|
.urlbar-icon:hover:active {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(200,100%,70%,.1), hsla(200,100%,70%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
}
|
|
|
|
|
2008-01-10 01:16:24 -08:00
|
|
|
#urlbar-search-splitter {
|
2010-03-02 15:22:25 -08:00
|
|
|
min-width: 6px;
|
|
|
|
-moz-margin-start: -3px;
|
2008-01-10 01:16:24 -08:00
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-splitter + #urlbar-container > #urlbar ,
|
|
|
|
#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
}
|
|
|
|
|
2011-01-22 03:21:35 -08:00
|
|
|
#urlbar-display-box {
|
2010-03-26 14:59:02 -07:00
|
|
|
-moz-border-end: 1px solid #AAA;
|
|
|
|
-moz-margin-end: 3px;
|
|
|
|
}
|
|
|
|
|
2011-01-22 03:21:35 -08:00
|
|
|
#urlbar-display {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
2012-04-23 12:12:47 -07:00
|
|
|
-moz-margin-start: 0;
|
2011-01-22 03:21:35 -08:00
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2010-03-02 03:43:23 -08:00
|
|
|
/* identity box */
|
|
|
|
|
|
|
|
#identity-box {
|
2011-03-18 14:21:02 -07:00
|
|
|
padding: 2px;
|
2012-05-07 10:17:55 -07:00
|
|
|
font-size: .9em;
|
2011-03-18 14:21:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#identity-box:-moz-locale-dir(ltr) {
|
2011-09-14 12:05:55 -07:00
|
|
|
border-top-left-radius: 1.5px;
|
|
|
|
border-bottom-left-radius: 1.5px;
|
2011-03-18 14:21:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#identity-box:-moz-locale-dir(rtl) {
|
2011-09-14 12:05:55 -07:00
|
|
|
border-top-right-radius: 1.5px;
|
|
|
|
border-bottom-right-radius: 1.5px;
|
2010-09-09 08:07:10 -07:00
|
|
|
}
|
|
|
|
|
2011-10-10 01:01:33 -07:00
|
|
|
#notification-popup-box:not([hidden]) + #identity-box {
|
|
|
|
-moz-padding-start: 10px;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar > #identity-box {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
|
|
|
|
padding-left: 5px;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: padding-left;
|
2011-10-10 01:01:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
|
|
|
|
padding-right: 5px;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: padding-right;
|
2011-10-10 01:01:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box {
|
|
|
|
/* forward button hiding is delayed when hovered */
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-delay: 100s;
|
2011-10-10 01:01:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
|
|
|
|
/* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
|
|
|
|
padding-left: 5.01px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
|
|
|
|
/* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
|
|
|
|
padding-right: 5.01px;
|
|
|
|
}
|
|
|
|
|
2012-05-27 15:29:07 -07:00
|
|
|
#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
|
2012-05-07 10:17:55 -07:00
|
|
|
color: hsl(92,100%,30%);
|
2012-04-23 12:12:47 -07:00
|
|
|
-moz-margin-end: 4px;
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(hsla(92,81%,16%,0),
|
|
|
|
hsla(92,81%,16%,.2) 25%,
|
|
|
|
hsla(92,81%,16%,.2) 75%,
|
|
|
|
hsla(92,81%,16%,0));
|
2012-05-07 10:17:55 -07:00
|
|
|
background-position: right;
|
|
|
|
background-size: 1px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
|
|
|
|
background-position: left;
|
2011-03-18 14:21:02 -07:00
|
|
|
}
|
|
|
|
|
2012-04-23 12:13:17 -07:00
|
|
|
#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
2011-03-18 14:21:02 -07:00
|
|
|
#identity-box:-moz-focusring {
|
|
|
|
outline: 1px dotted #000;
|
|
|
|
outline-offset: -3px;
|
2010-09-09 08:07:10 -07:00
|
|
|
}
|
|
|
|
|
2010-09-08 04:39:35 -07:00
|
|
|
#identity-icon-labels {
|
2012-04-23 12:12:47 -07:00
|
|
|
-moz-padding-start: 2px;
|
|
|
|
-moz-padding-end: 5px;
|
2010-09-08 00:47:49 -07:00
|
|
|
}
|
|
|
|
|
2010-03-02 03:43:23 -08:00
|
|
|
/* Location bar dropmarker */
|
|
|
|
|
2010-09-14 22:41:16 -07:00
|
|
|
.urlbar-history-dropmarker {
|
2010-03-02 03:43:23 -08:00
|
|
|
-moz-appearance: none;
|
2011-09-24 04:03:09 -07:00
|
|
|
padding: 0 3px;
|
2010-03-02 03:43:23 -08:00
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
width: auto;
|
2011-09-24 04:03:09 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-history-dropmarker.png");
|
|
|
|
-moz-image-region: rect(0px, 11px, 14px, 0px);
|
2010-03-02 03:43:23 -08:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
.urlbar-history-dropmarker:hover {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(0px, 22px, 14px, 11px);
|
|
|
|
}
|
|
|
|
|
2010-09-14 22:41:16 -07:00
|
|
|
.urlbar-history-dropmarker:hover:active,
|
|
|
|
.urlbar-history-dropmarker[open="true"] {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.1), hsla(205,100%,70%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(0px, 33px, 14px, 22px);
|
2010-03-02 03:43:23 -08:00
|
|
|
}
|
|
|
|
|
2010-09-08 04:39:35 -07:00
|
|
|
/* page proxy icon */
|
|
|
|
|
2011-12-08 15:43:07 -08:00
|
|
|
#page-proxy-favicon {
|
2010-09-08 04:39:35 -07:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2012-05-30 07:57:10 -07:00
|
|
|
margin-top: 1px;
|
|
|
|
margin-bottom: 1px;
|
|
|
|
-moz-margin-start: 3px;
|
|
|
|
-moz-margin-end: 2px;
|
2012-04-21 00:03:31 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-generic.png);
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2010-09-08 04:39:35 -07:00
|
|
|
}
|
|
|
|
|
2012-06-13 04:56:57 -07:00
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar > #identity-box > #page-proxy-favicon {
|
2012-05-30 07:57:10 -07:00
|
|
|
-moz-margin-end: 1px;
|
|
|
|
}
|
|
|
|
|
2012-06-13 04:56:57 -07:00
|
|
|
.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
|
2012-04-21 00:03:31 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https.png);
|
|
|
|
}
|
|
|
|
|
2012-06-13 04:56:57 -07:00
|
|
|
.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
|
2012-04-21 00:03:31 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https-ev.png);
|
|
|
|
}
|
|
|
|
|
2013-01-29 11:51:17 -08:00
|
|
|
.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-active.png);
|
|
|
|
}
|
|
|
|
|
2012-06-13 04:56:57 -07:00
|
|
|
#identity-box:hover > #page-proxy-favicon {
|
2012-04-21 00:03:31 -07:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
2012-06-13 04:56:57 -07:00
|
|
|
#identity-box:hover:active > #page-proxy-favicon,
|
|
|
|
#identity-box[open=true] > #page-proxy-favicon {
|
2012-04-21 00:03:31 -07:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2010-09-08 04:39:35 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#page-proxy-favicon[pageproxystate="invalid"] {
|
2012-05-27 15:29:07 -07:00
|
|
|
opacity: 0.3;
|
2010-09-08 04:39:35 -07:00
|
|
|
}
|
|
|
|
|
2010-03-02 03:43:23 -08:00
|
|
|
/* autocomplete */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2007-11-06 00:43:53 -08:00
|
|
|
#treecolAutoCompleteImage {
|
2007-11-29 20:57:57 -08:00
|
|
|
max-width: 36px;
|
2007-08-31 13:19:19 -07:00
|
|
|
}
|
|
|
|
|
2007-11-29 20:57:57 -08:00
|
|
|
.ac-result-type-bookmark,
|
2007-11-06 00:43:53 -08:00
|
|
|
.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
|
2013-04-23 07:06:17 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmark.png");
|
|
|
|
-moz-image-region: rect(0px 48px 16px 32px);
|
2012-05-08 14:47:19 -07:00
|
|
|
width: 16px;
|
2007-11-06 00:43:53 -08:00
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2008-07-17 04:48:40 -07:00
|
|
|
.ac-result-type-keyword,
|
|
|
|
.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
|
2009-04-03 03:30:02 -07:00
|
|
|
list-style-image: url(chrome://global/skin/icons/Search-glass.png);
|
2008-07-17 04:48:40 -07:00
|
|
|
-moz-image-region: rect(0px 32px 16px 16px);
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2007-11-29 20:57:57 -08:00
|
|
|
.ac-result-type-tag,
|
2007-11-06 00:43:53 -08:00
|
|
|
.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
2012-05-08 14:47:19 -07:00
|
|
|
width: 16px;
|
2007-09-06 22:35:10 -07:00
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2007-11-29 20:57:57 -08:00
|
|
|
.ac-comment {
|
2012-07-12 20:53:00 -07:00
|
|
|
font-size: 1.06em;
|
2007-11-29 20:57:57 -08:00
|
|
|
}
|
|
|
|
|
2008-04-11 20:14:42 -07:00
|
|
|
.ac-extra > .ac-comment {
|
2012-07-12 20:53:00 -07:00
|
|
|
font-size: 1em;
|
2008-04-11 20:14:42 -07:00
|
|
|
}
|
|
|
|
|
2010-12-10 18:32:14 -08:00
|
|
|
.ac-url-text,
|
|
|
|
.ac-action-text {
|
2012-07-12 20:53:00 -07:00
|
|
|
font-size: 1em;
|
2008-08-02 12:37:17 -07:00
|
|
|
color: -moz-nativehyperlinktext;
|
2008-04-13 17:49:46 -07:00
|
|
|
}
|
|
|
|
|
2013-02-22 22:47:52 -08:00
|
|
|
%ifndef WINDOWS_AERO
|
2011-12-27 15:49:17 -08:00
|
|
|
@media (-moz-windows-default-theme) {
|
2012-07-12 20:53:00 -07:00
|
|
|
.ac-url-text:not([selected="true"]),
|
|
|
|
.ac-action-text:not([selected="true"]) {
|
|
|
|
color: #008800;
|
2011-12-27 15:49:17 -08:00
|
|
|
}
|
2007-11-29 20:57:57 -08:00
|
|
|
}
|
2010-03-29 03:04:05 -07:00
|
|
|
%endif
|
2007-11-29 20:57:57 -08:00
|
|
|
|
2010-08-25 21:01:22 -07:00
|
|
|
richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
|
2010-03-26 14:59:02 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/actionicon-tab.png");
|
2012-07-12 20:53:00 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 11px, 0);
|
2012-05-04 09:16:02 -07:00
|
|
|
padding: 0 3px;
|
|
|
|
}
|
|
|
|
|
2013-02-22 22:47:52 -08:00
|
|
|
%ifdef WINDOWS_AERO
|
2012-07-12 20:53:00 -07:00
|
|
|
@media not all and (-moz-windows-default-theme) {
|
|
|
|
%endif
|
|
|
|
richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
|
|
|
|
-moz-image-region: rect(11px, 16px, 22px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ac-comment[selected="true"],
|
|
|
|
.ac-url-text[selected="true"],
|
|
|
|
.ac-action-text[selected="true"] {
|
|
|
|
color: inherit !important;
|
|
|
|
}
|
2013-02-22 22:47:52 -08:00
|
|
|
%ifdef WINDOWS_AERO
|
2010-03-26 14:59:02 -07:00
|
|
|
}
|
2012-07-12 20:53:00 -07:00
|
|
|
%endif
|
2010-03-26 14:59:02 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
|
2007-11-29 20:57:57 -08:00
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2012-05-08 14:47:19 -07:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
|
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
|
2007-03-22 10:30:00 -07:00
|
|
|
{
|
|
|
|
color: GrayText;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treebody::-moz-tree-cell(suggesthint) {
|
|
|
|
border-top: 1px solid GrayText;
|
|
|
|
}
|
|
|
|
|
2010-09-02 19:20:12 -07:00
|
|
|
/* combined go/reload/stop button in location bar */
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#go-button,
|
2010-09-02 19:20:12 -07:00
|
|
|
#urlbar > toolbarbutton {
|
|
|
|
-moz-appearance: none;
|
2011-09-24 04:03:09 -07:00
|
|
|
padding: 0 2px;
|
2010-09-02 19:20:12 -07:00
|
|
|
background-origin: border-box;
|
|
|
|
border: none;
|
2011-09-24 04:03:09 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go.png");
|
2011-01-27 05:15:56 -08:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#go-button {
|
|
|
|
padding: 0 3px;
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#urlbar-reload-button {
|
|
|
|
-moz-image-region: rect(0, 14px, 14px, 0);
|
2011-01-27 05:15:56 -08:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#urlbar-reload-button:not([disabled]):hover {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(200,100%,70%,.2), hsla(200,100%,70%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(14px, 14px, 28px, 0);
|
2011-08-05 12:45:59 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#urlbar-reload-button:not([disabled]):hover:active {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(200,100%,60%,.1), hsla(200,100%,60%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(28px, 14px, 42px, 0);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#go-button,
|
|
|
|
#urlbar-go-button {
|
|
|
|
-moz-image-region: rect(0, 42px, 14px, 28px);
|
2011-01-27 05:15:56 -08:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#go-button:hover,
|
2010-09-02 19:20:12 -07:00
|
|
|
#urlbar-go-button:hover {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(110,70%,50%,.2), hsla(110,70%,50%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(14px, 42px, 28px, 28px);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#go-button:hover:active,
|
|
|
|
#urlbar-go-button:hover:active {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(110,70%,50%,.1), hsla(110,70%,50%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(28px, 42px, 42px, 28px);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
|
|
|
|
#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button {
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(0, 28px, 14px, 14px);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#urlbar-stop-button:not([disabled]):hover {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.3), hsla(5,100%,75%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(14px, 28px, 28px, 14px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button:hover:active {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.1), hsla(5,100%,75%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(28px, 28px, 42px, 14px);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2010-12-16 09:53:27 -08:00
|
|
|
/* popup blocker button */
|
|
|
|
|
|
|
|
#page-report-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-report-button:hover {
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-report-button:hover:active,
|
|
|
|
#page-report-button[open="true"] {
|
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
|
|
}
|
|
|
|
|
2013-05-06 23:02:58 -07:00
|
|
|
|
|
|
|
/* social share panel */
|
|
|
|
|
|
|
|
#social-share-panel > iframe {
|
|
|
|
background: linear-gradient(to bottom, #f0f4f7, #fafbfc);
|
|
|
|
width: 300px;
|
|
|
|
height: 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/social/share-button.png);
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.social-share-toolbar {
|
|
|
|
border-right: 1px solid #e2e5e8;
|
|
|
|
background: linear-gradient(to bottom, #ffffff, #f5f7fa);
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons {
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons > .share-provider-button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
padding: 5px;
|
|
|
|
margin: 1px;
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
|
|
|
|
#social-share-provider-buttons > .share-provider-button:hover,
|
|
|
|
#social-share-provider-buttons > .share-provider-button:active {
|
|
|
|
padding: 4px;
|
|
|
|
border: 1px solid #aeb8c1;
|
|
|
|
box-shadow: inset 1px 1px 1px rgba(10, 31, 51, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
|
|
|
|
background: linear-gradient(to bottom, rgba(230,232,234,.65), #d2d5d9);
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
min-height: 16px;
|
|
|
|
max-height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* fixup corners for share panel */
|
|
|
|
.social-panel > .social-panel-frame {
|
|
|
|
border-radius: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-panel {
|
|
|
|
max-height: 600px;
|
|
|
|
min-height: 100px;
|
|
|
|
max-width: 800px;
|
|
|
|
min-width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social-share-frame {
|
|
|
|
background: linear-gradient(to bottom, #f0f4f7, #fafbfc);
|
|
|
|
width: 330px;
|
|
|
|
height: 150px;
|
|
|
|
border-top-left-radius: none;
|
|
|
|
border-bottom-left-radius: none;
|
|
|
|
border-top-right-radius: inherit;
|
|
|
|
border-bottom-right-radius: inherit;
|
|
|
|
/* we resize our panels dynamically, make it look nice */
|
|
|
|
transition: height 100ms ease-out, width 100ms ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-panel > .social-share-toolbar {
|
|
|
|
border-top-left-radius: inherit;
|
|
|
|
border-bottom-left-radius: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons {
|
|
|
|
border-top-left-radius: inherit;
|
|
|
|
border-bottom-left-radius: inherit;
|
|
|
|
}
|
|
|
|
|
2012-07-11 18:31:19 -07:00
|
|
|
/* social recommending panel */
|
|
|
|
|
2013-05-04 13:11:18 -07:00
|
|
|
#social-mark-button {
|
2012-10-23 19:46:05 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2012-10-23 23:45:51 -07:00
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
/* star button */
|
2013-04-25 03:19:52 -07:00
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#star-button {
|
2013-04-25 03:19:52 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmark.png");
|
|
|
|
-moz-image-region: rect(0px 16px 16px 0px);
|
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#star-button:hover {
|
|
|
|
background-image: radial-gradient(circle closest-side, hsla(45,100%,73%,.3), hsla(45,100%,73%,0));
|
|
|
|
-moz-image-region: rect(0px 32px 16px 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#star-button:hover:active {
|
|
|
|
background-image: radial-gradient(circle closest-side, hsla(45,100%,73%,.1), hsla(45,100%,73%,0));
|
2008-04-29 12:09:28 -07:00
|
|
|
-moz-image-region: rect(0px 48px 16px 32px);
|
2007-09-15 01:21:20 -07:00
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#star-button[starred] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/editBookmark.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-01-29 20:37:20 -08:00
|
|
|
/* bookmarking panel */
|
2013-04-23 07:06:17 -07:00
|
|
|
|
2008-01-29 20:37:20 -08:00
|
|
|
#editBookmarkPanelStarIcon {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/starred48.png");
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanelStarIcon[unstarred] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/unstarred48.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanelTitle {
|
|
|
|
font-size: 130%;
|
|
|
|
}
|
|
|
|
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBookmarkPanelHeader,
|
|
|
|
#editBookmarkPanelContent {
|
|
|
|
margin-bottom: .5em;
|
|
|
|
}
|
|
|
|
|
2009-01-13 02:48:26 -08:00
|
|
|
/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
|
|
|
|
#editBMPanel_folderTree {
|
2009-01-17 06:45:37 -08:00
|
|
|
min-width: 27em;
|
2009-01-13 02:48:26 -08:00
|
|
|
}
|
|
|
|
|
2011-05-23 21:16:39 -07:00
|
|
|
.panel-promo-box {
|
2012-06-19 07:07:24 -07:00
|
|
|
margin: 10px -10px -10px;
|
|
|
|
padding: 8px 10px;
|
|
|
|
border-top: 1px solid ThreeDShadow;
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(hsla(0,0%,0%,.15), hsla(0,0%,0%,.08) 6px);
|
2012-06-19 07:07:24 -07:00
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
2011-12-17 19:02:51 -08:00
|
|
|
}
|
|
|
|
|
2012-01-06 02:38:39 -08:00
|
|
|
@media (-moz-windows-default-theme) {
|
2011-12-17 19:02:51 -08:00
|
|
|
.panel-promo-box {
|
2012-06-19 07:07:24 -07:00
|
|
|
border-top-style: none;
|
|
|
|
background: #f1f5fb;
|
2011-12-17 19:02:51 -08:00
|
|
|
color: GrayText;
|
|
|
|
box-shadow: 0px 1px 2px rgb(204,214,234) inset;
|
|
|
|
}
|
2011-05-23 21:16:39 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-icon {
|
2011-07-04 07:06:16 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/sync-notification-24.png");
|
2011-05-23 21:16:39 -07:00
|
|
|
-moz-margin-end: 10px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton {
|
|
|
|
-moz-appearance: none;
|
|
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
border: none;
|
|
|
|
-moz-margin-end: -10px;
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton:hover {
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton:hover:active {
|
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton > .toolbarbutton-text {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/* ::::: content area ::::: */
|
|
|
|
|
2007-09-15 01:21:20 -07:00
|
|
|
#sidebar {
|
|
|
|
background-color: Window;
|
|
|
|
}
|
|
|
|
|
2008-04-30 10:00:35 -07:00
|
|
|
#sidebar-title {
|
|
|
|
-moz-padding-start: 0px;
|
|
|
|
}
|
|
|
|
|
2007-11-21 04:04:21 -08:00
|
|
|
/* Tabstrip */
|
2011-02-09 17:36:26 -08:00
|
|
|
|
2010-03-16 23:36:13 -07:00
|
|
|
#TabsToolbar {
|
|
|
|
min-height: 0;
|
|
|
|
padding: 0;
|
2010-06-11 05:15:37 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#TabsToolbar:not(:-moz-lwtheme),
|
2011-02-09 17:36:26 -08:00
|
|
|
#TabsToolbar[tabsontop=false] {
|
2013-05-29 15:16:48 -07:00
|
|
|
background-image: linear-gradient(to top, @toolbarShadowColor@ 2px, rgba(0,0,0,.05) 2px, transparent 50%);
|
2010-08-10 00:01:41 -07:00
|
|
|
}
|
|
|
|
|
2013-02-14 07:59:13 -08:00
|
|
|
#main-window[tabsintitlebar] #TabsToolbar {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2013-02-22 22:47:52 -08:00
|
|
|
%ifndef WINDOWS_AERO
|
2012-01-06 02:38:39 -08:00
|
|
|
@media (-moz-windows-default-theme) {
|
2011-05-09 11:52:59 -07:00
|
|
|
#main-window[sizemode=normal] #TabsToolbar {
|
2011-03-02 21:40:41 -08:00
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2013-03-08 02:57:00 -08:00
|
|
|
%include ../shared/tabs.inc.css
|
2009-11-11 10:49:56 -08:00
|
|
|
|
2013-02-22 22:47:52 -08:00
|
|
|
%ifndef WINDOWS_AERO
|
2012-06-08 11:05:00 -07:00
|
|
|
/* Use lighter colors of buttons and text in the titlebar on luna-blue */
|
2012-01-06 02:38:39 -08:00
|
|
|
@media (-moz-windows-theme: luna-blue) {
|
2013-02-14 07:59:13 -08:00
|
|
|
#main-window[tabsintitlebar] #main-menubar > menu {
|
|
|
|
color: white;
|
2011-01-13 00:19:38 -08:00
|
|
|
}
|
|
|
|
|
2013-03-29 14:53:01 -07:00
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down {
|
2012-06-08 11:05:00 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png);
|
2011-01-13 00:19:38 -08:00
|
|
|
}
|
2010-07-20 10:37:10 -07:00
|
|
|
|
2013-03-29 14:53:01 -07:00
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button,
|
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button,
|
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button {
|
2012-06-08 11:05:00 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.png);
|
|
|
|
}
|
2010-04-27 22:54:51 -07:00
|
|
|
|
2013-03-29 14:53:01 -07:00
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #alltabs-button {
|
2012-06-08 11:05:00 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow-inverted.png");
|
|
|
|
}
|
2007-08-22 14:02:02 -07:00
|
|
|
|
2013-03-29 14:53:01 -07:00
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #tabview-button {
|
2012-06-08 11:05:00 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/tabview/tabview-inverted.png);
|
|
|
|
}
|
2009-11-11 10:49:56 -08:00
|
|
|
|
2013-03-29 14:53:01 -07:00
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) .tab-close-button:not(:hover):not([selected="true"]) {
|
2012-06-08 11:05:00 -07:00
|
|
|
-moz-image-region: rect(0, 64px, 16px, 48px);
|
|
|
|
}
|
2010-09-02 13:08:37 -07:00
|
|
|
|
2013-04-16 21:08:07 -07:00
|
|
|
#tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after,
|
|
|
|
.tabbrowser-tab:not([selected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,
|
|
|
|
#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after {
|
2013-05-22 12:47:12 -07:00
|
|
|
background-image: url("chrome://browser/skin/tabbrowser/tab-separator-luna-blue.png");
|
2013-04-16 21:08:07 -07:00
|
|
|
}
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
2012-06-08 11:05:00 -07:00
|
|
|
%endif
|
2007-08-22 14:02:02 -07:00
|
|
|
|
2013-03-29 14:53:01 -07:00
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-tab:not([selected]):not(:-moz-lwtheme) {
|
|
|
|
color: CaptionText;
|
2010-10-11 20:47:59 -07:00
|
|
|
}
|
|
|
|
|
2013-04-22 17:01:31 -07:00
|
|
|
/* The selected tab should keep dark text with lightweight themes */
|
|
|
|
.tabbrowser-tab:-moz-lwtheme:not([selected=true]) {
|
2012-06-08 11:05:00 -07:00
|
|
|
color: inherit;
|
2010-10-11 20:47:59 -07:00
|
|
|
}
|
|
|
|
|
2013-04-22 17:01:31 -07:00
|
|
|
.tabbrowser-tab[selected=true]:-moz-lwtheme {
|
|
|
|
/* Copied from :root:-moz-lwtheme-darktext in global.css */
|
|
|
|
text-shadow: 0 -0.5px 1.5px white;
|
2010-06-24 07:29:02 -07:00
|
|
|
}
|
|
|
|
|
2007-08-22 14:02:02 -07:00
|
|
|
/* tabbrowser-tab focus ring */
|
2013-03-29 14:53:01 -07:00
|
|
|
.tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-label {
|
2010-08-30 11:26:05 -07:00
|
|
|
outline: 1px dotted;
|
|
|
|
}
|
|
|
|
|
2011-10-26 17:46:58 -07:00
|
|
|
/* Tab DnD indicator */
|
2007-08-22 14:02:02 -07:00
|
|
|
.tab-drop-indicator {
|
2010-03-10 00:07:45 -08:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png);
|
2013-05-15 11:06:27 -07:00
|
|
|
margin-bottom: -9px;
|
|
|
|
z-index: 3;
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2007-11-21 04:04:21 -08:00
|
|
|
/* Tab close button */
|
2007-08-22 14:02:02 -07:00
|
|
|
.tab-close-button {
|
|
|
|
-moz-appearance: none;
|
2012-06-08 11:05:00 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2007-11-21 04:04:21 -08:00
|
|
|
border: none;
|
2007-08-22 14:02:02 -07:00
|
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button:hover,
|
2010-09-15 00:28:37 -07:00
|
|
|
.tab-close-button:hover[selected="true"] {
|
2010-07-18 07:29:32 -07:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button:hover:active,
|
2010-09-15 00:28:37 -07:00
|
|
|
.tab-close-button:hover:active[selected="true"] {
|
2010-07-18 07:29:32 -07:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2010-09-15 00:28:37 -07:00
|
|
|
.tab-close-button[selected="true"] {
|
2010-07-18 07:29:32 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2009-01-23 00:13:13 -08:00
|
|
|
/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
|
2009-08-10 19:59:10 -07:00
|
|
|
|
2009-05-30 05:51:55 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
2010-07-19 13:18:42 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png");
|
2010-04-20 00:33:08 -07:00
|
|
|
margin: 0;
|
2011-02-14 13:23:03 -08:00
|
|
|
padding-right: 2px;
|
|
|
|
border-right: 2px solid transparent;
|
|
|
|
background-origin: border-box;
|
2009-05-30 05:51:55 -07:00
|
|
|
}
|
|
|
|
|
2011-08-15 08:43:36 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png);
|
|
|
|
}
|
|
|
|
|
2011-02-09 10:25:54 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
|
2009-05-30 08:26:41 -07:00
|
|
|
opacity: .4;
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2011-02-14 13:23:03 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2008-01-09 21:52:23 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: 1s background-color ease-out;
|
2009-11-05 00:02:12 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
|
|
|
|
background-color: Highlight;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: none;
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2011-02-14 13:23:03 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
|
2011-12-22 15:35:20 -08:00
|
|
|
border-width: 0 2px 0 0;
|
|
|
|
border-style: solid;
|
2013-03-09 23:58:38 -08:00
|
|
|
border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
2011-02-09 10:25:54 -08:00
|
|
|
}
|
|
|
|
|
2010-05-04 23:36:57 -07:00
|
|
|
.tabs-newtab-button > .toolbarbutton-icon {
|
|
|
|
margin-top: -1px;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
}
|
|
|
|
|
2010-04-27 09:57:19 -07:00
|
|
|
.tabs-newtab-button,
|
|
|
|
#TabsToolbar > #new-tab-button,
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png);
|
2011-08-15 08:43:36 -07:00
|
|
|
-moz-image-region: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-newtab-button:-moz-lwtheme-brighttext,
|
|
|
|
#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.png);
|
2009-01-23 00:13:11 -08:00
|
|
|
}
|
|
|
|
|
2011-04-11 23:50:56 -07:00
|
|
|
#TabsToolbar > #new-tab-button {
|
|
|
|
width: 26px;
|
2009-01-23 00:13:11 -08:00
|
|
|
}
|
|
|
|
|
2010-04-27 09:57:19 -07:00
|
|
|
#alltabs-button {
|
2012-02-09 08:19:03 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow.png");
|
2009-07-10 04:20:03 -07:00
|
|
|
}
|
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
#alltabs-button:-moz-lwtheme-brighttext {
|
2012-02-09 08:19:03 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow-inverted.png");
|
2011-08-15 08:43:36 -07:00
|
|
|
}
|
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
#alltabs-button > .toolbarbutton-icon {
|
2012-02-09 08:19:03 -08:00
|
|
|
margin: 0 2px;
|
2010-04-27 09:57:19 -07:00
|
|
|
}
|
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
#alltabs-button > .toolbarbutton-menu-dropmarker {
|
2009-07-10 04:20:03 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-07-10 11:34:46 -07:00
|
|
|
/* All tabs menupopup */
|
|
|
|
.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
|
2011-08-11 17:50:09 -07:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
2009-07-10 11:34:46 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.alltabs-item[selected="true"] {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/loading_16.png");
|
|
|
|
}
|
|
|
|
|
2011-05-24 17:57:42 -07:00
|
|
|
.alltabs-item[tabIsVisible] {
|
|
|
|
/* box-shadow instead of background-color to work around native styling */
|
2012-04-26 13:27:38 -07:00
|
|
|
box-shadow: inset -5px 0 ThreeDShadow;
|
2011-05-24 17:57:42 -07:00
|
|
|
}
|
|
|
|
|
2007-11-21 04:04:21 -08:00
|
|
|
/* Tabstrip close button */
|
2007-03-22 10:30:00 -07:00
|
|
|
.tabs-closebutton {
|
|
|
|
-moz-appearance: none;
|
2007-11-21 04:04:21 -08:00
|
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
2010-07-18 07:29:32 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2007-03-22 10:30:00 -07:00
|
|
|
padding: 4px 2px;
|
2007-11-21 04:04:21 -08:00
|
|
|
margin: 0px;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-closebutton > .toolbarbutton-icon {
|
|
|
|
-moz-margin-end: 0px !important;
|
|
|
|
-moz-padding-end: 2px !important;
|
|
|
|
-moz-padding-start: 2px !important;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-closebutton:hover {
|
2010-07-18 07:29:32 -07:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-closebutton:hover:active {
|
2010-07-18 07:29:32 -07:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton.chevron {
|
|
|
|
list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
|
|
|
|
}
|
|
|
|
|
2009-08-11 01:27:20 -07:00
|
|
|
toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2009-02-22 00:43:59 -08:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-text,
|
2007-03-22 10:30:00 -07:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-02-22 00:43:59 -08:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#sidebar-throbber[loading="true"] {
|
2008-04-08 22:32:16 -07:00
|
|
|
list-style-image: url("chrome://global/skin/icons/loading_16.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-margin-end: 4px;
|
|
|
|
}
|
|
|
|
|
2009-08-14 01:03:34 -07:00
|
|
|
/* Bookmarks toolbar */
|
2010-05-05 06:28:04 -07:00
|
|
|
#PlacesToolbarDropIndicator {
|
2009-08-14 01:03:34 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton.bookmark-item[dragover="true"][open="true"] {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background: Highlight !important;
|
|
|
|
color: HighlightText !important;
|
|
|
|
}
|
|
|
|
|
2008-02-20 18:17:52 -08:00
|
|
|
/* rules for menupopup drop indicators */
|
|
|
|
.menupopup-drop-indicator-bar {
|
|
|
|
position: relative;
|
|
|
|
/* these two margins must together compensate the indicator's height */
|
|
|
|
margin-top: -1px;
|
|
|
|
margin-bottom: -1px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-02-20 18:17:52 -08:00
|
|
|
.menupopup-drop-indicator {
|
|
|
|
list-style-image: none;
|
|
|
|
height: 2px;
|
|
|
|
-moz-margin-end: -4em;
|
|
|
|
background-color: Highlight;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2007-10-21 20:30:23 -07:00
|
|
|
|
|
|
|
/* ::::: Identity Indicator Styling ::::: */
|
2008-01-29 14:38:54 -08:00
|
|
|
|
2007-10-21 20:30:23 -07:00
|
|
|
/* Popup Icons */
|
|
|
|
#identity-popup-icon {
|
2008-03-04 03:32:11 -08:00
|
|
|
height: 64px;
|
|
|
|
width: 64px;
|
|
|
|
padding: 0;
|
|
|
|
list-style-image: url("chrome://browser/skin/identity.png");
|
|
|
|
-moz-image-region: rect(0px, 64px, 64px, 0px);
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
|
|
|
|
-moz-image-region: rect(64px, 64px, 128px, 0px);
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
|
|
|
|
-moz-image-region: rect(128px, 64px, 192px, 0px);
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-01-29 20:21:53 -08:00
|
|
|
/* Popup Body Text */
|
2009-10-23 08:28:14 -07:00
|
|
|
.identity-popup-description {
|
2008-03-04 03:32:11 -08:00
|
|
|
white-space: pre-wrap;
|
2008-04-16 12:42:42 -07:00
|
|
|
-moz-padding-start: 15px;
|
2008-03-04 03:32:11 -08:00
|
|
|
margin: 2px 0 4px;
|
2007-12-13 07:08:23 -08:00
|
|
|
}
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
.identity-popup-label {
|
2008-03-04 03:32:11 -08:00
|
|
|
white-space: pre-wrap;
|
2008-04-16 12:42:42 -07:00
|
|
|
-moz-padding-start: 15px;
|
2008-03-04 03:32:11 -08:00
|
|
|
margin: 0;
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2012-04-21 00:03:31 -07:00
|
|
|
#identity-popup-content-host,
|
2008-04-16 12:42:42 -07:00
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
|
|
|
|
font-size: 1.2em;
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-04-16 12:42:42 -07:00
|
|
|
#identity-popup-content-host {
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
font-weight: bold;
|
|
|
|
max-width: 300px;
|
2008-01-29 20:21:53 -08:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup-content-owner {
|
2008-04-16 12:42:42 -07:00
|
|
|
margin-top: 4px;
|
2008-03-04 03:32:11 -08:00
|
|
|
margin-bottom: 0 !important;
|
2008-04-16 12:42:42 -07:00
|
|
|
font-weight: bold;
|
|
|
|
max-width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.verifiedDomain > #identity-popup-content-owner {
|
|
|
|
font-weight: normal;
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-01-29 20:21:53 -08:00
|
|
|
#identity-popup-content-verifier {
|
|
|
|
margin: 4px 0 2px;
|
2007-12-13 07:08:23 -08:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
|
|
|
|
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
|
2008-01-29 20:21:53 -08:00
|
|
|
margin-top: 10px;
|
2009-08-03 02:31:13 -07:00
|
|
|
-moz-margin-start: -24px;
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
|
|
|
|
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
|
2008-02-29 19:53:59 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/Secure24.png");
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-04-16 12:42:42 -07:00
|
|
|
#identity-popup-more-info-button {
|
|
|
|
margin-top: 6px;
|
2009-05-03 10:13:46 -07:00
|
|
|
margin-bottom: 0;
|
|
|
|
-moz-margin-end: 0;
|
2008-04-16 12:42:42 -07:00
|
|
|
}
|
|
|
|
|
2010-04-09 10:45:25 -07:00
|
|
|
.popup-notification-icon {
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
-moz-margin-end: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-icon[popupid="geolocation"] {
|
2010-07-01 02:03:56 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/Geolocation-64.png);
|
2010-04-09 10:45:25 -07:00
|
|
|
}
|
|
|
|
|
2010-07-01 09:23:11 -07:00
|
|
|
.popup-notification-icon[popupid="xpinstall-disabled"],
|
2011-01-03 11:40:47 -08:00
|
|
|
.popup-notification-icon[popupid="addon-progress"],
|
|
|
|
.popup-notification-icon[popupid="addon-install-cancelled"],
|
2010-07-01 09:23:11 -07:00
|
|
|
.popup-notification-icon[popupid="addon-install-blocked"],
|
|
|
|
.popup-notification-icon[popupid="addon-install-failed"],
|
2012-04-13 15:01:43 -07:00
|
|
|
.popup-notification-icon[popupid="addon-install-complete"] {
|
2010-07-01 09:23:11 -07:00
|
|
|
list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png);
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
2012-04-13 15:01:43 -07:00
|
|
|
.popup-notification-icon[popupid="click-to-play-plugins"] {
|
2012-08-28 09:23:10 -07:00
|
|
|
list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png);
|
2012-04-13 15:01:43 -07:00
|
|
|
}
|
|
|
|
|
2013-05-03 13:44:12 -07:00
|
|
|
.popup-notification-icon[popupid="plugins-not-found"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/pluginInstall-64.png);
|
|
|
|
}
|
|
|
|
|
2012-07-12 08:45:38 -07:00
|
|
|
.popup-notification-icon[popupid="web-notifications"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/notification-64.png);
|
|
|
|
}
|
|
|
|
|
2011-01-03 11:40:47 -08:00
|
|
|
.addon-progress-description {
|
|
|
|
width: 350px;
|
|
|
|
max-width: 350px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-progress-label,
|
|
|
|
.popup-progress-meter {
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-progress-cancel {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
min-height: 0;
|
|
|
|
min-width: 0;
|
|
|
|
list-style-image: url(chrome://mozapps/skin/downloads/downloadButtons.png);
|
|
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-progress-cancel:hover {
|
|
|
|
-moz-image-region: rect(16px, 32px, 32px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-progress-cancel:active {
|
|
|
|
-moz-image-region: rect(32px, 32px, 48px, 16px);
|
|
|
|
}
|
|
|
|
|
2010-09-09 15:15:40 -07:00
|
|
|
.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
|
2013-04-29 00:38:53 -07:00
|
|
|
.popup-notification-icon[popupid="indexedDB-quota-prompt"],
|
|
|
|
.popup-notification-icon[popupid*="offline-app-requested"] {
|
2010-09-09 15:15:40 -07:00
|
|
|
list-style-image: url(chrome://global/skin/icons/question-64.png);
|
|
|
|
}
|
|
|
|
|
2010-09-09 19:08:26 -07:00
|
|
|
.popup-notification-icon[popupid="password-save"],
|
|
|
|
.popup-notification-icon[popupid="password-change"] {
|
2010-09-09 19:08:26 -07:00
|
|
|
list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png);
|
|
|
|
}
|
|
|
|
|
2012-03-12 17:33:10 -07:00
|
|
|
.popup-notification-icon[popupid="webapps-install"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/webapps-64.png);
|
|
|
|
}
|
|
|
|
|
2013-01-30 00:04:28 -08:00
|
|
|
.popup-notification-icon[popupid="mixed-content-blocked"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png);
|
|
|
|
}
|
|
|
|
|
2012-12-28 01:25:59 -08:00
|
|
|
.popup-notification-icon[popupid="webRTC-sharingDevices"],
|
2012-10-05 02:37:00 -07:00
|
|
|
.popup-notification-icon[popupid="webRTC-shareDevices"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64.png);
|
|
|
|
}
|
|
|
|
|
2013-03-24 03:32:44 -07:00
|
|
|
.popup-notification-icon[popupid="pointerLock"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/pointerLock-64.png);
|
|
|
|
}
|
|
|
|
|
2010-04-09 10:45:25 -07:00
|
|
|
/* Notification icon box */
|
|
|
|
#notification-popup-box {
|
2011-03-18 14:21:02 -07:00
|
|
|
position: relative;
|
|
|
|
background-color: #fff;
|
|
|
|
background-clip: padding-box;
|
|
|
|
padding-left: 3px;
|
|
|
|
border-radius: 2.5px 0 0 2.5px;
|
2011-12-22 15:35:20 -08:00
|
|
|
border-width: 0 8px 0 0;
|
|
|
|
border-style: solid;
|
2013-03-09 23:58:38 -08:00
|
|
|
border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
|
2011-03-18 14:21:02 -07:00
|
|
|
-moz-margin-end: -8px;
|
|
|
|
}
|
|
|
|
|
2011-10-10 01:01:33 -07:00
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
|
|
|
|
padding-left: 5px;
|
2011-03-18 14:21:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#notification-popup-box:-moz-locale-dir(rtl),
|
|
|
|
.notification-anchor-icon:-moz-locale-dir(rtl) {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2010-04-09 10:45:25 -07:00
|
|
|
}
|
|
|
|
|
2010-07-01 09:23:11 -07:00
|
|
|
.notification-anchor-icon {
|
2010-06-30 16:51:05 -07:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2012-05-03 15:33:47 -07:00
|
|
|
margin: 0 2px;
|
2010-06-30 14:13:17 -07:00
|
|
|
}
|
|
|
|
|
2010-06-23 09:53:09 -07:00
|
|
|
.notification-anchor-icon:-moz-focusring {
|
|
|
|
outline: 1px dotted -moz-DialogText;
|
|
|
|
outline-offset: -3px;
|
|
|
|
}
|
|
|
|
|
2011-01-18 14:57:40 -08:00
|
|
|
#default-notification-icon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/information-16.png);
|
|
|
|
}
|
|
|
|
|
2012-06-12 18:16:00 -07:00
|
|
|
#identity-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/profile/profileicon.png);
|
|
|
|
}
|
|
|
|
|
2010-07-01 09:23:11 -07:00
|
|
|
#geo-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/Geolocation-16.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
#addons-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric-16.png);
|
|
|
|
}
|
|
|
|
|
2010-09-09 15:15:40 -07:00
|
|
|
#indexedDB-notification-icon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/question-16.png);
|
|
|
|
}
|
|
|
|
|
2010-09-09 19:08:26 -07:00
|
|
|
#password-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
|
|
|
|
}
|
|
|
|
|
2012-03-12 17:33:10 -07:00
|
|
|
#webapps-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webapps-16.png);
|
|
|
|
}
|
|
|
|
|
2012-04-13 15:01:43 -07:00
|
|
|
#plugins-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric-16.png);
|
|
|
|
}
|
|
|
|
|
2012-12-11 19:41:32 -08:00
|
|
|
#blocked-plugins-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/plugins/notifyPluginBlocked.png);
|
|
|
|
}
|
|
|
|
|
2013-05-03 13:44:12 -07:00
|
|
|
#plugin-install-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/pluginInstall-16.png);
|
|
|
|
}
|
|
|
|
|
2013-02-05 21:59:21 -08:00
|
|
|
#notification-popup-box[hidden] {
|
|
|
|
/* Override display:none to make the pluginBlockedNotification animation work
|
|
|
|
when showing the notification repeatedly. */
|
|
|
|
display: -moz-box;
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2012-12-11 19:41:32 -08:00
|
|
|
#blocked-plugins-notification-icon[showing] {
|
|
|
|
animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes pluginBlockedNotification {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-30 00:04:28 -08:00
|
|
|
#mixed-content-blocked-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/mixed-content-blocked-16.png);
|
|
|
|
}
|
|
|
|
|
2012-12-28 01:25:59 -08:00
|
|
|
#webRTC-shareDevices-notification-icon {
|
2012-10-05 02:37:00 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16.png);
|
|
|
|
}
|
|
|
|
|
2013-01-14 01:21:10 -08:00
|
|
|
#webRTC-sharingDevices-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16.png);
|
|
|
|
}
|
|
|
|
|
2012-07-12 08:45:38 -07:00
|
|
|
#web-notifications-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/notification-16.png);
|
|
|
|
}
|
|
|
|
|
2013-03-24 03:32:44 -07:00
|
|
|
#pointerLock-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/pointerLock-16.png);
|
|
|
|
}
|
|
|
|
#pointerLock-cancel {
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
|
2007-10-21 20:30:23 -07:00
|
|
|
#identity-popup-container {
|
2008-03-04 03:32:11 -08:00
|
|
|
min-width: 280px;
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
2008-01-26 21:08:46 -08:00
|
|
|
|
2010-06-24 10:08:43 -07:00
|
|
|
/* Bookmarks roots menu-items */
|
2010-11-05 01:29:10 -07:00
|
|
|
#subscribeToPageMenuitem:not([disabled]),
|
|
|
|
#subscribeToPageMenupopup,
|
|
|
|
#BMB_subscribeToPageMenuitem:not([disabled]),
|
|
|
|
#BMB_subscribeToPageMenupopup {
|
|
|
|
list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
|
|
|
|
}
|
|
|
|
|
2010-06-24 10:08:43 -07:00
|
|
|
#bookmarksToolbarFolderMenu,
|
2010-10-06 05:16:05 -07:00
|
|
|
#BMB_bookmarksToolbar {
|
2008-04-11 08:53:58 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
|
|
|
|
-moz-image-region: auto;
|
2008-04-08 17:39:18 -07:00
|
|
|
}
|
2008-04-28 02:59:30 -07:00
|
|
|
|
2010-10-06 05:16:05 -07:00
|
|
|
#BMB_unsortedBookmarks {
|
2010-06-24 10:08:43 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png");
|
|
|
|
-moz-image-region: auto;
|
|
|
|
}
|
|
|
|
|
2008-07-15 09:11:00 -07:00
|
|
|
/* ::::: Keyboard UI Panel ::::: */
|
2009-07-20 21:25:59 -07:00
|
|
|
|
2008-07-15 09:11:00 -07:00
|
|
|
.KUI-panel {
|
|
|
|
-moz-appearance: none;
|
2009-07-20 21:25:59 -07:00
|
|
|
background: rgba(27%,27%,27%,.9) url(KUI-background.png) repeat-x;
|
2008-07-15 09:11:00 -07:00
|
|
|
color: white;
|
2009-07-26 00:53:04 -07:00
|
|
|
border-style: none;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 20px;
|
2008-07-15 09:11:00 -07:00
|
|
|
}
|
|
|
|
|
2009-07-20 21:25:59 -07:00
|
|
|
.KUI-panel[level="top"] {
|
|
|
|
background-color: rgba(27%,27%,27%,.65);
|
2008-07-15 09:11:00 -07:00
|
|
|
}
|
|
|
|
|
2009-07-20 21:25:59 -07:00
|
|
|
/* Ctrl-Tab */
|
|
|
|
|
|
|
|
#ctrlTab-panel {
|
2009-07-26 00:53:04 -07:00
|
|
|
padding: 20px 10px 10px;
|
2008-11-04 23:38:13 -08:00
|
|
|
font-weight: bold;
|
2010-09-11 09:27:12 -07:00
|
|
|
text-shadow: 0 0 1px rgb(27%,27%,27%), 0 0 2px rgb(27%,27%,27%);
|
2009-07-20 21:25:59 -07:00
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
.ctrlTab-favicon[src] {
|
|
|
|
background-color: white;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ctrlTab-preview-inner > .tabPreview-canvas {
|
2010-09-11 09:27:12 -07:00
|
|
|
box-shadow: 1px 1px 2px rgb(12%,12%,12%);
|
2010-03-22 07:11:42 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
|
2009-07-20 21:25:59 -07:00
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
.ctrlTab-preview-inner {
|
2009-07-26 00:53:04 -07:00
|
|
|
padding-bottom: 10px;
|
2009-07-20 21:25:59 -07:00
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
|
2009-07-26 00:53:04 -07:00
|
|
|
padding: 10px;
|
|
|
|
background-color: rgba(255,255,255,.2);
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: .5em;
|
2009-07-20 21:25:59 -07:00
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
|
2009-07-26 00:53:04 -07:00
|
|
|
color: white;
|
|
|
|
background-color: rgba(0,0,0,.6);
|
2009-07-20 21:25:59 -07:00
|
|
|
text-shadow: none;
|
2009-07-26 00:53:04 -07:00
|
|
|
padding: 8px;
|
|
|
|
border: 2px solid white;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: .5em;
|
2009-07-26 00:53:04 -07:00
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
|
2009-07-26 00:53:04 -07:00
|
|
|
margin: -10px -10px 0;
|
2009-07-20 21:25:59 -07:00
|
|
|
}
|
|
|
|
|
2009-07-26 00:53:04 -07:00
|
|
|
#ctrlTab-showAll {
|
|
|
|
margin-top: .5em;
|
2009-07-20 21:25:59 -07:00
|
|
|
}
|
|
|
|
|
2011-01-11 13:14:55 -08:00
|
|
|
/* Add-on bar */
|
|
|
|
|
|
|
|
#addon-bar {
|
2011-10-02 04:53:00 -07:00
|
|
|
-moz-appearance: none;
|
2011-01-11 13:14:55 -08:00
|
|
|
min-height: 20px;
|
2011-10-02 04:53:00 -07:00
|
|
|
border-top-style: none;
|
|
|
|
border-bottom-style: none;
|
|
|
|
padding-top: 1px;
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(rgba(0,0,0,.15) 1px, rgba(255,255,255,.15) 1px);
|
2011-10-02 04:53:00 -07:00
|
|
|
background-size: 100% 2px;
|
|
|
|
background-repeat: no-repeat;
|
2011-01-30 22:28:17 -08:00
|
|
|
}
|
|
|
|
|
2010-09-15 23:09:27 -07:00
|
|
|
#status-bar {
|
|
|
|
-moz-appearance: none;
|
2011-01-30 22:28:17 -08:00
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
2011-01-11 13:14:55 -08:00
|
|
|
min-height: 0;
|
2010-09-15 23:09:27 -07:00
|
|
|
}
|
|
|
|
|
2011-11-04 12:08:50 -07:00
|
|
|
#addon-bar[customizing] > #status-bar {
|
|
|
|
opacity: .5;
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: repeating-linear-gradient(135deg,
|
|
|
|
rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
|
|
|
|
rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);
|
2011-11-04 12:08:50 -07:00
|
|
|
}
|
|
|
|
|
2010-09-15 23:09:27 -07:00
|
|
|
#status-bar > statusbarpanel {
|
|
|
|
border-width: 0;
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
2010-11-19 21:23:30 -08:00
|
|
|
|
2010-12-09 11:09:05 -08:00
|
|
|
#addonbar-closebutton {
|
|
|
|
border: none;
|
2011-01-11 13:14:55 -08:00
|
|
|
padding: 0 5px;
|
2010-12-09 11:09:05 -08:00
|
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#addonbar-closebutton:hover {
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#addonbar-closebutton:hover:active {
|
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
|
|
}
|
2011-01-28 05:35:49 -08:00
|
|
|
|
|
|
|
/* Status panel */
|
|
|
|
|
|
|
|
.statuspanel-label {
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px 4px;
|
2013-01-05 07:00:32 -08:00
|
|
|
background: linear-gradient(#fff, #ddd);
|
2011-01-28 05:35:49 -08:00
|
|
|
border: 1px none #ccc;
|
|
|
|
border-top-style: solid;
|
|
|
|
color: #333;
|
2011-01-30 22:27:33 -08:00
|
|
|
text-shadow: none;
|
2011-01-28 05:35:49 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
|
|
|
|
.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
|
|
|
|
border-right-style: solid;
|
2011-12-23 20:16:34 -08:00
|
|
|
/* disabled for triggering grayscale AA (bug 659213)
|
2011-01-28 05:35:49 -08:00
|
|
|
border-top-right-radius: .3em;
|
2011-12-23 20:16:34 -08:00
|
|
|
*/
|
2011-01-28 05:35:49 -08:00
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
|
|
|
|
.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
|
|
|
|
border-left-style: solid;
|
2011-12-23 20:16:34 -08:00
|
|
|
/* disabled for triggering grayscale AA (bug 659213)
|
2011-01-28 05:35:49 -08:00
|
|
|
border-top-left-radius: .3em;
|
2011-12-23 20:16:34 -08:00
|
|
|
*/
|
2011-01-28 05:35:49 -08:00
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2011-07-11 10:18:11 -07:00
|
|
|
|
2011-10-28 01:28:05 -07:00
|
|
|
#full-screen-warning-message {
|
|
|
|
background-color: hsl(0,0%,15%);
|
|
|
|
color: white;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin-top: 30px;
|
|
|
|
padding: 30px 50px;
|
|
|
|
box-shadow: 0 0 2px white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#full-screen-warning-container[obscure-browser] {
|
2012-05-08 14:47:19 -07:00
|
|
|
background-color: rgba(0,0,0,0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.full-screen-description {
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#full-screen-domain-text {
|
|
|
|
font-size: 300%;
|
2011-10-28 01:28:05 -07:00
|
|
|
}
|
|
|
|
|
2012-05-08 14:47:19 -07:00
|
|
|
.full-screen-approval-button,
|
|
|
|
#full-screen-remember-decision {
|
|
|
|
font-size: 120%;
|
2011-10-28 01:28:05 -07:00
|
|
|
}
|
|
|
|
|
2013-02-19 12:34:48 -08:00
|
|
|
/* Developer toolbar */
|
|
|
|
|
|
|
|
#developer-toolbar {
|
|
|
|
border-top: 1px solid hsla(211,68%,6%,.65) !important;
|
|
|
|
}
|
|
|
|
|
2013-02-19 12:34:48 -08:00
|
|
|
%include ../shared/devtools/responsivedesign.inc.css
|
2013-02-19 12:34:48 -08:00
|
|
|
%include ../shared/devtools/highlighter.inc.css
|
2013-02-19 12:34:48 -08:00
|
|
|
%include ../shared/devtools/commandline.inc.css
|
2012-05-10 10:33:54 -07:00
|
|
|
|
|
|
|
.gclitoolbar-input-node {
|
2012-06-01 00:24:19 -07:00
|
|
|
border-color: hsl(210,24%,10%);
|
|
|
|
box-shadow: inset 0 1px 0 hsla(211,68%,6%,.05),
|
|
|
|
0 0 0 1px hsla(210,40%,83%,.1);
|
2012-05-10 10:33:54 -07:00
|
|
|
}
|
|
|
|
|
2012-07-26 08:06:04 -07:00
|
|
|
/* Web Console */
|
|
|
|
|
|
|
|
.web-console-frame {
|
|
|
|
border-bottom: 1px solid #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.web-console-frame[animated] {
|
|
|
|
transition: height 100ms;
|
|
|
|
}
|
|
|
|
|
2012-06-26 09:01:41 -07:00
|
|
|
/* Developer Toolbar */
|
|
|
|
|
2012-12-17 11:01:31 -08:00
|
|
|
#developer-toolbar-toolbox-button {
|
|
|
|
min-width: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#developer-toolbar-toolbox-button > .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-01-08 20:54:56 -08:00
|
|
|
#developer-toolbar-toolbox-button > .toolbarbutton-icon {
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
2012-06-26 09:01:41 -07:00
|
|
|
.developer-toolbar-button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
min-width: 78px;
|
|
|
|
min-height: 22px;
|
|
|
|
text-shadow: 0 -1px 0 hsla(210,8%,5%,.45);
|
|
|
|
border-radius: 3px;
|
|
|
|
color: inherit;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
margin: 0 5px;
|
|
|
|
padding: 0 10px;
|
|
|
|
list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png");
|
|
|
|
}
|
|
|
|
|
2012-07-13 02:32:09 -07:00
|
|
|
.developer-toolbar-button[open=true],
|
2012-06-26 09:01:41 -07:00
|
|
|
.developer-toolbar-button:active:hover,
|
|
|
|
.developer-toolbar-button[checked=true] {
|
|
|
|
border-color: hsla(210,8%,5%,.6);
|
|
|
|
background: rgba(0,0,0,.6);
|
|
|
|
box-shadow: 0 1px 2px rgba(0,0,0,.5) inset, 0 1px 0 hsla(210,16%,76%,.1);
|
|
|
|
}
|
|
|
|
|
2012-09-24 10:08:11 -07:00
|
|
|
.developer-toolbar-button:hover,
|
|
|
|
.developer-toolbar-button[checked=true],
|
|
|
|
.developer-toolbar-button[open=true] {
|
2012-06-26 09:01:41 -07:00
|
|
|
color: hsl(208,100%,60%) !important;
|
|
|
|
text-shadow: 0 0 6px hsl(208,100%,60%);
|
|
|
|
}
|
|
|
|
|
2012-09-24 10:08:11 -07:00
|
|
|
.developer-toolbar-button[checked=true] {
|
|
|
|
background: rgba(0,0,0,.4);
|
|
|
|
}
|
|
|
|
|
2012-11-30 00:07:59 -08:00
|
|
|
#developer-toolbar-toolbox-button {
|
2012-07-13 02:32:09 -07:00
|
|
|
-moz-image-region: rect(64px, 16px, 80px, 0);
|
|
|
|
}
|
|
|
|
|
2012-07-05 08:02:28 -07:00
|
|
|
/* Error counter */
|
|
|
|
|
2012-11-30 00:07:59 -08:00
|
|
|
#developer-toolbar-toolbox-button[error-count]:before {
|
2012-07-05 08:02:28 -07:00
|
|
|
color: #FDF3DE;
|
|
|
|
min-width: 16px;
|
|
|
|
text-shadow: none;
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(#B4211B, #8A1915);
|
2012-07-05 08:02:28 -07:00
|
|
|
border-radius: 1px;
|
2012-08-08 11:40:31 -07:00
|
|
|
-moz-margin-end: 5px;
|
2012-07-05 08:02:28 -07:00
|
|
|
}
|
2012-07-15 16:12:13 -07:00
|
|
|
|
2012-09-27 16:57:37 -07:00
|
|
|
/* Social toolbar item */
|
2013-01-07 12:42:02 -08:00
|
|
|
|
2012-12-19 15:50:23 -08:00
|
|
|
#social-provider-button {
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2013-05-06 11:25:24 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/social/services-16.png);
|
2012-12-19 15:50:23 -08:00
|
|
|
}
|
2012-07-15 16:12:13 -07:00
|
|
|
|
2012-09-27 16:57:37 -07:00
|
|
|
#social-provider-button > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
2012-07-15 16:12:13 -07:00
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
.toolbarbutton-badge-container {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
2012-07-15 16:12:13 -07:00
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
@navbarLargeIcons@ .toolbarbutton-1 > .toolbarbutton-badge-container {
|
|
|
|
padding: 2px 5px;
|
2012-07-15 16:12:13 -07:00
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 2px;
|
|
|
|
right: 2px;
|
2013-04-07 20:58:50 -07:00
|
|
|
}
|
2013-04-30 12:27:25 -07:00
|
|
|
|
|
|
|
.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
.toolbarbutton-badge[badge=""] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.toolbarbutton-badge[badge]:not([badge=""])::after {
|
2013-01-07 12:42:02 -08:00
|
|
|
/* The |content| property is set in the content stylesheet. */
|
2012-09-27 16:57:37 -07:00
|
|
|
font-size: 9px;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 0 1px;
|
2013-01-07 12:42:02 -08:00
|
|
|
color: #fff;
|
2012-09-27 16:57:37 -07:00
|
|
|
background-color: rgb(240,61,37);
|
|
|
|
border: 1px solid rgb(216,55,34);
|
|
|
|
border-radius: 2px;
|
|
|
|
box-shadow: 0 1px 0 rgba(0,39,121,0.77);
|
2013-01-07 12:42:02 -08:00
|
|
|
position: absolute;
|
2013-04-07 23:53:41 -07:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2013-04-07 20:58:50 -07:00
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
@navbarLargeIcons@ *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
|
|
|
|
top: 1px;
|
2013-04-30 12:27:25 -07:00
|
|
|
right: 1px;
|
2013-04-07 23:53:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
|
|
|
|
left: 0;
|
|
|
|
right: auto;
|
2012-07-26 21:48:00 -07:00
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
@navbarLargeIcons@ *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
|
2013-04-30 12:27:25 -07:00
|
|
|
left: 1px;
|
2013-01-07 12:42:02 -08:00
|
|
|
right: auto;
|
2012-07-15 16:12:13 -07:00
|
|
|
}
|
|
|
|
|
2013-04-02 16:28:30 -07:00
|
|
|
.popup-notification-icon[popupid="servicesInstall"] {
|
2013-04-07 18:40:50 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/social/services-64.png);
|
2013-04-02 16:28:30 -07:00
|
|
|
}
|
|
|
|
#servicesInstall-notification-icon {
|
2013-04-07 18:40:50 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/social/services-16.png);
|
2013-04-02 16:28:30 -07:00
|
|
|
}
|
|
|
|
#social-undoactivation-button,
|
|
|
|
#servicesInstall-learnmore-link {
|
|
|
|
-moz-margin-start: 0; /* override default label margin to match description margin */
|
|
|
|
}
|
|
|
|
|
|
|
|
#socialActivatedNotification .popup-notification-button-container {
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social-activation-icon {
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
max-height: 64px;
|
|
|
|
max-width: 64px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-activation-message {
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-activation-message > label {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2012-07-26 21:48:00 -07:00
|
|
|
/* social toolbar provider menu */
|
2012-11-15 15:07:42 -08:00
|
|
|
.social-statusarea-popup {
|
2012-07-26 21:48:00 -07:00
|
|
|
margin-top: 0;
|
2012-07-15 16:12:13 -07:00
|
|
|
margin-left: -12px;
|
|
|
|
margin-right: -12px;
|
|
|
|
}
|
|
|
|
|
2012-11-15 15:07:42 -08:00
|
|
|
.social-statusarea-user {
|
2012-10-09 16:29:13 -07:00
|
|
|
-moz-appearance: none;
|
2012-07-26 21:48:00 -07:00
|
|
|
border-bottom: 1px solid rgb(221,221,221);
|
|
|
|
background-color: -moz-Dialog;
|
|
|
|
position: relative;
|
2012-09-28 16:37:58 -07:00
|
|
|
cursor: pointer;
|
2013-03-04 14:08:25 -08:00
|
|
|
list-style-image:url("chrome://global/skin/icons/information-32.png");
|
2012-07-15 16:12:13 -07:00
|
|
|
}
|
|
|
|
|
2012-11-15 15:07:42 -08:00
|
|
|
.social-statusarea-user-portrait {
|
2012-07-26 21:48:00 -07:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin: 10px;
|
2012-07-15 16:12:13 -07:00
|
|
|
}
|
|
|
|
|
2012-11-15 15:07:42 -08:00
|
|
|
.social-statusarea-loggedInStatus {
|
2012-07-15 16:12:13 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
color: -moz-nativehyperlinktext;
|
|
|
|
min-width: 0;
|
|
|
|
margin: 0 6px;
|
2012-09-25 11:39:09 -07:00
|
|
|
list-style-image: none;
|
2012-07-15 16:12:13 -07:00
|
|
|
}
|
2012-10-09 16:29:13 -07:00
|
|
|
|
2012-11-15 15:07:42 -08:00
|
|
|
.social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
|
2012-07-15 16:12:13 -07:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2012-09-06 16:13:37 -07:00
|
|
|
.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social-panel-frame {
|
|
|
|
border-radius: inherit;
|
|
|
|
}
|
|
|
|
|
2013-02-19 12:34:48 -08:00
|
|
|
%include ../shared/social/chat.inc.css
|
2012-08-20 17:52:26 -07:00
|
|
|
|
|
|
|
.chat-titlebar {
|
2012-09-04 14:42:06 -07:00
|
|
|
background-color: #c4cfde;
|
2012-10-05 17:57:53 -07:00
|
|
|
background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
|
2012-08-20 17:52:26 -07:00
|
|
|
}
|
|
|
|
|
2012-09-04 14:42:06 -07:00
|
|
|
.chat-titlebar[selected] {
|
|
|
|
background-color: #dae3f0;
|
|
|
|
}
|
|
|
|
|
2012-08-20 17:52:26 -07:00
|
|
|
.chatbar-button {
|
|
|
|
-moz-appearance: none;
|
2012-09-04 14:42:06 -07:00
|
|
|
background-color: #c4cfde;
|
2013-05-05 19:48:20 -07:00
|
|
|
background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
|
2012-08-20 17:52:26 -07:00
|
|
|
}
|
|
|
|
|
2012-10-05 17:57:53 -07:00
|
|
|
.chatbar-button > .toolbarbutton-icon {
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
2013-05-05 19:48:20 -07:00
|
|
|
.chatbar-button:hover,
|
2012-10-05 17:57:53 -07:00
|
|
|
.chatbar-button[open="true"] {
|
2012-09-04 14:42:06 -07:00
|
|
|
background-color: #dae3f0;
|
2012-08-20 17:52:26 -07:00
|
|
|
}
|
|
|
|
|
2012-10-05 17:57:53 -07:00
|
|
|
.chatbar-button[activity]:not([open="true"]) {
|
|
|
|
background-image: radial-gradient(circle farthest-corner at center 3px, rgb(255,255,255) 3%, rgba(186,221,251,0.75) 40%, rgba(127,179,255,0.5) 80%, rgba(127,179,255,0.25));
|
2012-09-25 14:38:58 -07:00
|
|
|
}
|
|
|
|
|
2012-08-26 18:23:15 -07:00
|
|
|
chatbox {
|
2012-10-05 17:57:53 -07:00
|
|
|
border-top-left-radius: 2.5px;
|
|
|
|
border-top-right-radius: 2.5px;
|
2012-08-20 17:52:26 -07:00
|
|
|
}
|
|
|
|
|
2013-03-26 14:23:23 -07:00
|
|
|
/* Customization mode */
|
|
|
|
|
2013-04-14 22:34:52 -07:00
|
|
|
%include ../shared/customizableui/customizeMode.inc.css
|
2013-03-22 14:28:34 -07:00
|
|
|
|
2013-05-09 15:28:02 -07:00
|
|
|
#main-window[customizing] {
|
|
|
|
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
|
|
|
|
background-attachment: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[customizing] #tab-view-deck {
|
|
|
|
padding: 0 2em 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customization-container {
|
|
|
|
border-left: 1px solid @toolbarShadowColor@;
|
|
|
|
border-right: 1px solid @toolbarShadowColor@;
|
|
|
|
background-clip: padding-box;
|
|
|
|
}
|
|
|
|
|
2013-04-11 12:50:07 -07:00
|
|
|
/* End customization mode */
|
2013-03-26 14:23:23 -07:00
|
|
|
|
2012-08-28 09:23:10 -07:00
|
|
|
.click-to-play-plugins-notification-content {
|
|
|
|
margin: -10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-icon-box {
|
|
|
|
-moz-border-end: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
padding-top: 16px;
|
|
|
|
-moz-padding-end: 16px;
|
|
|
|
-moz-padding-start: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-icon-box:-moz-locale-dir(ltr) {
|
|
|
|
border-bottom-left-radius: 4px;
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-icon-box:-moz-locale-dir(rtl) {
|
|
|
|
border-bottom-right-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-separator {
|
|
|
|
-moz-border-start: 1px solid hsla(211,79%,6%,.1);
|
|
|
|
border-top: 1px solid hsla(211,79%,6%,.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-description-box {
|
|
|
|
border-bottom: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
-moz-border-start: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
padding-top: 12px;
|
|
|
|
-moz-padding-end: 11px;
|
|
|
|
padding-bottom: 9px;
|
|
|
|
-moz-padding-start: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-center-box {
|
|
|
|
border-top: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
border-bottom: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
-moz-border-start: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
background-color: hsla(211,79%,6%,.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-button-container {
|
|
|
|
border-top: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
-moz-border-start: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
margin: 0px;
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-box {
|
|
|
|
padding: 12px 16px 0px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-box[padbottom="true"] {
|
|
|
|
padding-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-icon {
|
|
|
|
background-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2012-09-29 19:32:34 -07:00
|
|
|
.center-item-box[warn="true"] {
|
2012-10-09 10:53:52 -07:00
|
|
|
background-image: url("chrome://browser/skin/click-to-play-warning-stripes.png");
|
2012-09-29 19:32:34 -07:00
|
|
|
background-repeat: repeat-x;
|
|
|
|
padding: 8px 16px 6px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-box[padbottom="true"][warn="true"] {
|
|
|
|
padding-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-box[showseparator="true"] {
|
|
|
|
border-top: 1px solid hsla(211,79%,6%,.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-box[warn="false"] > .center-item-warning {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-warning > .text-link {
|
|
|
|
color: #3d8cd7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-warning > .text-link[href=""] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-warning-icon {
|
|
|
|
background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 16px;
|
|
|
|
height: 15px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-warning-description {
|
|
|
|
color: #828282;
|
|
|
|
}
|
|
|
|
|
2012-08-28 09:23:10 -07:00
|
|
|
.center-item-button {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2013-01-07 10:24:08 -08:00
|
|
|
|
|
|
|
#main-window[privatebrowsingmode=temporary] #toolbar-menubar {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-dark.png");
|
|
|
|
background-position: top right;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) {
|
|
|
|
background-position: top left;
|
|
|
|
}
|