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/. */
|
2004-06-19 01:33:39 +04:00
|
|
|
|
|
|
|
@import url("chrome://global/skin/");
|
|
|
|
|
2010-02-21 18:03:48 +03:00
|
|
|
%include shared.inc
|
2011-11-07 22:48:27 +04:00
|
|
|
%filter substitution
|
|
|
|
%define forwardTransitionLength 150ms
|
2014-04-23 21:26:32 +04:00
|
|
|
%define conditionalForwardWithUrlbar window:not([chromehidden~="toolbar"]) #urlbar-wrapper
|
|
|
|
%define conditionalForwardWithUrlbarWidth 32
|
2013-06-13 01:42:00 +04:00
|
|
|
%define spaceAboveTabbar 9px
|
2013-10-23 00:26:09 +04:00
|
|
|
%define toolbarButtonPressed :hover:active:not([disabled="true"]):not([cui-areatype="menu-panel"])
|
2014-03-28 21:36:00 +04:00
|
|
|
%define windowButtonMarginTop 11px
|
2010-02-21 18:03:48 +03:00
|
|
|
|
2004-06-19 01:33:39 +04:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
2006-08-26 19:28:56 +04: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");
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2009-10-02 10:22:18 +04:00
|
|
|
#urlbar:-moz-lwtheme:not([focused="true"]),
|
2009-10-23 19:28:14 +04:00
|
|
|
.searchbar-textbox:-moz-lwtheme:not([focused="true"]) {
|
2009-09-04 14:58:18 +04:00
|
|
|
opacity: .9;
|
|
|
|
}
|
|
|
|
|
2013-05-04 11:25:59 +04:00
|
|
|
#navigator-toolbox::after {
|
|
|
|
-moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
|
|
|
|
background-image: linear-gradient(to top, hsla(0,0%,0%,.15), hsla(0,0%,0%,.15) 1px, hsla(0,0%,100%,.15) 1px, hsla(0,0%,100%,.15) 2px, transparent 3px);
|
|
|
|
content: "";
|
|
|
|
display: -moz-box;
|
|
|
|
height: 2px;
|
|
|
|
margin-top: -2px;
|
2013-06-13 10:50:08 +04:00
|
|
|
position: relative;
|
|
|
|
z-index: 2; /* navbar is at 1 */
|
2013-05-04 11:25:59 +04:00
|
|
|
}
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
#navigator-toolbox toolbarbutton:-moz-lwtheme {
|
2010-02-21 17:50:10 +03:00
|
|
|
color: inherit;
|
2009-09-04 14:58:18 +04:00
|
|
|
text-shadow: inherit;
|
|
|
|
}
|
|
|
|
|
2008-12-08 17:59:41 +03:00
|
|
|
#main-window {
|
2008-05-03 18:47:03 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: #eeeeee;
|
|
|
|
}
|
|
|
|
|
2014-03-28 21:36:00 +04:00
|
|
|
/** Begin titlebar **/
|
|
|
|
|
2013-05-02 22:15:29 +04:00
|
|
|
#titlebar-buttonbox > .titlebar-button {
|
2013-02-06 01:40:34 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-11-01 02:34:25 +04:00
|
|
|
/* NB: these would be -moz-margin-start/end if it wasn't for the fact that OS X
|
|
|
|
* doesn't reverse the order of the items in the titlebar in RTL mode. */
|
2013-06-13 01:42:00 +04:00
|
|
|
.titlebar-placeholder[type="caption-buttons"],
|
|
|
|
#titlebar-buttonbox {
|
|
|
|
margin-left: 7px;
|
2013-02-06 01:40:34 +04:00
|
|
|
}
|
|
|
|
|
2013-06-13 01:42:00 +04:00
|
|
|
@media (-moz-mac-lion-theme) {
|
|
|
|
.titlebar-placeholder[type="fullscreen-button"],
|
2014-04-12 19:10:17 +04:00
|
|
|
#titlebar-secondary-buttonbox {
|
2013-06-13 01:42:00 +04:00
|
|
|
margin-right: 7px;
|
2014-04-12 19:10:17 +04:00
|
|
|
margin-left: 7px;
|
2013-06-13 01:42:00 +04:00
|
|
|
}
|
2008-12-08 17:59:41 +03:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window:not(:-moz-lwtheme) > #titlebar {
|
2013-03-01 22:48:18 +04:00
|
|
|
-moz-appearance: -moz-window-titlebar;
|
2013-02-06 01:40:34 +04:00
|
|
|
}
|
|
|
|
|
2014-03-28 21:36:00 +04:00
|
|
|
#main-window:not([tabsintitlebar]) > #titlebar {
|
2014-04-12 19:10:17 +04:00
|
|
|
height: 22px; /* The native titlebar on OS X is 22px tall. */
|
2014-03-28 21:36:00 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* For tabs in titlebar on OS X, we stretch the titlebar down so that the
|
|
|
|
* tabstrip can overlap it.
|
|
|
|
*/
|
|
|
|
#main-window[tabsintitlebar] > #titlebar {
|
2014-04-10 21:34:49 +04:00
|
|
|
min-height: calc(@tabMinHeight@ + @spaceAboveTabbar@ - @tabToolbarNavbarOverlap@);
|
2014-03-28 21:36:00 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* We also vertically center the window buttons.
|
|
|
|
*/
|
|
|
|
#main-window[tabsintitlebar] > #titlebar > #titlebar-content > #titlebar-buttonbox-container,
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window[tabsintitlebar] > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > #titlebar-fullscreen-button {
|
2014-03-28 21:36:00 +04:00
|
|
|
margin-top: @windowButtonMarginTop@;
|
|
|
|
}
|
|
|
|
|
2014-04-14 21:51:00 +04:00
|
|
|
#main-window[customize-entered] > #titlebar {
|
2014-03-28 21:36:00 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** End titlebar **/
|
|
|
|
|
2010-01-14 18:41:58 +03:00
|
|
|
#main-window[chromehidden~="toolbar"][chromehidden~="location"][chromehidden~="directories"] {
|
|
|
|
border-top: 1px solid rgba(0,0,0,0.65);
|
2010-06-23 00:28:34 +04:00
|
|
|
}
|
|
|
|
|
2011-11-27 15:27:14 +04:00
|
|
|
/* Because of -moz-box-align: center above, separators will be invisible unless
|
|
|
|
we set their min-height. See bug 583510 for more information. */
|
|
|
|
toolbarseparator {
|
|
|
|
min-height: 22px;
|
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
#navigator-toolbox > toolbar:not(#TabsToolbar):not(#nav-bar):not(:-moz-lwtheme) {
|
2008-12-11 17:48:23 +03:00
|
|
|
-moz-appearance: none;
|
2013-03-08 14:57:00 +04:00
|
|
|
background: url(chrome://browser/skin/Toolbar-background-noise.png) hsl(0,0%,83%);
|
2011-11-27 15:27:14 +04:00
|
|
|
}
|
|
|
|
|
2014-04-22 19:23:49 +04:00
|
|
|
#TabsToolbar:not([collapsed="true"]) + #nav-bar {
|
|
|
|
margin-top: -@tabToolbarNavbarOverlap@; /* Move up into the TabsToolbar */
|
|
|
|
/* Position the toolbar above the bottom of background tabs */
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2010-12-23 20:41:51 +03:00
|
|
|
#nav-bar {
|
2008-12-11 17:48:23 +03:00
|
|
|
-moz-appearance: none;
|
2013-03-08 14:57:00 +04:00
|
|
|
background: url(chrome://browser/skin/Toolbar-background-noise.png),
|
2013-05-04 11:25:59 +04:00
|
|
|
linear-gradient(hsl(0,0%,93%), hsl(0,0%,83%));
|
2013-03-08 14:57:00 +04:00
|
|
|
background-clip: border-box;
|
2010-12-23 20:41:51 +03:00
|
|
|
background-origin: border-box !important;
|
2013-10-10 16:41:00 +04:00
|
|
|
|
|
|
|
/* Move the noise texture out of the top 1px strip because that overlaps
|
|
|
|
with the tabbar and we don't want to repaint it when animating tabs.
|
|
|
|
The noise image is at least 100px high, so repeating it only horizontally
|
|
|
|
is enough. */
|
|
|
|
background-repeat: repeat-x, no-repeat;
|
|
|
|
background-position: 0 1px, 0 0;
|
|
|
|
|
2013-05-17 00:32:15 +04:00
|
|
|
box-shadow: inset 0 1px 0 hsla(0,0%,100%,.4);
|
2010-12-23 20:41:51 +03:00
|
|
|
}
|
|
|
|
|
2013-10-10 16:41:00 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#nav-bar {
|
|
|
|
background-size: 100px 100px, auto;
|
|
|
|
}
|
2008-01-28 03:53:12 +03:00
|
|
|
}
|
|
|
|
|
2013-10-28 14:47:18 +04:00
|
|
|
#nav-bar-customization-target {
|
2013-09-24 17:30:15 +04:00
|
|
|
padding: 4px;
|
2010-12-23 20:41:51 +03:00
|
|
|
}
|
|
|
|
|
2013-10-24 21:19:09 +04:00
|
|
|
#PersonalToolbar {
|
|
|
|
padding: 0 4px 4px;
|
2014-04-14 20:01:41 +04:00
|
|
|
/* 4px padding ^ plus 19px personal-bookmarks (see below) */
|
|
|
|
min-height: 23px;
|
2013-10-24 21:19:09 +04:00
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
#navigator-toolbox > toolbar:not(#TabsToolbar):-moz-lwtheme {
|
2013-05-04 11:25:59 +04:00
|
|
|
background-color: @toolbarColorLWT@;
|
|
|
|
background-image: url(chrome://browser/skin/Toolbar-background-noise.png);
|
2010-12-23 20:41:51 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#PersonalToolbar:not(:-moz-lwtheme):-moz-window-inactive,
|
2013-07-11 00:22:24 +04:00
|
|
|
#nav-bar:not(:-moz-lwtheme):-moz-window-inactive {
|
2010-12-23 20:41:51 +03:00
|
|
|
background-color: -moz-mac-chrome-inactive;
|
2010-07-20 00:19:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ----- BOOKMARK TOOLBAR ----- */
|
|
|
|
|
2009-09-11 17:25:18 +04:00
|
|
|
#personal-bookmarks {
|
2014-04-14 20:01:41 +04:00
|
|
|
min-height: 19px; /* 16px button height + 2px padding + 1px margin-bottom */
|
2009-09-11 17:25:18 +04:00
|
|
|
}
|
2008-01-28 03:53:12 +03:00
|
|
|
|
2014-04-28 22:30:48 +04:00
|
|
|
#nav-bar-customization-target > #wrapper-personal-bookmarks > #personal-bookmarks {
|
|
|
|
min-height: 32px;
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2010-02-21 17:50:10 +03:00
|
|
|
toolbarbutton.chevron {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/chevron.png");
|
|
|
|
margin: 1px 0 0;
|
2008-11-27 00:01:50 +03:00
|
|
|
padding: 0;
|
2007-10-11 10:42:38 +04:00
|
|
|
}
|
|
|
|
|
2010-02-21 17:50:10 +03:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-text {
|
|
|
|
display: none;
|
2008-04-23 16:08:52 +04:00
|
|
|
}
|
|
|
|
|
2010-02-21 17:50:10 +03:00
|
|
|
toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2008-04-23 16:08:52 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
toolbarbutton.chevron {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/chevron@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton.chevron > .toolbarbutton-icon {
|
|
|
|
width: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-08-18 11:33:54 +04:00
|
|
|
/* ----- BOOKMARK BUTTONS ----- */
|
2004-11-30 11:23:02 +03:00
|
|
|
|
2014-03-06 20:29:12 +04:00
|
|
|
toolbarbutton.bookmark-item:not(.subviewbutton):not(#bookmarks-menu-button),
|
2014-03-06 01:58:27 +04:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
|
2010-02-21 17:50:10 +03:00
|
|
|
border: 0;
|
2010-09-09 19:21:47 +04:00
|
|
|
border-radius: 10000px;
|
2010-10-15 14:26:50 +04:00
|
|
|
padding: 1px 8px;
|
2010-03-17 20:08:59 +03:00
|
|
|
margin: 0 0 1px;
|
2008-01-28 03:53:12 +03:00
|
|
|
}
|
2004-11-30 11:23:02 +03:00
|
|
|
|
2014-03-06 01:58:27 +04:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
|
2010-02-21 17:50:10 +03:00
|
|
|
.bookmark-item > .toolbarbutton-menu-dropmarker {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/folderDropArrow.png");
|
|
|
|
-moz-image-region: rect(0, 7px, 5px, 0);
|
|
|
|
margin-top: 1px;
|
|
|
|
-moz-margin-start: 3px;
|
|
|
|
-moz-margin-end: -2px;
|
2008-04-23 16:08:52 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.bookmark-item > .toolbarbutton-menu-dropmarker {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/folderDropArrow@2x.png");
|
|
|
|
-moz-image-region: rect(0, 14px, 10px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item > .toolbarbutton-menu-dropmarker > .dropmarker-icon {
|
|
|
|
width: 7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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 {
|
2013-04-24 21:26:01 +04:00
|
|
|
display: -moz-box !important; /* Force the display of the label for bookmarks */
|
2010-02-21 17:50:10 +03:00
|
|
|
margin: 0 !important;
|
2008-04-23 16:08:52 +04:00
|
|
|
}
|
|
|
|
|
2014-03-29 01:15:39 +04:00
|
|
|
toolbarbutton.bookmark-item:not(.subviewbutton):not(#bookmarks-menu-button):hover {
|
2010-02-21 17:50:10 +03:00
|
|
|
background-color: rgba(0, 0, 0, .205);
|
2004-11-30 11:23:02 +03:00
|
|
|
}
|
|
|
|
|
2014-02-03 02:41:51 +04:00
|
|
|
toolbarbutton.bookmark-item:hover:not(.subviewbutton),
|
|
|
|
toolbarbutton.bookmark-item[open="true"]:not(.subviewbutton) {
|
2010-02-21 17:50:10 +03:00
|
|
|
color: #FFF !important;
|
|
|
|
text-shadow: 0 1px rgba(0, 0, 0, .4) !important;
|
2008-04-23 16:08:52 +04:00
|
|
|
}
|
|
|
|
|
2010-02-21 17:50:10 +03:00
|
|
|
.bookmark-item:hover > .toolbarbutton-menu-dropmarker,
|
|
|
|
.bookmark-item[open="true"] > .toolbarbutton-menu-dropmarker {
|
|
|
|
-moz-image-region: rect(5px, 7px, 10px, 0);
|
2004-11-30 11:23:02 +03:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.bookmark-item:hover > .toolbarbutton-menu-dropmarker,
|
|
|
|
.bookmark-item[open="true"] > .toolbarbutton-menu-dropmarker {
|
|
|
|
-moz-image-region: rect(10px, 14px, 20px, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-13 16:56:38 +04:00
|
|
|
toolbarbutton.bookmark-item:not(.subviewbutton):not(#bookmarks-menu-button):active:hover,
|
2014-03-29 01:15:39 +04:00
|
|
|
toolbarbutton.bookmark-item:not(.subviewbutton):not(#bookmarks-menu-button)[open="true"] {
|
2010-09-11 20:27:12 +04:00
|
|
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4), 0 1px rgba(255, 255, 255, 0.4);
|
2010-02-21 17:50:10 +03:00
|
|
|
background-color: rgba(0, 0, 0, .5);
|
2004-08-26 00:24:14 +04:00
|
|
|
}
|
|
|
|
|
2010-03-05 15:00:59 +03:00
|
|
|
toolbarbutton.bookmark-item > menupopup {
|
|
|
|
margin-top: 2px;
|
|
|
|
-moz-margin-start: 3px;
|
|
|
|
}
|
|
|
|
|
2014-04-02 14:52:16 +04:00
|
|
|
.bookmark-item:not(#home-button) > .toolbarbutton-icon,
|
2013-10-23 00:26:09 +04:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
|
2010-08-01 02:03:09 +04:00
|
|
|
width: 16px;
|
|
|
|
min-height: 16px;
|
2010-10-15 14:26:50 +04:00
|
|
|
max-height: 16px;
|
2006-05-06 02:45:37 +04:00
|
|
|
}
|
|
|
|
|
2010-08-01 02:03:09 +04:00
|
|
|
.bookmark-item > .toolbarbutton-icon[label]:not([label=""]),
|
2013-08-03 00:31:20 +04:00
|
|
|
.bookmark-item > .toolbarbutton-icon[type="menu"],
|
2014-03-06 01:58:27 +04:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon[label]:not([label=""]) {
|
2010-08-01 02:03:09 +04:00
|
|
|
-moz-margin-end: 5px;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2010-02-21 17:50:10 +03:00
|
|
|
.bookmark-item[container] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder.png");
|
2007-04-01 23:04:27 +04:00
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item[container][livemark] {
|
|
|
|
list-style-image: url("chrome://browser/skin/page-livemarks.png");
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item[container][livemark] .bookmark-item {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/livemark-item.png");
|
|
|
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[container][livemark] .bookmark-item[visited] {
|
|
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
2007-04-01 23:04:27 +04:00
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item[container][query] {
|
2008-04-15 21:09:00 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/query.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][tagContainer] {
|
2011-11-29 16:33:27 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
2007-11-20 05:01:53 +03:00
|
|
|
}
|
|
|
|
|
2008-04-15 21:09:00 +04:00
|
|
|
.bookmark-item[query][dayContainer] {
|
2008-05-05 22:06:31 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/history.png");
|
2008-04-15 21:09:00 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer][open] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder.png");
|
2007-11-20 05:01:53 +03:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.bookmark-item[container] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[container][livemark] {
|
|
|
|
list-style-image: url("chrome://browser/skin/page-livemarks@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[container][livemark] .bookmark-item {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/livemark-item.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[container][query] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/query@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][tagContainer] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/tag@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][dayContainer] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/history@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer][open] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder@2x.png");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
/* Workaround for native menubar inheritance */
|
|
|
|
.openintabs-menuitem,
|
|
|
|
.openlivemarksite-menuitem,
|
|
|
|
.livemarkstatus-menuitem {
|
|
|
|
list-style-image: none;
|
2012-02-24 16:42:26 +04:00
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item[cutting] > .toolbarbutton-icon,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
opacity: 0.5;
|
2007-04-01 23:04:27 +04:00
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item[cutting] > .toolbarbutton-text,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
|
|
|
|
opacity: 0.7;
|
2007-04-01 23:04:27 +04:00
|
|
|
}
|
|
|
|
|
2013-03-09 05:35:37 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.bookmark-item > .toolbarbutton-icon,
|
2013-08-03 00:31:20 +04:00
|
|
|
.bookmark-item > .menu-iconic-left > .menu-iconic-icon,
|
2013-10-23 00:26:09 +04:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
|
2013-03-09 05:35:37 +04:00
|
|
|
image-rendering: -moz-crisp-edges;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2004-06-19 01:33:39 +04: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;
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-08-03 00:31:20 +04:00
|
|
|
#bookmarks-toolbar-placeholder {
|
2012-09-30 08:56:40 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png") !important;
|
|
|
|
}
|
|
|
|
|
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@2x.png") !important;
|
|
|
|
}
|
|
|
|
|
2013-08-03 00:31:20 +04:00
|
|
|
#bookmarks-toolbar-placeholder > .toolbarbutton-icon {
|
2012-09-30 08:56:40 +04:00
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-03 12:42:00 +04:00
|
|
|
/* ----- BOOKMARK STAR ANIMATION ----- */
|
|
|
|
|
|
|
|
@keyframes animation-bookmarkAdded {
|
2014-03-06 20:29:12 +04:00
|
|
|
from { transform: rotate(0deg) translateX(-14px) rotate(0deg) scale(1); opacity: 0; }
|
|
|
|
60% { transform: rotate(180deg) translateX(-14px) rotate(-180deg) scale(2.2); opacity: 1; }
|
2014-02-03 12:42:00 +04:00
|
|
|
80% { opacity: 1; }
|
2014-03-06 20:29:12 +04:00
|
|
|
to { transform: rotate(180deg) translateX(-14px) 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
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
|
|
|
|
background-image: url("chrome://browser/skin/places/bookmarks-notification-finish@2x.png");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
2010-08-18 11:33:54 +04:00
|
|
|
/* ----- BOOKMARK MENUS ----- */
|
2004-06-19 01:33:39 +04:00
|
|
|
|
|
|
|
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2010-06-24 21:08:43 +04:00
|
|
|
#bookmarksToolbarFolderMenu,
|
2013-07-25 14:02:05 +04:00
|
|
|
#BMB_bookmarksToolbar,
|
|
|
|
#panelMenu_bookmarksToolbar {
|
2010-06-24 21:08:43 +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-08-13 17:28:55 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.png");
|
2008-04-09 04:39:18 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#bookmarksToolbarFolderMenu,
|
|
|
|
#BMB_bookmarksToolbar {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#BMB_unsortedBookmarks {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/unfiledBookmarks@2x.png");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-08-18 11:33:54 +04:00
|
|
|
/* ----- PRIMARY TOOLBAR BUTTONS ----- */
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2013-11-21 19:39:36 +04:00
|
|
|
toolbar .toolbarbutton-1:not([type="menu-button"]),
|
2010-08-24 01:03:42 +04:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
2014-03-20 14:06:41 +04:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
2004-06-19 01:33:39 +04:00
|
|
|
-moz-box-orient: vertical;
|
2014-03-18 18:37:00 +04:00
|
|
|
height: 24px;
|
2011-08-08 18:43:04 +04:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2014-03-06 20:29:12 +04:00
|
|
|
toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],#back-button,#forward-button)),
|
|
|
|
toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
2014-03-20 14:06:41 +04:00
|
|
|
toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
2014-03-06 20:29:12 +04:00
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: @toolbarbuttonCornerRadius@;
|
|
|
|
transition-property: background, border-color;
|
|
|
|
transition-duration: 250ms;
|
|
|
|
}
|
|
|
|
|
2014-03-20 14:06:41 +04:00
|
|
|
toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],#back-button,#forward-button)) {
|
2014-03-13 02:29:52 +04:00
|
|
|
padding: 0 4px;
|
2014-03-06 20:29:12 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],[disabled],[open],#back-button,#forward-button)):hover,
|
2014-04-17 01:45:43 +04:00
|
|
|
toolbar .toolbarbutton-1[type="menu-button"]:not([disabled]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker,
|
2014-03-13 02:37:12 +04:00
|
|
|
toolbar .toolbarbutton-1[type="menu-button"]:not([disabled]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button,
|
|
|
|
toolbar .toolbarbutton-1[type="menu-button"]:not([disabled]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker,
|
2014-03-20 14:06:41 +04:00
|
|
|
toolbar .toolbaritem-combined-buttons:hover > .toolbarbutton-combined {
|
2014-03-06 20:29:12 +04:00
|
|
|
border-color: hsla(0,0%,0%,.2);
|
2014-03-13 02:37:12 +04:00
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.5),
|
|
|
|
0 1px 0 hsla(0,0%,100%,.5) inset;
|
2014-03-06 20:29:12 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],[disabled],[open],#back-button,#forward-button)):hover,
|
|
|
|
toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open]))[buttonover] > .toolbarbutton-menubutton-button,
|
2014-03-20 14:06:41 +04:00
|
|
|
toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open],[buttonover])):hover > .toolbarbutton-menubutton-dropmarker {
|
2014-03-06 20:29:12 +04:00
|
|
|
background: hsla(0,0%,100%,.1) linear-gradient(hsla(0,0%,100%,.3), hsla(0,0%,100%,.1)) padding-box;
|
|
|
|
}
|
|
|
|
|
2014-03-13 03:42:36 +04:00
|
|
|
toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],[disabled],#back-button,#forward-button)):-moz-any(:hover:active,[open],[checked]),
|
2014-04-17 01:45:43 +04:00
|
|
|
toolbar .toolbarbutton-1[type="menu-button"]:not([disabled]) > .toolbarbutton-menubutton-button[open],
|
2014-03-06 20:29:12 +04:00
|
|
|
toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open]))[buttonover]:active > .toolbarbutton-menubutton-button,
|
|
|
|
toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open],[buttonover])):hover:active > .toolbarbutton-menubutton-dropmarker,
|
2014-03-27 18:11:08 +04:00
|
|
|
toolbar .toolbarbutton-1[type="menu-button"][open]:not([disabled]) > .toolbarbutton-menubutton-dropmarker {
|
2014-03-06 20:29:12 +04:00
|
|
|
background: hsla(0,0%,0%,.02) linear-gradient(hsla(0,0%,0%,.12), hsla(0,0%,0%,0)) border-box;
|
|
|
|
border-color: hsla(0,0%,0%,.3);
|
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.5),
|
|
|
|
0 1px 0 hsla(0,0%,0%,.05) inset,
|
|
|
|
0 1px 1px hsla(0,0%,0%,.2) inset;
|
|
|
|
transition-duration: 10ms;
|
|
|
|
}
|
|
|
|
|
2014-03-13 03:42:36 +04:00
|
|
|
toolbar .toolbarbutton-1[checked]:not(:active):hover {
|
|
|
|
background-color: hsla(0,0%,0%,.09);
|
|
|
|
transition: background-color 250ms;
|
|
|
|
}
|
|
|
|
|
2014-03-18 15:49:56 +04:00
|
|
|
.toolbarbutton-1[type="menu-button"]:not([overflowedItem=true]) {
|
2011-02-16 10:38:16 +03:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-06 20:29:12 +04:00
|
|
|
toolbar .toolbarbutton-1[type="menu-button"] {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2010-08-24 01:03:42 +04:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-20 14:06:41 +04:00
|
|
|
.toolbarbutton-1 {
|
2010-08-24 01:03:42 +04:00
|
|
|
margin: 0 4px;
|
|
|
|
}
|
|
|
|
|
2014-03-06 20:29:12 +04:00
|
|
|
toolbar .toolbarbutton-1:not([type="menu-button"]) {
|
|
|
|
margin: 0 2px;
|
|
|
|
}
|
|
|
|
|
2013-10-08 00:20:32 +04:00
|
|
|
/**
|
|
|
|
* Draw seperators before toolbar button dropmarkers, as well as between
|
2013-10-09 01:45:07 +04:00
|
|
|
* consecutive toolbarbutton-1's within a toolbaritem.
|
2013-10-08 00:20:32 +04:00
|
|
|
*/
|
2014-03-06 20:29:12 +04:00
|
|
|
toolbar .toolbaritem-combined-buttons > separator,
|
|
|
|
toolbar .toolbarbutton-1:not(:-moz-any([open],:hover)) > .toolbarbutton-menubutton-dropmarker::before {
|
2013-09-10 20:59:38 +04:00
|
|
|
content: "";
|
|
|
|
display: -moz-box;
|
2014-01-31 23:35:00 +04:00
|
|
|
position: relative;
|
2013-09-10 20:59:38 +04:00
|
|
|
top: calc(50% - 9px);
|
|
|
|
width: 1px;
|
|
|
|
height: 18px;
|
2014-03-13 02:37:12 +04:00
|
|
|
-moz-margin-start: -1px;
|
2014-03-06 20:29:12 +04:00
|
|
|
background-image: linear-gradient(hsla(0,0%,0%,.15) 0, hsla(0,0%,0%,.15) 18px);
|
2013-09-10 20:59:38 +04:00
|
|
|
background-clip: padding-box;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 1px 18px;
|
2014-03-06 20:29:12 +04:00
|
|
|
box-shadow: 0 0 0 1px hsla(0,0%,100%,.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar .toolbaritem-combined-buttons:hover > separator {
|
|
|
|
display: none;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2014-03-06 20:29:12 +04:00
|
|
|
toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
2014-01-31 23:35:00 +04:00
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
|
2014-03-06 20:29:12 +04:00
|
|
|
toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2014-03-13 02:29:52 +04:00
|
|
|
margin: 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-bar .toolbarbutton-1:not(#back-button):not(#forward-button) {
|
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 4px;
|
2014-03-06 20:29:12 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#nav-bar #PanelUI-button {
|
|
|
|
-moz-box-align: center;
|
2010-08-02 17:27:38 +04:00
|
|
|
}
|
|
|
|
|
2014-02-11 23:31:43 +04:00
|
|
|
#nav-bar #PanelUI-menu-button {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
2014-03-13 02:29:52 +04:00
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
2014-02-11 23:31:43 +04:00
|
|
|
-moz-margin-start: 9px;
|
|
|
|
-moz-margin-end: 7px;
|
|
|
|
}
|
|
|
|
|
2013-06-28 05:01:53 +04:00
|
|
|
@media not all and (min-resolution: 2dppx) {
|
2013-07-10 08:04:17 +04:00
|
|
|
%include ../shared/toolbarbuttons.inc.css
|
|
|
|
%include ../shared/menupanel.inc.css
|
2008-01-29 22:28:13 +03:00
|
|
|
|
2014-04-08 16:04:34 +04:00
|
|
|
#home-button.bookmark-item {
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#home-button.bookmark-item:not(@inAnyPanel@):-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url(chrome://browser/skin/Toolbar-inverted.png);
|
|
|
|
}
|
|
|
|
|
2013-06-28 05:01:53 +04:00
|
|
|
#back-button:hover:active:not([disabled="true"]) {
|
|
|
|
-moz-image-region: rect(18px, 36px, 36px, 18px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2010-08-02 17:27:38 +04:00
|
|
|
|
2013-06-28 05:01:53 +04:00
|
|
|
#forward-button:hover:active:not([disabled="true"]) {
|
|
|
|
-moz-image-region: rect(18px, 72px, 36px, 54px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2010-03-17 20:12:03 +03:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#home-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 126px, 36px, 108px);
|
|
|
|
}
|
2009-08-11 12:27:20 +04:00
|
|
|
|
2014-02-11 16:11:14 +04:00
|
|
|
#bookmarks-menu-button[buttonover]@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 144px, 36px, 126px);
|
2011-08-24 18:36:24 +04:00
|
|
|
}
|
|
|
|
|
2014-02-11 16:11:14 +04:00
|
|
|
#bookmarks-menu-button[starred][buttonover]@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 162px, 36px, 144px);
|
|
|
|
}
|
2010-11-05 19:04:28 +03:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2013-07-30 16:50:58 +04:00
|
|
|
-moz-image-region: rect(0px, 630px, 18px, 612px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker:hover:active:not([disabled="true"]) > .dropmarker-icon {
|
2013-07-30 16:50:58 +04:00
|
|
|
-moz-image-region: rect(18px, 630px, 36px, 612px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#history-panelmenu@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 180px, 36px, 162px);
|
2011-08-24 18:36:24 +04:00
|
|
|
}
|
2010-11-05 19:04:28 +03:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#downloads-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 198px, 36px, 180px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2010-08-02 17:27:38 +04:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#add-ons-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 216px, 36px, 198px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2006-09-22 04:47:18 +04:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#open-file-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 234px, 36px, 216px);
|
|
|
|
}
|
2008-01-28 03:53:12 +03:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#save-page-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 252px, 36px, 234px);
|
|
|
|
}
|
2008-04-23 16:08:52 +04:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#sync-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 270px, 36px, 252px);
|
|
|
|
}
|
2008-04-23 16:08:52 +04:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#feed-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 288px, 36px, 270px);
|
|
|
|
}
|
2011-01-18 10:28:29 +03:00
|
|
|
|
2013-08-28 15:10:00 +04:00
|
|
|
#social-share-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 306px, 36px, 288px);
|
|
|
|
}
|
2011-01-18 10:28:29 +03:00
|
|
|
|
2013-08-20 16:52:29 +04:00
|
|
|
#characterencoding-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 324px, 36px, 306px);
|
|
|
|
}
|
2011-01-18 10:28:29 +03:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#new-window-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 342px, 36px, 324px);
|
|
|
|
}
|
2011-02-04 11:09:04 +03:00
|
|
|
|
2014-04-26 00:08:31 +04:00
|
|
|
#e10s-button@toolbarButtonPressed@ {
|
|
|
|
-moz-image-region: rect(18px, 342px, 36px, 324px);
|
|
|
|
}
|
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#new-tab-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 360px, 36px, 342px);
|
|
|
|
}
|
2010-06-23 00:28:34 +04:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#privatebrowsing-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 378px, 36px, 360px);
|
|
|
|
}
|
2008-02-27 10:11:47 +03:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#find-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 396px, 36px, 378px);
|
|
|
|
}
|
2008-02-27 10:11:47 +03:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#print-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 414px, 36px, 396px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2014-03-20 14:06:41 +04:00
|
|
|
#restore-button@toolbarButtonPressed@,
|
2013-07-12 19:01:16 +04:00
|
|
|
#fullscreen-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 432px, 36px, 414px);
|
|
|
|
}
|
2008-04-23 16:08:52 +04:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#developer-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 450px, 36px, 432px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#preferences-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 468px, 36px, 450px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2008-04-29 21:12:51 +04:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#PanelUI-menu-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 486px, 36px, 468px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#cut-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 504px, 36px, 486px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#copy-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 522px, 36px, 504px);
|
|
|
|
}
|
2011-08-08 18:43:04 +04:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#paste-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 540px, 36px, 522px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2011-01-18 10:28:29 +03:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#zoom-out-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 558px, 36px, 540px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2008-04-29 21:12:51 +04:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#zoom-in-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 576px, 36px, 558px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2008-02-27 10:11:47 +03:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#webrtc-status-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 594px, 36px, 576px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2011-01-18 10:28:29 +03:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#nav-bar-overflow-button@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(18px, 612px, 36px, 594px);
|
|
|
|
}
|
2011-11-07 22:48:27 +04:00
|
|
|
|
2014-01-17 20:34:48 +04:00
|
|
|
#tabview-button@toolbarButtonPressed@ {
|
|
|
|
-moz-image-region: rect(18px, 648px, 36px, 630px);
|
|
|
|
}
|
|
|
|
|
2013-11-23 04:40:18 +04:00
|
|
|
#email-link-button@toolbarButtonPressed@ {
|
2014-02-03 01:01:41 +04:00
|
|
|
-moz-image-region: rect(18px, 666px, 36px, 648px);
|
2013-11-23 04:40:18 +04:00
|
|
|
}
|
|
|
|
|
2014-03-11 04:22:00 +04:00
|
|
|
#sidebar-button@toolbarButtonPressed@ {
|
|
|
|
-moz-image-region: rect(18px, 684px, 36px, 666px);
|
|
|
|
}
|
|
|
|
|
2013-06-28 05:01:53 +04:00
|
|
|
/**
|
|
|
|
* OSX has a unique set of icons when fullscreen is in the checked state.
|
|
|
|
*/
|
2011-11-07 22:48:27 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#fullscreen-button[checked="true"]:not([cui-areatype="menu-panel"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 432px, 54px, 414px);
|
|
|
|
}
|
2011-11-07 22:48:27 +04:00
|
|
|
|
2013-07-12 19:01:16 +04:00
|
|
|
#fullscreen-button[checked="true"]@toolbarButtonPressed@ {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(54px, 432px, 72px, 414px);
|
|
|
|
}
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
/* Whitelist built-in buttons, instead of .toolbarbutton-1,
|
|
|
|
to avoid potentially breaking add-on toolbar buttons. */
|
2011-11-07 22:48:27 +04:00
|
|
|
|
2013-07-30 16:50:58 +04:00
|
|
|
:-moz-any(@primaryToolbarButtons@),
|
2014-04-08 16:04:34 +04:00
|
|
|
#home-button.bookmark-item,
|
2013-10-23 00:26:09 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2012-09-30 08:56:40 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar@2x.png");
|
|
|
|
}
|
2011-11-07 22:48:27 +04:00
|
|
|
|
2014-03-18 23:26:09 +04:00
|
|
|
:-moz-any(@primaryToolbarButtons@):not(@inAnyPanel@):-moz-lwtheme-brighttext,
|
2014-04-08 16:04:34 +04:00
|
|
|
#home-button.bookmark-item:not(@inAnyPanel@):-moz-lwtheme-brighttext,
|
2014-03-18 23:26:09 +04:00
|
|
|
#bookmarks-menu-button:not(@inAnyPanel@):-moz-lwtheme-brighttext > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2013-06-28 05:01:53 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar-inverted@2x.png");
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
|
|
|
|
2013-06-28 05:01:53 +04:00
|
|
|
#back-button {
|
|
|
|
-moz-image-region: rect(0, 72px, 36px, 36px);
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
|
|
|
|
2013-06-28 05:01:53 +04:00
|
|
|
#back-button:hover:active:not([disabled="true"]) {
|
|
|
|
-moz-image-region: rect(36px, 72px, 72px, 36px);
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
|
|
|
|
2013-06-28 05:01:53 +04:00
|
|
|
#forward-button {
|
|
|
|
-moz-image-region: rect(0, 144px, 36px, 108px);
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
|
|
|
|
2013-06-28 05:01:53 +04:00
|
|
|
#forward-button:hover:active:not([disabled="true"]) {
|
|
|
|
-moz-image-region: rect(36px, 144px, 72px, 108px);
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
2011-08-08 18:43:04 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#home-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 252px, 36px, 216px);
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
2008-02-27 10:11:47 +03:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#home-button[cui-areatype="toolbar"]:hover:active {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 252px, 72px, 216px);
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
2008-04-23 16:08:52 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 288px, 36px, 252px);
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
2011-08-08 18:43:04 +04:00
|
|
|
|
2014-02-11 16:11:14 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"][buttonover]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 288px, 72px, 252px);
|
|
|
|
}
|
2008-04-23 16:08:52 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"][starred] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 324px, 36px, 288px);
|
|
|
|
}
|
2008-04-23 16:08:52 +04:00
|
|
|
|
2014-02-11 16:11:14 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"][starred][buttonover]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 324px, 72px, 288px);
|
|
|
|
}
|
2008-02-27 10:11:47 +03:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2013-07-30 16:50:58 +04:00
|
|
|
-moz-image-region: rect(0px, 1260px, 36px, 1224px);
|
|
|
|
}
|
2006-09-22 04:47:18 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker:hover:active:not([disabled="true"]) > .dropmarker-icon {
|
2013-07-30 16:50:58 +04:00
|
|
|
-moz-image-region: rect(36px, 1260px, 72px, 1224px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#history-panelmenu[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 360px, 36px, 324px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#history-panelmenu[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 360px, 72px, 324px);
|
|
|
|
}
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#downloads-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 396px, 36px, 360px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#downloads-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 396px, 72px, 360px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2006-09-22 04:47:18 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#add-ons-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 432px, 36px, 396px);
|
|
|
|
}
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#add-ons-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 432px, 72px, 396px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2010-02-21 17:50:10 +03:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#open-file-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 468px, 36px, 432px);
|
|
|
|
}
|
2008-02-27 10:11:47 +03:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#open-file-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 468px, 72px, 432px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2010-06-23 00:28:34 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#save-page-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 504px, 36px, 468px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#save-page-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 504px, 72px, 468px);
|
|
|
|
}
|
2010-06-29 12:04:22 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#sync-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 540px, 36px, 504px);
|
|
|
|
}
|
2011-02-19 13:35:02 +03:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#sync-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 540px, 72px, 504px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2014-03-18 18:10:00 +04:00
|
|
|
#sync-button[cui-areatype="toolbar"][status="active"],
|
|
|
|
#sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
|
|
|
|
list-style-image: url("chrome://browser/skin/syncProgress-toolbar@2x.png");
|
|
|
|
-moz-image-region: rect(0, 36px, 36px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
|
|
|
|
#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
|
|
|
|
list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted@2x.png");
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#feed-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 576px, 36px, 540px);
|
|
|
|
}
|
2010-06-29 12:04:22 +04:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#feed-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 576px, 72px, 540px);
|
|
|
|
}
|
2011-02-19 13:35:02 +03:00
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#social-share-button[cui-areatype="toolbar"] {
|
2013-08-28 15:10:00 +04:00
|
|
|
-moz-image-region: rect(0, 612px, 36px, 576px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#social-share-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-08-28 15:10:00 +04:00
|
|
|
-moz-image-region: rect(36px, 612px, 72px, 576px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#characterencoding-button[cui-areatype="toolbar"] {
|
2013-08-20 16:52:29 +04:00
|
|
|
-moz-image-region: rect(0, 648px, 36px, 612px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#characterencoding-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-08-20 16:52:29 +04:00
|
|
|
-moz-image-region: rect(36px, 648px, 72px, 612px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#new-window-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 684px, 36px, 648px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#new-window-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 684px, 72px, 648px);
|
|
|
|
}
|
|
|
|
|
2014-04-26 00:08:31 +04:00
|
|
|
#e10s-button[cui-areatype="toolbar"] {
|
|
|
|
-moz-image-region: rect(0, 684px, 36px, 648px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#e10s-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
|
|
|
-moz-image-region: rect(36px, 684px, 72px, 648px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#e10s-button > .toolbarbutton-icon {
|
|
|
|
transform: scaleY(-1);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#new-tab-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 720px, 36px, 684px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#new-tab-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 720px, 72px, 684px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#privatebrowsing-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 756px, 36px, 720px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#privatebrowsing-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 756px, 72px, 720px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#find-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 792px, 36px, 756px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#find-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 792px, 72px, 756px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#print-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 828px, 36px, 792px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#print-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 828px, 72px, 792px);
|
|
|
|
}
|
|
|
|
|
2014-03-20 14:06:41 +04:00
|
|
|
#restore-button,
|
2013-10-23 00:26:09 +04:00
|
|
|
#fullscreen-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 864px, 36px, 828px);
|
|
|
|
}
|
|
|
|
|
2014-03-20 14:06:41 +04:00
|
|
|
#restore-button:hover:active:not([disabled="true"]),
|
2013-10-23 00:26:09 +04:00
|
|
|
#fullscreen-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 864px, 72px, 828px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#fullscreen-button[cui-areatype="toolbar"][checked="true"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(72px, 864px, 108px, 828px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#fullscreen-button[cui-areatype="toolbar"][checked="true"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(108px, 864px, 144px, 828px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#developer-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 900px, 36px, 864px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#developer-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 900px, 72px, 864px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#preferences-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 936px, 36px, 900px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#preferences-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 936px, 72px, 900px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#PanelUI-menu-button {
|
|
|
|
-moz-image-region: rect(0, 972px, 36px, 936px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#PanelUI-menu-button:hover:active:not([disabled="true"]) {
|
|
|
|
-moz-image-region: rect(36px, 972px, 72px, 936px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#edit-controls[cui-areatype="toolbar"] > #cut-button {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 1008px, 36px, 972px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#edit-controls[cui-areatype="toolbar"] > #cut-button:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 1008px, 72px, 972px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#edit-controls[cui-areatype="toolbar"] > #copy-button {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 1044px, 36px, 1008px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#edit-controls[cui-areatype="toolbar"] > #copy-button:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 1044px, 72px, 1008px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#edit-controls[cui-areatype="toolbar"] > #paste-button {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 1080px, 36px, 1044px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#edit-controls[cui-areatype="toolbar"] > #paste-button:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 1080px, 72px, 1044px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#zoom-controls[cui-areatype="toolbar"] > #zoom-out-button {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 1116px, 36px, 1080px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#zoom-controls[cui-areatype="toolbar"] > #zoom-out-button:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 1116px, 72px, 1080px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#zoom-controls[cui-areatype="toolbar"] > #zoom-in-button {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 1152px, 36px, 1116px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#zoom-controls[cui-areatype="toolbar"] > #zoom-in-button:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 1152px, 72px, 1116px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#webrtc-status-button[cui-areatype="toolbar"] {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(0, 1188px, 36px, 1152px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#webrtc-status-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
2013-06-28 05:01:53 +04:00
|
|
|
-moz-image-region: rect(36px, 1188px, 72px, 1152px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-bar-overflow-button {
|
|
|
|
-moz-image-region: rect(0, 1224px, 36px, 1188px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-bar-overflow-button:hover:active:not([disabled="true"]) {
|
|
|
|
-moz-image-region: rect(36px, 1224px, 72px, 1188px);
|
|
|
|
}
|
|
|
|
|
2014-03-06 19:52:46 +04:00
|
|
|
#nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
|
|
|
|
2014-01-17 20:34:48 +04:00
|
|
|
#tabview-button {
|
|
|
|
-moz-image-region: rect(0, 1296px, 36px, 1260px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button@toolbarButtonPressed@ {
|
|
|
|
-moz-image-region: rect(36px, 1296px, 72px, 1260px);
|
|
|
|
}
|
|
|
|
|
2014-02-03 01:01:41 +04:00
|
|
|
#email-link-button[cui-areatype="toolbar"] {
|
|
|
|
-moz-image-region: rect(0, 1332px, 36px, 1296px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#email-link-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
|
|
|
-moz-image-region: rect(36px, 1332px, 72px, 1296px);
|
|
|
|
}
|
|
|
|
|
2014-03-11 04:22:00 +04:00
|
|
|
#sidebar-button[cui-areatype="toolbar"] {
|
|
|
|
-moz-image-region: rect(0, 1368px, 36px, 1332px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar-button[cui-areatype="toolbar"]:hover:active:not([disabled="true"]) {
|
|
|
|
-moz-image-region: rect(36px, 1368px, 72px, 1332px);
|
|
|
|
}
|
|
|
|
|
2014-01-17 20:34:48 +04:00
|
|
|
:-moz-any(@primaryToolbarButtons@) > .toolbarbutton-icon,
|
|
|
|
:-moz-any(@primaryToolbarButtons@) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
2013-06-28 05:01:53 +04:00
|
|
|
width: 18px;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-06-28 05:01:53 +04:00
|
|
|
/* Menu panel and palette styles */
|
|
|
|
|
2014-03-12 11:36:00 +04:00
|
|
|
toolbaritem[sdkstylewidget="true"] > toolbarbutton,
|
2013-10-23 00:26:09 +04:00
|
|
|
:-moz-any(@primaryToolbarButtons@)[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > :-moz-any(@primaryToolbarButtons@) {
|
|
|
|
list-style-image: url(chrome://browser/skin/menuPanel@2x.png);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#home-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #home-button {
|
|
|
|
-moz-image-region: rect(0px, 256px, 64px, 192px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
|
2014-03-13 18:55:47 +04:00
|
|
|
-moz-image-region: rect(0px, 384px, 64px, 320px);
|
2013-06-28 05:01:53 +04:00
|
|
|
}
|
|
|
|
|
2014-03-04 23:38:33 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
|
2014-03-13 18:55:47 +04:00
|
|
|
-moz-image-region: rect(64px, 384px, 128px, 320px);
|
2014-02-04 00:08:39 +04:00
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#history-panelmenu[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #history-panelmenu {
|
|
|
|
-moz-image-region: rect(0px, 448px, 64px, 384px);
|
|
|
|
}
|
|
|
|
|
2014-03-04 23:38:33 +04:00
|
|
|
#history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
|
2014-02-04 00:08:39 +04:00
|
|
|
-moz-image-region: rect(64px, 448px, 128px, 384px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#downloads-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #downloads-button {
|
|
|
|
-moz-image-region: rect(0px, 512px, 64px, 448px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#add-ons-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #add-ons-button {
|
|
|
|
-moz-image-region: rect(0px, 576px, 64px, 512px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#open-file-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #open-file-button {
|
|
|
|
-moz-image-region: rect(0px, 640px, 64px, 576px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#save-page-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #save-page-button {
|
|
|
|
-moz-image-region: rect(0px, 704px, 64px, 640px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#sync-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #sync-button {
|
|
|
|
-moz-image-region: rect(0px, 768px, 64px, 704px);
|
|
|
|
}
|
|
|
|
|
2014-03-18 18:10:00 +04:00
|
|
|
#sync-button[cui-areatype="menu-panel"][status="active"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/syncProgress-menuPanel@2x.png);
|
|
|
|
-moz-image-region: rect(0px, 64px, 64px, 0px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#feed-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #feed-button {
|
|
|
|
-moz-image-region: rect(0px, 832px, 64px, 768px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#social-share-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #social-share-button {
|
|
|
|
-moz-image-region: rect(0px, 896px, 64px, 832px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#characterencoding-button[cui-areatype="menu-panel"],
|
2013-08-20 16:52:29 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #characterencoding-button {
|
|
|
|
-moz-image-region: rect(0, 960px, 64px, 896px);
|
|
|
|
}
|
|
|
|
|
2014-03-04 23:38:33 +04:00
|
|
|
#characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
|
2014-02-04 00:08:39 +04:00
|
|
|
-moz-image-region: rect(64px, 960px, 128px, 896px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#new-window-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #new-window-button {
|
|
|
|
-moz-image-region: rect(0px, 1024px, 64px, 960px);
|
|
|
|
}
|
|
|
|
|
2014-04-26 00:08:31 +04:00
|
|
|
#e10s-button[cui-areatype="menu-panel"],
|
|
|
|
toolbarpaletteitem[place="palette"] > #e10s-button {
|
|
|
|
-moz-image-region: rect(0px, 1024px, 64px, 960px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#new-tab-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #new-tab-button {
|
|
|
|
-moz-image-region: rect(0px, 1088px, 64px, 1024px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#privatebrowsing-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
|
|
|
|
-moz-image-region: rect(0px, 1152px, 64px, 1088px);
|
|
|
|
}
|
|
|
|
|
2014-01-17 20:34:48 +04:00
|
|
|
#tabview-button[cui-areatype="menu-panel"],
|
|
|
|
toolbarpaletteitem[place="palette"] > #tabview-button {
|
|
|
|
-moz-image-region: rect(0px, 1216px, 64px, 1152px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#find-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #find-button {
|
|
|
|
-moz-image-region: rect(0px, 1280px, 64px, 1216px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#print-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #print-button {
|
|
|
|
-moz-image-region: rect(0px, 1344px, 64px, 1280px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#fullscreen-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #fullscreen-button {
|
|
|
|
-moz-image-region: rect(0px, 1408px, 64px, 1344px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#developer-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #developer-button {
|
|
|
|
-moz-image-region: rect(0px, 1472px, 64px, 1408px);
|
|
|
|
}
|
|
|
|
|
2014-03-04 23:38:33 +04:00
|
|
|
#developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
|
2014-02-04 00:08:39 +04:00
|
|
|
-moz-image-region: rect(64px, 1472px, 128px, 1408px);
|
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#preferences-button[cui-areatype="menu-panel"],
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #preferences-button {
|
|
|
|
-moz-image-region: rect(0px, 1536px, 64px, 1472px);
|
|
|
|
}
|
|
|
|
|
2013-11-23 04:40:18 +04:00
|
|
|
#email-link-button[cui-areatype="menu-panel"],
|
|
|
|
toolbarpaletteitem[place="palette"] > #email-link-button {
|
2014-01-31 09:37:33 +04:00
|
|
|
-moz-image-region: rect(0px, 1600px, 64px, 1536px);
|
2013-11-23 04:40:18 +04:00
|
|
|
}
|
|
|
|
|
2014-03-11 04:22:00 +04:00
|
|
|
#sidebar-button[cui-areatype="menu-panel"],
|
|
|
|
toolbarpaletteitem[place="palette"] > #sidebar-button {
|
|
|
|
-moz-image-region: rect(0px, 1728px, 64px, 1664px);
|
|
|
|
}
|
|
|
|
|
2014-03-12 11:36:00 +04:00
|
|
|
toolbaritem[sdkstylewidget="true"] > toolbarbutton {
|
|
|
|
-moz-image-region: rect(0, 1664px, 64px, 1600px);
|
|
|
|
}
|
|
|
|
|
2013-06-25 19:05:24 +04:00
|
|
|
/* Footer and wide panel control icons */
|
2013-09-18 16:48:19 +04:00
|
|
|
#edit-controls@inAnyPanel@ > toolbarbutton,
|
|
|
|
#zoom-controls@inAnyPanel@ > toolbarbutton,
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
|
|
|
|
toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
|
|
|
|
list-style-image: url(chrome://browser/skin/menuPanel-small@2x.png);
|
|
|
|
}
|
|
|
|
|
2014-01-26 08:23:16 +04:00
|
|
|
/* Wide items like the Cut/Copy/Paste and Zoom controls are special in that their icons
|
|
|
|
are 16x16 when in the panel, but 18x18 when in a toolbar. */
|
|
|
|
#edit-controls@inAnyPanel@ > toolbarbutton > .toolbarbutton-icon,
|
|
|
|
#zoom-controls@inAnyPanel@ > toolbarbutton > .toolbarbutton-icon,
|
|
|
|
toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
|
|
|
|
toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
2013-09-18 16:48:19 +04:00
|
|
|
#edit-controls@inAnyPanel@ > #cut-button,
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
|
|
|
|
-moz-image-region: rect(0px, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
|
2013-09-18 16:48:19 +04:00
|
|
|
#edit-controls@inAnyPanel@ > #copy-button,
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
|
|
|
|
-moz-image-region: rect(0px, 96px, 32px, 64px);
|
|
|
|
}
|
|
|
|
|
2013-09-18 16:48:19 +04:00
|
|
|
#edit-controls@inAnyPanel@ > #paste-button,
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
|
|
|
|
-moz-image-region: rect(0px, 128px, 32px, 96px);
|
|
|
|
}
|
|
|
|
|
2013-09-18 16:48:19 +04:00
|
|
|
#zoom-controls@inAnyPanel@ > #zoom-out-button,
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
|
|
|
|
-moz-image-region: rect(0px, 160px, 32px, 128px);
|
|
|
|
}
|
|
|
|
|
2013-09-18 16:48:19 +04:00
|
|
|
#zoom-controls@inAnyPanel@ > #zoom-in-button,
|
2013-06-28 05:01:53 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
|
|
|
|
-moz-image-region: rect(0px, 192px, 32px, 160px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2013-06-25 19:05:24 +04:00
|
|
|
|
2014-02-15 03:34:20 +04:00
|
|
|
#PanelUI-fxa-status > .toolbarbutton-icon,
|
2013-09-17 14:26:47 +04:00
|
|
|
#PanelUI-quit > .toolbarbutton-icon,
|
2013-08-15 21:54:10 +04:00
|
|
|
#PanelUI-customize > .toolbarbutton-icon,
|
|
|
|
#PanelUI-help > .toolbarbutton-icon {
|
2013-06-25 19:05:24 +04:00
|
|
|
width: 16px;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2010-09-11 01:51:14 +04:00
|
|
|
}
|
|
|
|
|
2014-01-23 00:59:47 +04:00
|
|
|
toolbar .toolbarbutton-1:not([type="menu-button"]),
|
2014-03-20 14:06:41 +04:00
|
|
|
toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
|
2010-06-23 00:28:34 +04:00
|
|
|
min-width: 28px;
|
2010-09-11 01:51:14 +04:00
|
|
|
}
|
|
|
|
|
2014-02-08 01:36:16 +04:00
|
|
|
/* Help 16px icons fit: */
|
2014-03-13 02:29:52 +04:00
|
|
|
.toolbarbutton-1[cui-areatype="toolbar"]:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon {
|
2010-12-31 15:05:13 +03:00
|
|
|
margin: 2px;
|
2010-09-11 01:51:14 +04:00
|
|
|
}
|
|
|
|
|
2014-02-08 01:36:16 +04:00
|
|
|
/* Help SDK icons fit: */
|
|
|
|
toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
2013-06-13 15:40:41 +04:00
|
|
|
#main-window:not([customizing]) .toolbarbutton-1[disabled="true"] > .toolbarbutton-icon,
|
|
|
|
#main-window:not([customizing]) .toolbarbutton-1[disabled="true"] > .toolbarbutton-badge-container > .toolbarbutton-icon,
|
2014-03-20 14:06:41 +04:00
|
|
|
#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon {
|
2010-06-23 00:28:34 +04:00
|
|
|
opacity: .4;
|
2010-09-11 01:51:14 +04:00
|
|
|
}
|
|
|
|
|
2011-08-24 18:36:24 +04:00
|
|
|
@media (-moz-mac-lion-theme) {
|
2013-06-13 15:40:41 +04:00
|
|
|
#main-window:not([customizing]) .toolbarbutton-1[disabled="true"] > .toolbarbutton-icon,
|
|
|
|
#main-window:not([customizing]) .toolbarbutton-1[disabled="true"] > .toolbarbutton-badge-container > .toolbarbutton-icon,
|
|
|
|
#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[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,
|
2011-08-24 18:36:24 +04:00
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-icon,
|
2013-10-19 02:10:26 +04:00
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-text,
|
2013-04-18 00:25:46 +04:00
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-badge-container > .toolbarbutton-icon,
|
2011-08-24 18:36:24 +04:00
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menu-dropmarker,
|
2013-05-13 16:59:18 +04:00
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
|
2013-04-23 18:06:17 +04:00
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
2011-08-24 18:36:24 +04:00
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
2013-06-13 15:40:41 +04:00
|
|
|
#main-window:not([customizing]) .toolbarbutton-1:-moz-window-inactive[disabled="true"] > .toolbarbutton-icon,
|
|
|
|
#main-window:not([customizing]) .toolbarbutton-1:-moz-window-inactive[disabled="true"] > .toolbarbutton-badge-container > .toolbarbutton-icon,
|
2014-03-20 14:06:41 +04:00
|
|
|
#main-window:not([customizing]) .toolbarbutton-1:-moz-window-inactive > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon {
|
2011-08-24 18:36:24 +04:00
|
|
|
opacity: .25;
|
|
|
|
}
|
2010-06-29 12:04:22 +04:00
|
|
|
}
|
|
|
|
|
2010-11-05 19:04:28 +03:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
|
2010-08-24 01:03:42 +04:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
2010-06-23 00:28:34 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker.png);
|
2011-02-19 13:35:02 +03:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
|
|
list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker@2x.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menu-dropmarker > .dropmarker-icon,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
|
|
|
width: 7px;
|
|
|
|
}
|
2011-02-19 13:35:02 +03:00
|
|
|
}
|
|
|
|
|
2010-11-05 19:04:28 +03:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
|
|
|
|
-moz-margin-end: 1px;
|
2011-02-19 13:35:02 +03:00
|
|
|
}
|
|
|
|
|
2014-03-06 20:29:12 +04:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button {
|
|
|
|
-moz-border-end: none !important;
|
2011-02-19 13:35:02 +03:00
|
|
|
}
|
|
|
|
|
2010-08-24 01:03:42 +04:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-locale-dir(rtl),
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(ltr) {
|
2010-09-09 19:21:47 +04:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2011-02-19 13:35:02 +03:00
|
|
|
}
|
|
|
|
|
2010-08-24 01:03:42 +04:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-locale-dir(ltr),
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(rtl) {
|
2010-09-09 19:21:47 +04:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2010-09-11 01:51:14 +04:00
|
|
|
}
|
2006-09-22 04:47:18 +04:00
|
|
|
|
2010-06-23 00:28:34 +04:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-text,
|
2010-08-24 01:03:42 +04:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text {
|
2010-06-23 00:28:34 +04:00
|
|
|
margin: 2px 0 0;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2013-04-24 21:26:01 +04:00
|
|
|
.toolbarbutton-1 > menupopup {
|
2010-08-05 14:05:22 +04:00
|
|
|
margin-top: 1px;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2014-02-13 21:07:22 +04:00
|
|
|
.toolbarbutton-1 > menupopup.cui-widget-panel {
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
|
2013-06-14 00:38:47 +04:00
|
|
|
/* Common back and forward button styles */
|
2006-09-22 04:47:18 +04:00
|
|
|
|
2011-01-27 10:00:51 +03:00
|
|
|
#back-button,
|
2013-06-14 00:38:47 +04:00
|
|
|
#forward-button {
|
|
|
|
background: linear-gradient(rgba(255,255,255,0.5),
|
|
|
|
rgba(255,255,255,0.2) 50%,
|
|
|
|
rgba(255,255,255,0.1) 50%,
|
|
|
|
rgba(255,255,255,0.2)) repeat-x;
|
2006-09-22 04:47:18 +04:00
|
|
|
}
|
2008-01-28 03:53:12 +03:00
|
|
|
|
2013-06-14 00:38:47 +04:00
|
|
|
#back-button:-moz-lwtheme,
|
|
|
|
#forward-button:-moz-lwtheme {
|
|
|
|
background-origin: border-box;
|
|
|
|
border: 1px solid rgba(0,0,0,0.4);
|
|
|
|
box-shadow: inset 0 1px rgba(255,255,255,0.3), 0 1px rgba(255,255,255,0.2);
|
2008-01-28 03:53:12 +03:00
|
|
|
}
|
|
|
|
|
2013-06-14 00:38:47 +04:00
|
|
|
#back-button:active:hover:-moz-lwtheme,
|
|
|
|
#forward-button:active:hover:-moz-lwtheme {
|
|
|
|
background-color: rgba(0,0,0,0.2);
|
|
|
|
box-shadow: inset 0 2px 5px rgba(0,0,0,0.6), 0 1px rgba(255,255,255,0.2);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-06-14 00:38:47 +04:00
|
|
|
#back-button:-moz-window-inactive,
|
|
|
|
#forward-button:-moz-window-inactive {
|
|
|
|
background-color: rgba(0,0,0,0.04);
|
|
|
|
border-color: rgba(0,0,0,0.2);
|
2011-02-19 13:35:02 +03:00
|
|
|
}
|
2006-09-22 04:47:18 +04:00
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
#back-button:-moz-locale-dir(rtl) {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2008-01-28 03:53:12 +03:00
|
|
|
}
|
|
|
|
|
2013-06-14 00:38:47 +04:00
|
|
|
/* Back button styles */
|
2006-09-22 04:47:18 +04:00
|
|
|
|
2013-07-18 20:46:28 +04:00
|
|
|
#back-button {
|
2014-03-18 18:37:00 +04:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2010-06-23 00:28:34 +04:00
|
|
|
padding: 4px 5px 4px 3px;
|
2014-04-23 21:26:32 +04:00
|
|
|
-moz-margin-end: 0;
|
2010-09-09 19:21:47 +04:00
|
|
|
border-radius: 10000px;
|
2008-01-28 03:53:12 +03:00
|
|
|
}
|
|
|
|
|
2013-07-18 20:46:28 +04:00
|
|
|
#back-button:not(:-moz-lwtheme) {
|
2014-03-18 18:37:00 +04:00
|
|
|
height: 33px;
|
2011-08-08 18:43:04 +04:00
|
|
|
padding: 4px 5px 5px 3px;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
background: url(chrome://browser/skin/keyhole-circle.png) 0 0 no-repeat;
|
2013-05-10 19:19:48 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-07-18 20:46:28 +04:00
|
|
|
#back-button:not(:-moz-lwtheme) {
|
2012-09-30 08:56:40 +04:00
|
|
|
background-image: url(chrome://browser/skin/keyhole-circle@2x.png);
|
2014-03-18 18:37:00 +04:00
|
|
|
background-size: 96px;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-18 20:46:28 +04:00
|
|
|
#back-button:-moz-window-inactive:not(:-moz-lwtheme) {
|
2014-03-18 18:37:00 +04:00
|
|
|
background-position: -64px 0;
|
2011-08-08 18:43:04 +04:00
|
|
|
}
|
2013-05-10 19:19:48 +04:00
|
|
|
|
2013-07-18 20:46:28 +04:00
|
|
|
#back-button:not([disabled="true"]):active:hover:not(:-moz-lwtheme),
|
|
|
|
#back-button[open="true"]:not(:-moz-lwtheme) {
|
2014-03-18 18:37:00 +04:00
|
|
|
background-position: -32px 0;
|
2006-09-22 04:47:18 +04:00
|
|
|
}
|
2013-05-10 19:19:48 +04:00
|
|
|
|
2013-06-14 00:38:47 +04:00
|
|
|
/* Forward button styles */
|
|
|
|
|
2013-04-24 21:26:01 +04:00
|
|
|
#forward-button {
|
2014-04-23 21:26:32 +04:00
|
|
|
margin-left: -2px;
|
|
|
|
margin-right: 0;
|
|
|
|
padding-left: 2px;
|
2014-03-18 18:37:00 +04:00
|
|
|
width: 32px;
|
2013-05-10 19:19:48 +04:00
|
|
|
}
|
|
|
|
|
2013-07-18 20:46:28 +04:00
|
|
|
#forward-button > .toolbarbutton-icon {
|
2011-08-08 18:43:04 +04:00
|
|
|
/* shift the icon away from the back button */
|
|
|
|
margin-left: 3px;
|
|
|
|
margin-right: -1px;
|
2010-06-24 21:08:43 +04:00
|
|
|
}
|
|
|
|
|
2013-07-18 20:46:28 +04:00
|
|
|
#forward-button:not(:-moz-lwtheme) {
|
2013-01-05 19:00:32 +04:00
|
|
|
background: linear-gradient(hsl(0,0%,99%), hsl(0,0%,67%)) padding-box;
|
2011-11-07 22:48:27 +04:00
|
|
|
border: 1px solid;
|
|
|
|
border-color: hsl(0,0%,31%) hsla(0,0%,29%,.6) hsl(0,0%,27%);
|
|
|
|
box-shadow: inset 0 1px 0 hsla(0,0%,100%,.35),
|
|
|
|
0 1px 0 hsla(0,0%,100%,.2);
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2013-07-18 20:46:28 +04:00
|
|
|
#forward-button:hover:active:not(:-moz-lwtheme) {
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: linear-gradient(hsl(0,0%,74%), hsl(0,0%,61%));
|
2011-11-07 22:48:27 +04:00
|
|
|
box-shadow: inset rgba(0,0,0,.3) 0 -6px 10px,
|
|
|
|
inset #000 0 1px 3px,
|
|
|
|
inset rgba(0,0,0,.2) 0 1px 3px,
|
|
|
|
0 1px 0 hsla(0,0%,100%,.2);
|
2008-01-28 03:53:12 +03:00
|
|
|
}
|
2009-01-23 11:13:13 +03:00
|
|
|
|
2013-07-18 20:46:28 +04:00
|
|
|
#forward-button:-moz-window-inactive:not(:-moz-lwtheme) {
|
2011-11-07 22:48:27 +04:00
|
|
|
border-color: hsl(0,0%,64%) hsl(0,0%,65%) hsl(0,0%,66%);
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: linear-gradient(hsl(0,0%,99%), hsl(0,0%,82%));
|
2011-11-07 22:48:27 +04:00
|
|
|
box-shadow: inset 0 1px 0 hsla(0,0%,100%,.35);
|
2009-01-23 11:13:13 +03:00
|
|
|
}
|
|
|
|
|
2011-11-07 22:48:27 +04:00
|
|
|
@media (-moz-mac-lion-theme) {
|
2013-07-18 20:46:28 +04:00
|
|
|
#forward-button:not(:-moz-lwtheme) {
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: linear-gradient(hsla(0,0%,100%,.73), hsla(0,0%,100%,.05) 85%);
|
2011-11-07 22:48:27 +04:00
|
|
|
border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.25) hsla(0,0%,0%,.2);
|
|
|
|
box-shadow: inset 0 1px 0 hsla(0,0%,100%,.2),
|
|
|
|
inset 0 0 1px hsla(0,0%,100%,.1),
|
|
|
|
0 1px 0 hsla(0,0%,100%,.2);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2006-09-22 04:47:18 +04:00
|
|
|
|
2013-07-18 20:46:28 +04:00
|
|
|
#forward-button:hover:active:not(:-moz-lwtheme) {
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: linear-gradient(hsla(0,0%,60%,.37), hsla(0,0%,100%,.35) 95%);
|
2011-11-07 22:48:27 +04:00
|
|
|
border-color: hsla(0,0%,0%,.43) hsla(0,0%,0%,.25) hsla(0,0%,0%,.37);
|
|
|
|
box-shadow: inset 0 1px 0 hsla(0,0%,0%,.02),
|
|
|
|
inset 0 1px 2px hsla(0,0%,0%,.2),
|
|
|
|
0 1px 0 hsla(0,0%,100%,.2);
|
2013-05-10 19:19:48 +04:00
|
|
|
}
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2013-07-18 20:46:28 +04:00
|
|
|
#forward-button:-moz-window-inactive:not(:-moz-lwtheme) {
|
2011-11-07 22:48:27 +04:00
|
|
|
background-image: none;
|
|
|
|
border-color: hsla(0,0%,0%,.2);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button {
|
|
|
|
transition: margin-left @forwardTransitionLength@ ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button[disabled] {
|
|
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@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;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] {
|
|
|
|
/* when not hovered anymore, trigger a new transition to hide the forward button immediately */
|
|
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@.01px;
|
|
|
|
}
|
|
|
|
|
2010-06-23 00:28:34 +04:00
|
|
|
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
|
|
|
|
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("chrome://browser/skin/menu-back.png") !important;
|
2006-09-22 04:47:18 +04:00
|
|
|
}
|
|
|
|
|
2010-06-23 00:28:34 +04:00
|
|
|
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
|
|
|
|
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2010-06-23 00:28:34 +04:00
|
|
|
/* home button */
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2008-02-27 10:11:47 +03:00
|
|
|
#home-button.bookmark-item {
|
2014-04-02 14:52:16 +04:00
|
|
|
/* We need to use !important here, because other selectors that apply padding
|
|
|
|
are more specific. */
|
|
|
|
padding-top: 0 !important;
|
|
|
|
padding-bottom: 0 !important;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2008-02-27 10:11:47 +03:00
|
|
|
#home-button.bookmark-item > .toolbarbutton-icon {
|
|
|
|
display: -moz-box !important;
|
2010-02-21 17:50:10 +03:00
|
|
|
-moz-margin-start: -2px;
|
|
|
|
-moz-margin-end: 3px;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2014-01-17 20:34:48 +04:00
|
|
|
/* tabview menu item */
|
2004-06-19 01:33:39 +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);
|
2006-09-22 04:47:18 +04:00
|
|
|
}
|
2010-06-23 00:28:34 +04:00
|
|
|
|
2011-02-19 13:35:02 +03:00
|
|
|
#menu_tabview {
|
|
|
|
-moz-image-region: rect(2px, 98px, 18px, 82px);
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2011-02-19 13:35:02 +03:00
|
|
|
#menu_tabview[groups="0"] {
|
|
|
|
-moz-image-region: rect(2px, 18px, 18px, 2px);
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
2009-09-04 01:36:32 +04:00
|
|
|
|
2011-02-19 13:35:02 +03:00
|
|
|
#menu_tabview[groups="1"] {
|
|
|
|
-moz-image-region: rect(2px, 38px, 18px, 22px);
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
|
2011-02-19 13:35:02 +03:00
|
|
|
#menu_tabview[groups="2"] {
|
|
|
|
-moz-image-region: rect(2px, 58px, 18px, 42px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2011-02-19 13:35:02 +03:00
|
|
|
#menu_tabview[groups="3"] {
|
|
|
|
-moz-image-region: rect(2px, 78px, 18px, 62px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
2010-09-11 14:07:47 +04:00
|
|
|
|
2004-06-19 01:33:39 +04:00
|
|
|
#cut-button {
|
2013-06-04 14:33:13 +04:00
|
|
|
-moz-margin-end: 0;
|
2010-09-11 14:07:47 +04:00
|
|
|
}
|
|
|
|
|
2014-03-06 20:29:12 +04:00
|
|
|
#edit-controls[cui-areatype="toolbar"] > #cut-button {
|
|
|
|
-moz-border-end: 0;
|
|
|
|
}
|
|
|
|
|
2004-06-19 01:33:39 +04:00
|
|
|
#paste-button {
|
2013-06-04 14:33:13 +04:00
|
|
|
-moz-border-start: none;
|
|
|
|
-moz-margin-start: 0;
|
2010-09-11 14:07:47 +04:00
|
|
|
}
|
|
|
|
|
2013-06-04 14:33:13 +04:00
|
|
|
#cut-button:-moz-locale-dir(ltr),
|
|
|
|
#paste-button:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2010-09-11 14:07:47 +04:00
|
|
|
}
|
|
|
|
|
2013-06-04 14:33:13 +04:00
|
|
|
#cut-button:-moz-locale-dir(rtl),
|
|
|
|
#paste-button:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2010-09-11 14:07:47 +04:00
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
|
2013-06-04 14:33:13 +04:00
|
|
|
#copy-button {
|
|
|
|
border-radius: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 0;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2010-09-11 14:07:47 +04:00
|
|
|
/* zoom controls */
|
2012-09-30 08:56:40 +04:00
|
|
|
|
2010-09-11 14:07:47 +04:00
|
|
|
#zoom-out-button {
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
2013-04-24 21:26:01 +04:00
|
|
|
#zoom-in-button {
|
2010-09-11 14:07:47 +04:00
|
|
|
-moz-margin-start: 0;
|
2014-03-06 20:29:12 +04:00
|
|
|
-moz-border-start: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zoom-controls[cui-areatype="toolbar"] > #zoom-out-button {
|
|
|
|
-moz-border-end: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zoom-controls[cui-areatype="toolbar"] > #zoom-in-button {
|
|
|
|
-moz-border-start-width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zoom-controls[cui-areatype="toolbar"] > #zoom-reset-button {
|
|
|
|
border-radius: 0;
|
2010-09-11 14:07:47 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#zoom-out-button:-moz-locale-dir(ltr),
|
|
|
|
#zoom-in-button:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zoom-out-button:-moz-locale-dir(rtl),
|
|
|
|
#zoom-in-button:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-04 23:38:33 +04:00
|
|
|
#zoom-controls[cui-areatype="toolbar"]:not([overflowedItem=true]) > #zoom-reset-button {
|
2013-10-30 23:41:11 +04:00
|
|
|
min-width: 0;
|
2013-10-19 02:10:26 +04:00
|
|
|
margin: 0;
|
2014-04-02 17:47:55 +04:00
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
-moz-box-align: center;
|
2013-10-19 02:10:26 +04:00
|
|
|
}
|
2010-09-16 15:23:13 +04:00
|
|
|
|
2014-03-04 23:38:33 +04:00
|
|
|
#zoom-controls[cui-areatype="toolbar"]:not([overflowedItem=true]) > #zoom-reset-button > .toolbarbutton-text {
|
2014-04-02 17:47:55 +04:00
|
|
|
margin-top: 0;
|
2010-09-10 21:00:55 +04:00
|
|
|
}
|
|
|
|
|
2009-09-04 01:36:32 +04:00
|
|
|
/* ----- FULLSCREEN WINDOW CONTROLS ----- */
|
|
|
|
|
|
|
|
#minimize-button,
|
|
|
|
#close-button,
|
|
|
|
#fullscreen-button ~ #window-controls > #restore-button {
|
|
|
|
display: none;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: nav-bar-inner ::::: */
|
|
|
|
|
2010-06-23 00:29:22 +04:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
2010-02-21 18:03:52 +03:00
|
|
|
font: icon;
|
2010-02-21 18:03:48 +03:00
|
|
|
-moz-appearance: none;
|
2011-03-19 00:21:02 +03:00
|
|
|
box-shadow: 0 1px rgba(255, 255, 255, 0.2), inset 0 1px hsla(0,0%,0%,.05);
|
2010-06-23 00:28:34 +04:00
|
|
|
margin: 0 4px;
|
2014-03-18 18:37:00 +04:00
|
|
|
padding: 1px 0;
|
2011-01-21 00:43:32 +03:00
|
|
|
border: 1px solid;
|
|
|
|
border-color: #626262 #787878 #8c8c8c;
|
|
|
|
background-clip: padding-box;
|
2008-01-28 03:53:12 +03:00
|
|
|
}
|
|
|
|
|
2011-09-02 21:07:57 +04:00
|
|
|
@media (-moz-mac-lion-theme) {
|
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: linear-gradient(hsl(0,0%,97%), hsl(0,0%,100%));
|
2011-09-02 21:07:57 +04:00
|
|
|
border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.25) hsla(0,0%,0%,.15);
|
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.2),
|
|
|
|
inset 0 0 1px hsla(0,0%,0%,.05),
|
|
|
|
inset 0 1px 2px hsla(0,0%,0%,.1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media not all and (-moz-mac-lion-theme) {
|
|
|
|
#urlbar:-moz-window-inactive,
|
|
|
|
.searchbar-textbox:-moz-window-inactive {
|
|
|
|
border-color: @toolbarbuttonInactiveBorderColor@;
|
|
|
|
}
|
2010-02-21 18:03:55 +03:00
|
|
|
}
|
|
|
|
|
2010-06-23 00:29:22 +04:00
|
|
|
#urlbar[focused="true"],
|
|
|
|
.searchbar-textbox[focused="true"] {
|
2011-01-21 00:43:32 +03:00
|
|
|
border-color: -moz-mac-focusring;
|
2010-09-11 20:27:12 +04:00
|
|
|
box-shadow: @focusRingShadow@;
|
2010-02-21 18:03:55 +03:00
|
|
|
}
|
|
|
|
|
2013-10-11 18:11:54 +04:00
|
|
|
#urlbar-container {
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2010-06-23 00:29:22 +04:00
|
|
|
#urlbar {
|
2011-09-24 15:03:09 +04:00
|
|
|
-moz-padding-end: 4px;
|
2010-09-09 19:21:47 +04:00
|
|
|
border-radius: @toolbarbuttonCornerRadius@;
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar {
|
2011-11-07 22:48:27 +04:00
|
|
|
-moz-border-start: none;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(ltr) {
|
2011-11-07 22:48:27 +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) {
|
2011-11-07 22:48:27 +04:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ {
|
|
|
|
clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");
|
|
|
|
-moz-margin-start: -6px;
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl),
|
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) {
|
|
|
|
/* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
|
|
|
|
transform: scaleX(-1);
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-direction: reverse;
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
|
|
|
|
2010-02-21 18:03:48 +03:00
|
|
|
#identity-box {
|
2011-03-19 00:21:02 +03:00
|
|
|
-moz-margin-end: 3px;
|
2012-04-21 11:03:44 +04:00
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
-moz-padding-start: 4px;
|
|
|
|
-moz-padding-end: 0;
|
2012-05-07 21:17:55 +04:00
|
|
|
font-size: .9em;
|
2009-06-11 04:36:54 +04:00
|
|
|
}
|
|
|
|
|
2011-03-19 00:21:02 +03:00
|
|
|
#identity-box:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 2px;
|
|
|
|
border-bottom-left-radius: 2px;
|
2010-09-08 15:39:35 +04:00
|
|
|
}
|
|
|
|
|
2011-03-19 00:21:02 +03:00
|
|
|
#identity-box:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 2px;
|
|
|
|
border-bottom-right-radius: 2px;
|
2010-09-08 15:39:35 +04:00
|
|
|
}
|
|
|
|
|
2011-11-07 22:48:27 +04:00
|
|
|
#notification-popup-box:not([hidden]) + #identity-box {
|
|
|
|
-moz-padding-start: 10px;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar > #identity-box {
|
2011-11-07 22:48:27 +04:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:not([switchingtabs]) > #urlbar > #identity-box {
|
|
|
|
transition: padding-left, padding-right;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
|
2011-11-07 22:48:27 +04:00
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
|
2011-11-07 22:48:27 +04:00
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box {
|
|
|
|
/* forward button hiding is delayed when hovered */
|
2012-07-11 06:13:55 +04:00
|
|
|
transition-delay: 100s;
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
|
2011-11-07 22:48:27 +04:00
|
|
|
padding-left: 10.01px;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] + #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
|
2011-11-07 22:48:27 +04:00
|
|
|
padding-right: 10.01px;
|
|
|
|
}
|
|
|
|
|
2013-06-29 07:22:41 +04:00
|
|
|
#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
|
2012-05-28 02:29:07 +04:00
|
|
|
#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
|
2012-04-21 11:03:44 +04:00
|
|
|
-moz-padding-end: 4px;
|
2011-03-19 00:21:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#identity-box:-moz-focusring {
|
|
|
|
box-shadow: 0 0 2px 1px -moz-mac-focusring inset,
|
|
|
|
0 0 2px 2px -moz-mac-focusring;
|
|
|
|
-moz-border-end-style: none;
|
|
|
|
-moz-padding-end: 5px;
|
2010-02-21 18:03:55 +03:00
|
|
|
}
|
|
|
|
|
2010-06-23 00:29:22 +04:00
|
|
|
#identity-icon-labels {
|
2012-04-21 11:03:44 +04:00
|
|
|
-moz-margin-start: 4px;
|
2010-02-21 18:03:52 +03:00
|
|
|
}
|
|
|
|
|
2010-09-15 09:41:16 +04:00
|
|
|
.urlbar-input-box {
|
2010-06-23 00:29:22 +04:00
|
|
|
-moz-margin-start: 0;
|
|
|
|
padding: 3px 0 2px;
|
2008-01-28 03:53:12 +03:00
|
|
|
}
|
|
|
|
|
2011-09-24 15:03:09 +04:00
|
|
|
.urlbar-history-dropmarker {
|
|
|
|
padding: 0 3px;
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-history-dropmarker.png");
|
|
|
|
-moz-image-region: rect(0px, 11px, 14px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.urlbar-history-dropmarker[open="true"],
|
|
|
|
.urlbar-history-dropmarker:hover:active {
|
|
|
|
-moz-image-region: rect(0px, 22px, 14px, 11px);
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0));
|
2011-09-24 15:03:09 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.urlbar-history-dropmarker {
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-history-dropmarker@2x.png");
|
|
|
|
-moz-image-region: rect(0px, 22px, 28px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.urlbar-history-dropmarker[open="true"],
|
|
|
|
.urlbar-history-dropmarker:hover:active {
|
|
|
|
-moz-image-region: rect(0px, 44px, 28px, 22px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.urlbar-history-dropmarker > .dropmarker-icon {
|
|
|
|
width: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-01-28 03:53:12 +03:00
|
|
|
#urlbar-icons {
|
|
|
|
-moz-box-align: center;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2011-09-24 15:03:09 +04:00
|
|
|
.urlbar-icon {
|
2012-10-24 09:16:18 +04:00
|
|
|
padding: 0 3px;
|
2011-09-24 15:03:09 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.urlbar-icon[open="true"],
|
|
|
|
.urlbar-icon:hover:active {
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0));
|
2011-09-24 15:03:09 +04:00
|
|
|
}
|
|
|
|
|
2008-01-10 12:16:24 +03:00
|
|
|
#urlbar-search-splitter {
|
2009-06-03 20:02:32 +04:00
|
|
|
min-width: 8px;
|
|
|
|
width: 8px;
|
|
|
|
background-image: none;
|
2010-06-23 00:28:34 +04:00
|
|
|
margin: 0 -4px;
|
|
|
|
position: relative;
|
|
|
|
height: 22px;
|
2008-01-10 12:16:24 +03:00
|
|
|
}
|
|
|
|
|
2013-11-28 17:25:34 +04:00
|
|
|
#search-container {
|
|
|
|
min-width: calc(54px + 11ch);
|
|
|
|
}
|
|
|
|
|
2013-06-29 07:22:41 +04:00
|
|
|
%include ../shared/identity-block.inc.css
|
|
|
|
|
2011-12-09 03:43:07 +04:00
|
|
|
#page-proxy-favicon {
|
2010-09-08 15:39:35 +04:00
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2012-04-21 11:03:44 +04:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
2012-06-13 15:56:57 +04:00
|
|
|
#identity-box:hover:active > #page-proxy-favicon,
|
|
|
|
#identity-box[open=true] > #page-proxy-favicon {
|
2012-04-21 11:03:44 +04:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2010-09-08 15:39:35 +04:00
|
|
|
}
|
|
|
|
|
2013-06-29 07:22:41 +04:00
|
|
|
/* The chromeUI identity-icon set includes three states,
|
|
|
|
but OS X only uses two of them. */
|
|
|
|
#identity-box.chromeUI:hover:active > #page-proxy-favicon,
|
|
|
|
#identity-box.chromeUI[open=true] > #page-proxy-favicon {
|
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#page-proxy-favicon {
|
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-generic@2x.png);
|
|
|
|
-moz-image-region: rect(0, 32px, 32px, 0);
|
|
|
|
}
|
|
|
|
|
2013-06-29 07:22:41 +04:00
|
|
|
.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
|
|
|
|
list-style-image: url(chrome://branding/content/identity-icons-brand@2x.png);
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https@2x.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https-ev@2x.png);
|
|
|
|
}
|
2013-01-29 23:51:17 +04:00
|
|
|
|
|
|
|
.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-active@2x.png);
|
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
|
2013-08-21 00:09:23 +04:00
|
|
|
.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
|
2013-09-10 02:55:49 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-display@2x.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
|
2013-08-21 00:09:23 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-display@2x.png);
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
#identity-box:hover:active > #page-proxy-favicon,
|
|
|
|
#identity-box[open=true] > #page-proxy-favicon {
|
|
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
|
2013-06-29 07:22:41 +04:00
|
|
|
/* The chromeUI identity-icon set includes three states,
|
|
|
|
but OS X only uses two of them. */
|
|
|
|
#identity-box.chromeUI:hover:active > #page-proxy-favicon,
|
|
|
|
#identity-box.chromeUI[open=true] > #page-proxy-favicon {
|
|
|
|
-moz-image-region: rect(0, 96px, 32px, 64px);
|
|
|
|
}
|
2010-09-08 15:39:35 +04:00
|
|
|
}
|
|
|
|
|
2010-02-21 18:03:48 +03:00
|
|
|
#wrapper-urlbar-container[place="palette"] {
|
|
|
|
max-width: 20em;
|
|
|
|
}
|
|
|
|
|
2011-01-22 14:21:35 +03:00
|
|
|
#urlbar-display-box {
|
2010-03-27 00:59:02 +03:00
|
|
|
-moz-border-end: 1px solid #AAA;
|
|
|
|
-moz-margin-end: 3px;
|
|
|
|
}
|
|
|
|
|
2011-01-22 14:21:35 +03:00
|
|
|
#urlbar-display {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2010-02-21 18:03:48 +03:00
|
|
|
#PopupAutoCompleteRichResult {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2008-02-26 01:30:48 +03:00
|
|
|
|
2006-09-22 04:47:18 +04:00
|
|
|
/* ----- AUTOCOMPLETE ----- */
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2007-11-06 11:43:53 +03:00
|
|
|
#treecolAutoCompleteImage {
|
2007-11-30 07:57:57 +03:00
|
|
|
max-width: 36px;
|
2007-09-01 00:19:19 +04:00
|
|
|
}
|
|
|
|
|
2007-11-30 07:57:57 +03:00
|
|
|
.ac-result-type-bookmark,
|
2007-11-06 11:43:53 +03:00
|
|
|
.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
|
2011-09-24 15:03:09 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/star-icons.png");
|
2014-03-13 18:55:47 +04:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2007-11-06 11:43:53 +03:00
|
|
|
}
|
|
|
|
|
2008-07-17 15:48:40 +04:00
|
|
|
.ac-result-type-keyword,
|
|
|
|
.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/search-textbox.png);
|
2009-07-21 16:36:48 +04:00
|
|
|
margin: 2px;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2008-07-17 15:48:40 +04:00
|
|
|
}
|
|
|
|
|
2012-07-13 07:53:00 +04:00
|
|
|
richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
|
2008-04-23 04:00:58 +04:00
|
|
|
.autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/star-icons.png");
|
2011-09-24 15:03:09 +04:00
|
|
|
-moz-image-region: rect(0, 64px, 16px, 48px);
|
2008-04-23 04:00:58 +04:00
|
|
|
}
|
|
|
|
|
2007-11-30 07:57:57 +03:00
|
|
|
.ac-result-type-tag,
|
2007-11-06 11:43:53 +03:00
|
|
|
.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
|
|
|
width: 16px;
|
2007-09-07 09:35:10 +04:00
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
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;
|
2011-02-16 15:53:06 +03:00
|
|
|
font: message-box;
|
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-07-13 07:53:00 +04:00
|
|
|
-moz-image-region: rect(0, 16px, 11px, 0);
|
2012-05-04 20:16:02 +04:00
|
|
|
padding: 0 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
|
2012-07-13 07:53:00 +04:00
|
|
|
-moz-image-region: rect(11px, 16px, 22px, 0);
|
2012-05-04 20:16:02 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.ac-result-type-bookmark {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/star-icons@2x.png");
|
|
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/star-icons@2x.png");
|
|
|
|
-moz-image-region: rect(0, 128px, 32px, 96px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ac-result-type-tag {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/tag@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
|
|
|
|
list-style-image: url("chrome://browser/skin/actionicon-tab@2x.png");
|
|
|
|
-moz-image-region: rect(0, 32px, 22px, 0);
|
2012-10-04 07:36:10 +04:00
|
|
|
width: 22px;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
|
|
|
|
-moz-image-region: rect(22px, 32px, 44px, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2004-06-19 01:33:39 +04: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;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2012-05-09 01:47:19 +04:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
|
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
|
2006-05-27 02:41:42 +04:00
|
|
|
{
|
|
|
|
color: GrayText;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treebody::-moz-tree-cell(suggesthint) {
|
|
|
|
border-top: 1px solid GrayText;
|
|
|
|
}
|
|
|
|
|
2010-09-03 06:20:12 +04:00
|
|
|
|
|
|
|
/* ----- COMBINED GO/RELOAD/STOP BUTTON IN LOCATION BAR ----- */
|
|
|
|
|
|
|
|
#urlbar > toolbarbutton {
|
|
|
|
margin: 0;
|
2012-05-09 01:47:19 +04:00
|
|
|
-moz-padding-start: 2px;
|
|
|
|
-moz-padding-end: 1px;
|
2010-09-03 06:20:12 +04:00
|
|
|
background-origin: border-box;
|
2011-09-24 15:03:09 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go.png");
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2011-09-24 15:03:09 +04:00
|
|
|
#urlbar > toolbarbutton:not([disabled]):hover:active {
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0));
|
2011-01-27 16:15:56 +03:00
|
|
|
}
|
|
|
|
|
2011-09-24 15:03:09 +04:00
|
|
|
#urlbar-go-button {
|
|
|
|
-moz-image-region: rect(0, 42px, 14px, 28px);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2011-09-24 15:03:09 +04:00
|
|
|
#urlbar-go-button:hover:active {
|
|
|
|
-moz-image-region: rect(14px, 42px, 28px, 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
|
|
|
}
|
|
|
|
|
2010-09-03 06:20:12 +04:00
|
|
|
#urlbar-reload-button {
|
2011-09-24 15:03:09 +04:00
|
|
|
-moz-image-region: rect(0, 14px, 14px, 0);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2011-09-24 15:03:09 +04:00
|
|
|
#urlbar-reload-button:not([disabled]):hover:active {
|
|
|
|
-moz-image-region: rect(14px, 14px, 28px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button {
|
2011-09-24 15:03:09 +04:00
|
|
|
-moz-image-region: rect(0, 28px, 14px, 14px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button:hover:active {
|
|
|
|
-moz-image-region: rect(14px, 28px, 28px, 14px);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2013-10-23 00:26:09 +04:00
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2014-01-09 02:11:03 +04:00
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarks-menu-button[cui-areatype="toolbar"].bookmark-item > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2013-07-30 16:50:58 +04:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#BMB_bookmarksPopup[side="top"],
|
|
|
|
#BMB_bookmarksPopup[side="bottom"] {
|
|
|
|
margin-left: -26px;
|
|
|
|
margin-right: -26px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#BMB_bookmarksPopup[side="left"],
|
|
|
|
#BMB_bookmarksPopup[side="right"] {
|
|
|
|
margin-top: -26px;
|
|
|
|
margin-bottom: -26px;
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#urlbar > toolbarbutton {
|
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button {
|
|
|
|
-moz-image-region: rect(0, 84px, 28px, 56px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover:active {
|
|
|
|
-moz-image-region: rect(28px, 84px, 56px, 56px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button {
|
|
|
|
-moz-image-region: rect(0, 28px, 28px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-reload-button:not([disabled]):hover:active {
|
|
|
|
-moz-image-region: rect(28px, 28px, 56px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button {
|
|
|
|
-moz-image-region: rect(0, 56px, 28px, 28px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button:hover:active {
|
|
|
|
-moz-image-region: rect(28px, 56px, 56px, 28px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar > toolbarbutton > .toolbarbutton-icon {
|
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-12-16 20:53:27 +03:00
|
|
|
/* POPUP BLOCKER BUTTON */
|
|
|
|
#page-report-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-report-button:hover:active,
|
|
|
|
#page-report-button[open="true"] {
|
2011-09-24 15:03:09 +04:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2010-12-16 20:53:27 +03:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#page-report-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-popup-blocked@2x.png");
|
|
|
|
-moz-image-region: rect(0, 32px, 32px, 0);
|
|
|
|
width: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-report-button:hover:active,
|
|
|
|
#page-report-button[open="true"] {
|
|
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-07 10:02:58 +04: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-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-07-30 16:50:58 +04:00
|
|
|
#bookmarks-menu-button.bookmark-item,
|
|
|
|
#bookmarks-menu-button.bookmark-item[open] {
|
2013-04-25 14:19:52 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/star-icons.png");
|
2013-06-07 22:46:53 +04:00
|
|
|
-moz-image-region: rect(0px 16px 16px 0px);
|
2013-04-25 14:19:52 +04:00
|
|
|
}
|
|
|
|
|
2013-06-07 22:46:53 +04:00
|
|
|
#bookmarks-menu-button.bookmark-item[starred] {
|
|
|
|
-moz-image-region: rect(0px 32px 16px 16px);
|
2008-01-30 07:37:20 +03:00
|
|
|
}
|
|
|
|
|
2013-06-07 22:46:53 +04:00
|
|
|
#bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button {
|
|
|
|
padding: 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-07-30 16:50:58 +04:00
|
|
|
#bookmarks-menu-button.bookmark-item,
|
|
|
|
#bookmarks-menu-button.bookmark-item[open] {
|
2013-05-13 19:59:00 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/star-icons@2x.png");
|
2013-06-07 22:46:53 +04:00
|
|
|
-moz-image-region: rect(0px 32px 32px 0px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-06-07 22:46:53 +04:00
|
|
|
#bookmarks-menu-button.bookmark-item[starred] {
|
|
|
|
-moz-image-region: rect(0px 64px 32px 32px);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-06-07 22:46:53 +04:00
|
|
|
#bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-04-08 05:41:11 +04:00
|
|
|
/* BOOKMARKING PANEL */
|
2008-01-30 07:37:20 +03:00
|
|
|
#editBookmarkPanelStarIcon {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/starred48.png");
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanelStarIcon[unstarred] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/unstarred48.png");
|
|
|
|
}
|
|
|
|
|
2014-03-13 18:55:47 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#editBookmarkPanelStarIcon {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/starred48@2x.png");
|
|
|
|
-moz-image-region: rect(0px 96px 96px 0px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-01-30 07:37:20 +03:00
|
|
|
#editBookmarkPanelTitle {
|
|
|
|
font-size: 130%;
|
2008-04-08 05:41:11 +04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
#editBMPanel_rows > row {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBMPanel_rows > row:last-of-type {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**** Input elements ****/
|
|
|
|
|
|
|
|
#editBMPanel_rows > row > textbox,
|
|
|
|
#editBMPanel_rows > row > hbox > textbox {
|
|
|
|
-moz-appearance: none;
|
2012-08-23 04:14:04 +04:00
|
|
|
background: linear-gradient(#fafafa, #fff);
|
2012-08-21 05:38:07 +04:00
|
|
|
background-clip: padding-box;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid rgba(0,0,0,.3) !important;
|
|
|
|
box-shadow: inset 0 1px 1px 1px rgba(0,0,0,.05),
|
|
|
|
0 1px rgba(255,255,255,.3);
|
|
|
|
margin: 0;
|
|
|
|
padding: 3px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBMPanel_rows > row > textbox[focused="true"],
|
|
|
|
#editBMPanel_rows > row > hbox > textbox[focused="true"] {
|
|
|
|
border-color: -moz-mac-focusring !important;
|
|
|
|
box-shadow: @focusRingShadow@;
|
|
|
|
}
|
|
|
|
|
2008-04-08 05:41:11 +04:00
|
|
|
/**** HUD style buttons ****/
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
.editBookmarkPanelHeaderButton,
|
|
|
|
.editBookmarkPanelBottomButton {
|
2010-04-20 20:12:10 +04:00
|
|
|
@hudButton@
|
2012-08-21 05:38:07 +04:00
|
|
|
margin: 0;
|
|
|
|
min-width: 82px;
|
2008-04-08 05:41:11 +04:00
|
|
|
min-height: 22px;
|
|
|
|
}
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
.editBookmarkPanelHeaderButton:hover:active,
|
|
|
|
.editBookmarkPanelBottomButton:hover:active {
|
2010-12-06 01:10:45 +03:00
|
|
|
@hudButtonPressed@
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2010-12-06 01:10:45 +03:00
|
|
|
.editBookmarkPanelHeaderButton:-moz-focusring,
|
|
|
|
.editBookmarkPanelBottomButton:-moz-focusring {
|
|
|
|
@hudButtonFocused@
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
.editBookmarkPanelBottomButton[default="true"] {
|
Bug 427935 - Mac theme updates Round of style tweaks and icon additions, including hud style tweaks, addons window style tweaks, revised pref icons, new notification icons. Fixes bugs 386757, 424877, 427464, 427697, 427701 r=mano, ui-review=beltzner, a=mconnor
2008-04-11 06:27:29 +04:00
|
|
|
background-color: #666;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBookmarkPanelHeader {
|
|
|
|
margin-bottom: 6px;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
.editBookmarkPanelBottomButton:last-child {
|
|
|
|
-moz-margin-start: 8px;
|
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
/* The following elements come from editBookmarkOverlay.xul. Styling that's
|
|
|
|
specific to the editBookmarkPanel should be in browser.css. Styling that
|
|
|
|
should be shared by all editBookmarkOverlay.xul consumers should be in
|
|
|
|
editBookmarkOverlay.css. */
|
|
|
|
|
|
|
|
#editBMPanel_newFolderBox {
|
2012-08-23 04:14:04 +04:00
|
|
|
background: linear-gradient(#fff, #f2f2f2);
|
2010-12-06 01:10:45 +03:00
|
|
|
background-origin: padding-box;
|
|
|
|
background-clip: padding-box;
|
|
|
|
border-radius: 0 0 3px 3px;
|
2012-08-21 05:38:07 +04:00
|
|
|
border: 1px solid #a5a5a5;
|
|
|
|
box-shadow: inset 0 1px rgba(255,255,255,.8),
|
|
|
|
inset 0 0 1px rgba(255,255, 255,.25),
|
|
|
|
0 1px rgba(255,255,255,.3);
|
|
|
|
margin: 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
padding: 0;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_newFolderButton {
|
2008-04-08 05:41:11 +04:00
|
|
|
-moz-appearance: none;
|
2012-08-21 05:38:07 +04:00
|
|
|
border: 0 solid #a5a5a5;
|
|
|
|
-moz-border-end-width: 1px;
|
2008-04-08 05:41:11 +04:00
|
|
|
padding: 0 9px;
|
|
|
|
margin: 0;
|
|
|
|
min-width: 21px;
|
|
|
|
min-height: 20px;
|
|
|
|
height: 20px;
|
2010-12-06 01:10:45 +03:00
|
|
|
color: #fff;
|
2012-08-21 05:38:07 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/panel-plus-sign.png");
|
2010-12-06 01:10:45 +03:00
|
|
|
position: relative;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_newFolderButton:hover:active {
|
2012-08-23 04:14:04 +04:00
|
|
|
background: linear-gradient(rgba(40,40,40,.9), rgba(70,70,70,.9));
|
2010-12-06 01:10:45 +03:00
|
|
|
box-shadow: inset 0 0 3px rgba(0,0,0,.2), inset 0 1px 7px rgba(0,0,0,.4);
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2010-12-06 01:10:45 +03:00
|
|
|
#editBMPanel_newFolderButton:-moz-focusring {
|
2011-01-18 19:48:19 +03:00
|
|
|
@hudButtonFocused@
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_newFolderButton .button-text {
|
2011-01-18 19:48:19 +03:00
|
|
|
display: none;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_folderMenuList {
|
2010-04-20 20:12:10 +04:00
|
|
|
@hudButton@
|
2012-08-21 05:38:07 +04:00
|
|
|
background-clip: padding-box;
|
|
|
|
margin: 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
min-height: 22px;
|
2012-08-21 05:38:07 +04:00
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
-moz-padding-start: 8px;
|
|
|
|
-moz-padding-end: 4px;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2010-12-06 01:10:45 +03:00
|
|
|
#editBMPanel_folderMenuList:-moz-focusring {
|
|
|
|
@hudButtonFocused@
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_folderMenuList[open="true"],
|
|
|
|
#editBMPanel_folderMenuList:hover:active {
|
2010-12-06 01:10:45 +03:00
|
|
|
@hudButtonPressed@
|
2008-01-30 07:37:20 +03:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_folderMenuList > .menulist-dropmarker {
|
2008-04-08 05:41:11 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
display: -moz-box;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2012-08-21 05:38:07 +04:00
|
|
|
-moz-padding-end: 4px;
|
|
|
|
width: 7px;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_folderMenuList > .menulist-dropmarker > .dropmarker-icon {
|
2012-08-21 05:38:07 +04:00
|
|
|
list-style-image: url("chrome://global/skin/icons/panel-dropmarker.png");
|
Bug 427935 - Mac theme updates Round of style tweaks and icon additions, including hud style tweaks, addons window style tweaks, revised pref icons, new notification icons. Fixes bugs 386757, 424877, 427464, 427697, 427701 r=mano, ui-review=beltzner, a=mconnor
2008-04-11 06:27:29 +04:00
|
|
|
}
|
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
/**** folder tree and tag selector ****/
|
Bug 427935 - Mac theme updates Round of style tweaks and icon additions, including hud style tweaks, addons window style tweaks, revised pref icons, new notification icons. Fixes bugs 386757, 424877, 427464, 427697, 427701 r=mano, ui-review=beltzner, a=mconnor
2008-04-11 06:27:29 +04:00
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
#editBMPanel_folderTree,
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_tagsSelector {
|
2008-04-08 05:41:11 +04:00
|
|
|
-moz-appearance: none;
|
2012-08-23 04:14:04 +04:00
|
|
|
background: linear-gradient(#fafafa, #fff);
|
2012-08-21 05:38:07 +04:00
|
|
|
background-clip: padding-box;
|
|
|
|
border-radius: 3px;
|
2010-12-06 01:10:45 +03:00
|
|
|
border: 1px solid rgba(0,0,0,.3);
|
2012-08-21 05:38:07 +04:00
|
|
|
box-shadow: inset 0 1px 1px 1px rgba(0,0,0,.05),
|
|
|
|
0 1px rgba(255,255,255,.3);
|
|
|
|
margin: 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
#editBMPanel_folderTree:-moz-focusring,
|
2010-12-06 01:10:45 +03:00
|
|
|
#editBMPanel_tagsSelector:-moz-focusring {
|
2012-08-21 05:38:07 +04:00
|
|
|
border-color: -moz-mac-focusring;
|
|
|
|
box-shadow: @focusRingShadow@;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
#editBMPanel_folderTree {
|
|
|
|
border-bottom: none;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
|
|
|
|
margin: 0 !important;
|
|
|
|
min-width: 27em;
|
|
|
|
position: relative;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/**** expanders ****/
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-up,
|
|
|
|
#editBookmarkPanel .expander-down {
|
2010-04-20 20:12:10 +04:00
|
|
|
@hudButton@
|
2012-08-21 05:38:07 +04:00
|
|
|
margin: 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
-moz-margin-start: 4px;
|
2012-08-23 04:14:04 +04:00
|
|
|
min-width: 27px;
|
2012-08-21 05:38:07 +04:00
|
|
|
min-height: 22px;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2010-12-06 01:10:45 +03:00
|
|
|
#editBookmarkPanel .expander-up:-moz-focusring,
|
|
|
|
#editBookmarkPanel .expander-down:-moz-focusring {
|
|
|
|
@hudButtonFocused@
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2010-12-06 01:10:45 +03:00
|
|
|
#editBookmarkPanel .expander-up:hover:active,
|
|
|
|
#editBookmarkPanel .expander-down:hover:active {
|
|
|
|
@hudButtonPressed@
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2011-02-16 20:26:36 +03:00
|
|
|
#editBookmarkPanel .expander-up {
|
2012-08-21 05:38:07 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/panel-expander-open.png");
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2011-02-16 20:26:36 +03:00
|
|
|
#editBookmarkPanel .expander-down {
|
2012-08-21 05:38:07 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/panel-expander-closed.png");
|
2009-04-21 00:59:53 +04:00
|
|
|
}
|
|
|
|
|
2012-08-23 22:31:52 +04:00
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-icon,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-icon {
|
2012-08-23 04:14:04 +04:00
|
|
|
margin: 1px 0 0;
|
|
|
|
}
|
|
|
|
|
2012-08-23 22:31:52 +04:00
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-text,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-text {
|
2012-08-23 04:14:04 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#editBookmarkPanel .expander-up {
|
|
|
|
list-style-image: url("chrome://browser/skin/panel-expander-open@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-down {
|
|
|
|
list-style-image: url("chrome://browser/skin/panel-expander-closed@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-icon,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-icon {
|
|
|
|
width: 9px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-09 14:24:23 +04:00
|
|
|
#editBMPanel_tagsField > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
|
2012-11-09 14:30:54 +04:00
|
|
|
opacity: 1.0;
|
2011-01-18 19:48:19 +03:00
|
|
|
color: #bbb;
|
Bug 427935 - Mac theme updates Round of style tweaks and icon additions, including hud style tweaks, addons window style tweaks, revised pref icons, new notification icons. Fixes bugs 386757, 424877, 427464, 427697, 427701 r=mano, ui-review=beltzner, a=mconnor
2008-04-11 06:27:29 +04:00
|
|
|
}
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
.editBMPanel_rowLabel {
|
2009-04-21 00:59:53 +04:00
|
|
|
text-align: end;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
2008-01-30 07:37:20 +03:00
|
|
|
|
2011-05-24 08:16:39 +04:00
|
|
|
.panel-promo-box {
|
|
|
|
margin: 8px -16px -16px -16px;
|
|
|
|
padding: 8px 16px;
|
2014-02-14 17:16:27 +04:00
|
|
|
background-color: hsla(210,4%,10%,.07);
|
|
|
|
border-top: 1px solid hsla(210,4%,10%,.12);
|
2012-08-21 05:38:07 +04:00
|
|
|
border-radius: 0 0 5px 5px;
|
|
|
|
box-shadow: 0 -1px hsla(0,0%,100%,.5) inset, 0 1px 1px hsla(0,0%,0%,.03) inset;
|
2014-02-14 17:16:27 +04:00
|
|
|
color: hsl(0,0%,30%);
|
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 {
|
|
|
|
border: none;
|
|
|
|
-moz-margin-end: -14px;
|
|
|
|
margin-top: -8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton > .toolbarbutton-text {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.panel-promo-closebutton > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-09 23:44:01 +04:00
|
|
|
/* History Swipe Animation */
|
|
|
|
|
|
|
|
#historySwipeAnimationCurrentPage,
|
|
|
|
#historySwipeAnimationNextPage {
|
|
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
#historySwipeAnimationContainer {
|
2013-06-19 23:48:36 +04:00
|
|
|
background: url("chrome://browser/skin/subtle-pattern.png") #B3B9C1;
|
2013-04-09 23:44:01 +04:00
|
|
|
}
|
|
|
|
|
2006-09-22 04:47:18 +04:00
|
|
|
/* ----- SIDEBAR ELEMENTS ----- */
|
|
|
|
|
2010-03-17 20:12:03 +03:00
|
|
|
#sidebar,
|
|
|
|
sidebarheader {
|
2013-04-05 16:05:41 +04:00
|
|
|
background-color: #e2e7ed;
|
2008-10-15 12:55:39 +04:00
|
|
|
}
|
|
|
|
|
2010-03-17 20:12:03 +03:00
|
|
|
#sidebar:-moz-window-inactive,
|
|
|
|
sidebarheader:-moz-window-inactive {
|
|
|
|
background-color: #e8e8e8;
|
|
|
|
}
|
|
|
|
|
|
|
|
sidebarheader {
|
2008-01-28 03:53:12 +03:00
|
|
|
padding: 2px;
|
2009-09-04 14:58:18 +04:00
|
|
|
text-shadow: none;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar-box {
|
|
|
|
-moz-appearance: dialog;
|
2008-01-28 03:53:12 +03:00
|
|
|
-moz-appearance: none;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2012-08-01 04:37:58 +04:00
|
|
|
.sidebar-splitter {
|
2008-04-23 16:08:52 +04:00
|
|
|
-moz-border-start: none;
|
2013-04-05 16:05:41 +04:00
|
|
|
-moz-border-end: 1px solid #bdbdbd;
|
2008-04-23 16:08:52 +04:00
|
|
|
min-width: 1px;
|
2012-08-01 04:37:58 +04:00
|
|
|
width: 3px;
|
2011-01-22 14:21:35 +03:00
|
|
|
background-image: none !important;
|
2012-08-01 04:37:58 +04:00
|
|
|
background-color: transparent;
|
|
|
|
-moz-margin-start: -3px;
|
|
|
|
position: relative;
|
2011-01-08 03:35:33 +03:00
|
|
|
}
|
|
|
|
|
2012-08-01 04:37:58 +04:00
|
|
|
#appcontent ~ .sidebar-splitter {
|
2012-10-22 05:14:05 +04:00
|
|
|
-moz-border-start: 1px solid #ccc;
|
2012-08-01 04:37:58 +04:00
|
|
|
-moz-border-end: none;
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: -3px;
|
2010-03-17 20:12:03 +03:00
|
|
|
}
|
|
|
|
|
2013-12-17 09:37:30 +04:00
|
|
|
.sidebar-title,
|
2004-06-19 01:33:39 +04:00
|
|
|
#sidebar-title {
|
2008-01-28 03:53:12 +03:00
|
|
|
color: #535f6d;
|
2011-01-22 14:21:35 +03:00
|
|
|
font-weight: bold;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2013-12-17 09:37:30 +04:00
|
|
|
.sidebar-throbber[loading="true"],
|
2004-06-19 01:33:39 +04:00
|
|
|
#sidebar-throbber[loading="true"] {
|
2008-01-28 03:53:12 +03:00
|
|
|
list-style-image: url("chrome://global/skin/icons/loading_16.png");
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2013-07-08 03:14:00 +04:00
|
|
|
/* ----- CONTENT ----- */
|
2010-11-29 17:18:40 +03:00
|
|
|
|
2013-07-08 03:14:00 +04:00
|
|
|
.browserContainer > findbar {
|
|
|
|
background: @scopeBarBackground@;
|
2013-09-21 15:14:05 +04:00
|
|
|
border-top: @scopeBarSeparatorBorder@;
|
2013-07-08 03:14:00 +04:00
|
|
|
color: -moz-DialogText;
|
|
|
|
text-shadow: none;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2004-06-19 01:33:39 +04:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2014-04-08 16:04:34 +04:00
|
|
|
.bookmark-item {
|
2007-06-06 03:18:47 +04:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2014-04-08 16:04:34 +04:00
|
|
|
.bookmark-item {
|
2012-09-30 08:56:40 +04:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
|
|
|
|
}
|
2007-08-23 01:02:02 +04:00
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
image.bookmark-item {
|
|
|
|
width: 16px;
|
|
|
|
}
|
2010-03-17 20:12:03 +03:00
|
|
|
}
|
|
|
|
|
2006-08-01 04:13:24 +04:00
|
|
|
.openintabs-menuitem {
|
|
|
|
list-style-image: none;
|
2010-09-24 02:59:55 +04:00
|
|
|
}
|
2010-11-29 17:18:40 +03:00
|
|
|
|
2007-08-23 01:02:02 +04:00
|
|
|
/* ::::: tabbrowser ::::: */
|
2010-09-03 00:08:37 +04:00
|
|
|
|
2010-03-17 09:36:13 +03:00
|
|
|
.tabbrowser-tabbox {
|
2008-11-28 01:17:17 +03:00
|
|
|
margin: 0;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2013-03-08 14:57:00 +04:00
|
|
|
%include ../shared/tabs.inc.css
|
2010-11-29 17:18:40 +03:00
|
|
|
|
2013-04-25 00:04:13 +04:00
|
|
|
.tab-label {
|
2013-06-17 14:49:57 +04:00
|
|
|
margin-top: 1px;
|
2013-05-02 20:05:50 +04:00
|
|
|
margin-bottom: 0;
|
2013-04-26 01:57:26 +04:00
|
|
|
text-align: center;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-05-16 23:59:01 +04:00
|
|
|
/* image preloading hack from shared/tabs.inc.css */
|
2014-02-26 11:07:03 +04:00
|
|
|
#tabbrowser-tabs::before {
|
2013-05-16 23:59:01 +04:00
|
|
|
background-image:
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-background-end@2x.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-background-middle@2x.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-background-start@2x.png);
|
|
|
|
}
|
2010-11-29 17:18:40 +03:00
|
|
|
|
2014-02-11 23:12:36 +04:00
|
|
|
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]),
|
2013-05-16 23:59:01 +04:00
|
|
|
.tabs-newtab-button:hover {
|
|
|
|
background-image: url(chrome://browser/skin/tabbrowser/tab-background-start@2x.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-background-middle@2x.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-background-end@2x.png);
|
|
|
|
}
|
2010-11-29 17:18:40 +03:00
|
|
|
|
2013-05-22 23:47:12 +04:00
|
|
|
.tab-background-middle[selected=true] {
|
|
|
|
background-image: url(chrome://browser/skin/tabbrowser/tab-active-middle@2x.png),
|
2013-06-19 19:47:08 +04:00
|
|
|
@fgTabTexture@,
|
2013-09-14 04:28:11 +04:00
|
|
|
none;
|
2013-05-22 23:47:12 +04:00
|
|
|
}
|
2010-11-29 17:18:40 +03:00
|
|
|
|
2013-05-22 23:47:12 +04:00
|
|
|
.tab-background-start[selected=true]:-moz-locale-dir(ltr)::after,
|
|
|
|
.tab-background-end[selected=true]:-moz-locale-dir(rtl)::after {
|
|
|
|
background-image: url(chrome://browser/skin/tabbrowser/tab-stroke-start@2x.png);
|
|
|
|
}
|
2010-11-29 17:18:40 +03:00
|
|
|
|
2013-05-22 23:47:12 +04:00
|
|
|
.tab-background-end[selected=true]:-moz-locale-dir(ltr)::after,
|
|
|
|
.tab-background-start[selected=true]:-moz-locale-dir(rtl)::after {
|
|
|
|
background-image: url(chrome://browser/skin/tabbrowser/tab-stroke-end@2x.png);
|
|
|
|
}
|
2010-11-29 17:18:40 +03:00
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
.tab-icon-image {
|
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
|
2013-02-12 17:26:12 +04:00
|
|
|
image-rendering: -moz-crisp-edges;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-throbber {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/connecting@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-throbber[progress] {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/loading@2x.png");
|
|
|
|
}
|
|
|
|
|
2013-05-22 23:47:12 +04:00
|
|
|
/* Background tab separators */
|
|
|
|
#tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after,
|
|
|
|
.tabbrowser-tab:not([selected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,
|
|
|
|
#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after {
|
|
|
|
background-image: url(chrome://browser/skin/tabbrowser/tab-separator@2x.png);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-11-29 17:18:40 +03:00
|
|
|
.tabbrowser-tab:not(:hover) > .tab-stack > .tab-content > .tab-icon-image:not([selected="true"]) {
|
2013-03-08 14:57:00 +04:00
|
|
|
opacity: .9;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2013-03-08 14:57:00 +04:00
|
|
|
.tab-label:not([selected="true"]) {
|
|
|
|
opacity: .7;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2009-01-25 12:40:58 +03:00
|
|
|
.tabbrowser-tab,
|
2010-04-27 20:57:19 +04:00
|
|
|
.tabs-newtab-button {
|
2010-11-29 17:18:40 +03:00
|
|
|
font: message-box;
|
|
|
|
border: none;
|
2010-07-20 00:19:14 +04:00
|
|
|
}
|
|
|
|
|
2014-02-05 18:57:05 +04:00
|
|
|
.tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
|
2014-02-06 02:08:36 +04:00
|
|
|
/* overriding tabbox.css */
|
2014-02-05 18:57:05 +04:00
|
|
|
color: inherit;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2014-02-06 02:08:36 +04:00
|
|
|
.tabbrowser-tab[selected=true] {
|
|
|
|
/* overriding tabbox.css */
|
2014-01-31 14:33:41 +04:00
|
|
|
text-shadow: inherit;
|
|
|
|
}
|
|
|
|
|
2010-11-29 17:18:40 +03:00
|
|
|
.tabs-newtab-button > .toolbarbutton-icon {
|
|
|
|
-moz-box-align: center;
|
|
|
|
border: solid transparent;
|
|
|
|
border-width: 0 11px;
|
2007-08-23 01:02:02 +04:00
|
|
|
}
|
|
|
|
|
2013-03-30 01:53:01 +04:00
|
|
|
.tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-label {
|
2010-09-11 20:27:12 +04:00
|
|
|
box-shadow: @focusRingShadow@;
|
2010-03-17 20:12:03 +03:00
|
|
|
}
|
|
|
|
|
2014-03-19 00:29:00 +04:00
|
|
|
/* We want the titlebar to be unified, but we still want to be able
|
|
|
|
* to give #TabsToolbar a background. So we can't set -moz-appearance:
|
|
|
|
* toolbar on #TabsToolbar itself. Instead, we set it on a box of the
|
|
|
|
* right size which is put underneath #TabsToolbar.
|
|
|
|
*
|
|
|
|
* Because of Bug 941309, we make sure this pseudoelement always exists,
|
|
|
|
* but we only make it visible when we need it.
|
|
|
|
*/
|
|
|
|
#navigator-toolbox::before {
|
2010-11-29 17:18:40 +03:00
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
-moz-appearance: toolbar;
|
2014-04-10 21:34:49 +04:00
|
|
|
height: @tabMinHeight@;
|
|
|
|
margin-bottom: -@tabMinHeight@;
|
2014-03-19 00:29:00 +04:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window:not([customizing]) #navigator-toolbox[inFullscreen]:not(:-moz-lwtheme)::before,
|
|
|
|
#main-window:not(:-moz-any([customizing],[tabsintitlebar])) #navigator-toolbox:not(:-moz-lwtheme)::before {
|
2014-03-19 00:29:00 +04:00
|
|
|
visibility: visible;
|
2010-04-06 10:34:27 +04:00
|
|
|
}
|
|
|
|
|
2010-11-29 17:18:40 +03:00
|
|
|
#TabsToolbar {
|
2013-04-17 08:08:07 +04:00
|
|
|
position: relative;
|
2010-07-20 00:19:14 +04:00
|
|
|
-moz-appearance: none;
|
2010-11-29 17:18:40 +03:00
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|
|
|
|
|
2014-02-05 18:57:05 +04:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
|
|
|
color: #333;
|
|
|
|
text-shadow: @loweredShadow@;
|
|
|
|
}
|
|
|
|
|
2013-03-08 14:57:00 +04:00
|
|
|
/*
|
2014-03-19 00:29:00 +04:00
|
|
|
* Draw the bottom border of the tabstrip when core doesn't do it for us.
|
|
|
|
* Because of Bug 941309, we make sure this pseudoelement always exists,
|
|
|
|
* but we only make it visible when we need it.
|
2011-08-08 18:42:36 +04:00
|
|
|
*/
|
2014-03-19 00:29:00 +04:00
|
|
|
#TabsToolbar::after {
|
2013-04-17 08:08:07 +04:00
|
|
|
content: '';
|
2013-06-01 01:47:11 +04:00
|
|
|
/* Because we use placeholders for window controls etc. in the tabstrip,
|
|
|
|
* and position those with ordinal attributes, and because our layout code
|
|
|
|
* expects :before/:after nodes to come first/last in the frame list,
|
|
|
|
* we have to reorder this element to come last, hence the
|
|
|
|
* ordinal group value (see bug 853415). */
|
|
|
|
-moz-box-ordinal-group: 1001;
|
2013-04-17 08:08:07 +04:00
|
|
|
position: absolute;
|
2014-04-02 19:43:03 +04:00
|
|
|
bottom: @tabToolbarNavbarOverlap@;
|
2013-04-17 08:08:07 +04:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 0;
|
2013-05-17 00:32:15 +04:00
|
|
|
border-bottom: 1px solid hsla(0,0%,0%,.3);
|
2014-03-19 00:29:00 +04:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window:-moz-any([sizemode="fullscreen"],[customize-entered]) #TabsToolbar::after,
|
2014-03-19 00:29:00 +04:00
|
|
|
#main-window:not([tabsintitlebar]) #TabsToolbar::after,
|
|
|
|
#TabsToolbar:-moz-lwtheme::after {
|
|
|
|
visibility: visible;
|
2010-03-17 20:12:03 +03:00
|
|
|
}
|
|
|
|
|
2010-11-29 17:18:40 +03:00
|
|
|
#tabbrowser-tabs {
|
2010-03-17 09:36:13 +03:00
|
|
|
-moz-box-align: stretch;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
.tabs-newtab-button > .toolbarbutton-icon {
|
2013-03-08 14:57:00 +04:00
|
|
|
padding: 6px 0 4px;
|
2007-09-18 04:59:41 +04:00
|
|
|
}
|
|
|
|
|
2014-04-14 20:53:40 +04:00
|
|
|
/* Background tabs:
|
|
|
|
*
|
|
|
|
* Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
|
|
|
|
* of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
|
|
|
|
* the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
|
|
|
|
*/
|
|
|
|
#main-window[tabsintitlebar]:not([inFullscreen]) .tab-background-middle:not([selected=true]) {
|
|
|
|
clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);
|
|
|
|
}
|
|
|
|
|
2007-09-18 04:59:41 +04:00
|
|
|
/**
|
|
|
|
* Tab Drag and Drop
|
|
|
|
*/
|
|
|
|
|
2007-08-23 01:02:02 +04: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-top: -2px;
|
|
|
|
z-index: 3;
|
2007-08-23 01:02:02 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.tab-drop-indicator {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator@2x.png);
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2007-08-23 01:02:02 +04:00
|
|
|
/**
|
|
|
|
* In-tab close button
|
|
|
|
*/
|
2007-09-18 04:59:41 +04:00
|
|
|
|
2007-08-23 01:02:02 +04:00
|
|
|
.tab-close-button > .toolbarbutton-icon {
|
|
|
|
-moz-margin-end: 0px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border: none !important;
|
2008-10-11 17:55:39 +04:00
|
|
|
background: none;
|
2007-08-23 01:02:02 +04:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2014-03-19 02:51:24 +04:00
|
|
|
.tab-close-button.close-icon:not([selected=true]):not(:hover):-moz-lwtheme-brighttext {
|
|
|
|
-moz-image-region: rect(0, 64px, 16px, 48px);
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.tab-close-button > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
2014-03-19 02:51:24 +04:00
|
|
|
|
|
|
|
.tab-close-button.close-icon:not([selected=true]):not(:hover):-moz-lwtheme-brighttext {
|
|
|
|
-moz-image-region: rect(0, 128px, 32px, 96px);
|
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2008-04-23 16:08:52 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
2009-10-13 23:57:48 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
2011-08-24 18:36:24 +04:00
|
|
|
-moz-image-region: rect(0, 13px, 20px, 0);
|
2014-04-03 11:29:33 +04:00
|
|
|
margin: 0 0 @tabToolbarNavbarOverlap@;
|
2011-02-09 21:25:54 +03:00
|
|
|
padding: 0 4px;
|
2009-05-29 03:09:58 +04:00
|
|
|
border: none;
|
2007-08-23 01:02:02 +04:00
|
|
|
}
|
|
|
|
|
2011-02-09 21:25:54 +03:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up {
|
|
|
|
-moz-border-end: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
2009-10-13 23:57:48 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
2011-02-09 21:25:54 +03:00
|
|
|
-moz-border-start: 2px solid transparent;
|
2012-07-11 06:13:55 +04:00
|
|
|
transition: 1s background-color ease-out;
|
2009-11-05 11:02:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
|
|
|
|
background-color: Highlight;
|
2012-07-11 06:13:55 +04:00
|
|
|
transition: none;
|
2009-10-13 23:57:48 +04:00
|
|
|
}
|
|
|
|
|
2009-07-29 22:33:53 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr),
|
2009-10-13 23:57:48 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) {
|
2009-05-29 03:09:58 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png");
|
2007-08-23 01:02:02 +04:00
|
|
|
}
|
|
|
|
|
2009-10-13 23:57:48 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr),
|
2009-07-29 22:33:53 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) {
|
2009-05-29 03:09:58 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right.png");
|
2007-08-23 01:02:02 +04:00
|
|
|
}
|
|
|
|
|
2013-08-26 17:38:25 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr):-moz-lwtheme-brighttext,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl):-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr):-moz-lwtheme-brighttext,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl):-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right-inverted.png");
|
|
|
|
}
|
|
|
|
|
2009-05-29 03:09:58 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:hover,
|
2009-10-13 23:57:48 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:hover {
|
2011-08-24 18:36:24 +04:00
|
|
|
-moz-image-region: rect(0, 26px, 20px, 13px);
|
2008-04-23 04:00:58 +04:00
|
|
|
}
|
|
|
|
|
2009-05-29 03:09:58 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:hover:active,
|
2009-10-13 23:57:48 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:hover:active {
|
2011-08-24 18:36:24 +04:00
|
|
|
-moz-image-region: rect(0, 39px, 20px, 26px);
|
2008-04-23 04:00:58 +04:00
|
|
|
}
|
|
|
|
|
2011-08-24 18:36:24 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled] > .toolbarbutton-icon,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] > .toolbarbutton-icon {
|
|
|
|
-moz-image-region: rect(0, 13px, 20px, 0) !important;
|
|
|
|
opacity: .5;
|
2007-08-23 01:02:02 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
|
|
|
-moz-image-region: rect(0, 26px, 40px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right@2x.png");
|
|
|
|
}
|
|
|
|
|
2013-08-26 17:38:25 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr):-moz-lwtheme-brighttext,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl):-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left-inverted@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr):-moz-lwtheme-brighttext,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl):-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right-inverted@2x.png");
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:hover,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:hover {
|
|
|
|
-moz-image-region: rect(0, 52px, 40px, 26px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:hover:active,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:hover:active {
|
|
|
|
-moz-image-region: rect(0, 78px, 40px, 52px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled] > .toolbarbutton-icon,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] > .toolbarbutton-icon {
|
|
|
|
-moz-image-region: rect(0, 26px, 40px, 0) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon {
|
|
|
|
width: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-02-09 21:25:54 +03:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(ltr),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(rtl) {
|
2011-12-23 03:35:20 +04:00
|
|
|
border-width: 0 2px 0 0;
|
|
|
|
border-style: solid;
|
2013-03-10 11:58:38 +04:00
|
|
|
border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
2011-02-09 21:25:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(ltr),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(rtl) {
|
2011-12-23 03:35:20 +04:00
|
|
|
border-width: 0 0 0 2px;
|
|
|
|
border-style: solid;
|
2013-03-10 11:58:38 +04:00
|
|
|
border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
2011-02-09 21:25:54 +03:00
|
|
|
}
|
2007-08-23 01:02:02 +04:00
|
|
|
|
|
|
|
/**
|
2010-12-15 21:59:19 +03:00
|
|
|
* Tabstrip & add-on bar toolbar buttons
|
2007-08-23 01:02:02 +04:00
|
|
|
*/
|
|
|
|
|
2013-05-09 14:08:07 +04:00
|
|
|
#TabsToolbar .toolbarbutton-1,
|
|
|
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
|
|
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
2011-08-08 18:43:04 +04:00
|
|
|
-moz-appearance: none;
|
2014-04-03 11:29:33 +04:00
|
|
|
margin: 0;
|
2010-12-24 01:24:00 +03:00
|
|
|
/* !important flags needed because of bug 561154: */
|
2014-04-03 11:29:33 +04:00
|
|
|
/* Bug 990390: -moz-any is no longer used in the selector so the !important aren't necessary for that anymore. */
|
2011-08-08 18:43:04 +04:00
|
|
|
padding: 0 !important;
|
|
|
|
border: none !important;
|
|
|
|
border-radius: 0 !important;
|
2010-12-23 20:44:26 +03:00
|
|
|
background: none !important;
|
|
|
|
box-shadow: none !important;
|
2010-06-23 00:28:34 +04:00
|
|
|
}
|
|
|
|
|
2013-05-09 14:08:07 +04:00
|
|
|
#TabsToolbar .toolbarbutton-1:not([type="menu-button"]),
|
|
|
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
|
2010-06-23 00:28:34 +04:00
|
|
|
padding: 0 1px;
|
2009-05-31 02:28:19 +04:00
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
2014-04-03 11:29:33 +04:00
|
|
|
#TabsToolbar .toolbarbutton-1 {
|
|
|
|
margin-bottom: @tabToolbarNavbarOverlap@;
|
|
|
|
}
|
|
|
|
|
2013-05-09 14:08:07 +04:00
|
|
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
2013-04-23 18:06:20 +04:00
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
|
2011-02-09 21:25:54 +03:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover,
|
2014-02-27 21:05:12 +04:00
|
|
|
#TabsToolbar .toolbarbutton-1:not([type="menu-button"]):not([disabled=true]):not([open]):hover,
|
|
|
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
|
|
|
|
#TabsToolbar .toolbarbutton-1:not([disabled=true]):not([buttonover]):hover > .toolbarbutton-menubutton-dropmarker {
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: linear-gradient(transparent, rgba(0,0,0,.15)) !important;
|
2010-06-23 00:28:34 +04:00
|
|
|
}
|
|
|
|
|
2011-02-09 21:25:54 +03:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover:active,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover:active,
|
2014-02-27 21:05:12 +04:00
|
|
|
#TabsToolbar .toolbarbutton-1:not([type="menu-button"]):not([disabled=true]):hover:active,
|
2013-05-09 14:08:07 +04:00
|
|
|
#TabsToolbar .toolbarbutton-1[type="menu"][open],
|
2014-02-27 21:05:12 +04:00
|
|
|
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover:active,
|
|
|
|
#TabsToolbar .toolbarbutton-1[open]:not([disabled=true]):hover > .toolbarbutton-menubutton-dropmarker {
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: linear-gradient(transparent, rgba(0,0,0,.3)) !important;
|
2010-06-23 00:28:34 +04:00
|
|
|
}
|
|
|
|
|
2010-04-27 20:57:19 +04:00
|
|
|
.tabs-newtab-button,
|
|
|
|
#TabsToolbar > #new-tab-button,
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button {
|
2008-09-25 11:39:41 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png);
|
2009-05-31 02:28:19 +04:00
|
|
|
-moz-image-region: rect(0, 18px, 20px, 0);
|
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
2013-08-26 17:38:25 +04:00
|
|
|
.tabs-newtab-button:-moz-lwtheme-brighttext,
|
|
|
|
#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.png);
|
|
|
|
}
|
|
|
|
|
2010-04-27 20:57:19 +04:00
|
|
|
.tabs-newtab-button:hover,
|
|
|
|
#TabsToolbar > #new-tab-button:hover {
|
2009-05-31 02:28:19 +04:00
|
|
|
-moz-image-region: rect(0, 36px, 20px, 18px);
|
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
|
|
|
.tabs-newtab-button:hover:active,
|
|
|
|
#TabsToolbar > #new-tab-button:hover:active {
|
2009-05-31 02:28:19 +04:00
|
|
|
-moz-image-region: rect(0, 54px, 20px, 36px);
|
2008-09-25 11:39:41 +04:00
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.tabs-newtab-button,
|
|
|
|
#TabsToolbar > #new-tab-button,
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab@2x.png);
|
|
|
|
-moz-image-region: rect(0, 36px, 40px, 0);
|
|
|
|
}
|
|
|
|
|
2013-08-26 17:38:25 +04:00
|
|
|
.tabs-newtab-button:-moz-lwtheme-brighttext,
|
|
|
|
#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted@2x.png);
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
.tabs-newtab-button:hover,
|
|
|
|
#TabsToolbar > #new-tab-button:hover {
|
|
|
|
-moz-image-region: rect(0, 72px, 40px, 36px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-newtab-button:hover:active,
|
|
|
|
#TabsToolbar > #new-tab-button:hover:active {
|
|
|
|
-moz-image-region: rect(0, 108px, 40px, 72px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-newtab-button > .toolbarbutton-icon {
|
|
|
|
width: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TabsToolbar > #new-tab-button > .toolbarbutton-icon,
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button > .toolbarbutton-icon {
|
|
|
|
width: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button {
|
2008-09-25 11:39:41 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon.png);
|
2011-01-28 11:35:30 +03:00
|
|
|
-moz-image-region: rect(0, 17px, 20px, 0);
|
2009-05-31 02:28:19 +04:00
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button:-moz-lwtheme-brighttext {
|
2013-08-26 17:38:25 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon-inverted.png);
|
|
|
|
}
|
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button:not([disabled="true"]):hover {
|
2011-01-28 11:35:30 +03:00
|
|
|
-moz-image-region: rect(0, 34px, 20px, 17px);
|
2009-05-31 02:28:19 +04:00
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button[open="true"]:not([disabled="true"]),
|
|
|
|
#alltabs-button:not([disabled="true"]):hover:active {
|
2011-01-28 11:35:30 +03:00
|
|
|
-moz-image-region: rect(0, 51px, 20px, 34px);
|
2008-09-25 11:39:41 +04:00
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button {
|
2012-09-30 08:56:40 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon@2x.png);
|
|
|
|
-moz-image-region: rect(0, 34px, 40px, 0);
|
|
|
|
}
|
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button:-moz-lwtheme-brighttext {
|
2013-08-26 17:38:25 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon-inverted@2x.png);
|
|
|
|
}
|
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button:not([disabled="true"]):hover {
|
2012-09-30 08:56:40 +04:00
|
|
|
-moz-image-region: rect(0, 68px, 40px, 34px);
|
|
|
|
}
|
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button[open="true"]:not([disabled="true"]),
|
|
|
|
#alltabs-button:not([disabled="true"]):hover:active {
|
2012-09-30 08:56:40 +04:00
|
|
|
-moz-image-region: rect(0, 102px, 40px, 68px);
|
|
|
|
}
|
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button > .toolbarbutton-icon {
|
2012-09-30 08:56:40 +04:00
|
|
|
width: 17px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-02-11 16:48:32 +04:00
|
|
|
#alltabs-button > .toolbarbutton-menu-dropmarker {
|
2007-08-23 01:02:02 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-04-27 20:57:19 +04:00
|
|
|
#alltabs-button > .toolbarbutton-icon {
|
2007-08-23 01:02:02 +04:00
|
|
|
-moz-margin-end: 2px;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-07-10 22:34:46 +04:00
|
|
|
.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/loading_16.png") !important;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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);
|
2006-03-01 00:20:04 +03:00
|
|
|
}
|
|
|
|
|
2008-02-21 05:17:52 +03:00
|
|
|
/* Bookmark drag and drop styles */
|
2008-04-23 04:00:58 +04:00
|
|
|
|
2006-03-01 00:20:04 +03:00
|
|
|
.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;
|
2006-03-01 00:20:04 +03:00
|
|
|
}
|
|
|
|
|
2008-02-21 05:17:52 +03:00
|
|
|
.menupopup-drop-indicator {
|
|
|
|
list-style-image: none;
|
|
|
|
height: 2px;
|
|
|
|
-moz-margin-end: -4em;
|
|
|
|
background-color: Highlight;
|
2006-03-01 00:20:04 +03:00
|
|
|
}
|
2006-08-26 11:27:54 +04:00
|
|
|
|
2007-10-22 07:30:23 +04:00
|
|
|
/* Popup Icons */
|
|
|
|
#identity-popup-icon {
|
2008-03-04 14:32:11 +03:00
|
|
|
height: 64px;
|
|
|
|
width: 64px;
|
|
|
|
padding: 0;
|
|
|
|
list-style-image: url("chrome://browser/skin/identity.png");
|
|
|
|
-moz-image-region: rect(0px, 64px, 64px, 0px);
|
2007-10-22 07:30:23 +04:00
|
|
|
}
|
|
|
|
|
2008-03-04 14:32:11 +03:00
|
|
|
#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
|
|
|
|
-moz-image-region: rect(64px, 64px, 128px, 0px);
|
2007-10-22 07:30:23 +04:00
|
|
|
}
|
|
|
|
|
2008-03-04 14:32:11 +03:00
|
|
|
#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
|
|
|
|
-moz-image-region: rect(128px, 64px, 192px, 0px);
|
2007-10-22 07:30:23 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#identity-popup-icon {
|
|
|
|
list-style-image: url("chrome://browser/skin/identity@2x.png");
|
|
|
|
-moz-image-region: rect(0px, 128px, 128px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
|
|
|
|
-moz-image-region: rect(128px, 128px, 256px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
|
|
|
|
-moz-image-region: rect(256px, 128px, 384px, 0px);
|
|
|
|
}
|
2013-06-29 07:22:41 +04:00
|
|
|
|
|
|
|
#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
|
|
|
|
list-style-image: url("chrome://branding/content/icon128.png");
|
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2008-01-30 07:21:53 +03:00
|
|
|
/* Popup Body Text */
|
2009-10-23 19:28:14 +04:00
|
|
|
.identity-popup-description {
|
2008-03-04 14:32:11 +03:00
|
|
|
white-space: pre-wrap;
|
2008-04-23 16:08:52 +04:00
|
|
|
-moz-padding-start: 15px;
|
2008-03-04 14:32:11 +03:00
|
|
|
margin: 2px 0 4px;
|
2007-10-22 07:30:23 +04:00
|
|
|
}
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
.identity-popup-label {
|
2008-03-04 14:32:11 +03:00
|
|
|
white-space: pre-wrap;
|
2008-04-23 16:08:52 +04:00
|
|
|
-moz-padding-start: 15px;
|
2008-03-04 14:32:11 +03:00
|
|
|
margin: 0;
|
2007-12-13 18:08:23 +03:00
|
|
|
}
|
|
|
|
|
2008-03-04 14:32:11 +03:00
|
|
|
#identity-popup-content-host ,
|
|
|
|
#identity-popup-content-owner {
|
|
|
|
font-weight: bold;
|
|
|
|
max-width: 300px;
|
2007-10-22 07:30:23 +04:00
|
|
|
}
|
|
|
|
|
2008-03-04 14:32:11 +03:00
|
|
|
#identity-popup-content-host ,
|
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
|
|
|
|
font-size: 140%;
|
2008-01-30 07:21:53 +03:00
|
|
|
}
|
|
|
|
|
2008-03-04 14:32:11 +03:00
|
|
|
#identity-popup-content-owner {
|
|
|
|
margin-bottom: 0 !important;
|
2007-10-22 07:30:23 +04:00
|
|
|
}
|
|
|
|
|
2008-01-30 07:21:53 +03:00
|
|
|
#identity-popup-content-verifier {
|
|
|
|
margin: 4px 0 2px;
|
2007-12-13 18:08:23 +03:00
|
|
|
}
|
|
|
|
|
2008-03-04 14:32:11 +03:00
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
|
|
|
|
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
|
2008-01-30 07:21:53 +03:00
|
|
|
margin-top: 10px;
|
2008-04-23 16:08:52 +04:00
|
|
|
-moz-margin-start: -24px;
|
2007-10-22 07:30:23 +04:00
|
|
|
}
|
|
|
|
|
2008-03-04 14:32:11 +03:00
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
|
|
|
|
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
|
2008-04-08 05:41:11 +04:00
|
|
|
margin-top: 5px;
|
2012-08-21 05:38:07 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/Secure-Glyph.png");
|
2007-10-22 07:30:23 +04:00
|
|
|
}
|
|
|
|
|
2013-10-09 17:31:33 +04:00
|
|
|
#identity-popup-help-icon {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border: none;
|
|
|
|
margin: 10px 0 0 2px;
|
|
|
|
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:focus {
|
|
|
|
@hudButtonFocused@
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-popup-help-icon:hover:active {
|
|
|
|
@hudButtonPressed@
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#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 {
|
|
|
|
list-style-image: url("chrome://browser/skin/Secure-Glyph@2x.png");
|
|
|
|
width: 24px;
|
|
|
|
}
|
2013-10-09 17:31:33 +04:00
|
|
|
|
|
|
|
#identity-popup-help-icon {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/question-32.png");
|
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2014-02-14 17:16:27 +04:00
|
|
|
#identity-popup {
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
2013-07-02 04:42:48 +04:00
|
|
|
#identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-popup-container {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-popup-button-container {
|
2014-02-14 17:16:27 +04:00
|
|
|
background-color: hsla(210,4%,10%,.07);
|
|
|
|
border-top: 1px solid hsla(210,4%,10%,.12);
|
2013-07-02 04:42:48 +04:00
|
|
|
padding: 16px;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2010-04-09 21:45:25 +04:00
|
|
|
#notification-popup-box {
|
2011-03-19 00:21:02 +03:00
|
|
|
position: relative;
|
|
|
|
background-color: #fff;
|
|
|
|
background-clip: padding-box;
|
|
|
|
padding-left: 3px;
|
|
|
|
border-radius: 2px 0 0 2px;
|
2011-12-23 03:35:20 +04:00
|
|
|
border-width: 0 8px 0 0;
|
|
|
|
border-style: solid;
|
2013-03-10 11:58:38 +04:00
|
|
|
border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
|
2011-03-19 00:21:02 +03:00
|
|
|
-moz-margin-end: -8px;
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#notification-popup-box {
|
2013-03-10 11:58:38 +04:00
|
|
|
border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] > #urlbar > #notification-popup-box {
|
2011-11-07 22:48:27 +04:00
|
|
|
padding-left: 7px;
|
2011-03-19 00:21:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#notification-popup-box:-moz-locale-dir(rtl),
|
|
|
|
.notification-anchor-icon:-moz-locale-dir(rtl) {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2010-04-09 21:45:25 +04:00
|
|
|
}
|
|
|
|
|
2010-07-01 20:23:11 +04:00
|
|
|
.notification-anchor-icon {
|
2010-04-09 21:45:25 +04:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 0 2px;
|
|
|
|
}
|
|
|
|
|
2010-06-23 20:53:09 +04:00
|
|
|
.notification-anchor-icon:-moz-focusring {
|
2010-09-11 20:27:12 +04:00
|
|
|
box-shadow: 0 0 2px 1px -moz-mac-focusring inset,
|
2010-09-12 13:54:51 +04:00
|
|
|
0 0 3px 2px -moz-mac-focusring;
|
2010-06-23 20:53:09 +04:00
|
|
|
}
|
|
|
|
|
2013-07-04 20:06:11 +04:00
|
|
|
#social-notification-icon > .toolbarbutton-icon {
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2013-06-22 03:14:22 +04:00
|
|
|
.default-notification-icon,
|
2011-01-19 01:57:40 +03:00
|
|
|
#default-notification-icon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/information-16.png);
|
|
|
|
}
|
2012-12-06 02:49:28 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-06-22 03:14:22 +04:00
|
|
|
.default-notification-icon,
|
2012-12-06 02:49:28 +04:00
|
|
|
#default-notification-icon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/information-32.png);
|
|
|
|
}
|
|
|
|
}
|
2011-01-19 01:57:40 +03:00
|
|
|
|
2013-06-22 03:14:22 +04:00
|
|
|
.identity-notification-icon,
|
2012-06-13 05:16:00 +04:00
|
|
|
#identity-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/profile/profileicon.png);
|
|
|
|
}
|
2012-12-06 02:49:28 +04:00
|
|
|
/* XXX: need HiDPI version */
|
2012-06-13 05:16:00 +04:00
|
|
|
|
2013-06-22 03:14:22 +04:00
|
|
|
.geo-notification-icon,
|
2010-07-01 20:23:11 +04:00
|
|
|
#geo-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/Geolocation-16.png);
|
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-06-22 03:14:22 +04:00
|
|
|
.geo-notification-icon,
|
2012-09-30 08:56:40 +04:00
|
|
|
#geo-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/Geolocation-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-22 03:14:22 +04:00
|
|
|
.indexedDB-notification-icon,
|
2012-12-06 02:49:28 +04:00
|
|
|
#indexedDB-notification-icon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/question-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
2013-06-22 03:14:22 +04:00
|
|
|
.indexedDB-notification-icon,
|
2012-12-06 02:49:28 +04:00
|
|
|
#indexedDB-notification-icon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/question-32.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-08-30 20:55:17 +04:00
|
|
|
#addons-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric-16.png);
|
2010-04-09 21:45:25 +04:00
|
|
|
}
|
2012-12-06 02:49:28 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#addons-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png);
|
|
|
|
}
|
|
|
|
}
|
2010-04-09 21:45:25 +04:00
|
|
|
|
2010-09-10 06:08:26 +04:00
|
|
|
#password-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
|
|
|
|
}
|
2012-12-06 02:49:28 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#password-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
2010-09-10 06:08:26 +04:00
|
|
|
|
2013-06-22 03:14:22 +04:00
|
|
|
.webapps-notification-icon,
|
2012-03-13 04:33:10 +04:00
|
|
|
#webapps-notification-icon {
|
2013-07-29 20:17:57 +04:00
|
|
|
list-style-image: url(chrome://global/skin/icons/webapps-16.png);
|
2012-03-13 04:33:10 +04:00
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-06-22 03:14:22 +04:00
|
|
|
.webapps-notification-icon,
|
2012-09-30 08:56:40 +04:00
|
|
|
#webapps-notification-icon {
|
2013-07-29 20:17:57 +04:00
|
|
|
list-style-image: url(chrome://global/skin/icons/webapps-16@2x.png);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-04-14 02:01:43 +04:00
|
|
|
#plugins-notification-icon {
|
2013-07-19 18:02:48 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/notification-pluginNormal.png);
|
|
|
|
}
|
|
|
|
|
2013-10-27 22:41:28 +04:00
|
|
|
#plugins-notification-icon.plugin-hidden {
|
2013-07-19 18:02:48 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/notification-pluginAlert.png);
|
2012-04-14 02:01:43 +04:00
|
|
|
}
|
2012-12-12 07:41:32 +04:00
|
|
|
|
2013-10-27 22:41:28 +04:00
|
|
|
#plugins-notification-icon.plugin-blocked {
|
2013-07-19 18:02:48 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/notification-pluginBlocked.png);
|
|
|
|
}
|
|
|
|
|
2013-10-27 22:41:28 +04:00
|
|
|
#plugins-notification-icon {
|
2013-07-19 18:02:48 +04:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
2013-10-27 22:41:28 +04:00
|
|
|
#plugins-notification-icon:hover {
|
2013-07-19 18:02:48 +04:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
2013-10-27 22:41:28 +04:00
|
|
|
#plugins-notification-icon:active {
|
2013-07-19 18:02:48 +04:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2012-12-12 07:41:32 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: 2dppx) {
|
2013-07-19 18:02:48 +04:00
|
|
|
#plugins-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/notification-pluginNormal@2x.png);
|
|
|
|
}
|
|
|
|
|
2013-10-27 22:41:28 +04:00
|
|
|
#plugins-notification-icon.plugin-hidden {
|
2013-07-19 18:02:48 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/notification-pluginAlert@2x.png);
|
|
|
|
}
|
|
|
|
|
2013-10-27 22:41:28 +04:00
|
|
|
#plugins-notification-icon.plugin-blocked {
|
2013-07-19 18:02:48 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/notification-pluginBlocked@2x.png);
|
|
|
|
}
|
|
|
|
|
2013-10-27 22:41:28 +04:00
|
|
|
#plugins-notification-icon {
|
2013-07-19 18:02:48 +04:00
|
|
|
-moz-image-region: rect(0, 32px, 32px, 0);
|
|
|
|
}
|
|
|
|
|
2013-10-27 22:41:28 +04:00
|
|
|
#plugins-notification-icon:hover {
|
2013-07-19 18:02:48 +04:00
|
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
|
2013-10-27 22:41:28 +04:00
|
|
|
#plugins-notification-icon:active {
|
2013-07-19 18:02:48 +04:00
|
|
|
-moz-image-region: rect(0, 96px, 32px, 64px);
|
2012-12-12 07:41:32 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-04 00:44:12 +04:00
|
|
|
#plugin-install-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/pluginInstall-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#plugin-install-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/pluginInstall-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-02-06 09:59:21 +04: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 22:41:28 +04:00
|
|
|
#plugins-notification-icon.plugin-blocked[showing] {
|
2012-12-12 07:41:32 +04:00
|
|
|
animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes pluginBlockedNotification {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-30 12:04:28 +04:00
|
|
|
#mixed-content-blocked-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/mixed-content-blocked-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#mixed-content-blocked-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/mixed-content-blocked-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-22 03:14:22 +04:00
|
|
|
.webRTC-shareDevices-notification-icon,
|
2012-12-28 13:25:59 +04:00
|
|
|
#webRTC-shareDevices-notification-icon {
|
2012-10-05 13:37:00 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16.png);
|
|
|
|
}
|
2012-12-06 02:49:28 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-06-22 03:14:22 +04:00
|
|
|
.webRTC-shareDevices-notification-icon,
|
2012-12-28 13:25:59 +04:00
|
|
|
#webRTC-shareDevices-notification-icon {
|
2012-12-06 02:49:28 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
2012-10-05 13:37:00 +04:00
|
|
|
|
2013-06-22 03:14:22 +04:00
|
|
|
.webRTC-sharingDevices-notification-icon,
|
2013-01-14 13:21:10 +04:00
|
|
|
#webRTC-sharingDevices-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
2013-06-22 03:14:22 +04:00
|
|
|
.webRTC-sharingDevices-notification-icon,
|
2013-01-14 13:21:10 +04:00
|
|
|
#webRTC-sharingDevices-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-28 21:47:18 +04:00
|
|
|
.webRTC-shareMicrophone-notification-icon,
|
|
|
|
#webRTC-shareMicrophone-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.webRTC-shareMicrophone-notification-icon,
|
|
|
|
#webRTC-shareMicrophone-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.webRTC-sharingMicrophone-notification-icon,
|
|
|
|
#webRTC-sharingMicrophone-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.webRTC-sharingMicrophone-notification-icon,
|
|
|
|
#webRTC-sharingMicrophone-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-22 03:14:22 +04:00
|
|
|
.web-notifications-notification-icon,
|
2012-07-12 19:45:38 +04:00
|
|
|
#web-notifications-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/notification-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
2013-06-22 03:14:22 +04:00
|
|
|
.web-notifications-notification-icon,
|
2012-07-12 19:45:38 +04:00
|
|
|
#web-notifications-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/notification-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-22 03:14:22 +04:00
|
|
|
.pointerLock-notification-icon,
|
2013-03-24 14:32:44 +04:00
|
|
|
#pointerLock-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/pointerLock-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
2013-06-22 03:14:22 +04:00
|
|
|
.pointerLock-notification-icon,
|
2013-03-24 14:32:44 +04:00
|
|
|
#pointerLock-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/pointerLock-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-07 21:37:07 +04:00
|
|
|
.translate-notification-icon,
|
|
|
|
#translate-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/translation-16.png);
|
|
|
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.translate-notification-icon,
|
|
|
|
#translate-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/translation-16@2x.png);
|
|
|
|
-moz-image-region: rect(0px, 32px, 32px, 0px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.translated-notification-icon,
|
|
|
|
#translated-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/translation-16.png);
|
|
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.translated-notification-icon,
|
|
|
|
#translated-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/translation-16@2x.png);
|
|
|
|
-moz-image-region: rect(0px, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
}
|
2013-03-24 14:32:44 +04:00
|
|
|
|
|
|
|
|
2010-04-09 21:45:25 +04:00
|
|
|
.popup-notification-icon {
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
-moz-margin-end: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-icon[popupid="geolocation"] {
|
2010-07-01 13:03:56 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/Geolocation-64.png);
|
2010-04-09 21:45:25 +04:00
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.popup-notification-icon[popupid="geolocation"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/Geolocation-64@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-07-12 19:45:38 +04:00
|
|
|
.popup-notification-icon[popupid="web-notifications"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/notification-64.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.popup-notification-icon[popupid="web-notifications"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/notification-64@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-07-01 20:23:11 +04:00
|
|
|
.popup-notification-icon[popupid="xpinstall-disabled"],
|
2011-01-03 22:40:47 +03:00
|
|
|
.popup-notification-icon[popupid="addon-progress"],
|
|
|
|
.popup-notification-icon[popupid="addon-install-cancelled"],
|
2010-07-01 20:23:11 +04:00
|
|
|
.popup-notification-icon[popupid="addon-install-blocked"],
|
|
|
|
.popup-notification-icon[popupid="addon-install-failed"],
|
2012-04-14 02:01:43 +04:00
|
|
|
.popup-notification-icon[popupid="addon-install-complete"] {
|
2010-07-01 20:23:11 +04:00
|
|
|
list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png);
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
2012-04-14 02:01:43 +04:00
|
|
|
.popup-notification-icon[popupid="click-to-play-plugins"] {
|
2012-08-28 20:23:10 +04:00
|
|
|
list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png);
|
2012-04-14 02:01:43 +04:00
|
|
|
}
|
|
|
|
|
2013-05-04 00:44:12 +04:00
|
|
|
.popup-notification-icon[popupid="plugins-not-found"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/pluginInstall-64.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.popup-notification-icon[popupid="plugins-not-found"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/pluginInstall-64\@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-01-03 22:40:47 +03: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;
|
|
|
|
min-height: 16px;
|
|
|
|
min-width: 16px;
|
|
|
|
max-height: 16px;
|
|
|
|
max-width: 16px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 1px 0 1px;
|
|
|
|
list-style-image: url(chrome://mozapps/skin/downloads/buttons.png);
|
|
|
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-progress-cancel:hover {
|
|
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-progress-cancel:active {
|
|
|
|
-moz-image-region: rect(0px, 48px, 16px, 32px);
|
|
|
|
}
|
|
|
|
|
2010-09-10 02:15:40 +04:00
|
|
|
.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
|
2013-04-29 11:38:53 +04:00
|
|
|
.popup-notification-icon[popupid="indexedDB-quota-prompt"],
|
2013-06-12 02:08:44 +04:00
|
|
|
.popup-notification-icon[popupid*="offline-app-requested"],
|
|
|
|
.popup-notification-icon[popupid="offline-app-usage"] {
|
2010-09-10 02:15:40 +04:00
|
|
|
list-style-image: url(chrome://global/skin/icons/question-64.png);
|
|
|
|
}
|
|
|
|
|
2010-09-10 06:08:26 +04:00
|
|
|
.popup-notification-icon[popupid="password-save"],
|
|
|
|
.popup-notification-icon[popupid="password-change"] {
|
2010-09-10 06:08:26 +04:00
|
|
|
list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png);
|
|
|
|
}
|
|
|
|
|
2013-09-09 16:57:37 +04:00
|
|
|
.popup-notification-icon[popupid="webapps-install-progress"],
|
2012-03-13 04:33:10 +04:00
|
|
|
.popup-notification-icon[popupid="webapps-install"] {
|
2013-07-29 20:17:57 +04:00
|
|
|
list-style-image: url(chrome://global/skin/icons/webapps-64.png);
|
2012-03-13 04:33:10 +04:00
|
|
|
}
|
|
|
|
|
2013-01-30 12:04:28 +04:00
|
|
|
.popup-notification-icon[popupid="mixed-content-blocked"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.popup-notification-icon[popupid="mixed-content-blocked"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/mixed-content-blocked-64@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-03-24 14:32:44 +04:00
|
|
|
.popup-notification-icon[popupid="pointerLock"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/pointerLock-64.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.popup-notification-icon[popupid="pointerLock"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/pointerLock-64@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#pointerLock-cancel {
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-12-28 13:25:59 +04:00
|
|
|
.popup-notification-icon[popupid="webRTC-sharingDevices"],
|
2012-10-05 13:37:00 +04:00
|
|
|
.popup-notification-icon[popupid="webRTC-shareDevices"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64.png);
|
|
|
|
}
|
2013-01-09 02:27:24 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.popup-notification-icon[popupid="webRTC-sharingDevices"],
|
|
|
|
.popup-notification-icon[popupid="webRTC-shareDevices"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png);
|
|
|
|
}
|
|
|
|
}
|
2012-10-05 13:37:00 +04:00
|
|
|
|
2014-02-28 21:47:18 +04:00
|
|
|
.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
|
|
|
|
.popup-notification-icon[popupid="webRTC-shareMicrophone"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
|
|
|
|
.popup-notification-icon[popupid="webRTC-shareMicrophone"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-04-08 05:41:11 +04:00
|
|
|
/* Popup Buttons */
|
|
|
|
#identity-popup-more-info-button {
|
2010-04-20 20:12:10 +04:00
|
|
|
@hudButton@
|
2008-11-28 01:31:08 +03:00
|
|
|
margin: 10px 0 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
min-height: 0px;
|
|
|
|
}
|
|
|
|
|
2010-12-06 01:10:45 +03:00
|
|
|
#identity-popup-more-info-button:focus {
|
|
|
|
@hudButtonFocused@
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#identity-popup-more-info-button:hover:active {
|
2010-12-06 01:10:45 +03:00
|
|
|
@hudButtonPressed@
|
2007-10-22 07:30:23 +04:00
|
|
|
}
|
2008-01-27 08:08:46 +03:00
|
|
|
|
2008-07-15 20:11:00 +04:00
|
|
|
/* ::::: Keyboard UI Panel ::::: */
|
2009-07-21 08:25:59 +04:00
|
|
|
|
2008-07-15 20:11:00 +04:00
|
|
|
.KUI-panel {
|
|
|
|
-moz-appearance: none;
|
2009-07-21 08:25:59 +04:00
|
|
|
background: rgba(27%,27%,27%,.9) url(KUI-background.png) repeat-x;
|
2008-07-15 20:11:00 +04:00
|
|
|
color: white;
|
2009-07-26 11:53:04 +04:00
|
|
|
border-style: none;
|
2010-09-09 19:21:47 +04:00
|
|
|
border-radius: 20px;
|
2008-07-15 20:11:00 +04:00
|
|
|
}
|
|
|
|
|
2009-07-21 08:25:59 +04:00
|
|
|
.KUI-panel[level="top"] {
|
|
|
|
background-color: rgba(27%,27%,27%,.65);
|
2008-11-04 11:19:55 +03:00
|
|
|
-moz-window-shadow: none;
|
2008-07-15 20:11:00 +04:00
|
|
|
}
|
|
|
|
|
2010-03-22 17:11:42 +03:00
|
|
|
/* Ctrl-Tab */
|
|
|
|
|
|
|
|
#ctrlTab-panel {
|
|
|
|
padding: 20px 10px 10px;
|
2010-09-11 20:27:12 +04:00
|
|
|
text-shadow: 0 0 1px rgb(27%,27%,27%), 0 0 2px rgb(27%,27%,27%);
|
2009-07-21 08:25:59 +04:00
|
|
|
}
|
|
|
|
|
2010-03-22 17:11:42 +03:00
|
|
|
.ctrlTab-favicon[src] {
|
2009-07-21 08:25:59 +04:00
|
|
|
background-color: white;
|
2010-03-22 17:11:42 +03:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2009-07-21 08:25:59 +04:00
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
2010-03-22 17:11:42 +03:00
|
|
|
.ctrlTab-preview-inner > .tabPreview-canvas {
|
2010-09-11 20:27:12 +04:00
|
|
|
box-shadow: 1px 1px 2px rgb(12%,12%,12%);
|
2009-07-21 08:25:59 +04:00
|
|
|
}
|
|
|
|
|
2010-03-22 17:11:42 +03:00
|
|
|
.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
|
2009-07-21 08:25:59 +04:00
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
2010-03-22 17:11:42 +03:00
|
|
|
.ctrlTab-preview-inner {
|
2009-07-26 11:53:04 +04:00
|
|
|
padding-bottom: 10px;
|
2009-07-21 08:25:59 +04:00
|
|
|
}
|
|
|
|
|
2010-03-22 17:11:42 +03:00
|
|
|
#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
|
2009-07-26 11:53:04 +04:00
|
|
|
padding: 10px;
|
|
|
|
background-color: rgba(255,255,255,.2);
|
2010-09-09 19:21:47 +04:00
|
|
|
border-radius: .5em;
|
2009-07-21 08:25:59 +04:00
|
|
|
}
|
|
|
|
|
2010-03-22 17:11:42 +03:00
|
|
|
.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
|
|
|
|
color: white;
|
2009-07-26 11:53:04 +04:00
|
|
|
background-color: rgba(0,0,0,.6);
|
2009-07-21 08:25:59 +04:00
|
|
|
text-shadow: none;
|
2009-07-26 11:53:04 +04:00
|
|
|
padding: 8px;
|
|
|
|
border: 2px solid white;
|
2010-09-09 19:21:47 +04:00
|
|
|
border-radius: .5em;
|
2008-11-05 10:38:13 +03:00
|
|
|
}
|
|
|
|
|
2010-03-22 17:11:42 +03:00
|
|
|
.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
|
2009-07-26 11:53:04 +04:00
|
|
|
margin: -10px -10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ctrlTab-showAll {
|
|
|
|
margin-top: .5em;
|
2008-07-15 20:11:00 +04:00
|
|
|
}
|
|
|
|
|
2014-01-29 05:54:36 +04:00
|
|
|
/* Sync Panels */
|
2014-01-25 19:19:07 +04:00
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: 2dppx) {
|
2014-01-29 05:54:36 +04:00
|
|
|
.sync-panel-icon {
|
|
|
|
background: url("chrome://browser/content/abouthome/sync@2x.png") top left no-repeat;
|
2014-01-25 19:19:07 +04:00
|
|
|
background-size: 32px 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sync-panel-button {
|
|
|
|
@hudButton@
|
|
|
|
margin: 0;
|
|
|
|
min-width: 72px;
|
|
|
|
min-height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sync-panel-button:hover:active {
|
|
|
|
@hudButtonPressed@
|
|
|
|
}
|
|
|
|
|
|
|
|
.sync-panel-button:-moz-focusring {
|
|
|
|
@hudButtonFocused@
|
|
|
|
}
|
|
|
|
|
2014-02-01 05:27:51 +04:00
|
|
|
#sync-error-panel-title,
|
|
|
|
#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
|
|
|
}
|
|
|
|
|
|
|
|
#sync-start-panel-subtitle,
|
|
|
|
#sync-error-panel-subtitle {
|
2014-01-25 19:19:07 +04:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2012-07-11 08:08:06 +04:00
|
|
|
/* Lion Fullscreen window styling */
|
|
|
|
@media (-moz-mac-lion-theme) {
|
2014-04-08 05:35:00 +04:00
|
|
|
#navigator-toolbox[inFullscreen]::before {
|
2014-03-22 02:44:00 +04:00
|
|
|
/* Adjust by the full element height of #titlebar, since that element is
|
|
|
|
* not displayed in native full-screen.
|
|
|
|
* Also add the height of the tabs, since we're calculating the
|
|
|
|
* total height of this pseudo-element, not just the top-padding. */
|
2014-04-10 21:34:49 +04:00
|
|
|
height: calc(@tabMinHeight@ + @spaceAboveTabbar@) !important;
|
2012-07-11 08:08:06 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-10-28 12:28:05 +04:00
|
|
|
#full-screen-warning-message {
|
2013-08-03 04:36:10 +04:00
|
|
|
background-image: url("chrome://browser/skin/fullscreen-darknoise.png");
|
2011-10-28 12:28:05 +04:00
|
|
|
color: white;
|
2013-08-03 04:36:10 +04:00
|
|
|
border-radius: 4px;
|
2011-10-28 12:28:05 +04:00
|
|
|
margin-top: 30px;
|
|
|
|
padding: 30px 50px;
|
|
|
|
box-shadow: 0 0 2px white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#full-screen-warning-container[obscure-browser] {
|
2012-05-09 01:47:19 +04:00
|
|
|
background-color: rgba(0,0,0,0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.full-screen-description {
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#full-screen-domain-text {
|
|
|
|
font-size: 300%;
|
2011-10-28 12:28:05 +04:00
|
|
|
}
|
|
|
|
|
2012-05-09 01:47:19 +04:00
|
|
|
.full-screen-approval-button,
|
|
|
|
#full-screen-remember-decision {
|
|
|
|
font-size: 120%;
|
2011-10-28 12:28:05 +04:00
|
|
|
}
|
|
|
|
|
2013-02-20 00:34:48 +04:00
|
|
|
%include ../shared/devtools/responsivedesign.inc.css
|
2013-02-20 00:34:48 +04:00
|
|
|
%include ../shared/devtools/highlighter.inc.css
|
2013-02-20 00:34:48 +04:00
|
|
|
%include ../shared/devtools/commandline.inc.css
|
2013-06-24 18:40:26 +04:00
|
|
|
%include ../shared/plugin-doorhanger.inc.css
|
2012-05-10 21:33:54 +04:00
|
|
|
|
2013-09-18 23:32:16 +04:00
|
|
|
%include downloads/indicator.css
|
|
|
|
|
2013-07-27 04:52:21 +04:00
|
|
|
/* On mac, the popup notification contents are indented by default and so
|
|
|
|
the default closebutton margins from notification.css require adjustment */
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-description-box > .popup-notification-closebutton {
|
|
|
|
-moz-margin-end: -6px;
|
|
|
|
margin-top: -7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
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-06-26 20:01:41 +04:00
|
|
|
/* Developer Toolbar */
|
|
|
|
|
2013-06-21 20:24:35 +04:00
|
|
|
#developer-toolbar-closebutton {
|
|
|
|
margin-left: 8px;
|
|
|
|
margin-right: 8px;
|
2012-07-13 13:32:09 +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-07-16 03:12:13 +04:00
|
|
|
|
|
|
|
/* === social toolbar button === */
|
|
|
|
|
2013-04-08 10:53:41 +04:00
|
|
|
#social-toolbar-item > .toolbarbutton-1 {
|
2013-04-08 09:59:33 +04:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2013-04-08 10:53:41 +04:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2013-04-08 07:58:50 +04:00
|
|
|
}
|
|
|
|
|
2013-04-08 10:53:41 +04:00
|
|
|
#social-toolbar-item > .toolbarbutton-1:-moz-locale-dir(ltr) {
|
|
|
|
-moz-border-end-width: 0;
|
|
|
|
}
|
|
|
|
#social-toolbar-item > .toolbarbutton-1:last-child:-moz-locale-dir(ltr) {
|
|
|
|
-moz-border-end-width: 1px;
|
|
|
|
}
|
|
|
|
#social-toolbar-item > .toolbarbutton-1:-moz-locale-dir(rtl) {
|
|
|
|
-moz-border-start-width: 0;
|
|
|
|
}
|
|
|
|
#social-toolbar-item > .toolbarbutton-1:first-child:-moz-locale-dir(rtl) {
|
|
|
|
-moz-border-start-width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-toolbar-item > .toolbarbutton-1:-moz-locale-dir(ltr):first-child,
|
|
|
|
#social-toolbar-item > .toolbarbutton-1:-moz-locale-dir(rtl):last-child {
|
|
|
|
margin-left: 4px;
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
}
|
|
|
|
#social-toolbar-item > .toolbarbutton-1:-moz-locale-dir(rtl):first-child,
|
|
|
|
#social-toolbar-item > .toolbarbutton-1:-moz-locale-dir(ltr):last-child {
|
|
|
|
margin-right: 4px;
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
2012-09-28 03:57:37 +04:00
|
|
|
}
|
|
|
|
|
2013-05-07 10:02:58 +04:00
|
|
|
#social-toolbar-item > toolbaritem {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2012-12-20 03:50:23 +04:00
|
|
|
#social-provider-button {
|
2013-05-06 22:25:24 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/social/services-16.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#social-provider-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/social/services-16@2x.png);
|
|
|
|
}
|
2013-05-21 15:55:54 +04:00
|
|
|
#social-provider-button > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
2012-12-20 03:50:23 +04:00
|
|
|
}
|
|
|
|
|
2012-09-28 03:57:37 +04:00
|
|
|
#social-provider-button > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-04-08 10:53:41 +04:00
|
|
|
.toolbarbutton-badge-container {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2013-01-08 00:42:02 +04:00
|
|
|
position: relative;
|
2013-04-08 10:53:41 +04:00
|
|
|
}
|
2012-09-28 03:57:37 +04:00
|
|
|
|
2013-04-24 22:03:56 +04:00
|
|
|
.toolbarbutton-badge[badge]:not([badge=""]) {
|
2013-01-08 00:42:02 +04:00
|
|
|
/* The |content| property is set in the content stylesheet. */
|
2012-09-28 23:41:08 +04:00
|
|
|
font-size: 9px;
|
|
|
|
font-weight: bold;
|
2012-09-28 03:57:37 +04:00
|
|
|
padding: 0 1px;
|
2013-01-08 00:42:02 +04:00
|
|
|
color: #fff;
|
2012-09-28 03:57:37 +04:00
|
|
|
background-color: rgb(240,61,37);
|
|
|
|
border: 1px solid rgb(216,55,34);
|
2013-01-08 00:42:02 +04:00
|
|
|
border-radius: 2px;
|
2012-09-28 03:57:37 +04:00
|
|
|
box-shadow: 0 1px 0 rgba(0,39,121,0.77);
|
2013-01-08 00:42:02 +04:00
|
|
|
position: absolute;
|
2013-04-08 10:53:41 +04:00
|
|
|
top: 0;
|
2013-01-08 00:42:02 +04:00
|
|
|
right: 0;
|
2013-04-24 22:03:56 +04:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-badge[badge]:not([badge=""]):-moz-window-inactive {
|
|
|
|
background-color: rgb(230,230,230);
|
|
|
|
box-shadow: none;
|
|
|
|
border: 1px solid rgb(206,206,206);
|
|
|
|
color: rgb(192,192,192);
|
2012-09-28 03:57:37 +04:00
|
|
|
}
|
|
|
|
|
2013-04-24 22:03:56 +04:00
|
|
|
.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl) {
|
2013-01-08 00:42:02 +04:00
|
|
|
left: 0;
|
|
|
|
right: auto;
|
2012-09-28 03:57:37 +04:00
|
|
|
}
|
|
|
|
|
2013-04-24 22:03:56 +04:00
|
|
|
toolbar[mode="icons"] > *|* > .toolbarbutton-badge[badge]:not([badge=""]) {
|
2013-01-08 00:42:02 +04:00
|
|
|
right: -2px;
|
2012-07-16 03:12:13 +04:00
|
|
|
}
|
|
|
|
|
2013-04-24 22:03:56 +04:00
|
|
|
toolbar[mode="icons"] > *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl) {
|
2013-01-08 00:42:02 +04:00
|
|
|
left: -2px;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2013-04-03 03:28:30 +04:00
|
|
|
.popup-notification-icon[popupid="servicesInstall"] {
|
2013-04-08 05:40:50 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/social/services-64.png);
|
2013-04-03 03:28:30 +04:00
|
|
|
}
|
|
|
|
#servicesInstall-notification-icon {
|
2013-04-08 05:40:50 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/social/services-16.png);
|
2013-04-03 03:28:30 +04:00
|
|
|
}
|
2013-04-08 05:40:50 +04:00
|
|
|
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.popup-notification-icon[popupid="servicesInstall"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/social/services-64@2x.png);
|
|
|
|
}
|
|
|
|
#servicesInstall-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/social/services-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-19 07:05:34 +04:00
|
|
|
#social-undoactivation-button {
|
2013-04-03 03:28:30 +04: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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-activation-button {
|
|
|
|
@hudButton@
|
|
|
|
min-height: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-activation-button:focus {
|
|
|
|
@hudButtonFocused@
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-activation-button:hover:active {
|
|
|
|
@hudButtonPressed@
|
|
|
|
}
|
|
|
|
|
2012-07-16 03:12:13 +04:00
|
|
|
/* === end of social toolbar button === */
|
|
|
|
|
|
|
|
/* === social toolbar provider menu === */
|
|
|
|
|
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-07-16 03:12:13 +04:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2012-10-10 03:29:13 +04:00
|
|
|
margin: 4px;
|
|
|
|
-moz-margin-start: 0;
|
2012-07-16 03:12:13 +04:00
|
|
|
}
|
|
|
|
|
2012-09-07 03:13:37 +04:00
|
|
|
.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2013-05-07 10:02:58 +04:00
|
|
|
/* fixup rounded corners for osx panels */
|
|
|
|
.social-panel > .social-panel-frame {
|
2012-09-07 03:13:37 +04:00
|
|
|
border-radius: inherit;
|
|
|
|
}
|
|
|
|
|
2013-05-07 10:02:58 +04:00
|
|
|
#social-share-panel {
|
|
|
|
max-height: 600px;
|
|
|
|
min-height: 100px;
|
|
|
|
max-width: 800px;
|
|
|
|
min-width: 300px;
|
|
|
|
}
|
|
|
|
|
2013-06-08 01:47:47 +04:00
|
|
|
.social-share-frame:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2013-05-07 10:02:58 +04:00
|
|
|
border-top-right-radius: inherit;
|
|
|
|
border-bottom-right-radius: inherit;
|
|
|
|
}
|
|
|
|
|
2013-06-08 01:47:47 +04:00
|
|
|
.social-share-frame:-moz-locale-dir(rtl) {
|
2013-05-07 10:02:58 +04:00
|
|
|
border-top-left-radius: inherit;
|
|
|
|
border-bottom-left-radius: inherit;
|
2013-06-08 01:47:47 +04:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2013-06-08 01:47:47 +04:00
|
|
|
#social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: inherit;
|
|
|
|
border-bottom-left-radius: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: inherit;
|
|
|
|
border-bottom-right-radius: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons:-moz-locale-dir(ltr) {
|
2013-05-07 10:02:58 +04:00
|
|
|
border-top-left-radius: inherit;
|
|
|
|
border-bottom-left-radius: inherit;
|
|
|
|
}
|
|
|
|
|
2013-06-08 01:47:47 +04:00
|
|
|
#social-share-provider-buttons:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: inherit;
|
|
|
|
border-bottom-right-radius: inherit;
|
|
|
|
}
|
|
|
|
|
2012-07-16 03:12:13 +04:00
|
|
|
/* === end of social toolbar provider menu === */
|
|
|
|
|
2013-02-20 00:34:48 +04:00
|
|
|
%include ../shared/social/chat.inc.css
|
2012-08-21 04:52:26 +04:00
|
|
|
|
|
|
|
.chat-titlebar {
|
2012-09-05 01:42:06 +04:00
|
|
|
background-color: #d9d9d9;
|
2012-10-06 04:57:53 +04:00
|
|
|
background-image: linear-gradient(rgba(255,255,255,.43), rgba(255,255,255,0));
|
2012-09-26 01:38:58 +04:00
|
|
|
}
|
|
|
|
|
2012-09-05 01:42:06 +04:00
|
|
|
.chat-titlebar[selected] {
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
}
|
|
|
|
|
2012-08-21 04:52:26 +04:00
|
|
|
.chatbar-button {
|
2012-09-05 01:42:06 +04:00
|
|
|
background-color: #d9d9d9;
|
2013-05-06 06:48:20 +04:00
|
|
|
background-image: linear-gradient(rgba(255,255,255,.43), rgba(255,255,255,0));
|
|
|
|
border-top-left-radius: @toolbarbuttonCornerRadius@;
|
|
|
|
border-top-right-radius: @toolbarbuttonCornerRadius@;
|
2012-10-06 04:57:53 +04:00
|
|
|
}
|
|
|
|
|
2013-05-06 06:48:20 +04:00
|
|
|
.chatbar-button:hover,
|
2012-10-06 04:57:53 +04:00
|
|
|
.chatbar-button[open="true"] {
|
2012-09-05 01:42:06 +04:00
|
|
|
background-color: #f0f0f0;
|
2012-08-21 04:52:26 +04:00
|
|
|
}
|
|
|
|
|
2013-05-06 06:48:20 +04:00
|
|
|
.chatbar-button[activity]:not([open]) {
|
2012-10-06 04:57:53 +04:00
|
|
|
background-image: radial-gradient(circle farthest-corner at center 2px, rgb(254,254,255) 3%, rgba(210,235,255,0.9) 12%, rgba(148,205,253,0.6) 30%, rgba(148,205,253,0.2) 70%);
|
2012-09-26 01:38:58 +04:00
|
|
|
}
|
|
|
|
|
2012-08-27 05:23:15 +04:00
|
|
|
chatbox {
|
2012-10-06 04:57:53 +04:00
|
|
|
border-top-left-radius: @toolbarbuttonCornerRadius@;
|
|
|
|
border-top-right-radius: @toolbarbuttonCornerRadius@;
|
2012-08-21 04:52:26 +04:00
|
|
|
}
|
|
|
|
|
2013-06-21 21:07:27 +04:00
|
|
|
window > chatbox {
|
|
|
|
border-top-left-radius: @toolbarbuttonCornerRadius@;
|
|
|
|
border-top-right-radius: @toolbarbuttonCornerRadius@;
|
|
|
|
border-bottom-left-radius: @toolbarbuttonCornerRadius@;
|
|
|
|
border-bottom-right-radius: @toolbarbuttonCornerRadius@;
|
|
|
|
}
|
|
|
|
|
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-01-30 20:16:00 +04:00
|
|
|
#main-window[customizing] {
|
|
|
|
background-color: rgb(178,178,178);
|
|
|
|
}
|
|
|
|
|
2014-03-28 21:36:00 +04:00
|
|
|
#main-window[tabsintitlebar][customize-entered] > #titlebar,
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window[privatebrowsingmode=temporary]:not([tabsintitlebar])[customize-entered] > #titlebar,
|
2014-01-30 20:16:00 +04:00
|
|
|
#main-window[customize-entered] > #tab-view-deck {
|
2013-05-11 00:24:18 +04:00
|
|
|
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"),
|
|
|
|
url("chrome://browser/skin/customizableui/background-noise-toolbar.png"),
|
2014-02-28 18:20:27 +04:00
|
|
|
linear-gradient(to bottom, rgb(233,233,233), rgb(178,178,178) 40px);
|
2013-05-11 00:24:18 +04:00
|
|
|
background-attachment: fixed;
|
|
|
|
}
|
|
|
|
|
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(#TabsToolbar),
|
|
|
|
#main-window[customize-entered] #customization-container {
|
2013-05-11 00:24:18 +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(#TabsToolbar) {
|
2013-05-11 00:24:18 +04:00
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
|
|
|
|
2014-02-05 01:17:00 +04:00
|
|
|
#main-window[customize-entered] #TabsToolbar {
|
2013-05-11 00:24:18 +04:00
|
|
|
background-clip: padding-box;
|
|
|
|
border-right: 3px solid transparent;
|
|
|
|
border-left: 3px solid transparent;
|
|
|
|
}
|
|
|
|
|
2014-01-29 21:19:23 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#customization-titlebar-visibility-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle@2x.png");
|
|
|
|
-moz-image-region: rect(0, 48px, 48px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#customization-titlebar-visibility-button[checked] {
|
|
|
|
-moz-image-region: rect(0, 96px, 48px, 48px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#customization-titlebar-visibility-button > .button-box > .button-icon {
|
|
|
|
width: 24px;
|
|
|
|
}
|
2014-03-06 03:09:12 +04:00
|
|
|
|
|
|
|
.customization-tipPanel-closeBox > .close-icon > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customization-tipPanel-infoBox {
|
|
|
|
background-image: url(chrome://browser/skin/customizableui/info-icon-customizeTip@2x.png);
|
|
|
|
background-size: 25px 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customization-tipPanel-contentImage {
|
|
|
|
list-style-image: url(chrome://browser/skin/customizableui/customize-illustration@2x.png);
|
|
|
|
}
|
|
|
|
|
2014-03-07 02:57:15 +04:00
|
|
|
.customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url(chrome://browser/skin/customizableui/customize-illustration-rtl@2x.png);
|
|
|
|
}
|
|
|
|
|
2014-03-06 03:09:12 +04:00
|
|
|
#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
|
|
|
|
#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
|
|
|
|
list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip@2x.png");
|
|
|
|
}
|
2014-01-29 21:19:23 +04:00
|
|
|
}
|
|
|
|
|
2013-04-11 23:50:07 +04:00
|
|
|
/* End customization mode */
|
2013-03-22 23:15:58 +04:00
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
.private-browsing-indicator {
|
2013-01-07 22:24:08 +04:00
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask.png");
|
|
|
|
background-repeat: no-repeat;
|
2014-04-12 19:10:17 +04:00
|
|
|
background-size: 100% auto;
|
|
|
|
width: 38px;
|
|
|
|
height: 28px;
|
|
|
|
/**
|
|
|
|
* The private browsing mask graphic has a 3px flare at the top. The distance
|
|
|
|
* we want between the mask and items on either side is 7px, so we use 4px,
|
|
|
|
* since the other 3px is accounted for by the empty space on either side.
|
|
|
|
*/
|
|
|
|
margin-left: 4px;
|
|
|
|
margin-right: 4px;
|
2013-01-18 05:06:32 +04:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#titlebar-secondary-buttonbox > .private-browsing-indicator {
|
|
|
|
position: relative;
|
2013-02-07 01:15:51 +04:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window[privatebrowsingmode=temporary]:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > .private-browsing-indicator {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask-short.png");
|
|
|
|
height: 20px;
|
2013-02-07 01:15:51 +04:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window:not([privatebrowsingmode=temporary]) .private-browsing-indicator,
|
|
|
|
#main-window[privatebrowsingmode=temporary][inFullscreen] > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > .private-browsing-indicator,
|
|
|
|
#main-window[privatebrowsingmode=temporary]:not([inFullscreen]) > #tab-view-deck > #browser-panel > #navigator-toolbox > #TabsToolbar > .private-browsing-indicator {
|
|
|
|
display: none;
|
2013-02-07 01:15:51 +04:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.private-browsing-indicator {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask@2x.png");
|
|
|
|
}
|
|
|
|
#main-window[privatebrowsingmode=temporary]:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > .private-browsing-indicator {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask-short@2x.png");
|
|
|
|
}
|
2013-06-06 14:26:57 +04:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
@media (-moz-mac-lion-theme) {
|
|
|
|
#TabsToolbar > .private-browsing-indicator {
|
|
|
|
transform: translateY(-@spaceAboveTabbar@);
|
|
|
|
/* We offset by 38px for mask graphic, plus 4px to account for the
|
|
|
|
* margin-left, which sums to 42px.
|
|
|
|
*/
|
|
|
|
margin-right: -42px;
|
|
|
|
}
|
2013-02-07 01:15:51 +04:00
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window[privatebrowsingmode=temporary] .titlebar-placeholder[type="fullscreen-button"],
|
|
|
|
#main-window[privatebrowsingmode=temporary] > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > #titlebar-fullscreen-button {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
2013-02-07 01:15:51 +04:00
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window[privatebrowsingmode=temporary][inFullscreen] .titlebar-placeholder[type="fullscreen-button"] {
|
|
|
|
/* Override display:none for .titlebar-placeholder in fullscreen so we can have consistent
|
|
|
|
position and padding for the private browsing indicator. */
|
|
|
|
display: -moz-box;
|
2013-02-07 01:15:51 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#TabsToolbar > .private-browsing-indicator:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-ordinal-group: 0;
|
2013-01-07 22:24:08 +04:00
|
|
|
}
|
2013-11-17 13:32:40 +04:00
|
|
|
|
|
|
|
%include ../shared/UITour.inc.css
|
2014-01-31 06:25:45 +04:00
|
|
|
|
|
|
|
#UITourTooltipDescription {
|
2014-03-16 01:21:20 +04:00
|
|
|
font-size: 1.18rem;
|
|
|
|
line-height: 2rem;
|
2014-01-31 06:25:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipClose {
|
2014-03-16 01:21:20 +04:00
|
|
|
-moz-margin-end: -10px;
|
|
|
|
margin-top: -14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#UITourTooltipClose > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
2014-01-31 20:28:35 +04:00
|
|
|
}
|