2007-11-07 11:50:18 +03:00
|
|
|
%if 0
|
2012-05-21 15:12:37 +04: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 11:50:18 +03:00
|
|
|
%endif
|
2007-11-07 08:07:40 +03:00
|
|
|
|
|
|
|
@import url("chrome://global/skin/");
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
2007-11-07 08:08:22 +03:00
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
2014-03-14 01:36:48 +04:00
|
|
|
@namespace svg url("http://www.w3.org/2000/svg");
|
2007-11-07 08:07:40 +03:00
|
|
|
|
2013-02-20 00:34:47 +04:00
|
|
|
%include ../shared/browser.inc
|
2013-05-02 20:42:17 +04:00
|
|
|
%include linuxShared.inc
|
2010-09-04 12:46:24 +04:00
|
|
|
%filter substitution
|
2013-05-02 20:42:17 +04:00
|
|
|
|
2011-10-15 14:18:14 +04:00
|
|
|
%define forwardTransitionLength 150ms
|
2014-04-23 21:26:32 +04:00
|
|
|
%define conditionalForwardWithUrlbar window:not([chromehidden~="toolbar"]) #urlbar-wrapper
|
2015-10-13 09:25:36 +03:00
|
|
|
%define conditionalForwardWithUrlbarWidth 31
|
2010-08-24 01:35:34 +04:00
|
|
|
|
2014-10-29 02:49:50 +03:00
|
|
|
:root {
|
2015-10-09 09:10:28 +03:00
|
|
|
--backbutton-urlbar-overlap: 6px;
|
2015-07-22 19:11:34 +03:00
|
|
|
|
2015-10-12 17:11:21 +03:00
|
|
|
--toolbarbutton-hover-background: rgba(255,255,255,.5) linear-gradient(rgba(255,255,255,.5), transparent);
|
|
|
|
--toolbarbutton-hover-bordercolor: rgba(0,0,0,.25);
|
|
|
|
--toolbarbutton-hover-boxshadow: none;
|
2014-10-29 02:49:50 +03:00
|
|
|
|
2015-10-12 17:11:21 +03:00
|
|
|
--toolbarbutton-active-background: rgba(154,154,154,.5) linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.4));
|
|
|
|
--toolbarbutton-active-bordercolor: rgba(0,0,0,.3);
|
|
|
|
--toolbarbutton-active-boxshadow: 0 1px 1px rgba(0,0,0,.1) inset, 0 0 1px rgba(0,0,0,.3) inset;
|
2014-10-29 02:49:50 +03:00
|
|
|
|
2015-10-12 17:11:21 +03:00
|
|
|
--toolbarbutton-checkedhover-backgroundcolor: rgba(200,200,200,.5);
|
2014-10-29 02:49:50 +03:00
|
|
|
|
2015-07-24 17:22:46 +03:00
|
|
|
--identity-box-verified-background-color: #fff;
|
2015-08-05 19:55:53 +03:00
|
|
|
|
|
|
|
--panel-separator-color: ThreeDShadow;
|
2015-09-03 21:06:00 +03:00
|
|
|
|
|
|
|
--urlbar-separator-color: hsla(0,0%,16%,.2);
|
2014-10-29 02:49:50 +03:00
|
|
|
}
|
|
|
|
|
2007-11-07 08:07:54 +03:00
|
|
|
#menubar-items {
|
|
|
|
-moz-box-orient: vertical; /* for flex hack */
|
|
|
|
}
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
#main-menubar {
|
2007-11-07 08:07:54 +03:00
|
|
|
-moz-box-flex: 1; /* make menu items expand to fill toolbar height */
|
|
|
|
}
|
|
|
|
|
2010-09-04 12:46:24 +04:00
|
|
|
#navigator-toolbox {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: transparent;
|
|
|
|
border-top: none;
|
2014-02-08 04:27:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox::after {
|
|
|
|
content: "";
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
|
|
|
|
height: 1px;
|
|
|
|
background-color: ThreeDShadow;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2015-08-19 17:32:58 +03:00
|
|
|
#navigator-toolbox:-moz-lwtheme::after {
|
|
|
|
background-color: rgba(0,0,0,.3);
|
|
|
|
}
|
|
|
|
|
2015-10-13 01:03:51 +03:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
|
|
|
background-image: linear-gradient(@toolbarHighlight@, @toolbarHighlight@);
|
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
#navigator-toolbox > toolbar:not(:-moz-lwtheme):not(#toolbar-menubar):not(#TabsToolbar) {
|
2010-09-04 12:46:24 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
border-style: none;
|
|
|
|
background-color: -moz-Dialog;
|
|
|
|
}
|
|
|
|
|
2013-11-19 20:13:17 +04:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
|
2010-09-04 12:46:24 +04:00
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
}
|
|
|
|
|
2014-06-20 16:11:55 +04:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
|
|
|
|
overflow: -moz-hidden-unscrollable;
|
|
|
|
max-height: 4em;
|
|
|
|
transition: min-height 170ms ease-out, max-height 170ms ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
|
|
|
|
min-height: 0.1px;
|
|
|
|
max-height: 0;
|
|
|
|
transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
|
|
|
|
}
|
|
|
|
|
2014-04-22 19:23:49 +04:00
|
|
|
#TabsToolbar:not([collapsed="true"]) + #nav-bar {
|
2014-05-31 01:18:01 +04:00
|
|
|
border-top: 1px solid hsla(0,0%,0%,.3) !important;
|
|
|
|
background-clip: padding-box;
|
2015-08-09 12:13:27 +03:00
|
|
|
/* Move up into the TabsToolbar for the inner highlight at the top of the nav-bar */
|
|
|
|
margin-top: calc(-1 * var(--navbar-tab-toolbar-highlight-overlap));
|
2014-04-22 19:23:49 +04:00
|
|
|
/* Position the toolbar above the bottom of background tabs */
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2013-07-11 00:22:24 +04:00
|
|
|
#nav-bar {
|
2013-05-17 00:32:15 +04:00
|
|
|
box-shadow: 0 1px 0 @toolbarHighlight@ inset;
|
2013-11-12 23:44:34 +04:00
|
|
|
padding-top: 2px;
|
2013-11-12 22:35:50 +04:00
|
|
|
padding-bottom: 2px;
|
2013-05-17 00:32:15 +04:00
|
|
|
}
|
|
|
|
|
2013-05-23 17:40:55 +04:00
|
|
|
#nav-bar-overflow-button {
|
|
|
|
-moz-image-region: rect(-5px, 12px, 11px, -4px);
|
2010-09-04 12:46:24 +04:00
|
|
|
}
|
|
|
|
|
2014-03-28 17:58:44 +04:00
|
|
|
/* This only has an effect when this element is placed on the bookmarks toolbar.
|
|
|
|
* It's 30px to make sure buttons with 18px icons fit along with the default 16px
|
|
|
|
* icons, without changing the size of the toolbar.
|
|
|
|
*/
|
2010-09-04 12:46:24 +04:00
|
|
|
#personal-bookmarks {
|
2014-03-28 17:58:44 +04:00
|
|
|
min-height: 30px;
|
2007-11-07 08:08:25 +03:00
|
|
|
}
|
|
|
|
|
2010-09-04 12:46:14 +04:00
|
|
|
#browser-bottombox {
|
2010-08-28 03:15:08 +04:00
|
|
|
/* opaque for layers optimization */
|
|
|
|
background-color: -moz-Dialog;
|
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Places toolbar */
|
2014-03-06 17:57:00 +04:00
|
|
|
toolbarbutton.bookmark-item:not(.subviewbutton),
|
2014-03-06 01:58:27 +04:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
|
2007-11-07 08:07:40 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 2px 3px;
|
|
|
|
}
|
|
|
|
|
2015-01-11 20:10:00 +03:00
|
|
|
toolbarbutton.bookmark-item:not(.subviewbutton):not(:hover):not(:active):not([open]) {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2014-03-06 17:57:00 +04:00
|
|
|
toolbarbutton.bookmark-item:not(.subviewbutton):hover:active,
|
2007-11-07 08:07:40 +03:00
|
|
|
toolbarbutton.bookmark-item[open="true"] {
|
2007-11-07 08:07:48 +03:00
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
-moz-padding-start: 4px;
|
|
|
|
-moz-padding-end: 2px;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2015-08-17 16:51:22 +03:00
|
|
|
.bookmark-item > .toolbarbutton-icon,
|
2013-10-23 00:26:09 +04:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
|
2007-11-07 08:07:40 +03:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2013-04-24 21:26:01 +04:00
|
|
|
/* Force the display of the label for bookmarks */
|
2013-08-03 00:31:20 +04:00
|
|
|
.bookmark-item > .toolbarbutton-text,
|
2013-10-23 00:26:09 +04:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
|
2007-11-07 08:07:40 +03:00
|
|
|
display: -moz-box !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2008-01-30 01:26:19 +03:00
|
|
|
/* Dropmarker for folder bookmarks */
|
2008-01-17 13:24:31 +03:00
|
|
|
.bookmark-item[container] > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: -moz-box !important;
|
|
|
|
}
|
|
|
|
|
2013-08-03 00:31:20 +04:00
|
|
|
#bookmarks-toolbar-placeholder {
|
2009-10-14 15:56:59 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2014-01-15 18:27:30 +04: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 12:42:00 +04:00
|
|
|
/* ----- BOOKMARK STAR ANIMATION ----- */
|
|
|
|
|
|
|
|
@keyframes animation-bookmarkAdded {
|
2014-03-06 23:35:00 +04: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 12:42:00 +04:00
|
|
|
80% { opacity: 1; }
|
2014-03-06 23:35:00 +04:00
|
|
|
to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
|
2014-02-03 12:42:00 +04: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;
|
|
|
|
}
|
|
|
|
|
2014-03-04 17:27:15 +04:00
|
|
|
#bookmarked-notification-dropmarker-anchor {
|
|
|
|
z-index: -1;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarked-notification-dropmarker-icon {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2014-02-03 12:42:00 +04:00
|
|
|
#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
|
|
|
|
background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
|
|
|
|
animation: animation-bookmarkAdded 800ms;
|
2014-03-04 04:18:40 +04:00
|
|
|
animation-timing-function: ease, ease, ease;
|
2014-02-03 12:42:00 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2014-03-04 17:27:15 +04:00
|
|
|
list-style-image: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
|
|
|
|
visibility: visible;
|
2014-02-03 12:42:00 +04:00
|
|
|
animation: animation-bookmarkPulse 300ms;
|
|
|
|
animation-delay: 600ms;
|
|
|
|
animation-timing-function: ease-out;
|
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Bookmark menus */
|
2007-11-07 08:07:40 +03:00
|
|
|
menu.bookmark-item,
|
|
|
|
menuitem.bookmark-item {
|
|
|
|
min-width: 0;
|
2011-01-13 02:49:29 +03:00
|
|
|
max-width: 32em;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2014-03-06 17:57:00 +04:00
|
|
|
.bookmark-item:not(.subviewbutton) > .menu-iconic-left {
|
2007-11-07 08:08:23 +03:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2007-11-07 08:07:40 +03:00
|
|
|
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
|
2007-11-07 08:08:23 +03:00
|
|
|
-moz-padding-start: 0px;
|
2007-11-07 08:07:54 +03:00
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Bookmark drag and drop styles */
|
|
|
|
.bookmark-item[dragover-into="true"] {
|
|
|
|
background: Highlight !important;
|
|
|
|
color: HighlightText !important;
|
|
|
|
}
|
|
|
|
|
2008-02-21 05:17:52 +03: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 12:03:34 +04:00
|
|
|
/* Bookmarks toolbar */
|
2010-05-05 17:28:04 +04:00
|
|
|
#PlacesToolbarDropIndicator {
|
2009-08-14 12:03:34 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png);
|
2007-11-07 11:50:18 +03:00
|
|
|
}
|
2007-11-07 08:07:40 +03:00
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Bookmark items */
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item {
|
2011-08-12 04:50:09 +04:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2007-11-21 04:45:38 +03:00
|
|
|
.bookmark-item[container] {
|
2007-11-28 02:48:41 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2012-05-09 01:47:19 +04:00
|
|
|
.bookmark-item[container][livemark] {
|
2008-02-27 04:03:36 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
|
2007-11-07 08:07:46 +03:00
|
|
|
}
|
|
|
|
|
2008-02-24 10:38:39 +03:00
|
|
|
.bookmark-item[container][livemark] .bookmark-item {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/livemark-item.png");
|
2012-02-24 16:42:26 +04: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-24 10:38:39 +03:00
|
|
|
}
|
|
|
|
|
2008-04-15 21:09:00 +04:00
|
|
|
.bookmark-item[container][query] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/query.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][tagContainer] {
|
2011-11-29 16:27:48 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
2007-11-21 04:45:38 +03:00
|
|
|
}
|
|
|
|
|
2008-04-15 21:09:00 +04:00
|
|
|
.bookmark-item[query][dayContainer] {
|
2008-05-02 01:50:03 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/calendar.png");
|
2008-04-15 21:09:00 +04: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-07 08:09:25 +03:00
|
|
|
}
|
|
|
|
|
2011-06-30 17:34:02 +04: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-12-01 10:00:38 +03:00
|
|
|
/* Stock icons for the menu bar items */
|
2015-09-17 11:13:27 +03:00
|
|
|
menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) {
|
2007-12-01 10:00:38 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
|
|
|
|
}
|
|
|
|
|
2008-03-28 11:42:31 +03:00
|
|
|
#placesContext_open\:newwindow,
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_newNavigator,
|
2008-02-27 03:55:45 +03:00
|
|
|
#context-openlink,
|
|
|
|
#context-openframe {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
|
|
|
-moz-image-region: rect(0px 80px 16px 64px);
|
|
|
|
}
|
|
|
|
|
2008-03-28 11:42:31 +03:00
|
|
|
#placesContext_open\:newtab,
|
|
|
|
#placesContext_openContainer\:tabs,
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_newNavigatorTab,
|
2008-02-27 03:55:45 +03:00
|
|
|
#context-openlinkintab,
|
|
|
|
#context-openframeintab {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
|
|
|
-moz-image-region: rect(0px 64px 16px 48px);
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_openFile {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-open?size=menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_close {
|
2009-11-03 11:31:30 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-close?size=menu");
|
2007-12-01 10:00:38 +03:00
|
|
|
}
|
|
|
|
|
2008-10-23 10:36:52 +04: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 11:50:51 +03:00
|
|
|
#menu_savePage,
|
2007-12-01 10:00:38 +03:00
|
|
|
#context-savelink,
|
|
|
|
#context-saveimage,
|
2008-10-23 10:36:52 +04:00
|
|
|
#context-savevideo,
|
|
|
|
#context-saveaudio,
|
2008-02-27 03:55:45 +03:00
|
|
|
#context-savepage,
|
|
|
|
#context-saveframe {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-save-as?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_printPreview {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-print-preview?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_print,
|
2008-02-27 03:55:45 +03:00
|
|
|
#context-printframe {
|
2007-12-01 10:00:38 +03: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 11:50:51 +03:00
|
|
|
#menu_undo,
|
2007-12-01 10:00:38 +03:00
|
|
|
#context-undo {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-undo?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_undo[disabled],
|
2007-12-01 10:00:38 +03:00
|
|
|
#context-undo[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-undo?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_redo {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-redo?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_redo[disabled] {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-redo?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_cut,
|
|
|
|
#placesContext_cut,
|
2007-12-01 10:00:38 +03:00
|
|
|
#context-cut {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-cut?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_cut[disabled],
|
|
|
|
#placesContext_cut[disabled],
|
2007-12-01 10:00:38 +03:00
|
|
|
#context-cut[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-cut?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_copy,
|
|
|
|
#placesContext_copy,
|
2007-12-01 10:00:38 +03:00
|
|
|
#context-copy,
|
|
|
|
#context-copyimage,
|
2008-10-23 10:36:52 +04:00
|
|
|
#context-copyvideourl,
|
|
|
|
#context-copyaudiourl,
|
2008-02-24 10:41:52 +03:00
|
|
|
#context-copylink,
|
|
|
|
#context-copyemail {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-copy?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_copy[disabled],
|
|
|
|
#placesContext_copy[disabled],
|
2007-12-01 10:00:38 +03:00
|
|
|
#context-copy[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-copy?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_paste,
|
|
|
|
#placesContext_paste,
|
2007-12-01 10:00:38 +03:00
|
|
|
#context-paste {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-paste?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_paste[disabled],
|
|
|
|
#placesContext_paste[disabled],
|
2007-12-01 10:00:38 +03:00
|
|
|
#context-paste[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-paste?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_delete,
|
|
|
|
#placesContext_delete,
|
|
|
|
#placesContext_delete_history,
|
2007-12-01 10:00:38 +03:00
|
|
|
#context-delete {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-delete?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_delete[disabled],
|
|
|
|
#placesContext_delete[disabled],
|
|
|
|
#placesContext_delete_history[disabled],
|
2007-12-01 10:00:38 +03:00
|
|
|
#context-delete[disabled] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-delete?size=menu&state=disabled");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_selectAll,
|
|
|
|
#context-selectall {
|
2007-12-01 10:00:38 +03: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-03-28 11:42:31 +03:00
|
|
|
#placesContext_reload,
|
2008-02-27 03:55:45 +03:00
|
|
|
#context-reloadframe {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-refresh?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_zoomEnlarge {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-zoom-in?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_zoomReduce {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-zoom-out?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_zoomReset {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-zoom-100?size=menu");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_showAllHistory {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
|
|
|
-moz-image-region: rect(0px 32px 16px 16px);
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#bookmarksShowAll {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
|
|
|
-moz-image-region: rect(0px 48px 16px 32px);
|
|
|
|
}
|
|
|
|
|
2010-11-05 11:29:10 +03:00
|
|
|
#subscribeToPageMenuitem:not([disabled]),
|
|
|
|
#subscribeToPageMenupopup,
|
|
|
|
#BMB_subscribeToPageMenuitem:not([disabled]),
|
|
|
|
#BMB_subscribeToPageMenupopup {
|
|
|
|
list-style-image: url("chrome://browser/skin/page-livemarks.png");
|
|
|
|
}
|
|
|
|
|
2010-06-24 21:08:43 +04:00
|
|
|
#bookmarksToolbarFolderMenu,
|
2013-07-25 14:02:05 +04:00
|
|
|
#BMB_bookmarksToolbar,
|
|
|
|
#panelMenu_bookmarksToolbar {
|
2010-10-26 22:55:55 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
|
|
|
|
}
|
|
|
|
|
2013-07-25 14:02:05 +04:00
|
|
|
#BMB_unsortedBookmarks,
|
|
|
|
#panelMenu_unsortedBookmarks {
|
2010-10-26 22:55:55 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png");
|
2010-06-24 21:08:43 +04:00
|
|
|
}
|
|
|
|
|
2015-05-05 13:24:11 +03:00
|
|
|
#panelMenu_pocket,
|
|
|
|
#menu_pocket,
|
|
|
|
#BMB_pocket {
|
|
|
|
list-style-image: url("chrome://browser/content/pocket/panels/img/pocketmenuitem16.png");
|
|
|
|
}
|
|
|
|
|
2007-12-01 10:00:38 +03:00
|
|
|
#menu_openDownloads {
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
|
|
|
-moz-image-region: rect(0px 16px 16px 0px);
|
|
|
|
}
|
|
|
|
|
2011-01-18 11:46:02 +03:00
|
|
|
#menu_openAddons {
|
|
|
|
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
|
|
|
|
}
|
|
|
|
|
2009-03-22 11:50:51 +03:00
|
|
|
#menu_pageInfo,
|
2008-02-27 03:55:45 +03:00
|
|
|
#context-viewinfo,
|
|
|
|
#context-viewframeinfo {
|
2007-12-01 10:00:38 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-info?size=menu");
|
|
|
|
}
|
|
|
|
|
2015-01-13 23:18:33 +03:00
|
|
|
#placesContext_open\:newprivatewindow,
|
2011-01-18 11:46:02 +03:00
|
|
|
#privateBrowsingItem {
|
|
|
|
list-style-image: url("chrome://browser/skin/Privacy-16.png");
|
|
|
|
}
|
|
|
|
|
2009-09-01 17:21:35 +04:00
|
|
|
#placesContext_show\:info {
|
2007-12-01 10:00:38 +03: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 11:50:51 +03:00
|
|
|
#menu_openHelp {
|
2007-12-01 10:00:38 +03: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 13:35:43 +03:00
|
|
|
#javascriptConsole {
|
|
|
|
list-style-image: url("chrome://global/skin/console/console.png");
|
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Primary toolbar buttons */
|
2015-10-13 09:25:36 +03:00
|
|
|
|
2015-10-14 03:09:31 +03:00
|
|
|
toolbar .toolbarbutton-1 > .toolbarbutton-icon,
|
|
|
|
toolbar .toolbarbutton-1 > :-moz-any(.toolbarbutton-menubutton-button, .toolbarbutton-badge-stack) > .toolbarbutton-icon {
|
2015-10-13 09:25:36 +03:00
|
|
|
max-width: 16px;
|
|
|
|
}
|
|
|
|
|
2015-10-14 03:09:31 +03:00
|
|
|
toolbar .toolbarbutton-1:-moz-any(@primaryToolbarButtons@) > .toolbarbutton-icon,
|
|
|
|
toolbar .toolbarbutton-1:-moz-any(@primaryToolbarButtons@) > :-moz-any(.toolbarbutton-menubutton-button, .toolbarbutton-badge-stack) > .toolbarbutton-icon,
|
2015-10-13 09:25:36 +03:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
|
|
|
max-width: 18px;
|
|
|
|
}
|
|
|
|
|
2014-12-24 04:38:00 +03:00
|
|
|
.findbar-button,
|
2014-01-17 17:51:11 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 {
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
2014-02-09 01:52:00 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open="true"],
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover:active {
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
2014-12-24 04:38:00 +03:00
|
|
|
.findbar-button > .toolbarbutton-text,
|
2014-01-17 17:51:11 +04: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,
|
2015-07-15 23:13:24 +03:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-badge-stack,
|
2014-01-17 17:51:11 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-icon {
|
2010-08-24 01:03:42 +04:00
|
|
|
-moz-margin-end: 0;
|
2014-02-08 01:36:16 +04:00
|
|
|
padding: 2px 6px;
|
2014-01-17 17:51:11 +04:00
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: 2px;
|
|
|
|
transition-property: background-color, border-color;
|
2014-03-06 23:03:00 +04:00
|
|
|
transition-duration: 150ms;
|
2007-11-07 08:07:46 +03:00
|
|
|
}
|
2007-11-07 08:07:40 +03:00
|
|
|
|
2014-02-08 01:36:16 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
|
2015-07-15 23:13:24 +03:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-stack,
|
2014-02-08 01:36:16 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
|
|
padding: 3px 7px;
|
|
|
|
}
|
|
|
|
|
2015-10-13 09:25:36 +03:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-icon,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
|
|
|
/* horizontal padding + border + actual icon width */
|
2015-10-14 03:09:31 +03:00
|
|
|
max-width: 32px !important /* bug 561154 */;
|
2014-02-08 01:36:16 +04:00
|
|
|
}
|
|
|
|
|
2015-07-30 00:06:21 +03:00
|
|
|
#nav-bar #PanelUI-menu-button {
|
|
|
|
-moz-padding-start: 5px;
|
|
|
|
-moz-padding-end: 5px;
|
|
|
|
}
|
|
|
|
|
2014-12-24 04:38:00 +03:00
|
|
|
.findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
|
2014-08-01 20:44:48 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open]:not([disabled=true]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):not([open]):hover > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):not([open]):hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
|
2015-07-15 23:13:24 +03:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-badge-stack,
|
2014-02-27 21:05:12 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-icon {
|
2014-10-29 02:49:50 +03:00
|
|
|
background: var(--toolbarbutton-hover-background);
|
2015-10-12 17:11:21 +03:00
|
|
|
background-clip: padding-box;
|
2014-10-29 02:49:50 +03:00
|
|
|
border-color: var(--toolbarbutton-hover-bordercolor);
|
|
|
|
box-shadow: var(--toolbarbutton-hover-boxshadow);
|
2014-01-17 17:51:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
:-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-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2014-12-24 04:38:00 +03:00
|
|
|
.findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
|
2014-04-17 01:45:43 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open="true"]) > .toolbarbutton-icon,
|
2014-02-27 21:05:12 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open="true"] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
|
2015-07-15 23:13:24 +03:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-stack,
|
2014-03-13 03:42:36 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon {
|
2014-10-29 02:49:50 +03:00
|
|
|
background: var(--toolbarbutton-active-background);
|
2015-10-12 17:11:21 +03:00
|
|
|
background-clip: padding-box;
|
2014-10-29 02:49:50 +03:00
|
|
|
box-shadow: var(--toolbarbutton-active-boxshadow);
|
|
|
|
border-color: var(--toolbarbutton-active-bordercolor);
|
2014-01-17 17:51:11 +04:00
|
|
|
transition-duration: 10ms;
|
|
|
|
}
|
|
|
|
|
2014-03-13 03:42:36 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[checked]:not(:active):hover > .toolbarbutton-icon {
|
2014-10-29 02:49:50 +03:00
|
|
|
background-color: var(--toolbarbutton-checkedhover-backgroundcolor);
|
2014-03-13 03:42:36 +04:00
|
|
|
transition: background-color 150ms;
|
|
|
|
}
|
|
|
|
|
2014-04-17 01:45:43 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button[open],
|
2014-01-17 17:51:11 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:hover:active,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover:active {
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
2015-08-27 16:58:19 +03:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbaritem-combined-buttons {
|
|
|
|
margin-left: 2px;
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbaritem-combined-buttons > .toolbarbutton-1 {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbaritem-combined-buttons:not(:hover) > separator,
|
2014-01-17 17:51:11 +04:00
|
|
|
:-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;
|
2015-08-27 16:58:19 +03:00
|
|
|
background-image: linear-gradient(currentColor 0, currentColor 100%);
|
2014-01-17 17:51:11 +04:00
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 1px 18px;
|
2015-08-27 16:58:19 +03:00
|
|
|
opacity: .2;
|
|
|
|
}
|
|
|
|
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar)[brighttext] .toolbaritem-combined-buttons > separator,
|
|
|
|
:-moz-any(#TabsToolbar, #nav-bar)[brighttext] .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before {
|
|
|
|
opacity: .3;
|
2014-01-17 17:51:11 +04:00
|
|
|
}
|
|
|
|
|
2014-03-06 21:02:00 +04:00
|
|
|
:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
|
|
-moz-margin-start: -4px;
|
2014-03-27 21:17:34 +04:00
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 3px;
|
2014-03-06 21:02:00 +04:00
|
|
|
}
|
|
|
|
|
2015-10-09 09:10:28 +03:00
|
|
|
:-moz-any(#back-button, #forward-button) > .toolbarbutton-icon {
|
2015-10-13 21:50:04 +03:00
|
|
|
border-color: var(--urlbar-border-color) !important /* bug 561154 */;
|
2015-10-09 09:10:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
:-moz-any(#back-button, #forward-button):not(:hover):not(:active):not([open=true]) > .toolbarbutton-icon,
|
|
|
|
:-moz-any(#back-button, #forward-button)[disabled=true] > .toolbarbutton-icon {
|
2015-10-13 21:50:04 +03:00
|
|
|
background-color: rgba(255,255,255,.25) !important /* bug 561154 */;
|
|
|
|
background-clip: padding-box;
|
2015-10-09 09:10:28 +03:00
|
|
|
}
|
|
|
|
|
2014-03-27 21:17:34 +04:00
|
|
|
#back-button {
|
2015-10-09 09:10:28 +03:00
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
-moz-padding-start: 4px;
|
2015-06-16 13:59:50 +03:00
|
|
|
-moz-padding-end: 0;
|
2014-03-27 21:17:34 +04:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2015-06-16 13:59:50 +03:00
|
|
|
border-radius: 0 10000px 10000px 0;
|
2014-03-13 04:43:05 +04:00
|
|
|
}
|
|
|
|
|
2015-06-16 13:59:50 +03:00
|
|
|
#back-button:-moz-locale-dir(rtl) {
|
|
|
|
border-radius: 10000px 0 0 10000px;
|
2014-03-27 21:17:34 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#back-button > menupopup {
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#back-button > .toolbarbutton-icon {
|
|
|
|
border-radius: 10000px;
|
|
|
|
padding: 6px;
|
2015-10-13 09:25:36 +03:00
|
|
|
max-width: 32px; /* horizontal padding + border + icon width */
|
2014-03-13 04:43:05 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2014-03-25 04:32:20 +04:00
|
|
|
transform: scaleX(-1);
|
2014-03-13 04:43:05 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
#forward-button {
|
2014-05-02 20:26:52 +04:00
|
|
|
-moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
|
2014-04-23 21:26:32 +04:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#forward-button > .toolbarbutton-icon {
|
2015-10-09 09:10:28 +03:00
|
|
|
padding-left: calc(var(--backbutton-urlbar-overlap) + 3px);
|
2014-04-23 21:26:32 +04:00
|
|
|
padding-right: 3px;
|
|
|
|
border-left-style: none;
|
|
|
|
border-radius: 0;
|
2015-10-13 09:25:36 +03:00
|
|
|
max-width: @conditionalForwardWithUrlbarWidth@px;
|
2014-03-27 21:17:34 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button {
|
2014-04-23 21:26:32 +04:00
|
|
|
transition: margin-left @forwardTransitionLength@ ease-out;
|
2014-03-27 21:17:34 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button[disabled] {
|
|
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@px;
|
2014-03-27 21:17:34 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:hover:not([switchingtabs]) > #forward-button[disabled] {
|
|
|
|
/* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
|
|
|
|
transition-delay: 100s;
|
2014-03-27 21:17:34 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] {
|
|
|
|
/* when not hovered anymore, trigger a new transition to hide the forward button immediately */
|
|
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@.01px;
|
2014-03-27 21:17:34 +04:00
|
|
|
}
|
|
|
|
|
2014-01-17 20:34:48 +04:00
|
|
|
/* tabview menu item */
|
2010-09-11 01:51:14 +04:00
|
|
|
|
2011-02-19 13:35:02 +03:00
|
|
|
#menu_tabview {
|
2010-07-29 23:37:25 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabview/tabview.png);
|
2010-09-11 01:51:14 +04:00
|
|
|
-moz-image-region: rect(0, 80px, 16px, 64px);
|
|
|
|
}
|
|
|
|
|
2011-02-19 13:35:02 +03:00
|
|
|
#menu_tabview[groups="0"] {
|
2010-09-11 01:51:14 +04:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
2011-02-19 13:35:02 +03:00
|
|
|
#menu_tabview[groups="1"] {
|
2010-09-11 01:51:14 +04:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
2011-02-19 13:35:02 +03:00
|
|
|
#menu_tabview[groups="2"] {
|
2010-09-11 01:51:14 +04:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
|
|
}
|
|
|
|
|
2011-02-19 13:35:02 +03:00
|
|
|
#menu_tabview[groups="3"] {
|
2010-09-11 01:51:14 +04:00
|
|
|
-moz-image-region: rect(0, 64px, 16px, 48px);
|
2010-07-11 22:26:36 +04:00
|
|
|
}
|
|
|
|
|
2014-07-03 03:17:15 +04:00
|
|
|
/* undo close tab menu item */
|
|
|
|
#alltabs_undoCloseTab {
|
|
|
|
list-style-image: url(chrome://browser/skin/undoCloseTab.png);
|
|
|
|
}
|
|
|
|
|
2008-02-23 12:39:51 +03:00
|
|
|
.unified-nav-back[_moz-menuactive] {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu") !important;
|
|
|
|
}
|
2009-08-07 12:42:16 +04:00
|
|
|
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
|
2008-02-23 12:39:51 +03: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 12:42:16 +04:00
|
|
|
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
|
2008-02-23 12:39:51 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu") !important;
|
|
|
|
}
|
2007-11-07 08:07:40 +03:00
|
|
|
|
2013-06-28 05:01:53 +04:00
|
|
|
/* Menu panel buttons */
|
2010-09-16 00:49:13 +04:00
|
|
|
|
2013-10-03 05:52:21 +04:00
|
|
|
%include ../shared/toolbarbuttons.inc.css
|
2013-07-10 08:04:17 +04:00
|
|
|
%include ../shared/menupanel.inc.css
|
2010-10-15 21:57:10 +04:00
|
|
|
|
2013-10-03 05:52:21 +04: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 21:05:12 +04:00
|
|
|
#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
|
2013-10-03 05:52:21 +04:00
|
|
|
opacity: 0.4;
|
2013-01-14 13:21:10 +04:00
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Fullscreen window controls */
|
2007-11-07 08:07:40 +03:00
|
|
|
#window-controls {
|
2007-11-07 08:08:25 +03:00
|
|
|
-moz-box-align: start;
|
2011-01-18 11:43:21 +03:00
|
|
|
-moz-margin-start: 10px;
|
2007-11-07 08:07:40 +03: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 11:50:18 +03:00
|
|
|
/* Location bar */
|
2015-10-13 21:50:04 +03:00
|
|
|
#nav-bar {
|
|
|
|
--urlbar-border-color: ThreeDShadow;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-bar:-moz-lwtheme {
|
|
|
|
--urlbar-border-color: rgba(0,0,0,.3);
|
|
|
|
}
|
|
|
|
|
2014-03-27 21:17:34 +04:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
|
|
|
-moz-appearance: none;
|
2015-07-22 19:11:34 +03:00
|
|
|
padding: 0;
|
2015-10-13 21:50:04 +03:00
|
|
|
border: 1px solid var(--urlbar-border-color);
|
2014-03-27 21:17:34 +04:00
|
|
|
border-radius: 2px;
|
2015-10-13 21:50:04 +03:00
|
|
|
background-clip: padding-box;
|
2014-05-02 20:26:52 +04:00
|
|
|
margin: 0 3px;
|
2014-03-27 21:17:34 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar[focused],
|
|
|
|
.searchbar-textbox[focused] {
|
|
|
|
border-color: Highlight;
|
|
|
|
}
|
|
|
|
|
2007-11-07 08:07:40 +03:00
|
|
|
#urlbar {
|
2014-03-27 21:17:34 +04:00
|
|
|
background-color: -moz-field;
|
2009-03-09 18:10:29 +03:00
|
|
|
}
|
|
|
|
|
2015-10-13 21:50:04 +03:00
|
|
|
#urlbar:-moz-lwtheme,
|
|
|
|
.searchbar-textbox:-moz-lwtheme {
|
|
|
|
background-color: rgba(255,255,255,.8);
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar:-moz-lwtheme[focused=true],
|
|
|
|
.searchbar-textbox:-moz-lwtheme[focused=true] {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
2011-02-03 09:48:39 +03:00
|
|
|
.urlbar-textbox-container {
|
2009-03-09 18:10:29 +03:00
|
|
|
-moz-appearance: none;
|
2011-02-11 03:59:40 +03:00
|
|
|
-moz-box-align: stretch;
|
2009-03-09 18:10:29 +03:00
|
|
|
}
|
|
|
|
|
2012-04-23 23:12:47 +04:00
|
|
|
.urlbar-input-box {
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
}
|
|
|
|
|
2010-09-15 09:41:16 +04:00
|
|
|
.urlbar-history-dropmarker {
|
2009-03-09 18:10:29 +03:00
|
|
|
-moz-appearance: toolbarbutton-dropdown;
|
2015-09-15 17:39:02 +03:00
|
|
|
transition: opacity 0.15s ease;
|
|
|
|
}
|
|
|
|
|
2015-10-08 09:03:18 +03:00
|
|
|
#navigator-toolbox:not(:hover) .urlbar-history-dropmarker {
|
2015-09-15 17:39:02 +03:00
|
|
|
opacity: 0;
|
2007-11-07 08:08:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-container {
|
2014-03-31 23:22:51 +04:00
|
|
|
-moz-box-align: center;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar {
|
2014-03-27 21:17:34 +04:00
|
|
|
-moz-border-start: none;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(ltr) {
|
2014-03-27 21:17:34 +04:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) {
|
2014-03-27 21:17:34 +04:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ {
|
2015-06-10 00:18:35 +03:00
|
|
|
clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");
|
2015-07-22 19:11:34 +03:00
|
|
|
margin-inline-start: calc(-1 * var(--backbutton-urlbar-overlap));
|
2015-06-10 00:18:35 +03:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl),
|
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) {
|
2015-06-16 13:59:50 +03:00
|
|
|
/* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
|
2014-04-23 21:26:32 +04:00
|
|
|
transform: scaleX(-1);
|
2014-03-27 21:17:34 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-direction: reverse;
|
2011-11-01 23:08:21 +04:00
|
|
|
}
|
|
|
|
|
2007-11-07 08:08:23 +03:00
|
|
|
#urlbar-icons {
|
2007-11-24 09:00:27 +03:00
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2008-02-07 12:05:53 +03:00
|
|
|
.urlbar-icon {
|
2011-09-24 15:03:09 +04:00
|
|
|
padding: 0 3px;
|
2008-02-07 12:05:53 +03:00
|
|
|
}
|
|
|
|
|
2015-05-22 00:20:06 +03:00
|
|
|
#urlbar-search-footer {
|
|
|
|
border-top: 1px solid hsla(210,4%,10%,.14);
|
|
|
|
background-color: hsla(210,4%,10%,.07);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-settings {
|
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
color: inherit;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
padding: 8px 20px;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-settings:hover {
|
|
|
|
background-color: hsla(210,4%,10%,.07);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-settings:hover:active {
|
|
|
|
background-color: hsla(210,4%,10%,.12);
|
|
|
|
}
|
|
|
|
|
2008-01-10 12:16:24 +03: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 14:21:35 +03:00
|
|
|
#urlbar-display-box {
|
|
|
|
margin-top: -1px;
|
|
|
|
margin-bottom: -1px;
|
2010-03-27 00:59:02 +03:00
|
|
|
-moz-border-end: 1px solid #AAA;
|
|
|
|
-moz-margin-end: 3px;
|
|
|
|
}
|
|
|
|
|
2014-09-16 08:01:58 +04:00
|
|
|
.urlbar-display {
|
2011-01-22 14:21:35 +03:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
2012-04-23 23:12:47 +04:00
|
|
|
-moz-margin-start: 0;
|
2011-01-22 14:21:35 +03:00
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2015-08-07 06:13:00 +03:00
|
|
|
%include ../shared/urlbarSearchSuggestionsNotification.inc.css
|
2015-07-21 11:57:39 +03:00
|
|
|
|
2013-11-28 17:25:34 +04:00
|
|
|
#search-container {
|
|
|
|
min-width: calc(54px + 11ch);
|
|
|
|
}
|
|
|
|
|
2014-03-27 21:17:34 +04:00
|
|
|
/* identity box */
|
2014-03-13 04:43:05 +04:00
|
|
|
|
2014-03-27 21:17:34 +04:00
|
|
|
#identity-box:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 1.5px;
|
|
|
|
border-bottom-left-radius: 1.5px;
|
2014-03-13 04:43:05 +04:00
|
|
|
}
|
|
|
|
|
2014-03-27 21:17:34 +04:00
|
|
|
#identity-box:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 1.5px;
|
|
|
|
border-bottom-right-radius: 1.5px;
|
2014-03-13 04:43:05 +04:00
|
|
|
}
|
|
|
|
|
2015-07-13 19:22:00 +03:00
|
|
|
#identity-box.verifiedIdentity:not(:-moz-lwtheme):not(:hover):not([open=true]) {
|
2015-07-24 17:22:46 +03:00
|
|
|
background-color: var(--identity-box-verified-background-color);
|
2009-03-09 18:10:29 +03:00
|
|
|
}
|
|
|
|
|
2010-08-12 11:39:50 +04:00
|
|
|
#identity-box:-moz-focusring {
|
2011-03-19 00:21:02 +03:00
|
|
|
outline: 1px dotted #000;
|
|
|
|
outline-offset: -3px;
|
2007-11-07 11:50:18 +03:00
|
|
|
}
|
|
|
|
|
2015-07-07 20:34:37 +03:00
|
|
|
%include ../shared/identity-block/identity-block.inc.css
|
2014-03-27 21:17:34 +04:00
|
|
|
|
2015-04-03 03:10:21 +03:00
|
|
|
%include ../shared/notification-icons.inc.css
|
2010-04-09 21:45:25 +04:00
|
|
|
|
2015-05-24 01:12:49 +03:00
|
|
|
.popup-notification-body[popupid="addon-progress"],
|
|
|
|
.popup-notification-body[popupid="addon-install-confirmation"] {
|
|
|
|
width: 28em;
|
|
|
|
max-width: 28em;
|
2012-04-14 02:01:43 +04:00
|
|
|
}
|
|
|
|
|
2015-03-25 00:24:49 +03:00
|
|
|
.addon-install-confirmation-name {
|
|
|
|
font-weight: bold;
|
2011-01-03 22:40:47 +03:00
|
|
|
}
|
|
|
|
|
2010-04-09 21:45:25 +04:00
|
|
|
/* Notification icon box */
|
|
|
|
#notification-popup-box {
|
2011-03-19 00:21:02 +03:00
|
|
|
border-radius: 2.5px 0 0 2.5px;
|
|
|
|
}
|
|
|
|
|
2010-06-23 20:53:09 +04:00
|
|
|
.notification-anchor-icon:-moz-focusring {
|
|
|
|
outline: 1px dotted -moz-DialogText;
|
|
|
|
}
|
|
|
|
|
2013-06-22 03:14:22 +04:00
|
|
|
.indexedDB-notification-icon,
|
2010-09-10 02:15:40 +04:00
|
|
|
#indexedDB-notification-icon {
|
2015-04-02 19:42:15 +03:00
|
|
|
list-style-image: url(moz-icon://stock/gtk-dialog-question?size=16);
|
2010-09-10 02:15:40 +04:00
|
|
|
}
|
|
|
|
|
2014-05-20 14:10:17 +04:00
|
|
|
/* Translation infobar */
|
|
|
|
|
|
|
|
%include ../shared/translation/infobar.inc.css
|
|
|
|
|
2014-05-31 01:21:11 +04:00
|
|
|
notification[value="translation"] {
|
|
|
|
min-height: 40px;
|
|
|
|
}
|
|
|
|
|
2014-05-20 14:10:17 +04:00
|
|
|
notification[value="translation"],
|
|
|
|
notification[value="translation"] button,
|
|
|
|
notification[value="translation"] menulist {
|
2014-05-31 01:21:11 +04:00
|
|
|
min-height: 30px;
|
2014-05-20 14:10:17 +04:00
|
|
|
color: #5A5959;
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[value="translation"] {
|
|
|
|
background-color: #F2F1F0;
|
|
|
|
}
|
|
|
|
|
2014-05-31 01:21:11 +04:00
|
|
|
notification[value="translation"] button,
|
|
|
|
notification[value="translation"] menulist {
|
|
|
|
-moz-padding-end: 1ch;
|
|
|
|
}
|
|
|
|
|
2014-05-20 14:10:17 +04:00
|
|
|
notification[value="translation"] menulist {
|
|
|
|
border: 1px solid #C1C1C1;
|
|
|
|
background-color: #FFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[value="translation"] button {
|
|
|
|
border: 1px solid #C1C1C1;
|
|
|
|
background-color: #F2F1F0;
|
|
|
|
}
|
|
|
|
|
2014-05-31 01:21:11 +04:00
|
|
|
notification[value="translation"] button,
|
|
|
|
notification[value="translation"] menulist,
|
|
|
|
notification[value="translation"] menulist > .menulist-label-box {
|
|
|
|
-moz-margin-start: 1ch;
|
|
|
|
-moz-margin-end: 1ch;
|
|
|
|
}
|
|
|
|
|
2014-05-20 14:10:17 +04:00
|
|
|
notification[value="translation"] button:hover,
|
|
|
|
notification[value="translation"] button:active,
|
|
|
|
notification[value="translation"] menulist:hover,
|
|
|
|
notification[value="translation"] menulist:active {
|
|
|
|
background-color: #E2E1E0;
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[value="translation"] button[anonid="translate"] {
|
|
|
|
color: #FFF;
|
|
|
|
background-image: linear-gradient(#9FB938, #8DA726);
|
|
|
|
box-shadow: none;
|
|
|
|
border: 1px solid #829C1C;
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[value="translation"] button[anonid="translate"]:hover,
|
|
|
|
notification[value="translation"] button[anonid="translate"]:active {
|
|
|
|
background-image: linear-gradient(#8DA726, #8DA726);
|
|
|
|
}
|
|
|
|
|
2014-05-31 01:21:11 +04:00
|
|
|
notification[value="translation"] button > .button-box,
|
|
|
|
notification[value="translation"] button[type="menu"] > .button-box > .button-menu-dropmarker {
|
|
|
|
padding: 0;
|
|
|
|
-moz-margin-start: 3ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[value="translation"] button:not([type="menu"]) > .button-box {
|
|
|
|
-moz-margin-end: 3ch;
|
|
|
|
}
|
|
|
|
|
2014-05-20 14:10:17 +04:00
|
|
|
notification[value="translation"] menulist > .menulist-dropmarker {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-03-12 17:13:38 +03:00
|
|
|
/* Loop/ Hello browser styles */
|
|
|
|
|
|
|
|
notification[value="loop-sharing-notification"] .button-menubutton-button {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[value="loop-sharing-notification"] .messageImage {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
|
|
|
|
}
|
|
|
|
|
2007-11-07 08:09:46 +03:00
|
|
|
#treecolAutoCompleteImage {
|
2012-05-09 01:47:19 +04:00
|
|
|
max-width : 36px;
|
2007-11-07 08:09:03 +03:00
|
|
|
}
|
|
|
|
|
2007-11-30 07:57:57 +03:00
|
|
|
.ac-result-type-bookmark,
|
2007-11-07 08:09:46 +03:00
|
|
|
.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
|
2015-08-17 16:51:22 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/places/autocomplete-star.png");
|
2007-11-07 08:09:46 +03:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2008-07-17 15:48:40 +04:00
|
|
|
.ac-result-type-keyword,
|
2014-09-30 14:57:27 +04:00
|
|
|
.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
|
|
|
|
richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
|
2014-09-17 17:10:00 +04:00
|
|
|
list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
|
2008-07-17 15:48:40 +04:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2014-09-17 17:10:00 +04:00
|
|
|
.ac-result-type-keyword[selected="true"],
|
2014-09-30 14:57:27 +04:00
|
|
|
.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
|
|
|
|
richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
|
2014-09-17 17:10:00 +04:00
|
|
|
list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted);
|
|
|
|
}
|
|
|
|
|
2007-11-30 07:57:57 +03:00
|
|
|
.ac-result-type-tag,
|
2007-11-07 08:09:46 +03:00
|
|
|
.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
|
|
|
width: 16px;
|
2007-11-07 08:09:09 +03:00
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2015-08-07 06:13:00 +03:00
|
|
|
.ac-comment,
|
|
|
|
#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description,
|
|
|
|
#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button {
|
2012-07-13 07:53:00 +04:00
|
|
|
font-size: 1.05em;
|
2007-11-30 07:57:57 +03:00
|
|
|
}
|
|
|
|
|
2008-04-12 07:14:42 +04:00
|
|
|
.ac-extra > .ac-comment {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2010-12-11 05:32:14 +03:00
|
|
|
.ac-url-text,
|
|
|
|
.ac-action-text {
|
2008-08-02 23:37:17 +04:00
|
|
|
color: -moz-nativehyperlinktext;
|
2012-07-13 07:53:00 +04:00
|
|
|
font-size: 0.9em;
|
2007-11-30 07:57:57 +03:00
|
|
|
}
|
|
|
|
|
2010-08-26 08:01:22 +04:00
|
|
|
richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
|
2010-03-27 00:59:02 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/actionicon-tab.png");
|
2012-05-04 20:16:02 +04:00
|
|
|
padding: 0 3px;
|
2010-03-27 00:59:02 +03:00
|
|
|
}
|
|
|
|
|
2007-11-07 08:07:40 +03:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
|
2007-11-30 07:57:57 +03:00
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2010-12-11 05:32:14 +03:00
|
|
|
.ac-comment[selected="true"],
|
|
|
|
.ac-url-text[selected="true"],
|
|
|
|
.ac-action-text[selected="true"] {
|
2007-11-30 07:57:57 +03:00
|
|
|
color: inherit !important;
|
2007-11-07 08:07:40 +03:00
|
|
|
}
|
2007-11-07 08:08:15 +03:00
|
|
|
|
2012-05-09 01:47:19 +04:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
|
2007-11-07 11:50:18 +03:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) {
|
2007-11-07 08:08:15 +03:00
|
|
|
color: GrayText;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treebody::-moz-tree-cell(suggesthint) {
|
|
|
|
border-top: 1px solid GrayText;
|
|
|
|
}
|
2007-11-07 08:08:23 +03:00
|
|
|
|
2010-09-03 06:20:12 +04:00
|
|
|
/* Combined go/reload/stop button in location bar */
|
|
|
|
|
2015-09-03 21:06:00 +03:00
|
|
|
#urlbar-go-button,
|
|
|
|
#urlbar-reload-button,
|
|
|
|
#urlbar-stop-button {
|
2010-09-03 06:20:12 +04:00
|
|
|
-moz-appearance: none;
|
2013-11-01 22:27:55 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go.png");
|
2015-09-03 21:06:00 +03:00
|
|
|
padding: 0 9px;
|
2015-10-07 17:47:56 +03:00
|
|
|
margin-inline-start: 5px;
|
2015-09-03 21:06:00 +03:00
|
|
|
border-inline-start: 1px solid var(--urlbar-separator-color);
|
|
|
|
border-image: linear-gradient(transparent 15%,
|
|
|
|
var(--urlbar-separator-color) 15%,
|
|
|
|
var(--urlbar-separator-color) 85%,
|
|
|
|
transparent 85%);
|
|
|
|
border-image-slice: 1;
|
2013-11-01 22:27:55 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button {
|
|
|
|
-moz-image-region: rect(0, 14px, 14px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button:not([disabled]):hover {
|
|
|
|
-moz-image-region: rect(14px, 14px, 28px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button:not([disabled]):hover:active {
|
|
|
|
-moz-image-region: rect(28px, 14px, 42px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
|
|
|
transform: scaleX(-1);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button {
|
2013-11-01 22:27:55 +04:00
|
|
|
-moz-image-region: rect(0, 42px, 14px, 28px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover {
|
|
|
|
-moz-image-region: rect(14px, 42px, 28px, 28px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover:active {
|
|
|
|
-moz-image-region: rect(28px, 42px, 42px, 28px);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2011-01-27 16:15:56 +03:00
|
|
|
#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2011-01-27 16:15:56 +03:00
|
|
|
}
|
|
|
|
|
2013-11-01 22:27:55 +04:00
|
|
|
#urlbar-stop-button {
|
|
|
|
-moz-image-region: rect(0, 28px, 14px, 14px);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2013-11-01 22:27:55 +04:00
|
|
|
#urlbar-stop-button:not([disabled]):hover {
|
|
|
|
-moz-image-region: rect(14px, 28px, 28px, 14px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button:hover:active {
|
|
|
|
-moz-image-region: rect(28px, 28px, 42px, 14px);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2015-05-27 20:58:24 +03:00
|
|
|
@media (min-resolution: 1.1dppx) {
|
2015-09-03 21:06:00 +03:00
|
|
|
#urlbar-go-button,
|
|
|
|
#urlbar-reload-button,
|
|
|
|
#urlbar-stop-button {
|
2015-05-27 20:58:24 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
|
|
|
|
}
|
|
|
|
|
2015-09-03 21:06:00 +03:00
|
|
|
#urlbar-go-button > .toolbarbutton-icon,
|
|
|
|
#urlbar-reload-button > .toolbarbutton-icon,
|
|
|
|
#urlbar-stop-button > .toolbarbutton-icon {
|
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
|
2015-05-27 20:58:24 +03:00
|
|
|
#urlbar-go-button {
|
|
|
|
-moz-image-region: rect(0, 84px, 28px, 56px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover {
|
|
|
|
-moz-image-region: rect(28px, 84px, 56px, 56px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover:active {
|
|
|
|
-moz-image-region: rect(56px, 84px, 84px, 56px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button {
|
|
|
|
-moz-image-region: rect(0, 28px, 28px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button:not([disabled]):hover {
|
|
|
|
-moz-image-region: rect(28px, 28px, 56px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button:not([disabled]):hover:active {
|
|
|
|
-moz-image-region: rect(56px, 28px, 84px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button {
|
|
|
|
-moz-image-region: rect(0, 56px, 28px, 28px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button:not([disabled]):hover {
|
|
|
|
-moz-image-region: rect(28px, 56px, 56px, 28px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button:hover:active {
|
|
|
|
-moz-image-region: rect(56px, 56px, 84px, 28px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-12-16 20:53:27 +03:00
|
|
|
/* Popup blocker button */
|
|
|
|
#page-report-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/Info.png");
|
|
|
|
}
|
|
|
|
|
2015-01-03 04:20:12 +03:00
|
|
|
/* Reader mode button */
|
|
|
|
|
|
|
|
#reader-mode-button {
|
2015-03-21 03:28:03 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/readerMode.svg");
|
2015-01-03 04:20:12 +03:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
2015-03-21 03:28:03 +03:00
|
|
|
#reader-mode-button:hover,
|
|
|
|
#reader-mode-button[readeractive]:hover {
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2015-02-11 18:29:34 +03:00
|
|
|
}
|
|
|
|
|
2015-01-03 04:20:12 +03:00
|
|
|
#reader-mode-button:hover:active,
|
|
|
|
#reader-mode-button[readeractive] {
|
2015-03-21 03:28:03 +03:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2015-01-03 04:20:12 +03:00
|
|
|
}
|
|
|
|
|
2013-05-07 10:02:58 +04:00
|
|
|
/* social share panel */
|
|
|
|
|
|
|
|
.social-share-frame {
|
2014-12-23 03:11:56 +03:00
|
|
|
border-top: 1px solid #f8f8f8;
|
|
|
|
width: 756px;
|
2013-05-07 10:02:58 +04:00
|
|
|
height: 150px;
|
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
#share-container {
|
|
|
|
min-width: 756px;
|
|
|
|
background-color: white;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
#share-container[loading] {
|
|
|
|
background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
|
|
|
|
}
|
|
|
|
#share-container > browser {
|
|
|
|
transition: opacity 150ms ease-in-out;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
#share-container[loading] > browser {
|
|
|
|
opacity: 0;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
.social-share-toolbar {
|
|
|
|
border-bottom: 1px solid #dedede;
|
|
|
|
padding: 2px;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
#social-share-provider-buttons {
|
|
|
|
padding: 0;
|
2013-05-07 10:02:58 +04:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
.share-provider-button {
|
2013-05-07 10:02:58 +04:00
|
|
|
padding: 5px;
|
2014-12-23 03:11:56 +03:00
|
|
|
margin: 2px;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
.share-provider-button > .toolbarbutton-text {
|
2013-05-07 10:02:58 +04:00
|
|
|
display: none;
|
|
|
|
}
|
2014-12-23 03:11:56 +03:00
|
|
|
.share-provider-button > .toolbarbutton-icon {
|
2013-05-07 10:02:58 +04:00
|
|
|
width: 16px;
|
|
|
|
min-height: 16px;
|
|
|
|
max-height: 16px;
|
|
|
|
}
|
|
|
|
|
2012-07-12 05:31:19 +04:00
|
|
|
/* social recommending panel */
|
|
|
|
|
2013-05-05 00:11:18 +04:00
|
|
|
#social-mark-button {
|
2012-10-24 06:46:05 +04:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2012-10-24 10:45:51 +04:00
|
|
|
}
|
|
|
|
|
2013-06-07 22:46:53 +04:00
|
|
|
/* bookmarks menu-button */
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
|
2013-07-30 16:50:58 +04:00
|
|
|
-moz-appearance: none !important;
|
2014-03-28 17:58:44 +04:00
|
|
|
-moz-box-align: center;
|
2013-04-25 14:19:52 +04:00
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2014-01-17 17:51:11 +04:00
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 3px;
|
2013-04-25 14:19:52 +04:00
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04: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 14:19:52 +04:00
|
|
|
opacity: .4;
|
|
|
|
}
|
|
|
|
|
2013-07-30 16:50:58 +04: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 21:07:22 +04: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-30 07:37:20 +03: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-26 01:18:23 +03:00
|
|
|
#editBookmarkPanelHeader,
|
|
|
|
#editBookmarkPanelContent {
|
|
|
|
margin-bottom: .5em;
|
|
|
|
}
|
|
|
|
|
2009-01-13 13:48:26 +03:00
|
|
|
/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
|
|
|
|
#editBMPanel_folderTree {
|
2009-01-17 17:45:37 +03:00
|
|
|
min-width: 27em;
|
2009-01-13 13:48:26 +03:00
|
|
|
}
|
|
|
|
|
2011-05-24 08:16:39 +04:00
|
|
|
.panel-promo-box {
|
|
|
|
margin: 8px -10px -10px -10px;
|
2011-06-23 16:35:11 +04:00
|
|
|
padding: 8px 10px;
|
2011-05-24 08:16:39 +04:00
|
|
|
border-top: 1px solid ThreeDShadow;
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: linear-gradient(hsla(0,0%,0%,.15), hsla(0,0%,0%,.08) 6px);
|
2011-05-24 08:16:39 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-icon {
|
2011-07-04 18:06:16 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/sync-notification-24.png");
|
2011-05-24 08:16:39 +04:00
|
|
|
-moz-margin-end: 10px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton {
|
2014-03-28 10:14:11 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2011-05-24 08:16:39 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton > .toolbarbutton-text {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Content area */
|
2007-11-07 08:09:12 +03:00
|
|
|
#sidebar {
|
|
|
|
background-color: Window;
|
|
|
|
}
|
|
|
|
|
2013-07-08 03:14:00 +04:00
|
|
|
.browserContainer > findbar {
|
|
|
|
background-color: -moz-dialog;
|
|
|
|
color: -moz-DialogText;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2010-09-04 12:46:24 +04:00
|
|
|
/* Tabstrip */
|
2007-11-07 08:07:46 +03:00
|
|
|
|
2013-03-20 22:01:00 +04:00
|
|
|
%include ../shared/tabs.inc.css
|
2007-11-07 08:07:40 +03:00
|
|
|
|
2013-05-17 00:32:15 +04:00
|
|
|
#tabbrowser-tabs {
|
|
|
|
/* override the global style to allow the selected tab to be above the nav-bar */
|
|
|
|
z-index: auto;
|
2009-11-02 02:24:12 +03:00
|
|
|
}
|
|
|
|
|
2010-03-17 09:36:13 +03:00
|
|
|
#TabsToolbar {
|
|
|
|
min-height: 0;
|
|
|
|
padding: 0;
|
2015-01-09 22:42:00 +03:00
|
|
|
margin-bottom: calc(-1 * var(--tab-toolbar-navbar-overlap));
|
2010-03-17 09:36:13 +03:00
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
2011-02-17 21:40:41 +03:00
|
|
|
-moz-appearance: menubar;
|
|
|
|
color: -moz-menubartext;
|
2010-09-04 12:46:24 +04:00
|
|
|
}
|
|
|
|
|
2013-05-17 23:29:05 +04:00
|
|
|
#toolbar-menubar:not([autohide="true"]):not(:-moz-lwtheme):-moz-system-metric(menubar-drag),
|
2013-06-05 02:08:55 +04:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme):-moz-system-metric(menubar-drag) {
|
2013-05-17 23:29:05 +04:00
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
|
2007-11-07 08:08:54 +03:00
|
|
|
}
|
|
|
|
|
2015-07-20 18:43:39 +03:00
|
|
|
.tabbrowser-tab:focus > .tab-stack > .tab-content {
|
2010-09-04 12:46:24 +04:00
|
|
|
outline: 1px dotted;
|
2015-07-20 18:43:39 +03:00
|
|
|
outline-offset: -6px;
|
2010-09-03 00:08:37 +04:00
|
|
|
}
|
|
|
|
|
2008-02-25 11:47:24 +03: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 11:31:30 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-close?size=menu");
|
2008-02-25 11:47:24 +03:00
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Tab drag and drop */
|
2007-11-07 08:08:54 +03:00
|
|
|
.tab-drop-indicator {
|
2010-03-10 11:07:45 +03:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png);
|
2013-05-15 22:06:27 +04:00
|
|
|
margin-bottom: -9px;
|
|
|
|
z-index: 3;
|
2007-11-07 08:08:54 +03:00
|
|
|
}
|
|
|
|
|
2014-04-25 16:30:18 +04:00
|
|
|
/* Tab close button */
|
2015-03-16 21:30:41 +03:00
|
|
|
.tab-close-button:not([visuallyselected]):not(:hover) {
|
2014-03-28 10:14:11 +04:00
|
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 64, 16, 48);
|
|
|
|
}
|
|
|
|
|
2015-10-13 01:03:51 +03:00
|
|
|
.tab-close-button:not(:hover):-moz-lwtheme-brighttext,
|
2015-03-16 21:30:41 +03:00
|
|
|
#TabsToolbar[brighttext] .tab-close-button:not([visuallyselected]):not(:hover) {
|
2014-03-28 10:14:11 +04:00
|
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64);
|
|
|
|
}
|
|
|
|
|
2015-10-13 01:03:51 +03:00
|
|
|
.tab-close-button:not(:hover):-moz-lwtheme-darktext {
|
2014-03-28 10:14:11 +04:00
|
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 96, 16, 80);
|
2007-11-07 08:08:54 +03:00
|
|
|
}
|
|
|
|
|
2009-01-23 11:13:13 +03:00
|
|
|
/* Tabstrip new tab button */
|
2010-04-27 20:57:19 +04:00
|
|
|
.tabs-newtab-button,
|
|
|
|
#TabsToolbar > #new-tab-button ,
|
|
|
|
#TabsToolbar > #wrapper-new-tab-button > #new-tab-button {
|
2009-02-18 22:04:31 +03:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-add?size=menu");
|
2010-04-27 20:57:19 +04:00
|
|
|
-moz-image-region: auto;
|
2008-09-25 11:39:41 +04:00
|
|
|
}
|
|
|
|
|
2008-02-15 08:28:44 +03:00
|
|
|
/* Tabbrowser arrowscrollbox arrows */
|
2014-06-19 18:36:08 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon {
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
2011-02-09 21:25:54 +03:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
|
|
|
-moz-appearance: none;
|
2014-06-19 18:36:08 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png");
|
2015-01-09 22:42:00 +03:00
|
|
|
margin: 0 0 var(--tab-toolbar-navbar-overlap);
|
2008-02-15 08:28:44 +03:00
|
|
|
}
|
|
|
|
|
2014-06-19 18:36:08 +04:00
|
|
|
#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
|
|
#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .scrollbutton-down {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
|
|
|
|
opacity: .4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
|
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
|
|
|
|
2008-02-15 08:28:44 +03:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
2014-06-19 18:36:08 +04:00
|
|
|
transition: 1s background-color ease-out;
|
2009-11-05 11:02:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
|
2014-06-19 18:36:08 +04:00
|
|
|
background-color: Highlight;
|
2012-07-11 06:13:55 +04:00
|
|
|
transition: none;
|
2008-04-30 21:02:39 +04:00
|
|
|
}
|
|
|
|
|
2014-04-03 11:29:33 +04:00
|
|
|
#TabsToolbar .toolbarbutton-1 {
|
2015-09-24 18:43:21 +03:00
|
|
|
margin-bottom: var(--tab-toolbar-navbar-overlap);
|
2014-04-03 11:29:33 +04:00
|
|
|
}
|
|
|
|
|
2014-06-26 15:35:27 +04:00
|
|
|
#alltabs-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
|
2010-09-14 14:56:22 +04:00
|
|
|
}
|
|
|
|
|
2014-06-26 15:35:27 +04:00
|
|
|
#TabsToolbar[brighttext] > #alltabs-button,
|
|
|
|
#TabsToolbar[brighttext] > toolbarpaletteitem > #alltabs-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/alltabs-inverted.png");
|
2009-07-10 15:20:03 +04:00
|
|
|
}
|
|
|
|
|
2013-02-11 16:48:32 +04:00
|
|
|
#alltabs-button > .toolbarbutton-icon {
|
2014-06-26 15:35:27 +04:00
|
|
|
padding: 9px 6px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#alltabs-button > .toolbarbutton-menu-dropmarker {
|
2009-07-10 15:20:03 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-07-10 22:34:46 +04:00
|
|
|
/* All tabs menupopup */
|
|
|
|
.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
|
2011-08-12 04:50:09 +04:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
2009-07-10 22:34:46 +04:00
|
|
|
}
|
|
|
|
|
2015-04-30 22:14:25 +03:00
|
|
|
.alltabs-item[selected="true"] {
|
2009-07-10 22:34:46 +04:00
|
|
|
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-25 04:57:42 +04:00
|
|
|
.alltabs-item[tabIsVisible] {
|
|
|
|
/* box-shadow instead of background-color to work around native styling */
|
2012-04-27 00:27:38 +04:00
|
|
|
box-shadow: inset -5px 0 ThreeDShadow;
|
2011-05-25 04:57:42 +04:00
|
|
|
}
|
|
|
|
|
2015-09-17 11:13:27 +03:00
|
|
|
.alltabs-endimage[muted] {
|
2015-09-24 06:22:33 +03:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-menu-muted);
|
2015-09-17 11:13:27 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.alltabs-endimage[soundplaying] {
|
2015-09-24 06:22:33 +03:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-menu);
|
|
|
|
}
|
|
|
|
|
|
|
|
menuitem:hover > hbox > .alltabs-endimage[muted] {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-menu-muted-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
menuitem:hover > hbox > .alltabs-endimage[soundplaying] {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-menu-hover);
|
2015-09-17 11:13:27 +03:00
|
|
|
}
|
|
|
|
|
2007-11-07 11:50:18 +03:00
|
|
|
/* Sidebar */
|
|
|
|
#sidebar-throbber[loading="true"] {
|
2008-04-09 09:32:16 +04:00
|
|
|
list-style-image: url("chrome://global/skin/icons/loading_16.png");
|
2007-11-07 11:50:18 +03:00
|
|
|
-moz-margin-end: 4px;
|
|
|
|
}
|
|
|
|
|
2007-11-07 08:07:40 +03:00
|
|
|
toolbarbutton.chevron {
|
|
|
|
list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
|
|
|
|
}
|
|
|
|
|
2014-10-21 02:10:15 +04:00
|
|
|
toolbar[brighttext] toolbarbutton.chevron:not(:hover):not([open="true"]) {
|
|
|
|
list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
|
|
|
|
}
|
|
|
|
|
2009-08-11 12:27:20 +04:00
|
|
|
toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2007-11-07 08:07:48 +03:00
|
|
|
}
|
|
|
|
|
2009-02-22 11:43:59 +03:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-text,
|
2007-11-07 08:07:40 +03:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-02-22 11:43:59 +03:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2013-02-11 16:48:32 +04:00
|
|
|
/* Ctrl-Tab */
|
2009-07-21 08:25:59 +04:00
|
|
|
|
2013-02-11 16:48:32 +04:00
|
|
|
.ctrlTab-preview {
|
2009-07-21 08:25:59 +04:00
|
|
|
-moz-appearance: toolbarbutton;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabPreview-canvas {
|
2010-09-11 20:27:12 +04:00
|
|
|
box-shadow: 0 0 5px ThreeDShadow;
|
2009-07-21 08:25:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.ctrlTab-preview:focus .tabPreview-canvas,
|
2013-02-11 16:48:32 +04:00
|
|
|
.ctrlTab-preview:hover .tabPreview-canvas {
|
2010-09-11 20:27:12 +04:00
|
|
|
box-shadow: none;
|
2009-07-21 08:25:59 +04:00
|
|
|
}
|
|
|
|
|
2013-02-11 16:48:32 +04:00
|
|
|
.ctrlTab-favicon[src] {
|
2010-03-22 17:11:42 +03:00
|
|
|
background-color: white;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
2010-06-11 16:17:12 +04:00
|
|
|
#ctrlTab-panel {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
2009-07-21 08:25:59 +04:00
|
|
|
.ctrlTab-preview:not(#ctrlTab-showAll) .tabPreview-canvas {
|
|
|
|
margin-bottom: 2px;
|
2008-07-15 20:11:00 +04:00
|
|
|
}
|
|
|
|
|
2009-07-21 08:25:59 +04:00
|
|
|
#ctrlTab-showAll {
|
|
|
|
-moz-appearance: button;
|
|
|
|
color: ButtonText;
|
|
|
|
padding: 0 3px;
|
|
|
|
margin-top: 10px;
|
2008-07-15 20:11:00 +04:00
|
|
|
}
|
2008-11-05 10:38:13 +03:00
|
|
|
|
2014-01-25 19:19:07 +04:00
|
|
|
/* Sync Panel */
|
|
|
|
|
2014-01-29 05:54:36 +04:00
|
|
|
.sync-panel-icon {
|
2014-03-14 04:01:23 +04:00
|
|
|
height:32px;
|
2014-01-25 19:19:07 +04:00
|
|
|
width: 32px;
|
2014-01-29 05:54:36 +04:00
|
|
|
background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
|
2014-01-25 19:19:07 +04:00
|
|
|
}
|
|
|
|
|
2014-01-29 05:54:36 +04:00
|
|
|
.sync-panel-inner {
|
2014-01-25 19:19:07 +04:00
|
|
|
width: 0;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
2014-01-29 05:54:36 +04:00
|
|
|
.sync-panel-button-box {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2014-02-01 05:27:51 +04:00
|
|
|
#sync-start-panel-title {
|
2014-03-14 04:01:23 +04:00
|
|
|
font-size: 120%;
|
2014-01-29 05:54:36 +04:00
|
|
|
font-weight: bold;
|
2014-03-14 04:01:23 +04:00
|
|
|
margin-bottom: 5px;
|
2014-01-29 05:54:36 +04:00
|
|
|
}
|
|
|
|
|
2015-09-21 05:20:04 +03:00
|
|
|
#sync-start-panel-subtitle {
|
2015-10-02 00:32:27 +03:00
|
|
|
margin-bottom: 0;
|
2014-01-25 19:19:07 +04:00
|
|
|
}
|
|
|
|
|
2011-01-28 16:35:49 +03:00
|
|
|
/* Status panel */
|
|
|
|
|
|
|
|
.statuspanel-label {
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px 4px;
|
2013-01-05 19:00:32 +04:00
|
|
|
background: linear-gradient(#fff, #ddd);
|
2011-01-28 16:35:49 +03:00
|
|
|
border: 1px none #ccc;
|
|
|
|
border-top-style: solid;
|
|
|
|
color: #333;
|
2011-01-31 09:27:33 +03:00
|
|
|
text-shadow: none;
|
2011-01-28 16:35:49 +03: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 21:18:11 +04:00
|
|
|
|
2015-08-13 15:42:06 +03:00
|
|
|
%include ../shared/fullscreen/warning.inc.css
|
2015-09-21 20:04:31 +03:00
|
|
|
%include ../../../devtools/client/themes/responsivedesign.inc.css
|
|
|
|
%include ../../../devtools/client/themes/commandline.inc.css
|
2013-06-24 18:40:26 +04:00
|
|
|
%include ../shared/plugin-doorhanger.inc.css
|
2015-05-08 15:13:54 +03:00
|
|
|
%include ../shared/login-doorhanger.inc.css
|
2012-06-01 11:24:19 +04:00
|
|
|
|
2013-09-18 23:32:16 +04:00
|
|
|
%include downloads/indicator.css
|
|
|
|
|
2013-02-07 10:04:00 +04:00
|
|
|
.gcli-panel {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2012-10-05 03:46:38 +04:00
|
|
|
.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
|
|
|
|
color: hsl(210,11%,16%);
|
2012-05-10 21:33:54 +04:00
|
|
|
}
|
|
|
|
|
2012-07-05 19:02:28 +04:00
|
|
|
/* Error counter */
|
|
|
|
|
2012-11-30 12:07:59 +04:00
|
|
|
#developer-toolbar-toolbox-button[error-count]:before {
|
2012-07-05 19:02:28 +04:00
|
|
|
color: #FDF3DE;
|
|
|
|
min-width: 16px;
|
|
|
|
text-shadow: none;
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: linear-gradient(#B4211B, #8A1915);
|
2012-07-05 19:02:28 +04:00
|
|
|
border-radius: 1px;
|
2012-08-28 13:44:18 +04:00
|
|
|
-moz-margin-end: 2px;
|
2012-07-05 19:02:28 +04:00
|
|
|
}
|
2012-08-04 05:45:37 +04:00
|
|
|
|
2013-05-30 01:50:59 +04:00
|
|
|
/* Social toolbar item */
|
|
|
|
|
2013-04-03 03:28:30 +04:00
|
|
|
.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-04 05:45:37 +04:00
|
|
|
/* social toolbar provider menu */
|
|
|
|
#social-statusarea-popup {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-left: -12px;
|
|
|
|
margin-right: -12px;
|
|
|
|
}
|
|
|
|
|
2013-03-05 02:08:25 +04:00
|
|
|
.social-statusarea-user {
|
|
|
|
list-style-image:url("chrome://global/skin/icons/information-32.png");
|
|
|
|
}
|
|
|
|
|
2012-11-16 03:07:42 +04:00
|
|
|
.social-statusarea-user-portrait {
|
2012-08-04 05:45:37 +04:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
2012-09-07 03:13:37 +04:00
|
|
|
.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2013-02-20 00:34:48 +04:00
|
|
|
%include ../shared/social/chat.inc.css
|
2012-08-21 04:52:26 +04:00
|
|
|
|
2013-03-22 23:15:58 +04:00
|
|
|
/* Customization mode */
|
|
|
|
|
2013-04-15 09:34:52 +04:00
|
|
|
%include ../shared/customizableui/customizeMode.inc.css
|
2013-03-23 01:28:34 +04:00
|
|
|
|
2014-06-03 00:59:38 +04:00
|
|
|
#main-window[customize-entered] > #tab-view-deck {
|
|
|
|
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"),
|
|
|
|
linear-gradient(to bottom, #bcbcbc, #b5b5b5);
|
|
|
|
background-attachment: fixed;
|
2014-01-30 20:16:00 +04:00
|
|
|
}
|
|
|
|
|
2014-06-03 00:59:38 +04:00
|
|
|
#main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: right top;
|
|
|
|
background-attachment: fixed;
|
|
|
|
/* The image will get set from CustomizeMode.jsm */
|
|
|
|
background-image: none;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[customization-lwtheme]:-moz-lwtheme {
|
2013-05-10 02:28:02 +04: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);
|
2014-06-03 00:59:38 +04:00
|
|
|
background-color: #b5b5b5;
|
|
|
|
background-repeat: repeat;
|
2013-05-10 02:28:02 +04:00
|
|
|
background-attachment: fixed;
|
2014-06-03 00:59:38 +04:00
|
|
|
background-position: left top;
|
2013-05-10 02:28:02 +04:00
|
|
|
}
|
|
|
|
|
2014-04-04 11:23:44 +04:00
|
|
|
#main-window[customize-entered] #browser-bottombox,
|
2013-11-07 08:42:31 +04:00
|
|
|
#main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar),
|
|
|
|
#main-window[customize-entered] #customization-container {
|
2013-05-22 00:18:40 +04: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);
|
|
|
|
}
|
|
|
|
|
2014-04-04 11:23:44 +04:00
|
|
|
#main-window[customize-entered] #customization-container,
|
2013-11-07 08:42:31 +04:00
|
|
|
#main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
2013-05-22 00:18:40 +04:00
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
|
|
|
|
2013-11-07 08:42:31 +04:00
|
|
|
#main-window[customize-entered] #TabsToolbar {
|
2013-05-22 00:18:40 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
background-clip: padding-box;
|
|
|
|
border-right: 3px solid transparent;
|
|
|
|
border-left: 3px solid transparent;
|
2013-05-10 02:28:02 +04:00
|
|
|
}
|
|
|
|
|
2014-04-25 16:30:18 +04:00
|
|
|
/* The :hover:active style from toolkit doesn't seem to work in this panel so just use :active. */
|
|
|
|
.customization-tipPanel-closeBox > .close-icon:active {
|
|
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 48, 16, 32);
|
|
|
|
}
|
|
|
|
|
2013-04-11 23:50:07 +04:00
|
|
|
/* End customization mode */
|
2013-03-22 23:15:58 +04:00
|
|
|
|
2013-01-14 20:00:43 +04:00
|
|
|
|
2014-02-26 11:07:03 +04:00
|
|
|
#main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
|
2013-01-14 20:00:43 +04:00
|
|
|
background: url("chrome://browser/skin/privatebrowsing-mask.png") center no-repeat;
|
|
|
|
width: 40px;
|
|
|
|
}
|
2013-11-17 13:32:40 +04:00
|
|
|
|
|
|
|
%include ../shared/UITour.inc.css
|
2014-01-31 06:25:45 +04:00
|
|
|
|
2014-04-13 22:28:19 +04:00
|
|
|
#UITourHighlight {
|
|
|
|
/* Below are some fixes for people without an X compositor on Linux.
|
|
|
|
This is why we can't have nice things: */
|
|
|
|
/* Animations don't repaint properly without an X compositor. */
|
|
|
|
animation-name: none !important;
|
|
|
|
/* Opacity rounds to 0 or 1 on Linux without an X compositor so make the
|
|
|
|
background be transparent in that case by having all alpha values < 0.5 */
|
|
|
|
background-image: radial-gradient(50% 100%, rgba(0,149,220,0.3) 50%, rgba(0,149,220,0.49) 100%);
|
|
|
|
/* The highlight isn't anti-aliased without an X compositor so make it thicker.
|
|
|
|
Make it a darker color since we don't have the box-shadow in this case. */
|
|
|
|
border: 4px solid rgb(0,149,220);
|
|
|
|
}
|
|
|
|
|
2014-01-31 06:25:45 +04:00
|
|
|
#UITourTooltipDescription {
|
|
|
|
font-size: 1.05rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipClose {
|
2014-03-16 01:21:20 +04:00
|
|
|
-moz-margin-end: -4px;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2014-01-31 06:25:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipButtons {
|
2014-03-16 01:21:20 +04:00
|
|
|
margin-bottom: -10px;
|
2014-01-31 06:25:45 +04:00
|
|
|
}
|
2014-05-13 01:35:39 +04:00
|
|
|
|
|
|
|
%include ../shared/contextmenu.inc.css
|
|
|
|
|
|
|
|
#context-navigation > .menuitem-iconic > .menu-iconic-left {
|
|
|
|
visibility: visible;
|
|
|
|
/* override toolkit/themes/linux/global/menu.css */
|
|
|
|
-moz-padding-end: 0 !important;
|
|
|
|
-moz-margin-end: 0 !important;
|
|
|
|
}
|
2015-06-04 01:34:44 +03:00
|
|
|
|
|
|
|
.browser-action-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2015-09-28 23:00:28 +03:00
|
|
|
|
|
|
|
%include ../shared/usercontext/usercontext.inc.css
|