2007-11-07 00:50:18 -08:00
|
|
|
%if 0
|
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-11-07 00:50:18 -08:00
|
|
|
%endif
|
2007-11-06 21:07:40 -08:00
|
|
|
|
|
|
|
@import url("chrome://global/skin/");
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
2007-11-06 21:08:22 -08:00
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
2014-03-13 14:36:48 -07:00
|
|
|
@namespace svg url("http://www.w3.org/2000/svg");
|
2007-11-06 21:07:40 -08:00
|
|
|
|
2013-02-19 12:34:47 -08:00
|
|
|
%include ../shared/browser.inc
|
2013-05-02 09:42:17 -07:00
|
|
|
%include linuxShared.inc
|
2010-09-04 01:46:24 -07:00
|
|
|
%filter substitution
|
2013-05-02 09:42:17 -07:00
|
|
|
|
2011-10-15 03:18:14 -07:00
|
|
|
%define forwardTransitionLength 150ms
|
2013-07-18 09:46:28 -07:00
|
|
|
%define conditionalForwardWithUrlbar window:not([chromehidden~="toolbar"]) #urlbar-container
|
2014-03-13 08:33:51 -07:00
|
|
|
%define conditionalForwardWithUrlbarWidth 27
|
2010-08-23 14:35:34 -07:00
|
|
|
|
2007-11-06 21:07:54 -08:00
|
|
|
#menubar-items {
|
|
|
|
-moz-box-orient: vertical; /* for flex hack */
|
|
|
|
}
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
#main-menubar {
|
2007-11-06 21:07:54 -08:00
|
|
|
-moz-box-flex: 1; /* make menu items expand to fill toolbar height */
|
|
|
|
}
|
|
|
|
|
2010-09-04 01:46:24 -07:00
|
|
|
#navigator-toolbox {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: transparent;
|
|
|
|
border-top: none;
|
2014-02-07 16:27:59 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox::after {
|
|
|
|
content: "";
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
|
|
|
|
height: 1px;
|
|
|
|
background-color: ThreeDShadow;
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
|
|
|
|
2013-06-04 15:08:55 -07:00
|
|
|
#navigator-toolbox > toolbar:not(:-moz-lwtheme):not(#toolbar-menubar):not(#TabsToolbar) {
|
2010-09-04 01:46:24 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
border-style: none;
|
|
|
|
background-color: -moz-Dialog;
|
|
|
|
}
|
|
|
|
|
2013-11-19 08:13:17 -08:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
|
2010-09-04 01:46:24 -07:00
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
}
|
|
|
|
|
2013-07-10 13:22:24 -07:00
|
|
|
#nav-bar {
|
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 */
|
2013-11-12 11:44:34 -08:00
|
|
|
padding-top: 2px;
|
2013-11-12 10:35:50 -08:00
|
|
|
padding-bottom: 2px;
|
2013-05-16 13:32:15 -07:00
|
|
|
/* Position the toolbar above the bottom of background tabs */
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2013-05-23 06:40:55 -07:00
|
|
|
#nav-bar-overflow-button {
|
|
|
|
-moz-image-region: rect(-5px, 12px, 11px, -4px);
|
2010-09-04 01:46:24 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#personal-bookmarks {
|
|
|
|
min-height: 29px;
|
2007-11-06 21:08:25 -08:00
|
|
|
}
|
|
|
|
|
2010-09-04 01:46:14 -07:00
|
|
|
#browser-bottombox {
|
2010-08-27 16:15:08 -07:00
|
|
|
/* opaque for layers optimization */
|
|
|
|
background-color: -moz-Dialog;
|
|
|
|
}
|
|
|
|
|
2009-10-01 23:22:18 -07:00
|
|
|
#urlbar:-moz-lwtheme:not([focused="true"]),
|
2010-09-04 01:46:24 -07:00
|
|
|
.searchbar-textbox:-moz-lwtheme:not([focused="true"]) {
|
2009-09-04 03:58:18 -07:00
|
|
|
opacity: .85;
|
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
/* Places toolbar */
|
2013-08-02 13:31:20 -07:00
|
|
|
toolbarbutton.bookmark-item,
|
2014-03-05 13:58:27 -08:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
|
2007-11-06 21:07:40 -08:00
|
|
|
margin: 0;
|
|
|
|
padding: 2px 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton.bookmark-item:hover:active,
|
|
|
|
toolbarbutton.bookmark-item[open="true"] {
|
2007-11-06 21:07:48 -08:00
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
-moz-padding-start: 4px;
|
|
|
|
-moz-padding-end: 2px;
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
|
|
|
|
2013-08-02 13:31:20 -07:00
|
|
|
.bookmark-item > .toolbarbutton-icon,
|
2013-10-22 13:26:09 -07:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
|
2007-11-06 21:07:40 -08:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
/* Force the display of the label for bookmarks */
|
2013-08-02 13:31:20 -07:00
|
|
|
.bookmark-item > .toolbarbutton-text,
|
2013-10-22 13:26:09 -07:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
|
2007-11-06 21:07:40 -08:00
|
|
|
display: -moz-box !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2008-01-29 14:26:19 -08:00
|
|
|
/* Dropmarker for folder bookmarks */
|
2008-01-17 02:24:31 -08:00
|
|
|
.bookmark-item[container] > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: -moz-box !important;
|
|
|
|
}
|
|
|
|
|
2013-08-02 13:31:20 -07:00
|
|
|
#bookmarks-toolbar-placeholder {
|
2009-10-14 04:56:59 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
|
|
|
|
2014-01-15 06:27:30 -08:00
|
|
|
toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
|
|
|
|
#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
|
|
|
|
}
|
|
|
|
|
2014-02-03 00:42:00 -08:00
|
|
|
/* ----- BOOKMARK STAR ANIMATION ----- */
|
|
|
|
|
|
|
|
@keyframes animation-bookmarkAdded {
|
2014-03-06 11:35:00 -08:00
|
|
|
from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
|
|
|
|
60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
|
2014-02-03 00:42:00 -08:00
|
|
|
80% { opacity: 1; }
|
2014-03-06 11:35:00 -08:00
|
|
|
to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
|
2014-02-03 00:42:00 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes animation-bookmarkAddedToBookmarksBar {
|
2014-03-06 11:35:00 -08:00
|
|
|
from { transform: rotate(0deg) translateX(-10px) rotate(0deg) scale(1); opacity: 0; }
|
|
|
|
60% { transform: rotate(180deg) translateX(-10px) rotate(-180deg) scale(2.2); opacity: 1; }
|
2014-02-03 00:42:00 -08:00
|
|
|
80% { opacity: 1; }
|
2014-03-06 11:35:00 -08:00
|
|
|
to { transform: rotate(180deg) translateX(-10px) rotate(-180deg) scale(1); opacity: 0; }
|
2014-02-03 00:42:00 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes animation-bookmarkPulse {
|
|
|
|
from { transform: scale(1); }
|
|
|
|
50% { transform: scale(1.3); }
|
|
|
|
to { transform: scale(1); }
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarked-notification-container {
|
|
|
|
min-height: 1px;
|
|
|
|
min-width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
z-index: 5;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarked-notification {
|
|
|
|
background-size: 16px;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
|
|
|
|
background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
|
|
|
|
animation: animation-bookmarkAdded 800ms;
|
2014-03-03 16:18:40 -08:00
|
|
|
animation-timing-function: ease, ease, ease;
|
2014-02-03 00:42:00 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarked-notification-anchor[notification="finish"][in-bookmarks-toolbar=true] > #bookmarked-notification {
|
|
|
|
animation: animation-bookmarkAddedToBookmarksBar 800ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
|
|
|
animation: animation-bookmarkPulse 300ms;
|
|
|
|
animation-delay: 600ms;
|
|
|
|
animation-timing-function: ease-out;
|
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
/* Bookmark menus */
|
2007-11-06 21:07:40 -08:00
|
|
|
menu.bookmark-item,
|
|
|
|
menuitem.bookmark-item {
|
|
|
|
min-width: 0;
|
2011-01-12 15:49:29 -08:00
|
|
|
max-width: 32em;
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
|
|
|
|
2007-11-06 21:08:23 -08:00
|
|
|
.bookmark-item > .menu-iconic-left {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2007-11-06 21:07:40 -08:00
|
|
|
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
|
2007-11-06 21:08:23 -08:00
|
|
|
-moz-padding-start: 0px;
|
2007-11-06 21:07:54 -08:00
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
/* Bookmark drag and drop styles */
|
|
|
|
.bookmark-item[dragover-into="true"] {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menupopup-drop-indicator {
|
|
|
|
list-style-image: none;
|
|
|
|
height: 2px;
|
|
|
|
-moz-margin-end: -4em;
|
|
|
|
background-color: Highlight;
|
|
|
|
}
|
|
|
|
|
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-11-07 00:50:18 -08:00
|
|
|
}
|
2007-11-06 21:07:40 -08:00
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
/* Bookmark items */
|
2012-03-06 11:28:51 -08:00
|
|
|
.bookmark-item {
|
2011-08-11 17:50:09 -07:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
|
|
|
|
2007-11-20 17:45:38 -08:00
|
|
|
.bookmark-item[container] {
|
2007-11-27 15:48:41 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
|
|
|
|
2012-05-08 14:47:19 -07:00
|
|
|
.bookmark-item[container][livemark] {
|
2008-02-26 17:03:36 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
|
2007-11-06 21:07:46 -08:00
|
|
|
}
|
|
|
|
|
2008-02-23 23:38:39 -08:00
|
|
|
.bookmark-item[container][livemark] .bookmark-item {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/livemark-item.png");
|
2012-02-24 04:42:26 -08:00
|
|
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[container][livemark] .bookmark-item[visited] {
|
|
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
2008-02-23 23:38:39 -08:00
|
|
|
}
|
|
|
|
|
2008-04-15 10:09:00 -07:00
|
|
|
.bookmark-item[container][query] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/query.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][tagContainer] {
|
2011-11-29 04:27:48 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
2007-11-20 17:45:38 -08: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");
|
2008-04-15 10:09:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer][open] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
|
2007-11-06 21:09:25 -08:00
|
|
|
}
|
|
|
|
|
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-11-30 23:00:38 -08:00
|
|
|
/* Stock icons for the menu bar items */
|
2010-11-05 01:27:48 -07:00
|
|
|
menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) {
|
2007-11-30 23:00:38 -08:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
|
|
|
|
}
|
|
|
|
|
2008-03-28 01:42:31 -07:00
|
|
|
#placesContext_open\:newwindow,
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_newNavigator,
|
2008-02-26 16:55:45 -08:00
|
|
|
#context-openlink,
|
|
|
|
#context-openframe {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
|
|
|
-moz-image-region: rect(0px 80px 16px 64px);
|
|
|
|
}
|
|
|
|
|
2008-03-28 01:42:31 -07:00
|
|
|
#placesContext_open\:newtab,
|
|
|
|
#placesContext_openContainer\:tabs,
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_newNavigatorTab,
|
2008-02-26 16:55:45 -08:00
|
|
|
#context-openlinkintab,
|
|
|
|
#context-openframeintab {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
|
|
|
-moz-image-region: rect(0px 64px 16px 48px);
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_openFile {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-open?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_close {
|
2009-11-03 00:31:30 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-close?size=menu");
|
2007-11-30 23:00:38 -08:00
|
|
|
}
|
|
|
|
|
2008-10-22 23:36:52 -07:00
|
|
|
#context-media-play {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-media-play?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#context-media-pause {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-media-pause?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_savePage,
|
2007-11-30 23:00:38 -08:00
|
|
|
#context-savelink,
|
|
|
|
#context-saveimage,
|
2008-10-22 23:36:52 -07:00
|
|
|
#context-savevideo,
|
|
|
|
#context-saveaudio,
|
2008-02-26 16:55:45 -08:00
|
|
|
#context-savepage,
|
|
|
|
#context-saveframe {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-save-as?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_printPreview {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-print-preview?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_print,
|
2008-02-26 16:55:45 -08:00
|
|
|
#context-printframe {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-print?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_FileQuitItem {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-quit?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_undo,
|
2007-11-30 23:00:38 -08:00
|
|
|
#context-undo {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-undo?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_undo[disabled],
|
2007-11-30 23:00:38 -08:00
|
|
|
#context-undo[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-undo?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_redo {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-redo?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_redo[disabled] {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-redo?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_cut,
|
|
|
|
#placesContext_cut,
|
2007-11-30 23:00:38 -08:00
|
|
|
#context-cut {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-cut?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_cut[disabled],
|
|
|
|
#placesContext_cut[disabled],
|
2007-11-30 23:00:38 -08:00
|
|
|
#context-cut[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-cut?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_copy,
|
|
|
|
#placesContext_copy,
|
2007-11-30 23:00:38 -08:00
|
|
|
#context-copy,
|
|
|
|
#context-copyimage,
|
2008-10-22 23:36:52 -07:00
|
|
|
#context-copyvideourl,
|
|
|
|
#context-copyaudiourl,
|
2008-02-23 23:41:52 -08:00
|
|
|
#context-copylink,
|
|
|
|
#context-copyemail {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-copy?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_copy[disabled],
|
|
|
|
#placesContext_copy[disabled],
|
2007-11-30 23:00:38 -08:00
|
|
|
#context-copy[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-copy?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_paste,
|
|
|
|
#placesContext_paste,
|
2007-11-30 23:00:38 -08:00
|
|
|
#context-paste {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-paste?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_paste[disabled],
|
|
|
|
#placesContext_paste[disabled],
|
2007-11-30 23:00:38 -08:00
|
|
|
#context-paste[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-paste?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_delete,
|
|
|
|
#placesContext_delete,
|
|
|
|
#placesContext_delete_history,
|
2007-11-30 23:00:38 -08:00
|
|
|
#context-delete {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-delete?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_delete[disabled],
|
|
|
|
#placesContext_delete[disabled],
|
|
|
|
#placesContext_delete_history[disabled],
|
2007-11-30 23:00:38 -08:00
|
|
|
#context-delete[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-delete?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_selectAll,
|
|
|
|
#context-selectall {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-select-all?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_find {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-find?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_find[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-find?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_preferences {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-preferences?size=menu");
|
|
|
|
}
|
|
|
|
|
2008-02-23 02:35:43 -08:00
|
|
|
#context-stop {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-stop?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#context-stop[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-stop?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2008-03-28 01:42:31 -07:00
|
|
|
#placesContext_reload,
|
2008-02-26 16:55:45 -08:00
|
|
|
#context-reload,
|
|
|
|
#context-reloadframe {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-refresh?size=menu");
|
|
|
|
}
|
|
|
|
|
2007-12-10 15:29:27 -08:00
|
|
|
#context-reload[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-refresh?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_zoomEnlarge {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-zoom-in?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_zoomReduce {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-zoom-out?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_zoomReset {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-zoom-100?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#context-back {
|
2007-12-21 03:06:20 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu");
|
2007-11-30 23:00:38 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#context-back[disabled] {
|
2007-12-21 03:06:20 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-07-29 11:33:53 -07:00
|
|
|
#context-back:-moz-locale-dir(rtl) {
|
2007-12-21 03:06:20 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-07-29 11:33:53 -07:00
|
|
|
#context-back[disabled]:-moz-locale-dir(rtl) {
|
2007-12-21 03:06:20 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu&state=disabled");
|
2007-11-30 23:00:38 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#context-forward {
|
2007-12-21 03:06:20 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu");
|
2007-11-30 23:00:38 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#context-forward[disabled] {
|
2007-12-21 03:06:20 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-07-29 11:33:53 -07:00
|
|
|
#context-forward:-moz-locale-dir(rtl) {
|
2007-12-21 03:06:20 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-07-29 11:33:53 -07:00
|
|
|
#context-forward[disabled]:-moz-locale-dir(rtl) {
|
2007-12-21 03:06:20 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu&state=disabled");
|
2007-11-30 23:00:38 -08:00
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_showAllHistory {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
|
|
|
-moz-image-region: rect(0px 32px 16px 16px);
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#bookmarksShowAll {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
|
|
|
-moz-image-region: rect(0px 48px 16px 32px);
|
|
|
|
}
|
|
|
|
|
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/page-livemarks.png");
|
|
|
|
}
|
|
|
|
|
2010-06-24 10:08:43 -07:00
|
|
|
#bookmarksToolbarFolderMenu,
|
2013-07-25 03:02:05 -07:00
|
|
|
#BMB_bookmarksToolbar,
|
|
|
|
#panelMenu_bookmarksToolbar {
|
2010-10-26 11:55:55 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
|
|
|
|
}
|
|
|
|
|
2013-07-25 03:02:05 -07:00
|
|
|
#BMB_unsortedBookmarks,
|
|
|
|
#panelMenu_unsortedBookmarks {
|
2010-10-26 11:55:55 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png");
|
2010-06-24 10:08:43 -07:00
|
|
|
}
|
|
|
|
|
2007-11-30 23:00:38 -08:00
|
|
|
#menu_openDownloads {
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
|
|
|
-moz-image-region: rect(0px 16px 16px 0px);
|
|
|
|
}
|
|
|
|
|
2011-01-18 00:46:02 -08:00
|
|
|
#menu_openAddons {
|
|
|
|
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_pageInfo,
|
2008-02-26 16:55:45 -08:00
|
|
|
#context-viewinfo,
|
|
|
|
#context-viewframeinfo {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-info?size=menu");
|
|
|
|
}
|
|
|
|
|
2011-01-18 00:46:02 -08:00
|
|
|
#privateBrowsingItem {
|
|
|
|
list-style-image: url("chrome://browser/skin/Privacy-16.png");
|
|
|
|
}
|
|
|
|
|
2009-09-01 06:21:35 -07:00
|
|
|
#placesContext_show\:info {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-properties?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#sanitizeItem {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-clear?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 01:50:51 -07:00
|
|
|
#menu_openHelp {
|
2007-11-30 23:00:38 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-help?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#aboutName {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-about?size=menu");
|
|
|
|
}
|
|
|
|
|
2008-02-23 02:35:43 -08:00
|
|
|
#javascriptConsole {
|
|
|
|
list-style-image: url("chrome://global/skin/console/console.png");
|
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
/* Primary toolbar buttons */
|
2014-01-17 05:51:11 -08:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 {
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
2014-02-08 13:52:00 -08:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open="true"],
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover:active {
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
2014-01-17 05:51:11 -08:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-icon {
|
2010-08-23 14:03:42 -07:00
|
|
|
-moz-margin-end: 0;
|
2014-02-07 13:36:16 -08:00
|
|
|
padding: 2px 6px;
|
2014-01-17 05:51:11 -08:00
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: 2px;
|
|
|
|
transition-property: background-color, border-color;
|
2014-03-06 11:03:00 -08:00
|
|
|
transition-duration: 150ms;
|
2007-11-06 21:07:46 -08:00
|
|
|
}
|
2007-11-06 21:07:40 -08:00
|
|
|
|
2014-02-07 13:36:16 -08:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
|
|
padding: 3px 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Help SDK icons fit: */
|
|
|
|
toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
|
|
|
|
/* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
|
|
|
|
width: 32px;
|
|
|
|
}
|
|
|
|
|
2014-02-11 11:31:43 -08:00
|
|
|
#nav-bar #PanelUI-menu-button {
|
|
|
|
-moz-padding-start: 7px;
|
|
|
|
-moz-padding-end: 5px;
|
|
|
|
}
|
2014-02-07 13:36:16 -08:00
|
|
|
|
2014-03-06 11:03:00 -08:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
|
2014-02-27 09:05:12 -08:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-icon {
|
2014-01-17 05:51:11 -08:00
|
|
|
background-color: hsla(0,0%,100%,.3);
|
|
|
|
background-image: linear-gradient(hsla(0,0%,100%,.7), hsla(0,0%,100%,.2));
|
|
|
|
border: 1px solid rgb(154,154,154);
|
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset,
|
|
|
|
0 0 0 1px hsla(0,0%,100%,.2) inset,
|
|
|
|
0 1px 0 hsla(0,0%,0%,.03);
|
|
|
|
}
|
|
|
|
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 4px;
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
|
|
|
|
2014-02-27 09:05:12 -08:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover:active > .toolbarbutton-icon,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open="true"] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
|
2014-03-12 16:42:36 -07:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon {
|
2014-01-17 05:51:11 -08:00
|
|
|
background-color: rgba(154,154,154,.5);
|
|
|
|
background-image: linear-gradient(hsla(0,0%,100%,.7), hsla(0,0%,100%,.4));
|
|
|
|
border: 1px solid rgb(154,154,154);
|
|
|
|
box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
|
|
|
|
0 0 1px hsla(0,0%,0%,.3) inset;
|
|
|
|
transition-duration: 10ms;
|
|
|
|
}
|
|
|
|
|
2014-03-12 16:42:36 -07:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[checked]:not(:active):hover > .toolbarbutton-icon {
|
|
|
|
background-color: rgba(90%,90%,90%,.4);
|
|
|
|
transition: background-color 150ms;
|
|
|
|
}
|
|
|
|
|
2014-01-17 05:51:11 -08:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:hover:active,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover:active {
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before {
|
|
|
|
content: "";
|
|
|
|
display: -moz-box;
|
|
|
|
width: 1px;
|
|
|
|
height: 18px;
|
|
|
|
-moz-margin-end: -1px;
|
|
|
|
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;
|
|
|
|
box-shadow: 0 0 0 1px hsla(0,0%,100%,.2);
|
|
|
|
}
|
|
|
|
|
2014-03-06 09:02:00 -08:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
|
|
-moz-margin-start: -4px;
|
|
|
|
}
|
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
#back-button {
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
-moz-padding-start: 5px;
|
|
|
|
-moz-padding-end: 0;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
border-radius: 0 10000px 10000px 0;
|
2011-08-22 11:52:43 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
#back-button:-moz-locale-dir(rtl) {
|
|
|
|
border-radius: 10000px 0 0 10000px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#back-button > menupopup {
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#back-button > .toolbarbutton-icon {
|
|
|
|
border-radius: 10000px;
|
|
|
|
padding: 5px;
|
|
|
|
margin-top: -5px;
|
|
|
|
margin-bottom: -5px;
|
|
|
|
border: none;
|
|
|
|
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);
|
|
|
|
background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1));
|
|
|
|
transition-property: background-color, box-shadow;
|
|
|
|
transition-duration: 250ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
|
|
|
|
background-color: hsla(210,48%,96%,.75);
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
#back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
|
|
|
|
#back-button[open="true"] > .toolbarbutton-icon {
|
|
|
|
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);
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window:not([customizing]) #back-button[disabled] > .toolbarbutton-icon {
|
|
|
|
box-shadow: 0 0 0 1px hsla(210,54%,20%,.55),
|
|
|
|
0 1px 0 hsla(210,54%,20%,.65) !important;
|
|
|
|
transition: none;
|
2009-12-16 02:16:09 -08:00
|
|
|
}
|
2007-11-06 21:07:40 -08:00
|
|
|
|
2013-12-04 05:29:31 -08:00
|
|
|
#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
|
2014-03-13 08:33:51 -07:00
|
|
|
#forward-button:-moz-locale-dir(rtl) {
|
2013-12-04 05:29:31 -08:00
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
@conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button {
|
|
|
|
transition: opacity @forwardTransitionLength@ ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button[occluded-by-urlbar] {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#forward-button {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#forward-button > .toolbarbutton-icon {
|
|
|
|
background-clip: padding-box;
|
|
|
|
clip-path: url("chrome://browser/content/browser.xul#keyhole-forward-clip-path");
|
|
|
|
margin-left: -7px;
|
|
|
|
border-left-style: none;
|
|
|
|
border-radius: 0;
|
|
|
|
padding-left: 7px;
|
|
|
|
padding-right: 3px;
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
border: 1px solid #9a9a9a;
|
|
|
|
}
|
|
|
|
|
2014-01-17 08:34:48 -08:00
|
|
|
/* tabview menu item */
|
2010-09-10 14:51:14 -07:00
|
|
|
|
2011-02-19 02:35:02 -08:00
|
|
|
#menu_tabview {
|
2010-07-29 12:37:25 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/tabview/tabview.png);
|
2010-09-10 14:51:14 -07:00
|
|
|
-moz-image-region: rect(0, 80px, 16px, 64px);
|
|
|
|
}
|
|
|
|
|
2011-02-19 02:35:02 -08:00
|
|
|
#menu_tabview[groups="0"] {
|
2010-09-10 14:51:14 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
2011-02-19 02:35:02 -08:00
|
|
|
#menu_tabview[groups="1"] {
|
2010-09-10 14:51:14 -07:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
2011-02-19 02:35:02 -08:00
|
|
|
#menu_tabview[groups="2"] {
|
2010-09-10 14:51:14 -07:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
|
|
}
|
|
|
|
|
2011-02-19 02:35:02 -08:00
|
|
|
#menu_tabview[groups="3"] {
|
2010-09-10 14:51:14 -07:00
|
|
|
-moz-image-region: rect(0, 64px, 16px, 48px);
|
2010-07-11 11:26:36 -07:00
|
|
|
}
|
|
|
|
|
2013-06-07 11:46:53 -07:00
|
|
|
#bookmarks-button {
|
2007-11-23 21:26:44 -08:00
|
|
|
-moz-image-region: rect(0px 72px 24px 48px);
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
|
|
|
|
2009-01-23 00:13:13 -08:00
|
|
|
#new-tab-button {
|
|
|
|
-moz-image-region: rect(0px 96px 24px 72px);
|
|
|
|
}
|
|
|
|
|
2007-11-06 21:07:40 -08:00
|
|
|
#new-window-button {
|
2007-11-23 21:26:44 -08:00
|
|
|
-moz-image-region: rect(0px 120px 24px 96px);
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
|
|
|
|
2010-09-16 04:23:13 -07:00
|
|
|
#sync-button {
|
2010-09-15 13:49:13 -07:00
|
|
|
-moz-image-region: rect(0px 144px 24px 120px);
|
2010-09-10 10:00:55 -07:00
|
|
|
}
|
2014-02-12 12:33:18 -08:00
|
|
|
#sync-button[cui-areatype="toolbar"][status="active"] {
|
|
|
|
list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
|
|
|
|
-moz-image-region: rect(0px 18px 18px 0px);
|
|
|
|
}
|
|
|
|
#sync-button[cui-areatype="menu-panel"][status="active"] {
|
|
|
|
list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
|
|
|
|
-moz-image-region: rect(0px 32px 32px 0px);
|
2010-09-10 10:00:55 -07:00
|
|
|
}
|
|
|
|
|
2010-10-15 10:57:10 -07:00
|
|
|
#feed-button {
|
|
|
|
-moz-image-region: rect(0px 168px 24px 144px);
|
|
|
|
}
|
|
|
|
|
2013-04-23 07:06:17 -07:00
|
|
|
#feed-button[disabled] > .toolbarbutton-icon {
|
|
|
|
opacity: .4;
|
2010-12-23 11:55:04 -08:00
|
|
|
}
|
|
|
|
|
2013-01-14 01:21:10 -08:00
|
|
|
#webrtc-status-button {
|
|
|
|
-moz-image-region: rect(0px 192px 24px 168px);
|
|
|
|
}
|
|
|
|
|
2008-02-23 01:39:51 -08:00
|
|
|
.unified-nav-back[_moz-menuactive] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu") !important;
|
|
|
|
}
|
2009-08-07 01:42:16 -07:00
|
|
|
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
|
2008-02-23 01:39:51 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu") !important;
|
|
|
|
}
|
|
|
|
.unified-nav-forward[_moz-menuactive] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu") !important;
|
|
|
|
}
|
2009-08-07 01:42:16 -07:00
|
|
|
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
|
2008-02-23 01:39:51 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu") !important;
|
|
|
|
}
|
2008-01-30 15:16:52 -08:00
|
|
|
#home-button.bookmark-item {
|
2007-11-14 23:42:57 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-home?size=menu");
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
2009-12-16 02:16:09 -08:00
|
|
|
#home-button.bookmark-item[disabled="true"] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-home?size=menu&state=disabled");
|
|
|
|
}
|
2007-11-06 21:07:40 -08:00
|
|
|
|
2013-06-27 18:01:53 -07:00
|
|
|
/* Menu panel buttons */
|
2010-09-15 13:49:13 -07:00
|
|
|
|
2013-10-02 18:52:21 -07:00
|
|
|
%include ../shared/toolbarbuttons.inc.css
|
2013-07-09 21:04:17 -07:00
|
|
|
%include ../shared/menupanel.inc.css
|
2010-10-15 10:57:10 -07:00
|
|
|
|
2013-10-02 18:52:21 -07:00
|
|
|
#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
|
|
|
|
#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
|
|
|
|
#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
|
|
|
|
#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
2014-02-27 09:05:12 -08:00
|
|
|
#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
|
2013-10-02 18:52:21 -07:00
|
|
|
opacity: 0.4;
|
2013-01-14 01:21:10 -08:00
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
/* Fullscreen window controls */
|
2007-11-06 21:07:40 -08:00
|
|
|
#window-controls {
|
2007-11-06 21:08:25 -08:00
|
|
|
-moz-box-align: start;
|
2011-01-18 00:43:21 -08:00
|
|
|
-moz-margin-start: 10px;
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#minimize-button {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/Minimize.gif");
|
|
|
|
}
|
|
|
|
#restore-button {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/Restore.gif");
|
|
|
|
}
|
|
|
|
#close-button {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/Close.gif");
|
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
/* Location bar */
|
2014-03-13 08:33:51 -07:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
|
|
|
-moz-appearance: none;
|
|
|
|
padding: 1px;
|
|
|
|
border: 1px solid ThreeDShadow;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar[focused],
|
|
|
|
.searchbar-textbox[focused] {
|
|
|
|
border-color: Highlight;
|
|
|
|
}
|
|
|
|
|
2007-11-06 21:07:40 -08:00
|
|
|
#urlbar {
|
2014-03-13 08:33:51 -07:00
|
|
|
background-color: -moz-field;
|
2009-03-09 08:10:29 -07:00
|
|
|
}
|
|
|
|
|
2011-02-02 22:48:39 -08:00
|
|
|
.urlbar-textbox-container {
|
2009-03-09 08:10:29 -07:00
|
|
|
-moz-appearance: none;
|
2011-02-10 16:59:40 -08:00
|
|
|
-moz-box-align: stretch;
|
2009-03-09 08:10:29 -07:00
|
|
|
}
|
|
|
|
|
2012-04-23 12:12:47 -07:00
|
|
|
.urlbar-input-box {
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
}
|
|
|
|
|
2010-09-14 22:41:16 -07:00
|
|
|
.urlbar-history-dropmarker {
|
2009-03-09 08:10:29 -07:00
|
|
|
-moz-appearance: toolbarbutton-dropdown;
|
2007-11-06 21:08:23 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-container {
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
-moz-box-align: stretch;
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
|
|
|
|
2013-07-18 09:46:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar-wrapper {
|
2014-03-13 08:33:51 -07:00
|
|
|
padding-left: @conditionalForwardWithUrlbarWidth@px;
|
2011-11-01 12:08:21 -07:00
|
|
|
-moz-margin-start: -@conditionalForwardWithUrlbarWidth@px;
|
|
|
|
position: relative;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2013-07-18 09:46:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar-wrapper > #urlbar {
|
2014-03-13 08:33:51 -07:00
|
|
|
-moz-border-start: none;
|
|
|
|
margin-left: 0;
|
2011-11-01 12:08:21 -07:00
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
2013-07-18 09:46:28 -07:00
|
|
|
@conditionalForwardWithUrlbar@:not([switchingtabs]) > #urlbar-wrapper > #urlbar {
|
2014-03-13 08:33:51 -07:00
|
|
|
transition: margin-left @forwardTransitionLength@ ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] > #urlbar-wrapper {
|
|
|
|
clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");
|
2011-11-01 12:08:21 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] > #urlbar-wrapper > #urlbar {
|
2011-11-01 12:08:21 -07:00
|
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@px;
|
|
|
|
}
|
2014-03-13 08:33:51 -07:00
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:hover:not([switchingtabs]) > #urlbar-wrapper > #urlbar {
|
|
|
|
/* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
|
|
|
|
transition-delay: 100s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled][switchingtabs] + #urlbar-container > #urlbar,
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) > #urlbar-wrapper > #urlbar {
|
|
|
|
/* when switching tabs, or when not hovered anymore, trigger a new transition
|
|
|
|
* to hide the forward button immediately */
|
|
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@.01px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar-wrapper:-moz-locale-dir(rtl),
|
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
|
|
|
|
/* let windows-urlbar-back-button-mask clip the urlbar's right side for RTL */
|
|
|
|
transform: scaleX(-1);
|
2011-11-01 12:08:21 -07:00
|
|
|
}
|
|
|
|
|
2007-11-06 21:08:23 -08:00
|
|
|
#urlbar-icons {
|
2007-11-23 22:00:27 -08:00
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2008-02-07 01:05:53 -08:00
|
|
|
.urlbar-icon {
|
|
|
|
cursor: pointer;
|
2011-09-24 04:03:09 -07:00
|
|
|
padding: 0 3px;
|
2008-02-07 01:05:53 -08:00
|
|
|
}
|
|
|
|
|
2008-01-10 01:16:24 -08:00
|
|
|
#urlbar-search-splitter {
|
|
|
|
-moz-appearance: none;
|
|
|
|
width: 8px;
|
|
|
|
-moz-margin-start: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
}
|
|
|
|
|
2011-01-22 03:21:35 -08:00
|
|
|
#urlbar-display-box {
|
|
|
|
margin-top: -1px;
|
|
|
|
margin-bottom: -1px;
|
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;
|
|
|
|
}
|
|
|
|
|
2013-11-28 05:25:34 -08:00
|
|
|
#search-container {
|
|
|
|
min-width: calc(54px + 11ch);
|
|
|
|
}
|
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
/* identity box */
|
2013-06-28 20:22:41 -07:00
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
#identity-box {
|
|
|
|
padding: 1px;
|
|
|
|
font-size: .9em;
|
2008-02-25 14:30:48 -08:00
|
|
|
}
|
2007-11-06 21:07:40 -08:00
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
#identity-box:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 1.5px;
|
|
|
|
border-bottom-left-radius: 1.5px;
|
2012-04-21 00:03:39 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
#identity-box:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 1.5px;
|
|
|
|
border-bottom-right-radius: 1.5px;
|
2010-09-08 04:39:35 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
#notification-popup-box:not([hidden]) + #identity-box {
|
|
|
|
-moz-padding-start: 10px;
|
|
|
|
border-radius: 0;
|
2011-03-18 14:21:02 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar-wrapper > #urlbar > #identity-box {
|
|
|
|
border-radius: 0;
|
2011-03-18 14:21:02 -07:00
|
|
|
}
|
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] > #urlbar-wrapper > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
|
|
|
|
padding-left: 5px;
|
|
|
|
transition: padding-left;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] > #urlbar-wrapper > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
|
|
|
|
padding-right: 5px;
|
|
|
|
transition: padding-right;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:hover:not([switchingtabs]) > #urlbar-wrapper > #urlbar > #notification-popup-box[hidden] + #identity-box {
|
|
|
|
/* forward button hiding is delayed when hovered */
|
|
|
|
transition-delay: 100s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled][switchingtabs] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr),
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) > #urlbar-wrapper > #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][switchingtabs] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl),
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) > #urlbar-wrapper > #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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
|
|
|
|
#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
|
|
|
|
-moz-margin-end: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
|
|
|
|
background-color: #fff;
|
2009-03-09 08:10:29 -07:00
|
|
|
}
|
|
|
|
|
2010-08-12 00:39:50 -07:00
|
|
|
#identity-box:-moz-focusring {
|
2011-03-18 14:21:02 -07:00
|
|
|
outline: 1px dotted #000;
|
|
|
|
outline-offset: -3px;
|
2007-11-07 00:50:18 -08:00
|
|
|
}
|
|
|
|
|
2010-02-21 14:05:05 -08:00
|
|
|
#identity-icon-labels {
|
2010-09-09 04:44:44 -07:00
|
|
|
-moz-padding-start: 2px;
|
2011-03-18 14:21:02 -07:00
|
|
|
-moz-padding-end: 5px;
|
2008-01-30 15:35:05 -08:00
|
|
|
}
|
|
|
|
|
2014-03-13 08:33:51 -07:00
|
|
|
%include ../shared/identity-block.inc.css
|
|
|
|
|
|
|
|
#page-proxy-favicon {
|
|
|
|
margin-top: 1px;
|
|
|
|
margin-bottom: 1px;
|
|
|
|
-moz-margin-start: 3px;
|
|
|
|
-moz-margin-end: 2px;
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
|
|
|
|
-moz-margin-end: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-box:hover > #page-proxy-favicon {
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-box:hover:active > #page-proxy-favicon,
|
|
|
|
#identity-box[open=true] > #page-proxy-favicon {
|
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2007-11-07 00:50:18 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Identity popup icons */
|
|
|
|
#identity-popup-icon {
|
|
|
|
height: 64px;
|
|
|
|
width: 64px;
|
|
|
|
padding: 0;
|
|
|
|
list-style-image: url("chrome://browser/skin/identity.png");
|
|
|
|
-moz-image-region: rect(0px, 64px, 64px, 0px);
|
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
|
2007-11-07 00:50:18 -08:00
|
|
|
-moz-image-region: rect(64px, 64px, 128px, 0px);
|
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
|
2007-11-07 00:50:18 -08:00
|
|
|
-moz-image-region: rect(128px, 64px, 192px, 0px);
|
|
|
|
}
|
|
|
|
|
2008-01-29 20:21:53 -08:00
|
|
|
/* Identity 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;
|
2009-08-03 02:31:13 -07:00
|
|
|
-moz-padding-start: 15px;
|
2008-01-29 20:21:53 -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;
|
2009-08-03 02:31:13 -07:00
|
|
|
-moz-padding-start: 15px;
|
2008-01-29 20:21:53 -08:00
|
|
|
margin: 0;
|
2008-01-29 10:26:00 -08:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup-content-host ,
|
|
|
|
#identity-popup-content-owner {
|
|
|
|
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-host ,
|
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
|
|
|
|
font-size: 140%;
|
2007-11-07 00:50:18 -08:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup-content-owner {
|
|
|
|
margin-bottom: 0 !important;
|
2007-11-07 00:50:18 -08: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: -18px;
|
2007-11-07 00:50:18 -08: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 {
|
2007-11-07 00:50:18 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/Secure.png");
|
|
|
|
}
|
|
|
|
|
2013-10-09 06:31:33 -07:00
|
|
|
#identity-popup-help-icon {
|
|
|
|
-moz-appearance: none;
|
|
|
|
margin-left: 0px;
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
min-width: 0;
|
|
|
|
list-style-image: url("chrome://global/skin/icons/question-16.png");
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-popup-help-icon > .button-box > .button-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-popup-help-icon > .button-box > .button-icon {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-popup-help-icon:-moz-focusring {
|
|
|
|
outline: 1px dotted;
|
|
|
|
outline-offset: 1px;
|
|
|
|
}
|
|
|
|
|
2013-07-01 17:42:48 -07:00
|
|
|
#identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
#identity-popup-container {
|
|
|
|
min-width: 280px;
|
2013-07-01 17:42:48 -07:00
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-popup-button-container {
|
|
|
|
background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);
|
|
|
|
padding: 10px;
|
|
|
|
margin-top: 5px;
|
2007-11-07 00:50:18 -08:00
|
|
|
}
|
|
|
|
|
2010-04-09 10:45:25 -07:00
|
|
|
/* Notification popup */
|
|
|
|
#notification-popup {
|
|
|
|
min-width: 280px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2010-04-09 10:45:25 -07:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
-moz-margin-start: 5px;
|
|
|
|
min-height: 0;
|
|
|
|
min-width: 0;
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-cancel?size=menu");
|
|
|
|
}
|
|
|
|
|
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"],
|
2013-06-11 15:08:44 -07:00
|
|
|
.popup-notification-icon[popupid*="offline-app-requested"],
|
|
|
|
.popup-notification-icon[popupid="offline-app-usage"] {
|
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);
|
|
|
|
}
|
|
|
|
|
2013-09-09 05:57:37 -07:00
|
|
|
.popup-notification-icon[popupid="webapps-install-progress"],
|
2012-03-12 17:33:10 -07:00
|
|
|
.popup-notification-icon[popupid="webapps-install"] {
|
2013-07-29 09:17:57 -07:00
|
|
|
list-style-image: url(chrome://global/skin/icons/webapps-64.png);
|
2012-03-12 17:33:10 -07:00
|
|
|
}
|
|
|
|
|
2013-02-15 16:05:20 -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);
|
|
|
|
}
|
|
|
|
|
2014-02-28 09:47:18 -08:00
|
|
|
.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
|
|
|
|
.popup-notification-icon[popupid="webRTC-shareMicrophone"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-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: 4px;
|
|
|
|
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-12-23 17:16:26 -08:00
|
|
|
-moz-margin-end: -8px;
|
2011-03-18 14:21:02 -07:00
|
|
|
margin-top: -1px;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#notification-popup-box:not([hidden]) + #identity-box {
|
|
|
|
-moz-padding-start: 10px;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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-04-09 10:45:25 -07:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2012-05-03 15:33:47 -07:00
|
|
|
margin: 0 2px;
|
2010-04-09 10:45:25 -07:00
|
|
|
}
|
|
|
|
|
2010-06-23 09:53:09 -07:00
|
|
|
.notification-anchor-icon:-moz-focusring {
|
|
|
|
outline: 1px dotted -moz-DialogText;
|
|
|
|
}
|
|
|
|
|
2013-06-21 16:14:22 -07:00
|
|
|
.default-notification-icon,
|
2011-01-18 14:57:40 -08:00
|
|
|
#default-notification-icon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/information-16.png);
|
|
|
|
}
|
|
|
|
|
2013-06-21 16:14:22 -07:00
|
|
|
.identity-notification-icon,
|
2012-06-12 18:16:00 -07:00
|
|
|
#identity-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/profile/profileicon.png);
|
|
|
|
}
|
|
|
|
|
2013-06-21 16:14:22 -07:00
|
|
|
.geo-notification-icon,
|
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);
|
|
|
|
}
|
|
|
|
|
2013-06-21 16:14:22 -07:00
|
|
|
.indexedDB-notification-icon,
|
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 {
|
2013-07-29 09:17:57 -07:00
|
|
|
list-style-image: url(chrome://global/skin/icons/webapps-16.png);
|
2012-03-12 17:33:10 -07:00
|
|
|
}
|
|
|
|
|
2012-04-13 15:01:43 -07:00
|
|
|
#plugins-notification-icon {
|
2013-07-19 07:02:48 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/notification-pluginNormal.png);
|
2012-04-13 15:01:43 -07:00
|
|
|
}
|
2013-10-27 11:41:28 -07:00
|
|
|
#plugins-notification-icon.plugin-hidden {
|
2013-07-19 07:02:48 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/notification-pluginAlert.png);
|
|
|
|
}
|
2013-10-27 11:41:28 -07:00
|
|
|
#plugins-notification-icon.plugin-blocked {
|
2013-07-19 07:02:48 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/notification-pluginBlocked.png);
|
|
|
|
}
|
|
|
|
|
2013-10-27 11:41:28 -07:00
|
|
|
#plugins-notification-icon {
|
2013-07-19 07:02:48 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
2013-10-27 11:41:28 -07:00
|
|
|
#plugins-notification-icon:hover {
|
2013-07-19 07:02:48 -07:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
2013-10-27 11:41:28 -07:00
|
|
|
#plugins-notification-icon:active {
|
2013-07-19 07:02:48 -07:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2012-12-11 19:41:32 -08:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2013-10-27 11:41:28 -07:00
|
|
|
#plugins-notification-icon.plugin-blocked[showing] {
|
2012-12-11 19:41:32 -08:00
|
|
|
animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes pluginBlockedNotification {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-21 16:14:22 -07:00
|
|
|
.mixed-content-blocked-notification-icon,
|
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);
|
|
|
|
}
|
|
|
|
|
2013-06-21 16:14:22 -07:00
|
|
|
.webRTC-shareDevices-notification-icon,
|
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-06-21 16:14:22 -07:00
|
|
|
.webRTC-sharingDevices-notification-icon,
|
2013-01-14 01:21:10 -08:00
|
|
|
#webRTC-sharingDevices-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16.png);
|
|
|
|
}
|
|
|
|
|
2014-02-28 09:47:18 -08:00
|
|
|
.webRTC-shareMicrophone-notification-icon,
|
|
|
|
#webRTC-shareMicrophone-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
.webRTC-sharingMicrophone-notification-icon,
|
|
|
|
#webRTC-sharingMicrophone-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16.png);
|
|
|
|
}
|
|
|
|
|
2013-06-21 16:14:22 -07:00
|
|
|
.web-notifications-notification-icon,
|
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-11-06 21:09:46 -08:00
|
|
|
#treecolAutoCompleteImage {
|
2012-05-08 14:47:19 -07:00
|
|
|
max-width : 36px;
|
2007-11-06 21:09:03 -08:00
|
|
|
}
|
|
|
|
|
2007-11-29 20:57:57 -08:00
|
|
|
.ac-result-type-bookmark,
|
2007-11-06 21:09:46 -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/star-icons.png");
|
|
|
|
-moz-image-region: rect(0px 32px 16px 16px);
|
2007-11-06 21:09:46 -08:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2008-07-17 04:48:40 -07:00
|
|
|
.ac-result-type-keyword,
|
|
|
|
.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
|
2009-11-03 00:32:00 -08:00
|
|
|
list-style-image: url(moz-icon://stock/gtk-find?size=menu);
|
2008-07-17 04:48:40 -07:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2007-11-29 20:57:57 -08:00
|
|
|
.ac-result-type-tag,
|
2007-11-06 21:09:46 -08:00
|
|
|
.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
|
|
|
width: 16px;
|
2007-11-06 21:09:09 -08:00
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2007-11-29 20:57:57 -08:00
|
|
|
.ac-comment {
|
2012-07-12 20:53:00 -07:00
|
|
|
font-size: 1.05em;
|
2007-11-29 20:57:57 -08:00
|
|
|
}
|
|
|
|
|
2008-04-11 20:14:42 -07:00
|
|
|
.ac-extra > .ac-comment {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2010-12-10 18:32:14 -08:00
|
|
|
.ac-url-text,
|
|
|
|
.ac-action-text {
|
2008-08-02 12:37:17 -07:00
|
|
|
color: -moz-nativehyperlinktext;
|
2012-07-12 20:53:00 -07:00
|
|
|
font-size: 0.9em;
|
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-05-04 09:16:02 -07:00
|
|
|
padding: 0 3px;
|
2010-03-26 14:59:02 -07:00
|
|
|
}
|
|
|
|
|
2007-11-06 21:07:40 -08:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
|
2007-11-29 20:57:57 -08:00
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2010-12-10 18:32:14 -08:00
|
|
|
.ac-comment[selected="true"],
|
|
|
|
.ac-url-text[selected="true"],
|
|
|
|
.ac-action-text[selected="true"] {
|
2007-11-29 20:57:57 -08:00
|
|
|
color: inherit !important;
|
2007-11-06 21:07:40 -08:00
|
|
|
}
|
2007-11-06 21:08:15 -08:00
|
|
|
|
2012-05-08 14:47:19 -07:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
|
2007-11-07 00:50:18 -08:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) {
|
2007-11-06 21:08:15 -08:00
|
|
|
color: GrayText;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treebody::-moz-tree-cell(suggesthint) {
|
|
|
|
border-top: 1px solid GrayText;
|
|
|
|
}
|
2007-11-06 21:08:23 -08:00
|
|
|
|
2010-09-02 19:20:12 -07:00
|
|
|
/* Combined go/reload/stop button in location bar */
|
|
|
|
|
|
|
|
#urlbar > toolbarbutton {
|
|
|
|
-moz-appearance: none;
|
2013-11-01 11:27:55 -07:00
|
|
|
padding: 0 2px;
|
2011-09-24 04:03:09 -07:00
|
|
|
cursor: pointer;
|
2013-11-01 11:27:55 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button {
|
|
|
|
-moz-image-region: rect(0, 14px, 14px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button:not([disabled]):hover {
|
|
|
|
background-image: radial-gradient(circle closest-side, hsla(200,100%,70%,.2), hsla(200,100%,70%,0));
|
|
|
|
-moz-image-region: rect(14px, 14px, 28px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button:not([disabled]):hover:active {
|
|
|
|
background-image: radial-gradient(circle closest-side, hsla(200,100%,60%,.1), hsla(200,100%,60%,0));
|
|
|
|
-moz-image-region: rect(28px, 14px, 42px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
|
|
|
transform: scaleX(-1);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button {
|
2013-11-01 11:27:55 -07:00
|
|
|
-moz-image-region: rect(0, 42px, 14px, 28px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover {
|
|
|
|
background-image: radial-gradient(circle closest-side, hsla(110,70%,50%,.2), hsla(110,70%,50%,0));
|
|
|
|
-moz-image-region: rect(14px, 42px, 28px, 28px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover:active {
|
|
|
|
background-image: radial-gradient(circle closest-side, hsla(110,70%,50%,.1), hsla(110,70%,50%,0));
|
|
|
|
-moz-image-region: rect(28px, 42px, 42px, 28px);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-01-27 05:15:56 -08:00
|
|
|
#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2011-01-27 05:15:56 -08:00
|
|
|
}
|
|
|
|
|
2013-11-01 11:27:55 -07:00
|
|
|
#urlbar-stop-button {
|
|
|
|
-moz-image-region: rect(0, 28px, 14px, 14px);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2013-11-01 11:27:55 -07:00
|
|
|
#urlbar-stop-button:not([disabled]):hover {
|
|
|
|
background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.3), hsla(5,100%,75%,0));
|
|
|
|
-moz-image-region: rect(14px, 28px, 28px, 14px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button:hover:active {
|
|
|
|
background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.1), hsla(5,100%,75%,0));
|
|
|
|
-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/Info.png");
|
|
|
|
}
|
|
|
|
|
2013-05-06 23:02:58 -07:00
|
|
|
|
|
|
|
/* social share panel */
|
|
|
|
|
|
|
|
.social-share-frame {
|
|
|
|
background: linear-gradient(to bottom, rgba(242,242,242,.99), rgba(242,242,242,.95));
|
|
|
|
border-left: 1px solid #f8f8f8;
|
|
|
|
width: 330px;
|
|
|
|
height: 150px;
|
|
|
|
/* we resize our panels dynamically, make it look nice */
|
|
|
|
transition: height 100ms ease-out, width 100ms ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social-share-toolbar {
|
|
|
|
border-right: 1px solid #dedede;
|
|
|
|
background: linear-gradient(to bottom, rgba(247,247,247,.99), rgba(247,247,247,.95));
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons {
|
|
|
|
border-right: 1px solid #fbfbfb;
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons > .share-provider-button {
|
|
|
|
padding: 6px;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons > .share-provider-button[checked],
|
|
|
|
#social-share-provider-buttons > .share-provider-button:active {
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid #b5b5b8;
|
|
|
|
box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons > .share-provider-button[checked] {
|
|
|
|
background: linear-gradient(to bottom, #d9d9d9, #e3e3e3);
|
|
|
|
}
|
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
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-06-07 11:46:53 -07:00
|
|
|
/* bookmarks menu-button */
|
|
|
|
|
2013-10-22 13:26:09 -07:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
|
2013-07-30 05:50:58 -07:00
|
|
|
-moz-appearance: none !important;
|
2013-04-25 03:19:52 -07:00
|
|
|
}
|
|
|
|
|
2013-10-22 13:26:09 -07:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2014-01-17 05:51:11 -08:00
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 3px;
|
2013-04-25 03:19:52 -07:00
|
|
|
}
|
|
|
|
|
2013-10-22 13:26:09 -07:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"].bookmark-item > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
|
2013-06-07 11:46:53 -07:00
|
|
|
#bookmarks-menu-button.bookmark-item {
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
2013-07-30 05:50:58 -07:00
|
|
|
}
|
2013-04-25 03:19:52 -07:00
|
|
|
|
2013-07-30 05:50:58 -07:00
|
|
|
#bookmarks-menu-button.bookmark-item {
|
2013-06-07 11:46:53 -07:00
|
|
|
-moz-image-region: rect(0px 144px 16px 128px);
|
2013-04-25 03:19:52 -07:00
|
|
|
}
|
|
|
|
|
2013-06-07 11:46:53 -07:00
|
|
|
#bookmarks-menu-button.bookmark-item[starred] {
|
|
|
|
-moz-image-region: rect(16px 144px 32px 128px);
|
|
|
|
}
|
2013-04-25 03:19:52 -07:00
|
|
|
|
2013-10-22 13:26:09 -07:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"].bookmark-item > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2013-07-30 05:50:58 -07:00
|
|
|
-moz-image-region: rect(0px 160px 16px 144px);
|
|
|
|
}
|
2013-04-25 03:19:52 -07:00
|
|
|
|
2013-10-22 13:26:09 -07:00
|
|
|
#bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-icon,
|
|
|
|
#bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menu-dropmarker,
|
|
|
|
#bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker,
|
|
|
|
#bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled] > .toolbarbutton-icon {
|
2013-04-25 03:19:52 -07:00
|
|
|
opacity: .4;
|
|
|
|
}
|
|
|
|
|
2013-07-30 05:50:58 -07:00
|
|
|
#BMB_bookmarksPopup[side="top"],
|
|
|
|
#BMB_bookmarksPopup[side="bottom"] {
|
|
|
|
margin-left: -16px;
|
|
|
|
margin-right: -16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#BMB_bookmarksPopup[side="left"],
|
|
|
|
#BMB_bookmarksPopup[side="right"] {
|
|
|
|
margin-top: -16px;
|
|
|
|
margin-bottom: -16px;
|
|
|
|
}
|
|
|
|
|
2014-02-13 09:07:22 -08:00
|
|
|
#nav-bar .toolbarbutton-1 > menupopup[side="top"].cui-widget-panel,
|
|
|
|
#nav-bar .toolbarbutton-1 > menupopup[side="bottom"].cui-widget-panel {
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
|
2008-01-29 20:37:20 -08:00
|
|
|
/* Bookmarking panel */
|
|
|
|
#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 {
|
|
|
|
margin: 8px -10px -10px -10px;
|
2011-06-23 05:35:11 -07:00
|
|
|
padding: 8px 10px;
|
2011-05-23 21:16:39 -07:00
|
|
|
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);
|
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 {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-close?size=menu");
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton > .toolbarbutton-text {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
/* Content area */
|
2007-11-06 21:09:12 -08:00
|
|
|
#sidebar {
|
|
|
|
background-color: Window;
|
|
|
|
}
|
|
|
|
|
2013-07-07 16:14:00 -07:00
|
|
|
.browserContainer > findbar {
|
|
|
|
background-color: -moz-dialog;
|
|
|
|
color: -moz-DialogText;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2010-09-04 01:46:24 -07:00
|
|
|
/* Tabstrip */
|
2007-11-06 21:07:46 -08:00
|
|
|
|
2013-03-20 11:01:00 -07:00
|
|
|
%include ../shared/tabs.inc.css
|
2007-11-06 21:07:40 -08:00
|
|
|
|
2013-05-16 13:32:15 -07:00
|
|
|
#tabbrowser-tabs {
|
|
|
|
/* override the global style to allow the selected tab to be above the nav-bar */
|
|
|
|
z-index: auto;
|
2009-11-01 15:24:12 -08:00
|
|
|
}
|
|
|
|
|
2010-03-16 23:36:13 -07:00
|
|
|
#TabsToolbar {
|
|
|
|
min-height: 0;
|
|
|
|
padding: 0;
|
2013-05-16 13:32:15 -07:00
|
|
|
position: relative;
|
2010-03-16 23:36:13 -07:00
|
|
|
}
|
|
|
|
|
2013-05-16 13:32:15 -07:00
|
|
|
/*
|
|
|
|
* Draw the bottom border of the tabstrip:
|
|
|
|
*/
|
|
|
|
#TabsToolbar::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
bottom: 1px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 0;
|
|
|
|
border-bottom: 1px solid hsla(0,0%,0%,.3);
|
2010-09-04 01:46:24 -07:00
|
|
|
}
|
|
|
|
|
2013-06-04 15:08:55 -07:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
2011-02-17 10:40:41 -08:00
|
|
|
-moz-appearance: menubar;
|
|
|
|
color: -moz-menubartext;
|
2010-09-04 01:46:24 -07:00
|
|
|
}
|
|
|
|
|
2013-05-17 12:29:05 -07:00
|
|
|
#toolbar-menubar:not([autohide="true"]):not(:-moz-lwtheme):-moz-system-metric(menubar-drag),
|
2013-06-04 15:08:55 -07:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme):-moz-system-metric(menubar-drag) {
|
2013-05-17 12:29:05 -07:00
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
|
2007-11-06 21:08:54 -08:00
|
|
|
}
|
|
|
|
|
2013-03-29 14:53:01 -07:00
|
|
|
.tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-label {
|
2010-09-04 01:46:24 -07:00
|
|
|
outline: 1px dotted;
|
2010-09-02 13:08:37 -07:00
|
|
|
}
|
|
|
|
|
2008-02-25 00:47:24 -08:00
|
|
|
#context_reloadTab {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-refresh?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#context_closeOtherTabs {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-clear?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#context_closeOtherTabs[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-clear?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
|
|
|
#context_undoCloseTab {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-undelete?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#context_closeTab {
|
2009-11-03 00:31:30 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-close?size=menu");
|
2008-02-25 00:47:24 -08:00
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
/* Tab drag and drop */
|
2007-11-06 21:08:54 -08: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-11-06 21:08:54 -08:00
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
/* In-tab close button */
|
2007-11-06 21:08:54 -08:00
|
|
|
.tab-close-button > .toolbarbutton-icon {
|
2007-12-13 23:39:11 -08:00
|
|
|
/* XXX Buttons have padding in widget/ that we don't want here but can't override with good CSS, so we must
|
|
|
|
use evil CSS to give the impression of smaller content */
|
2010-04-28 23:43:40 -07:00
|
|
|
margin: -4px;
|
2007-11-06 21:08:54 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button {
|
2007-11-13 04:33:52 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-close?size=menu");
|
2013-05-02 09:05:50 -07:00
|
|
|
margin-top: 0;
|
2010-09-04 09:52:14 -07:00
|
|
|
margin-bottom: -1px;
|
2013-05-02 09:05:50 -07:00
|
|
|
-moz-margin-end: -4px;
|
2007-11-06 21:08:54 -08:00
|
|
|
}
|
|
|
|
|
2009-01-23 00:13:13 -08:00
|
|
|
/* Tabstrip new tab button */
|
2010-04-27 09:57:19 -07:00
|
|
|
.tabs-newtab-button,
|
|
|
|
#TabsToolbar > #new-tab-button ,
|
|
|
|
#TabsToolbar > #wrapper-new-tab-button > #new-tab-button {
|
2009-02-18 11:04:31 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-add?size=menu");
|
2010-04-27 09:57:19 -07:00
|
|
|
-moz-image-region: auto;
|
2008-09-25 00:39:41 -07:00
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08:00
|
|
|
/* Tabstrip close button */
|
2014-03-05 15:09:12 -08:00
|
|
|
.tabs-closebutton,
|
|
|
|
.customization-tipPanel-closeBox > .close-icon {
|
2007-11-13 04:33:52 -08:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-close?size=menu");
|
2007-11-06 21:08:54 -08:00
|
|
|
}
|
|
|
|
|
2007-12-13 23:39:11 -08:00
|
|
|
.tabs-closebutton > .toolbarbutton-icon {
|
2009-11-15 01:28:39 -08:00
|
|
|
/* XXX Buttons have padding in widget/ that we don't want here but can't override with good CSS, so we must
|
|
|
|
use evil CSS to give the impression of smaller content */
|
|
|
|
margin: -2px;
|
2007-12-13 23:39:11 -08:00
|
|
|
}
|
|
|
|
|
2008-02-14 21:28:44 -08:00
|
|
|
/* Tabbrowser arrowscrollbox arrows */
|
2011-02-09 10:25:54 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
|
|
|
-moz-appearance: none;
|
2009-11-05 00:02:12 -08:00
|
|
|
margin: 0;
|
2008-02-14 21:28:44 -08:00
|
|
|
}
|
|
|
|
|
2011-02-09 10:25:54 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up {
|
|
|
|
-moz-border-start: 0;
|
|
|
|
-moz-border-end: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
2008-02-14 21:28:44 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
2011-02-09 10:25:54 -08:00
|
|
|
-moz-border-start: 2px solid transparent;
|
|
|
|
-moz-border-end: 0;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: 1s box-shadow ease-out;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 4px;
|
2009-11-05 00:02:12 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
|
2010-09-11 09:27:12 -07:00
|
|
|
box-shadow: 0 0 5px 5px Highlight inset;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: none;
|
2008-04-30 10:02:39 -07:00
|
|
|
}
|
|
|
|
|
2011-02-09 10:25:54 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(ltr),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(rtl) {
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(ltr),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(rtl) {
|
2011-12-22 15:35:20 -08:00
|
|
|
border-width: 0 0 0 2px;
|
|
|
|
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-11-12 13:34:13 -08:00
|
|
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon,
|
|
|
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
|
|
|
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
2010-09-14 03:56:22 -07:00
|
|
|
margin-top: -2px;
|
|
|
|
margin-bottom: -2px;
|
|
|
|
}
|
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
#alltabs-button > .toolbarbutton-menu-dropmarker {
|
2009-07-10 04:20:03 -07:00
|
|
|
margin-bottom: -2px;
|
|
|
|
}
|
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
#alltabs-button > .toolbarbutton-icon {
|
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-07 00:50:18 -08:00
|
|
|
/* Sidebar */
|
2010-04-27 09:57:19 -07:00
|
|
|
#sidebar-header > .tabs-closebutton {
|
2007-11-06 21:07:46 -08:00
|
|
|
margin-bottom: 0px !important;
|
|
|
|
padding: 0px 2px 0px 2px !important;
|
|
|
|
}
|
|
|
|
|
2007-11-07 00:50:18 -08: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-11-07 00:50:18 -08:00
|
|
|
-moz-margin-end: 4px;
|
|
|
|
}
|
|
|
|
|
2007-11-06 21:07:40 -08: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-11-06 21:07:48 -08:00
|
|
|
}
|
|
|
|
|
2009-02-22 00:43:59 -08:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-text,
|
2007-11-06 21:07:40 -08:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-02-22 00:43:59 -08:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
/* Ctrl-Tab */
|
2009-07-20 21:25:59 -07:00
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
.ctrlTab-preview {
|
2009-07-20 21:25:59 -07:00
|
|
|
-moz-appearance: toolbarbutton;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabPreview-canvas {
|
2010-09-11 09:27:12 -07:00
|
|
|
box-shadow: 0 0 5px ThreeDShadow;
|
2009-07-20 21:25:59 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.ctrlTab-preview:focus .tabPreview-canvas,
|
2013-02-11 04:48:32 -08:00
|
|
|
.ctrlTab-preview:hover .tabPreview-canvas {
|
2010-09-11 09:27:12 -07:00
|
|
|
box-shadow: none;
|
2009-07-20 21:25:59 -07:00
|
|
|
}
|
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
.ctrlTab-favicon[src] {
|
2010-03-22 07:11:42 -07:00
|
|
|
background-color: white;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
2010-06-11 05:17:12 -07:00
|
|
|
#ctrlTab-panel {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
2009-07-20 21:25:59 -07:00
|
|
|
.ctrlTab-preview:not(#ctrlTab-showAll) .tabPreview-canvas {
|
|
|
|
margin-bottom: 2px;
|
2008-07-15 09:11:00 -07:00
|
|
|
}
|
|
|
|
|
2009-07-20 21:25:59 -07:00
|
|
|
#ctrlTab-showAll {
|
|
|
|
-moz-appearance: button;
|
|
|
|
color: ButtonText;
|
|
|
|
padding: 0 3px;
|
|
|
|
margin-top: 10px;
|
2008-07-15 09:11:00 -07:00
|
|
|
}
|
2008-11-04 23:38:13 -08:00
|
|
|
|
2014-01-25 07:19:07 -08:00
|
|
|
/* Sync Panel */
|
|
|
|
|
2014-01-28 17:54:36 -08:00
|
|
|
.sync-panel-icon {
|
2014-03-13 17:01:23 -07:00
|
|
|
height:32px;
|
2014-01-25 07:19:07 -08:00
|
|
|
width: 32px;
|
2014-01-28 17:54:36 -08:00
|
|
|
background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
|
2014-01-25 07:19:07 -08:00
|
|
|
}
|
|
|
|
|
2014-01-28 17:54:36 -08:00
|
|
|
.sync-panel-inner {
|
2014-01-25 07:19:07 -08:00
|
|
|
width: 0;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
2014-01-28 17:54:36 -08:00
|
|
|
.sync-panel-button-box {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2014-01-31 17:27:51 -08:00
|
|
|
#sync-error-panel-title,
|
|
|
|
#sync-start-panel-title {
|
2014-03-13 17:01:23 -07:00
|
|
|
font-size: 120%;
|
2014-01-28 17:54:36 -08:00
|
|
|
font-weight: bold;
|
2014-03-13 17:01:23 -07:00
|
|
|
margin-bottom: 5px;
|
2014-01-28 17:54:36 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#sync-start-panel-subtitle,
|
|
|
|
#sync-error-panel-subtitle {
|
2014-01-25 07:19:07 -08:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
border-top-right-radius: .3em;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
|
|
|
|
.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
|
|
|
|
border-left-style: solid;
|
|
|
|
border-top-left-radius: .3em;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2011-07-11 10:18:11 -07:00
|
|
|
|
2011-10-28 01:28:05 -07:00
|
|
|
#full-screen-warning-message {
|
2013-08-02 17:36:10 -07:00
|
|
|
background-image: url("chrome://browser/skin/fullscreen-darknoise.png");
|
2011-10-28 01:28:05 -07:00
|
|
|
color: white;
|
2013-08-02 17:36:10 -07:00
|
|
|
border-radius: 4px;
|
2011-10-28 01:28:05 -07:00
|
|
|
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);
|
2011-10-28 01:28:05 -07:00
|
|
|
}
|
|
|
|
|
2012-05-08 14:47:19 -07:00
|
|
|
.full-screen-description {
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#full-screen-domain-text {
|
|
|
|
font-size: 300%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
%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
|
2013-06-24 07:40:26 -07:00
|
|
|
%include ../shared/plugin-doorhanger.inc.css
|
2012-06-01 00:24:19 -07:00
|
|
|
|
2013-09-18 12:32:16 -07:00
|
|
|
%include downloads/indicator.css
|
|
|
|
|
2013-02-06 22:04:00 -08:00
|
|
|
.gcli-panel {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2012-10-04 16:46:38 -07:00
|
|
|
.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
|
|
|
|
color: hsl(210,11%,16%);
|
2012-05-10 10:33:54 -07:00
|
|
|
}
|
|
|
|
|
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-28 02:44:18 -07:00
|
|
|
-moz-margin-end: 2px;
|
2012-07-05 08:02:28 -07:00
|
|
|
}
|
2012-08-03 18:45:37 -07:00
|
|
|
|
2013-05-29 14:50:59 -07:00
|
|
|
/* Social toolbar item */
|
|
|
|
|
2013-05-06 11:25:24 -07:00
|
|
|
#social-provider-button {
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
list-style-image: url(chrome://browser/skin/social/services-16.png);
|
|
|
|
}
|
|
|
|
|
2012-09-27 16:57:37 -07:00
|
|
|
#social-provider-button > .toolbarbutton-menu-dropmarker {
|
2012-08-03 18:45:37 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
.toolbarbutton-badge-container {
|
|
|
|
margin: 5px 3px;
|
2013-01-07 12:42:02 -08:00
|
|
|
position: relative;
|
2012-08-03 18:45:37 -07:00
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
toolbar[iconsize="small"] .toolbarbutton-badge-container {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-badge[badge]:not([badge=""])::after {
|
2013-01-07 12:42:02 -08:00
|
|
|
/* The |content| property is set in the content stylesheet. */
|
2012-08-03 18:45:37 -07:00
|
|
|
font-size: 9px;
|
|
|
|
font-weight: bold;
|
2013-01-07 12:42:02 -08:00
|
|
|
padding: 0 1px;
|
|
|
|
color: #fff;
|
|
|
|
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);
|
|
|
|
position: absolute;
|
2013-04-07 23:53:41 -07:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2012-08-03 18:45:37 -07:00
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
|
2013-01-07 12:42:02 -08:00
|
|
|
left: 2px;
|
|
|
|
right: auto;
|
2012-08-03 18:45:37 -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
|
|
|
}
|
2014-02-18 19:05:34 -08:00
|
|
|
#social-undoactivation-button {
|
2013-04-02 16:28:30 -07:00
|
|
|
-moz-margin-start: 0; /* override default label margin to match description margin */
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-08-03 18:45:37 -07:00
|
|
|
/* social toolbar provider menu */
|
|
|
|
#social-statusarea-popup {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-left: -12px;
|
|
|
|
margin-right: -12px;
|
|
|
|
}
|
|
|
|
|
2013-03-04 14:08:25 -08:00
|
|
|
.social-statusarea-user {
|
|
|
|
list-style-image:url("chrome://global/skin/icons/information-32.png");
|
|
|
|
}
|
|
|
|
|
2012-11-15 15:07:42 -08:00
|
|
|
.social-statusarea-user-portrait {
|
2012-08-03 18:45:37 -07:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
2012-09-06 16:13:37 -07:00
|
|
|
.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
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: #d9d9d9;
|
2012-10-05 17:57:53 -07:00
|
|
|
background-image: linear-gradient(@toolbarHighlight@, 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: #f0f0f0;
|
|
|
|
}
|
|
|
|
|
2012-08-20 17:52:26 -07:00
|
|
|
.chatbar-button {
|
2012-10-05 17:57:53 -07:00
|
|
|
-moz-appearance: none;
|
2012-09-04 14:42:06 -07:00
|
|
|
background-color: #d9d9d9;
|
2013-05-05 19:48:20 -07:00
|
|
|
background-image: linear-gradient(@toolbarHighlight@, 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: #f0f0f0;
|
2012-08-20 17:52:26 -07:00
|
|
|
}
|
|
|
|
|
2012-09-25 14:38:58 -07:00
|
|
|
.chatbar-button[activity] {
|
2012-10-05 17:57:53 -07:00
|
|
|
background-image: radial-gradient(circle farthest-corner at center 3px, rgb(233,242,252) 3%, rgba(172,206,255,0.75) 40%, rgba(87,151,201,0.5) 80%, rgba(87,151,201,0));
|
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-22 12:15:58 -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
|
|
|
|
2014-01-30 08:16:00 -08:00
|
|
|
#main-window[customizing] > #tab-view-deck {
|
|
|
|
background: linear-gradient(to bottom, #bcbcbc, #b5b5b5);
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[customize-entered] > #tab-view-deck {
|
2013-05-09 15:28:02 -07:00
|
|
|
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"),
|
|
|
|
url("chrome://browser/skin/customizableui/background-noise-toolbar.png"),
|
|
|
|
linear-gradient(to bottom, #bcbcbc, #b5b5b5);
|
|
|
|
background-attachment: fixed;
|
|
|
|
}
|
|
|
|
|
2013-11-06 20:42:31 -08:00
|
|
|
#main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar),
|
|
|
|
#main-window[customize-entered] #customization-container {
|
2013-05-21 13:18:40 -07:00
|
|
|
border: 3px solid hsla(0,0%,0%,.1);
|
|
|
|
border-top-width: 0;
|
|
|
|
background-clip: padding-box;
|
|
|
|
background-origin: padding-box;
|
|
|
|
-moz-border-right-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2);
|
|
|
|
-moz-border-bottom-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2);
|
|
|
|
-moz-border-left-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2);
|
|
|
|
}
|
|
|
|
|
2013-11-06 20:42:31 -08:00
|
|
|
#main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
2013-05-21 13:18:40 -07:00
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
|
|
|
|
2013-11-06 20:42:31 -08:00
|
|
|
#main-window[customize-entered] #TabsToolbar {
|
2013-05-21 13:18:40 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
background-clip: padding-box;
|
|
|
|
border-right: 3px solid transparent;
|
|
|
|
border-left: 3px solid transparent;
|
2013-05-09 15:28:02 -07:00
|
|
|
}
|
|
|
|
|
2013-04-11 12:50:07 -07:00
|
|
|
/* End customization mode */
|
2013-03-22 12:15:58 -07:00
|
|
|
|
2013-01-14 08:00:43 -08:00
|
|
|
|
2014-02-25 23:07:03 -08:00
|
|
|
#main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
|
2013-01-14 08:00:43 -08:00
|
|
|
background: url("chrome://browser/skin/privatebrowsing-mask.png") center no-repeat;
|
|
|
|
width: 40px;
|
|
|
|
}
|
2013-11-17 01:32:40 -08:00
|
|
|
|
|
|
|
%include ../shared/UITour.inc.css
|
2014-01-30 18:25:45 -08:00
|
|
|
|
|
|
|
#UITourTooltipDescription {
|
|
|
|
font-size: 1.05rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipClose {
|
|
|
|
-moz-appearance: toolbarbutton;
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-close?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipClose > .toolbarbutton-icon {
|
|
|
|
margin: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipButtons {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|