2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
@import url("chrome://global/skin/");
|
|
|
|
|
2010-02-21 07:03:48 -08:00
|
|
|
%include shared.inc
|
2011-11-07 10:48:27 -08:00
|
|
|
%filter substitution
|
|
|
|
%define forwardTransitionLength 150ms
|
2013-04-29 21:25:08 -07:00
|
|
|
%define conditionalForwardWithUrlbar window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large] > :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > #nav-bar-customizationtarget > #unified-back-forward-button
|
2011-11-07 10:48:27 -08:00
|
|
|
%define conditionalForwardWithUrlbarWidth 27
|
2010-02-21 07:03:48 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
|
|
|
|
2009-10-01 23:22:18 -07:00
|
|
|
#urlbar:-moz-lwtheme:not([focused="true"]),
|
2009-10-23 08:28:14 -07:00
|
|
|
.searchbar-textbox:-moz-lwtheme:not([focused="true"]) {
|
2009-09-04 03:58:18 -07:00
|
|
|
opacity: .9;
|
|
|
|
}
|
|
|
|
|
2013-05-04 00:25:59 -07: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-05-15 02:32:09 -07:00
|
|
|
#navigator-toolbox[tabsontop=false]::after {
|
2013-05-04 00:25:59 -07:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
#navigator-toolbox toolbarbutton:-moz-lwtheme {
|
2010-02-21 06:50:10 -08:00
|
|
|
color: inherit;
|
2009-09-04 03:58:18 -07:00
|
|
|
text-shadow: inherit;
|
|
|
|
}
|
|
|
|
|
2013-01-09 08:15:59 -08:00
|
|
|
#main-window[privatebrowsingmode=temporary] #nav-bar[tabsontop=false] {
|
2009-09-04 03:58:18 -07:00
|
|
|
-moz-appearance: none !important;
|
|
|
|
}
|
|
|
|
|
2008-12-08 06:59:41 -08:00
|
|
|
#main-window {
|
2008-05-03 07:47:03 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: #eeeeee;
|
|
|
|
}
|
|
|
|
|
2013-05-02 11:15:29 -07:00
|
|
|
#titlebar-buttonbox > .titlebar-button {
|
2013-02-05 13:40:34 -08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-02-08 07:43:17 -08:00
|
|
|
#titlebar {
|
2013-05-02 11:15:29 -07:00
|
|
|
padding-top: 9px;
|
2013-02-05 13:40:34 -08:00
|
|
|
}
|
|
|
|
|
2013-05-09 09:11:44 -07:00
|
|
|
#main-window[chromehidden~="toolbar"] > #titlebar {
|
|
|
|
padding-top: 22px;
|
|
|
|
}
|
|
|
|
|
2013-03-01 10:48:18 -08:00
|
|
|
#main-window:not(:-moz-lwtheme):not([privatebrowsingmode=temporary]) > #titlebar {
|
|
|
|
-moz-appearance: -moz-window-titlebar;
|
2013-02-05 13:40:34 -08:00
|
|
|
}
|
|
|
|
|
2010-01-14 07:41:58 -08:00
|
|
|
#main-window[chromehidden~="toolbar"][chromehidden~="location"][chromehidden~="directories"] {
|
|
|
|
border-top: 1px solid rgba(0,0,0,0.65);
|
2008-12-08 06:59:41 -08:00
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
|
|
|
-moz-box-align: center;
|
2010-12-23 09:41:51 -08:00
|
|
|
padding: 2px 4px;
|
2010-06-22 13:28:34 -07:00
|
|
|
}
|
|
|
|
|
2011-11-27 03:27:14 -08: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-03-08 02:57:00 -08:00
|
|
|
toolbox[tabsontop=true] > toolbar:not(#TabsToolbar):not(#nav-bar):not(:-moz-lwtheme) {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background: url(chrome://browser/skin/Toolbar-background-noise.png) hsl(0,0%,83%);
|
2011-11-27 03:27:14 -08:00
|
|
|
}
|
|
|
|
|
2010-12-23 09:41:51 -08:00
|
|
|
#nav-bar {
|
|
|
|
padding-bottom: 4px !important;
|
|
|
|
}
|
|
|
|
|
2012-04-18 11:24:30 -07:00
|
|
|
#nav-bar[tabsontop=true],
|
2013-05-21 07:27:17 -07:00
|
|
|
#nav-bar[tabsontop=true][collapsed=true] + toolbar,
|
|
|
|
#nav-bar[tabsontop=true][collapsed=true] + #customToolbars + #PersonalToolbar {
|
2010-12-23 09:41:51 -08:00
|
|
|
-moz-appearance: none;
|
2010-07-19 13:19:14 -07:00
|
|
|
padding-top: 4px !important;
|
2013-03-08 02:57:00 -08:00
|
|
|
background: url(chrome://browser/skin/Toolbar-background-noise.png),
|
2013-05-04 00:25:59 -07:00
|
|
|
linear-gradient(hsl(0,0%,93%), hsl(0,0%,83%));
|
2013-03-08 02:57:00 -08:00
|
|
|
background-clip: border-box;
|
2010-12-23 09:41:51 -08:00
|
|
|
background-origin: border-box !important;
|
2013-05-16 13:32:15 -07:00
|
|
|
box-shadow: inset 0 1px 0 hsla(0,0%,100%,.4);
|
|
|
|
margin-top: -1px;
|
|
|
|
/* Position the toolbar above the bottom of background tabs */
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2010-12-23 09:41:51 -08:00
|
|
|
}
|
|
|
|
|
2013-05-04 00:25:59 -07:00
|
|
|
#navigator-toolbox[tabsontop=true] > toolbar:not(#TabsToolbar):-moz-lwtheme {
|
|
|
|
background-color: @toolbarColorLWT@;
|
|
|
|
background-image: url(chrome://browser/skin/Toolbar-background-noise.png);
|
2010-12-23 09:41:51 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#PersonalToolbar:not(:-moz-lwtheme):-moz-window-inactive,
|
2012-04-18 11:24:30 -07:00
|
|
|
#nav-bar[tabsontop=true]:not(:-moz-lwtheme):-moz-window-inactive,
|
2013-05-21 07:27:17 -07:00
|
|
|
#nav-bar[tabsontop=true][collapsed=true] + toolbar:not(:-moz-lwtheme):-moz-window-inactive,
|
|
|
|
#nav-bar[tabsontop=true][collapsed=true] + #customToolbars + #PersonalToolbar:not(:-moz-lwtheme):-moz-window-inactive {
|
2010-12-23 09:41:51 -08:00
|
|
|
background-color: -moz-mac-chrome-inactive;
|
2010-07-19 13:19:14 -07:00
|
|
|
}
|
|
|
|
|
2013-05-23 06:40:55 -07:00
|
|
|
#nav-bar-overflow-button {
|
|
|
|
-moz-image-region: rect(-5px, 12px, 11px, -4px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#widget-overflow-list > .overflowedItem {
|
|
|
|
width: 100%;
|
|
|
|
min-height: 36px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 0 center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#widget-overflow-list > .overflowedItem > .toolbarbutton-text {
|
|
|
|
-moz-padding-start: 10px;
|
|
|
|
text-align: start;
|
|
|
|
}
|
|
|
|
|
2010-07-19 13:19:14 -07:00
|
|
|
/* ----- BOOKMARK TOOLBAR ----- */
|
|
|
|
|
2009-09-11 06:25:18 -07:00
|
|
|
#personal-bookmarks {
|
2010-07-01 09:42:17 -07:00
|
|
|
min-height: 17px; /* 16px button height + 1px margin-bottom */
|
2009-09-11 06:25:18 -07:00
|
|
|
}
|
2008-01-27 16:53:12 -08:00
|
|
|
|
2010-02-21 06:50:10 -08:00
|
|
|
toolbarbutton.chevron {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/chevron.png");
|
|
|
|
margin: 1px 0 0;
|
2008-11-26 13:01:50 -08:00
|
|
|
padding: 0;
|
2007-10-10 23:42:38 -07:00
|
|
|
}
|
|
|
|
|
2010-02-21 06:50:10 -08:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-text {
|
|
|
|
display: none;
|
2008-04-23 05:08:52 -07:00
|
|
|
}
|
|
|
|
|
2010-02-21 06:50:10 -08:00
|
|
|
toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2008-04-23 05:08:52 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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 00:33:54 -07:00
|
|
|
/* ----- BOOKMARK BUTTONS ----- */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-02-21 06:50:10 -08:00
|
|
|
toolbarbutton.bookmark-item {
|
|
|
|
font-weight: bold;
|
|
|
|
color: #222;
|
|
|
|
border: 0;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 10000px;
|
2010-10-15 03:26:50 -07:00
|
|
|
padding: 1px 8px;
|
2010-03-17 10:08:59 -07:00
|
|
|
margin: 0 0 1px;
|
2008-01-27 16:53:12 -08:00
|
|
|
}
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-02-21 06:50:10 -08: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 05:08:52 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-02-21 06:50:10 -08:00
|
|
|
.bookmark-item > .toolbarbutton-text {
|
2013-04-24 10:26:01 -07:00
|
|
|
display: -moz-box !important; /* Force the display of the label for bookmarks */
|
2010-02-21 06:50:10 -08:00
|
|
|
margin: 0 !important;
|
2008-04-23 05:08:52 -07:00
|
|
|
}
|
|
|
|
|
2010-02-21 06:50:10 -08:00
|
|
|
toolbarbutton.bookmark-item:hover,
|
2008-04-23 05:08:52 -07:00
|
|
|
toolbarbutton.bookmark-item[open="true"] {
|
2010-02-21 06:50:10 -08:00
|
|
|
background-color: rgba(0, 0, 0, .205);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-02-21 06:50:10 -08:00
|
|
|
toolbarbutton.bookmark-item:hover,
|
|
|
|
toolbarbutton.bookmark-item[open="true"] {
|
|
|
|
color: #FFF !important;
|
|
|
|
text-shadow: 0 1px rgba(0, 0, 0, .4) !important;
|
2008-04-23 05:08:52 -07:00
|
|
|
}
|
|
|
|
|
2010-02-21 06:50:10 -08:00
|
|
|
.bookmark-item:hover > .toolbarbutton-menu-dropmarker,
|
|
|
|
.bookmark-item[open="true"] > .toolbarbutton-menu-dropmarker {
|
|
|
|
-moz-image-region: rect(5px, 7px, 10px, 0);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-02-21 06:50:10 -08:00
|
|
|
toolbarbutton.bookmark-item:active:hover,
|
|
|
|
toolbarbutton.bookmark-item[open="true"] {
|
2010-09-11 09:27:12 -07:00
|
|
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4), 0 1px rgba(255, 255, 255, 0.4);
|
2010-02-21 06:50:10 -08:00
|
|
|
background-color: rgba(0, 0, 0, .5);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-03-05 04:00:59 -08:00
|
|
|
toolbarbutton.bookmark-item > menupopup {
|
|
|
|
margin-top: 2px;
|
|
|
|
-moz-margin-start: 3px;
|
|
|
|
}
|
|
|
|
|
2010-07-31 15:03:09 -07:00
|
|
|
.bookmark-item > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
min-height: 16px;
|
2010-10-15 03:26:50 -07:00
|
|
|
max-height: 16px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2013-05-14 05:29:31 -07:00
|
|
|
#PlacesToolbarItems > .bookmark-item:not([image]):not([label=""]):not([container]) > .toolbarbutton-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-07-31 15:03:09 -07:00
|
|
|
.bookmark-item > .toolbarbutton-icon[label]:not([label=""]),
|
|
|
|
.bookmark-item > .toolbarbutton-icon[type="menu"] {
|
|
|
|
-moz-margin-end: 5px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-02-21 06:50:10 -08:00
|
|
|
.bookmark-item[container] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder.png");
|
2007-04-01 12:04:27 -07:00
|
|
|
}
|
|
|
|
|
2012-03-06 11:28:51 -08:00
|
|
|
.bookmark-item[container][livemark] {
|
|
|
|
list-style-image: url("chrome://browser/skin/page-livemarks.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-03-06 11:28:51 -08: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 12:04:27 -07:00
|
|
|
}
|
|
|
|
|
2012-03-06 11:28:51 -08:00
|
|
|
.bookmark-item[container][query] {
|
2008-04-15 10:09:00 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/query.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][tagContainer] {
|
2011-11-29 04:33:27 -08:00
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
2007-11-19 18:01:53 -08:00
|
|
|
}
|
|
|
|
|
2008-04-15 10:09:00 -07:00
|
|
|
.bookmark-item[query][dayContainer] {
|
2008-05-05 11:06:31 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/history.png");
|
2008-04-15 10:09:00 -07: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-19 18:01:53 -08:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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 11:28:51 -08:00
|
|
|
/* Workaround for native menubar inheritance */
|
|
|
|
.openintabs-menuitem,
|
|
|
|
.openlivemarksite-menuitem,
|
|
|
|
.livemarkstatus-menuitem {
|
|
|
|
list-style-image: none;
|
2012-02-24 04:42:26 -08:00
|
|
|
}
|
|
|
|
|
2012-03-06 11:28:51 -08:00
|
|
|
.bookmark-item[cutting] > .toolbarbutton-icon,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
opacity: 0.5;
|
2007-04-01 12:04:27 -07:00
|
|
|
}
|
|
|
|
|
2012-03-06 11:28:51 -08:00
|
|
|
.bookmark-item[cutting] > .toolbarbutton-text,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
|
|
|
|
opacity: 0.7;
|
2007-04-01 12:04:27 -07:00
|
|
|
}
|
|
|
|
|
2013-03-08 17:35:37 -08:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.bookmark-item > .toolbarbutton-icon,
|
|
|
|
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
image-rendering: -moz-crisp-edges;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-10-14 04:56:59 -07:00
|
|
|
#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
|
2011-12-21 15:16:05 -08:00
|
|
|
background: url("chrome://browser/skin/places/bookmarksToolbar.png") no-repeat center;
|
2009-10-14 04:56:59 -07:00
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.bookmarks-toolbar-customize {
|
|
|
|
max-width: 15em !important;
|
2009-10-14 04:56:59 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
|
|
|
|
background-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png");
|
|
|
|
background-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmarks-toolbar-customize {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png") !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmarks-toolbar-customize > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-08-18 00:33:54 -07:00
|
|
|
/* ----- BOOKMARK MENUS ----- */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2010-06-24 10:08:43 -07:00
|
|
|
#bookmarksToolbarFolderMenu,
|
2010-10-06 05:16:05 -07:00
|
|
|
#BMB_bookmarksToolbar {
|
2010-06-24 10:08:43 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
|
|
|
|
}
|
|
|
|
|
2010-10-06 05:16:05 -07:00
|
|
|
#BMB_unsortedBookmarks {
|
2010-08-13 06:28:55 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.png");
|
2008-04-08 17:39:18 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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 00:33:54 -07:00
|
|
|
/* ----- PRIMARY TOOLBAR BUTTONS ----- */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-08-23 14:03:42 -07:00
|
|
|
.toolbarbutton-1:not([type="menu-button"]),
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker,
|
|
|
|
#restore-button {
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-box-orient: vertical;
|
2011-08-08 07:43:04 -07:00
|
|
|
-moz-appearance: toolbarbutton;
|
2010-06-22 13:28:34 -07:00
|
|
|
height: 22px;
|
2011-08-08 07:43:04 -07:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2011-01-17 23:28:29 -08:00
|
|
|
.toolbarbutton-1:not([type="menu-button"]):-moz-lwtheme,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-lwtheme,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme,
|
|
|
|
#restore-button:-moz-lwtheme {
|
2011-08-08 07:43:04 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
padding: 0 3px;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.4);
|
|
|
|
border-radius: @toolbarbuttonCornerRadius@;
|
2013-01-05 07:00:32 -08:00
|
|
|
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;
|
2011-08-08 07:43:04 -07:00
|
|
|
background-origin: border-box;
|
2011-01-17 23:28:29 -08:00
|
|
|
box-shadow: inset 0 1px rgba(255,255,255,0.3), 0 1px rgba(255,255,255,0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-1:not([type="menu-button"]):-moz-lwtheme-darktext,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-lwtheme-darktext,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-darktext,
|
|
|
|
#restore-button:-moz-lwtheme-darktext {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(rgba(255,255,255,0.3), rgba(50,50,50,0.2) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.13));
|
2011-01-17 23:28:29 -08:00
|
|
|
}
|
|
|
|
|
2011-02-15 23:38:16 -08:00
|
|
|
.toolbarbutton-1[type="menu-button"] {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2010-08-23 14:03:42 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-1,
|
|
|
|
#restore-button {
|
|
|
|
margin: 0 4px;
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar.png");
|
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
/* Whitelist built-in buttons, instead of .toolbarbutton-1,
|
|
|
|
to avoid potentially breaking add-on toolbar buttons. */
|
|
|
|
:-moz-any(@primaryToolbarButtons@):not(#tabview-button) {
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar@2x.png");
|
|
|
|
}
|
|
|
|
|
2013-04-23 07:06:17 -07:00
|
|
|
:-moz-any(@primaryToolbarButtons@):not(#tabview-button) > .toolbarbutton-icon,
|
|
|
|
:-moz-any(@primaryToolbarButtons@):not(#tabview-button) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
2012-09-29 21:56:40 -07:00
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-08-02 06:27:38 -07:00
|
|
|
.toolbarbutton-1:not([type="menu-button"]),
|
2010-08-23 14:03:42 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
|
|
|
#restore-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
min-width: 28px;
|
2008-01-29 11:28:13 -08:00
|
|
|
}
|
|
|
|
|
2010-12-31 04:05:13 -08:00
|
|
|
.toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
|
|
margin: 2px;
|
2010-03-17 10:12:03 -07:00
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
.toolbarbutton-1[disabled="true"] > .toolbarbutton-icon,
|
2013-04-17 13:25:46 -07:00
|
|
|
.toolbarbutton-1[disabled="true"] > .toolbarbutton-badge-container > .toolbarbutton-icon,
|
2013-04-23 07:06:17 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon,
|
2010-08-23 14:03:42 -07:00
|
|
|
#restore-button[disabled="true"] > .toolbarbutton-icon {
|
2010-06-22 13:28:34 -07:00
|
|
|
opacity: .4;
|
2009-08-11 01:27:20 -07:00
|
|
|
}
|
|
|
|
|
2011-08-24 07:36:24 -07:00
|
|
|
@media (-moz-mac-lion-theme) {
|
|
|
|
.toolbarbutton-1[disabled="true"] > .toolbarbutton-icon,
|
2013-04-17 13:25:46 -07:00
|
|
|
.toolbarbutton-1[disabled="true"] > .toolbarbutton-badge-container > .toolbarbutton-icon,
|
2013-04-23 07:06:17 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon,
|
2011-08-24 07:36:24 -07:00
|
|
|
#restore-button[disabled="true"] > .toolbarbutton-icon,
|
|
|
|
.toolbarbutton-1[disabled="true"] > .toolbarbutton-menu-dropmarker,
|
|
|
|
.toolbarbutton-1[disabled="true"] > .toolbarbutton-menubutton-dropmarker,
|
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-icon,
|
2013-04-17 13:25:46 -07:00
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-badge-container > .toolbarbutton-icon,
|
2011-08-24 07:36:24 -07:00
|
|
|
#restore-button:not(:hover):-moz-window-inactive > .toolbarbutton-icon,
|
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menu-dropmarker,
|
2013-05-13 05:59:18 -07:00
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
|
2013-04-23 07:06:17 -07:00
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
2011-08-24 07:36:24 -07:00
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-1:-moz-window-inactive[disabled="true"] > .toolbarbutton-icon,
|
2013-04-17 13:25:46 -07:00
|
|
|
.toolbarbutton-1:-moz-window-inactive[disabled="true"] > .toolbarbutton-badge-container > .toolbarbutton-icon,
|
2013-04-23 07:06:17 -07:00
|
|
|
.toolbarbutton-1:-moz-window-inactive > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon,
|
2011-08-24 07:36:24 -07:00
|
|
|
#restore-button:-moz-window-inactive[disabled="true"] > .toolbarbutton-icon {
|
|
|
|
opacity: .25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-11-05 09:04:28 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
|
2010-08-23 14:03:42 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
2010-06-22 13:28:34 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker.png);
|
2010-11-05 09:04:28 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-11-05 09:04:28 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
|
|
|
|
-moz-margin-end: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
2013-04-23 07:06:20 -07:00
|
|
|
padding: 2px 4px 0;
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-border-start: none !important;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2010-06-22 13:28:34 -07:00
|
|
|
|
2010-08-23 14:03:42 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-locale-dir(rtl),
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(ltr) {
|
2010-09-09 08:21:47 -07:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-08-23 14:03:42 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-locale-dir(ltr),
|
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(rtl) {
|
2010-09-09 08:21:47 -07:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2010-06-22 13:28:34 -07:00
|
|
|
}
|
2008-01-27 16:53:12 -08:00
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-text,
|
2010-08-23 14:03:42 -07:00
|
|
|
.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text {
|
2010-06-22 13:28:34 -07:00
|
|
|
margin: 2px 0 0;
|
2008-04-23 05:08:52 -07:00
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
.toolbarbutton-1:not([type="menu-button"]):not([disabled="true"]):active:hover:-moz-lwtheme,
|
|
|
|
.toolbarbutton-1:not([type="menu-button"])[open="true"]:-moz-lwtheme,
|
|
|
|
.toolbarbutton-1:not([disabled="true"]) > .toolbarbutton-menubutton-button:active:hover:-moz-lwtheme,
|
|
|
|
.toolbarbutton-1[open="true"] > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme,
|
|
|
|
#restore-button:not([disabled="true"]):active:hover:-moz-lwtheme {
|
2011-01-17 23:28:29 -08:00
|
|
|
text-shadow: @loweredShadow@;
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
.toolbarbutton-1:not([type="menu-button"]):not(#fullscreen-button)[checked="true"]:-moz-lwtheme {
|
2011-01-17 23:28:29 -08:00
|
|
|
background-color: rgba(0,0,0,0.4);
|
|
|
|
box-shadow: inset 0 2px 5px rgba(0,0,0,0.7), 0 1px rgba(255,255,255,0.2);
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
.toolbarbutton-1:not([type="menu-button"]):not(#fullscreen-button)[checked="true"]:not([disabled="true"]):active:hover:-moz-lwtheme {
|
2011-01-17 23:28:29 -08:00
|
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
|
|
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8), 0 1px rgba(255, 255, 255, 0.2);
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
.toolbarbutton-1 > menupopup {
|
2010-08-05 03:05:22 -07:00
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
2011-02-04 00:09:04 -08:00
|
|
|
#navigator-toolbox > toolbar {
|
|
|
|
/* force iconsize="small" on these toolbars */
|
|
|
|
counter-reset: smallicons;
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* unified back/forward button */
|
|
|
|
|
|
|
|
#unified-back-forward-button {
|
|
|
|
-moz-box-align: center;
|
2008-02-26 23:11:47 -08:00
|
|
|
}
|
|
|
|
|
2011-01-26 23:00:51 -08:00
|
|
|
#back-button,
|
2011-08-08 07:43:04 -07:00
|
|
|
#forward-button:-moz-locale-dir(rtl),
|
2013-04-24 10:26:01 -07:00
|
|
|
#back-button:-moz-locale-dir(rtl):-moz-lwtheme {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 40px, 20px, 20px);
|
2008-02-26 23:11:47 -08:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#back-button,
|
|
|
|
#forward-button:-moz-locale-dir(rtl),
|
2013-04-24 10:26:01 -07:00
|
|
|
#back-button:-moz-locale-dir(rtl):-moz-lwtheme {
|
2012-09-29 21:56:40 -07:00
|
|
|
-moz-image-region: rect(0, 80px, 40px, 40px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-01-26 23:00:51 -08:00
|
|
|
#forward-button,
|
2011-08-08 07:43:04 -07:00
|
|
|
#back-button:-moz-locale-dir(rtl),
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #forward-button:-moz-locale-dir(rtl),
|
|
|
|
#forward-button:-moz-locale-dir(rtl):-moz-lwtheme {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 60px, 20px, 40px);
|
2008-04-23 05:08:52 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#forward-button,
|
|
|
|
#back-button:-moz-locale-dir(rtl),
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #forward-button:-moz-locale-dir(rtl),
|
|
|
|
#forward-button:-moz-locale-dir(rtl):-moz-lwtheme {
|
2012-09-29 21:56:40 -07:00
|
|
|
-moz-image-region: rect(0, 120px, 40px, 80px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #back-button:-moz-locale-dir(rtl),
|
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #forward-button:-moz-locale-dir(rtl),
|
|
|
|
#back-button:-moz-locale-dir(rtl):-moz-lwtheme,
|
|
|
|
#forward-button:-moz-locale-dir(rtl):-moz-lwtheme {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2011-08-08 07:43:04 -07:00
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #back-button {
|
2011-08-08 07:43:04 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-margin-end: -7px;
|
2010-06-22 13:28:34 -07:00
|
|
|
position: relative;
|
2011-01-17 23:28:29 -08:00
|
|
|
z-index: 1;
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 20px, 20px, 0);
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
padding: 4px 5px 4px 3px;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 10000px;
|
2008-04-29 10:12:51 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #back-button {
|
2012-09-29 21:56:40 -07:00
|
|
|
-moz-image-region: rect(0, 40px, 40px, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #back-button:not(:-moz-lwtheme) {
|
2011-08-08 07:43:04 -07:00
|
|
|
height: 31px;
|
|
|
|
padding: 4px 5px 5px 3px;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
background: url(chrome://browser/skin/keyhole-circle.png) 0 0 no-repeat;
|
2011-08-23 11:53:34 -07:00
|
|
|
border-radius: 0;
|
2011-08-08 07:43:04 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #back-button:not(:-moz-lwtheme) {
|
2012-09-29 21:56:40 -07:00
|
|
|
background-image: url(chrome://browser/skin/keyhole-circle@2x.png);
|
|
|
|
background-size: 90px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #back-button:-moz-window-inactive:not(:-moz-lwtheme) {
|
2011-08-08 07:43:04 -07:00
|
|
|
background-position: -60px 0;
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #back-button:not([disabled="true"]):active:hover:not(:-moz-lwtheme),
|
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #back-button[open="true"]:not(:-moz-lwtheme) {
|
2011-08-08 07:43:04 -07:00
|
|
|
background-position: -30px 0;
|
2011-01-17 23:28:29 -08:00
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#forward-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-margin-start: 0;
|
|
|
|
}
|
2008-04-29 10:12:51 -07:00
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #forward-button > .toolbarbutton-icon {
|
2011-08-08 07:43:04 -07:00
|
|
|
/* shift the icon away from the back button */
|
|
|
|
margin-left: 3px;
|
|
|
|
margin-right: -1px;
|
2010-06-22 13:28:34 -07:00
|
|
|
}
|
2008-02-26 23:11:47 -08:00
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="large"] > #nav-bar #forward-button {
|
2013-02-22 22:47:52 -08:00
|
|
|
clip-path: url(chrome://browser/content/browser.xul#osx-keyhole-forward-clip-path);
|
2011-01-17 23:28:29 -08:00
|
|
|
}
|
|
|
|
|
2011-11-07 10:48:27 -08:00
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button:not(:-moz-lwtheme) {
|
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-padding-start: 2px;
|
2013-01-05 07:00:32 -08:00
|
|
|
background: linear-gradient(hsl(0,0%,99%), hsl(0,0%,67%)) padding-box;
|
2011-11-07 10:48:27 -08: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);
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button {
|
|
|
|
border-radius: 0;
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button:-moz-lwtheme {
|
|
|
|
-moz-padding-start: 2px;
|
|
|
|
-moz-padding-end: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: opacity @forwardTransitionLength@ ease-out;
|
2011-11-07 10:48:27 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button:hover:active:not(:-moz-lwtheme) {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(hsl(0,0%,74%), hsl(0,0%,61%));
|
2011-11-07 10:48:27 -08: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);
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button:-moz-window-inactive:not(:-moz-lwtheme) {
|
|
|
|
border-color: hsl(0,0%,64%) hsl(0,0%,65%) hsl(0,0%,66%);
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(hsl(0,0%,99%), hsl(0,0%,82%));
|
2011-11-07 10:48:27 -08:00
|
|
|
box-shadow: inset 0 1px 0 hsla(0,0%,100%,.35);
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (-moz-mac-lion-theme) {
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button:not(:-moz-lwtheme) {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(hsla(0,0%,100%,.73), hsla(0,0%,100%,.05) 85%);
|
2011-11-07 10:48:27 -08: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);
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button:hover:active:not(:-moz-lwtheme) {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(hsla(0,0%,60%,.37), hsla(0,0%,100%,.35) 95%);
|
2011-11-07 10:48:27 -08: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);
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ > #forward-button:-moz-window-inactive:not(:-moz-lwtheme) {
|
|
|
|
background-image: none;
|
|
|
|
border-color: hsla(0,0%,0%,.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="small"] > #nav-bar #forward-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
width: 27px;
|
2011-08-08 07:43:04 -07:00
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="small"] > #nav-bar #forward-button:-moz-lwtheme {
|
2011-01-26 23:00:51 -08:00
|
|
|
padding-left: 2px;
|
2008-02-26 23:11:47 -08:00
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#forward-button:-moz-lwtheme {
|
2010-09-09 08:21:47 -07:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2008-04-23 05:08:52 -07:00
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="small"] > #nav-bar #back-button {
|
2011-02-04 00:09:04 -08:00
|
|
|
-moz-margin-end: 0;
|
|
|
|
width: 26px;
|
2011-08-08 07:43:04 -07:00
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#navigator-toolbox[iconsize="small"] > #nav-bar #back-button:-moz-lwtheme {
|
2011-02-04 00:09:04 -08:00
|
|
|
padding-right: 2px;
|
|
|
|
border-right-width: 0;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2008-04-23 05:08:52 -07:00
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07: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;
|
2008-04-23 05:08:52 -07:00
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07: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;
|
2008-04-23 05:08:52 -07:00
|
|
|
}
|
|
|
|
|
2008-02-26 23:11:47 -08:00
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* reload button */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2008-01-27 16:53:12 -08:00
|
|
|
#reload-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 80px, 20px, 60px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#reload-button {
|
|
|
|
-moz-image-region: rect(0, 160px, 40px, 120px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* stop button */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#stop-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 100px, 20px, 80px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#stop-button {
|
|
|
|
-moz-image-region: rect(0, 200px, 40px, 160px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* home button */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#home-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 120px, 20px, 100px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-02-26 23:11:47 -08:00
|
|
|
#home-button.bookmark-item {
|
|
|
|
list-style-image: url("chrome://browser/skin/home.png");
|
2010-02-21 06:50:10 -08:00
|
|
|
-moz-image-region: rect(0, 12px, 12px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#home-button.bookmark-item:hover {
|
|
|
|
-moz-image-region: rect(0, 24px, 12px, 12px);
|
2008-02-26 23:11:47 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#home-button.bookmark-item > .toolbarbutton-icon {
|
|
|
|
display: -moz-box !important;
|
2010-02-21 06:50:10 -08:00
|
|
|
-moz-margin-start: -2px;
|
|
|
|
-moz-margin-end: 3px;
|
2008-02-26 23:11:47 -08:00
|
|
|
}
|
2010-06-22 13:28:34 -07:00
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#home-button:not(.bookmark-item) {
|
|
|
|
-moz-image-region: rect(0, 240px, 40px, 200px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-07-29 12:37:25 -07:00
|
|
|
/* tabview button */
|
2010-06-29 01:04:22 -07:00
|
|
|
|
2011-02-19 02:35:02 -08:00
|
|
|
#tabview-button,
|
|
|
|
#menu_tabview {
|
2010-07-29 12:37:25 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/tabview/tabview.png);
|
2011-02-19 02:35:02 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button {
|
2010-09-10 14:51:14 -07:00
|
|
|
-moz-image-region: rect(0, 100px, 20px, 80px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button[groups="0"] {
|
|
|
|
-moz-image-region: rect(0, 20px, 20px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button[groups="1"] {
|
|
|
|
-moz-image-region: rect(0, 40px, 20px, 20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button[groups="2"] {
|
|
|
|
-moz-image-region: rect(0, 60px, 20px, 40px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabview-button[groups="3"] {
|
|
|
|
-moz-image-region: rect(0, 80px, 20px, 60px);
|
2010-06-29 01:04:22 -07:00
|
|
|
}
|
|
|
|
|
2011-02-19 02:35:02 -08:00
|
|
|
#menu_tabview {
|
|
|
|
-moz-image-region: rect(2px, 98px, 18px, 82px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_tabview[groups="0"] {
|
|
|
|
-moz-image-region: rect(2px, 18px, 18px, 2px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_tabview[groups="1"] {
|
|
|
|
-moz-image-region: rect(2px, 38px, 18px, 22px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_tabview[groups="2"] {
|
|
|
|
-moz-image-region: rect(2px, 58px, 18px, 42px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu_tabview[groups="3"] {
|
|
|
|
-moz-image-region: rect(2px, 78px, 18px, 62px);
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* download manager button */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#downloads-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 140px, 20px, 120px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#downloads-button {
|
|
|
|
-moz-image-region: rect(0, 280px, 40px, 240px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* history sidebar button */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2013-05-21 15:54:39 -07:00
|
|
|
#history-button,
|
|
|
|
toolbar > .customization-target > #history-panelmenu,
|
|
|
|
toolbar > .customization-target > toolbarpaletteitem > #history-panelmenu {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 160px, 20px, 140px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2008-01-27 16:53:12 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#history-button[checked="true"] {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(20px, 160px, 40px, 140px);
|
2008-01-27 16:53:12 -08:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#history-button {
|
|
|
|
-moz-image-region: rect(0, 320px, 40px, 280px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#history-button[checked="true"] {
|
|
|
|
-moz-image-region: rect(40px, 320px, 80px, 280px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-24 10:08:43 -07:00
|
|
|
/* bookmark sidebar & menu buttons */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#bookmarks-menu-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 180px, 20px, 160px);
|
2008-01-27 16:53:12 -08:00
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#bookmarks-menu-button.bookmark-item {
|
|
|
|
-moz-image-region: rect(2px, 178px, 18px, 162px);
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar.png");
|
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-05-10 08:19:48 -07:00
|
|
|
#bookmarks-menu-button {
|
2012-09-29 21:56:40 -07:00
|
|
|
-moz-image-region: rect(0, 360px, 40px, 320px);
|
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#bookmarks-menu-button.bookmark-item {
|
|
|
|
-moz-image-region: rect(4px, 356px, 36px, 324px);
|
|
|
|
list-style-image: url("chrome://browser/skin/Toolbar@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarks-menu-button.bookmark-item > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#bookmarks-menu-button.toolbarbutton-1 {
|
|
|
|
-moz-box-orient: horizontal;
|
2010-06-24 10:08:43 -07:00
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* print button */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#print-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 200px, 20px, 180px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#print-button {
|
|
|
|
-moz-image-region: rect(0, 400px, 40px, 360px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* toolbar new tab button */
|
2009-01-23 00:13:13 -08:00
|
|
|
|
|
|
|
#new-tab-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 220px, 20px, 200px);
|
2009-01-23 00:13:13 -08:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#new-tab-button {
|
|
|
|
-moz-image-region: rect(0, 440px, 40px, 400px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* new window button */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#new-window-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 240px, 20px, 220px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#new-window-button {
|
|
|
|
-moz-image-region: rect(0, 480px, 40px, 440px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* cut button */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#cut-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 260px, 20px, 240px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#cut-button {
|
|
|
|
-moz-image-region: rect(0, 520px, 40px, 480px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* copy button */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#copy-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 280px, 20px, 260px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2009-09-03 14:36:32 -07:00
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#copy-button {
|
|
|
|
-moz-image-region: rect(0, 560px, 40px, 520px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* paste button */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#paste-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 300px, 20px, 280px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2010-06-22 13:28:34 -07:00
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#paste-button {
|
|
|
|
-moz-image-region: rect(0, 600px, 40px, 560px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* alltabs button */
|
|
|
|
|
|
|
|
#alltabs-button {
|
|
|
|
-moz-image-region: rect(0, 380px, 20px, 360px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#alltabs-button {
|
|
|
|
-moz-image-region: rect(0, 760px, 40px, 720px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
/* fullscreen button */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-09-03 14:36:32 -07:00
|
|
|
#fullscreen-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 340px, 20px, 320px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2009-09-03 14:36:32 -07:00
|
|
|
#fullscreen-button[checked="true"],
|
2007-03-22 10:30:00 -07:00
|
|
|
#restore-button {
|
2010-06-22 13:28:34 -07:00
|
|
|
-moz-image-region: rect(0, 360px, 20px, 340px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2009-09-03 14:36:32 -07:00
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#fullscreen-button {
|
|
|
|
-moz-image-region: rect(0, 680px, 40px, 640px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#fullscreen-button[checked="true"],
|
|
|
|
#restore-button {
|
|
|
|
-moz-image-region: rect(0, 720px, 40px, 680px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-09-11 03:07:47 -07:00
|
|
|
/* zoom controls */
|
|
|
|
|
|
|
|
#zoom-controls {
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zoom-out-button {
|
|
|
|
-moz-image-region: rect(0, 400px, 20px, 380px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#zoom-in-button {
|
|
|
|
-moz-image-region: rect(0, 420px, 20px, 400px);
|
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#zoom-out-button {
|
|
|
|
-moz-image-region: rect(0, 800px, 40px, 760px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#zoom-in-button {
|
2013-01-31 18:32:25 -08:00
|
|
|
-moz-image-region: rect(0, 840px, 40px, 800px);
|
2012-09-29 21:56:40 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#zoom-out-button {
|
2010-09-11 03:07:47 -07:00
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#zoom-in-button {
|
2010-09-11 03:07:47 -07:00
|
|
|
-moz-border-start: none;
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
2010-09-10 10:00:55 -07:00
|
|
|
/* sync button */
|
2010-09-16 04:23:13 -07:00
|
|
|
|
2010-09-10 10:00:55 -07:00
|
|
|
#sync-button {
|
2010-09-15 13:49:13 -07:00
|
|
|
-moz-image-region: rect(0, 440px, 20px, 420px);
|
2010-09-10 10:00:55 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#sync-button[status="active"] {
|
2010-09-15 13:49:13 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/sync-throbber.png");
|
|
|
|
-moz-image-region: rect(0, 20px, 20px, 0px);
|
2010-09-10 10:00:55 -07:00
|
|
|
}
|
2010-09-16 04:23:13 -07:00
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#sync-button:not([status="active"]) {
|
|
|
|
-moz-image-region: rect(0, 880px, 40px, 840px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-10-15 10:57:10 -07:00
|
|
|
/* feed button */
|
|
|
|
|
|
|
|
#feed-button {
|
|
|
|
-moz-image-region: rect(0, 460px, 20px, 440px);
|
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#feed-button {
|
|
|
|
-moz-image-region: rect(0, 920px, 40px, 880px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-14 01:21:10 -08:00
|
|
|
/* webRTC indicator button */
|
|
|
|
|
|
|
|
#webrtc-status-button {
|
|
|
|
-moz-image-region: rect(0, 480px, 20px, 460px);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#webrtc-status-button {
|
|
|
|
-moz-image-region: rect(0, 960px, 40px, 920px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-10-15 10:57:10 -07:00
|
|
|
|
2009-09-03 14:36:32 -07:00
|
|
|
/* ----- FULLSCREEN WINDOW CONTROLS ----- */
|
|
|
|
|
|
|
|
#minimize-button,
|
|
|
|
#close-button,
|
|
|
|
#fullscreen-button ~ #window-controls > #restore-button {
|
|
|
|
display: none;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: nav-bar-inner ::::: */
|
|
|
|
|
2010-06-22 13:29:22 -07:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
2010-02-21 07:03:52 -08:00
|
|
|
font: icon;
|
2007-03-22 10:30:00 -07:00
|
|
|
width: 7em;
|
2010-02-21 07:03:48 -08:00
|
|
|
-moz-appearance: none;
|
2011-03-18 14:21:02 -07:00
|
|
|
box-shadow: 0 1px rgba(255, 255, 255, 0.2), inset 0 1px hsla(0,0%,0%,.05);
|
2010-06-22 13:28:34 -07:00
|
|
|
margin: 0 4px;
|
2010-06-22 13:29:22 -07:00
|
|
|
padding: 0;
|
2011-01-20 13:43:32 -08:00
|
|
|
border: 1px solid;
|
|
|
|
border-color: #626262 #787878 #8c8c8c;
|
|
|
|
background-clip: padding-box;
|
2008-01-27 16:53:12 -08:00
|
|
|
}
|
|
|
|
|
2011-09-02 10:07:57 -07:00
|
|
|
@media (-moz-mac-lion-theme) {
|
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(hsl(0,0%,97%), hsl(0,0%,100%));
|
2011-09-02 10:07:57 -07: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 07:03:55 -08:00
|
|
|
}
|
|
|
|
|
2010-06-22 13:29:22 -07:00
|
|
|
#urlbar[focused="true"],
|
|
|
|
.searchbar-textbox[focused="true"] {
|
2011-01-20 13:43:32 -08:00
|
|
|
border-color: -moz-mac-focusring;
|
2010-09-11 09:27:12 -07:00
|
|
|
box-shadow: @focusRingShadow@;
|
2010-02-21 07:03:55 -08:00
|
|
|
}
|
|
|
|
|
2010-06-22 13:29:22 -07:00
|
|
|
#urlbar {
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-padding-end: 4px;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: @toolbarbuttonCornerRadius@;
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-11-07 10:48:27 -08:00
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container {
|
|
|
|
padding-left: @conditionalForwardWithUrlbarWidth@px;
|
|
|
|
-moz-margin-start: -@conditionalForwardWithUrlbarWidth@px;
|
|
|
|
position: relative;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar {
|
|
|
|
-moz-border-start: none;
|
|
|
|
margin-left: 0;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@:not([switchingtabs]) + #urlbar-container > #urlbar {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: margin-left @forwardTransitionLength@ ease-out;
|
2011-11-07 10:48:27 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container {
|
2013-02-22 22:47:52 -08:00
|
|
|
clip-path: url("chrome://browser/content/browser.xul#osx-urlbar-back-button-clip-path");
|
2011-11-07 10:48:27 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar {
|
|
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar {
|
|
|
|
/* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-delay: 100s;
|
2011-11-07 10:48:27 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar {
|
|
|
|
/* when not hovered anymore, trigger a new transition to hide the forward button immediately */
|
|
|
|
margin-left: -@conditionalForwardWithUrlbarWidth@.01px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container:-moz-locale-dir(rtl),
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
|
2013-02-22 22:47:52 -08:00
|
|
|
/* let osx-urlbar-back-button-clip-path clip the urlbar's right side for RTL */
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2011-11-07 10:48:27 -08:00
|
|
|
}
|
|
|
|
|
2010-02-21 07:03:48 -08:00
|
|
|
#identity-box {
|
2011-03-18 14:21:02 -07:00
|
|
|
-moz-margin-end: 3px;
|
2012-04-21 00:03:44 -07:00
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
-moz-padding-start: 4px;
|
|
|
|
-moz-padding-end: 0;
|
2012-05-07 10:17:55 -07:00
|
|
|
font-size: .9em;
|
2009-06-10 17:36:54 -07:00
|
|
|
}
|
|
|
|
|
2011-03-18 14:21:02 -07:00
|
|
|
#identity-box:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 2px;
|
|
|
|
border-bottom-left-radius: 2px;
|
2010-09-08 04:39:35 -07:00
|
|
|
}
|
|
|
|
|
2011-03-18 14:21:02 -07:00
|
|
|
#identity-box:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 2px;
|
|
|
|
border-bottom-right-radius: 2px;
|
2010-09-08 04:39:35 -07:00
|
|
|
}
|
|
|
|
|
2011-11-07 10:48:27 -08:00
|
|
|
#notification-popup-box:not([hidden]) + #identity-box {
|
|
|
|
-moz-padding-start: 10px;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@ + #urlbar-container > #urlbar > #identity-box {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: 0s padding-left;
|
2011-11-07 10:48:27 -08:00
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: 0s padding-right;
|
2011-11-07 10:48:27 -08:00
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box {
|
|
|
|
/* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-delay: 100s;
|
2011-11-07 10:48:27 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
|
|
|
|
padding-left: 10.01px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
|
|
|
|
padding-right: 10.01px;
|
|
|
|
}
|
|
|
|
|
2012-05-27 15:29:07 -07:00
|
|
|
#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
|
2012-05-07 10:17:55 -07:00
|
|
|
color: hsl(92,100%,30%);
|
2012-04-21 00:03:44 -07:00
|
|
|
-moz-padding-end: 4px;
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(hsla(92,81%,16%,0),
|
|
|
|
hsla(92,81%,16%,.2) 25%,
|
|
|
|
hsla(92,81%,16%,.2) 75%,
|
|
|
|
hsla(92,81%,16%,0));
|
2012-05-07 10:17:55 -07:00
|
|
|
background-position: right;
|
|
|
|
background-size: 1px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
|
|
|
|
background-position: left;
|
2011-03-18 14:21:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#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 07:03:55 -08:00
|
|
|
}
|
|
|
|
|
2010-06-22 13:29:22 -07:00
|
|
|
#identity-icon-labels {
|
2012-04-21 00:03:44 -07:00
|
|
|
-moz-margin-start: 4px;
|
2010-02-21 07:03:52 -08:00
|
|
|
}
|
|
|
|
|
2010-09-14 22:41:16 -07:00
|
|
|
.urlbar-input-box {
|
2010-06-22 13:29:22 -07:00
|
|
|
-moz-margin-start: 0;
|
|
|
|
padding: 3px 0 2px;
|
2012-10-04 19:28:46 -07:00
|
|
|
min-width: 4em;
|
2008-01-27 16:53:12 -08:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07: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 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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-27 16:53:12 -08:00
|
|
|
#urlbar-icons {
|
|
|
|
-moz-box-align: center;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
.urlbar-icon {
|
2012-10-23 22:16:18 -07:00
|
|
|
padding: 0 3px;
|
2011-09-24 04:03:09 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.urlbar-icon[open="true"],
|
|
|
|
.urlbar-icon:hover:active {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0));
|
2011-09-24 04:03:09 -07:00
|
|
|
}
|
|
|
|
|
2008-01-10 01:16:24 -08:00
|
|
|
#urlbar-search-splitter {
|
2009-06-03 09:02:32 -07:00
|
|
|
min-width: 8px;
|
|
|
|
width: 8px;
|
|
|
|
background-image: none;
|
2010-06-22 13:28:34 -07:00
|
|
|
margin: 0 -4px;
|
|
|
|
position: relative;
|
|
|
|
height: 22px;
|
2008-01-10 01:16:24 -08:00
|
|
|
}
|
|
|
|
|
2011-12-08 15:43:07 -08:00
|
|
|
#page-proxy-favicon {
|
2010-09-08 04:39:35 -07:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2012-04-21 00:03:44 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-generic.png);
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
2012-06-13 04:56:57 -07:00
|
|
|
.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
|
2012-04-21 00:03:44 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https.png);
|
2010-09-08 04:39:35 -07:00
|
|
|
}
|
|
|
|
|
2012-06-13 04:56:57 -07:00
|
|
|
.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
|
2012-04-21 00:03:44 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https-ev.png);
|
|
|
|
}
|
|
|
|
|
2013-01-29 11:51:17 -08:00
|
|
|
.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-active.png);
|
|
|
|
}
|
|
|
|
|
2012-06-13 04:56:57 -07:00
|
|
|
#identity-box:hover:active > #page-proxy-favicon,
|
|
|
|
#identity-box[open=true] > #page-proxy-favicon {
|
2012-04-21 00:03:44 -07:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2010-09-08 04:39:35 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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);
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 11:51:17 -08:00
|
|
|
|
|
|
|
.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-active@2x.png);
|
|
|
|
}
|
2012-09-29 21:56:40 -07:00
|
|
|
|
|
|
|
#identity-box:hover:active > #page-proxy-favicon,
|
|
|
|
#identity-box[open=true] > #page-proxy-favicon {
|
|
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-09-08 04:39:35 -07:00
|
|
|
#page-proxy-favicon[pageproxystate="invalid"] {
|
2012-05-27 15:29:07 -07:00
|
|
|
opacity: 0.3;
|
2010-09-08 04:39:35 -07:00
|
|
|
}
|
|
|
|
|
2010-02-21 07:03:48 -08:00
|
|
|
#wrapper-urlbar-container[place="palette"] {
|
|
|
|
max-width: 20em;
|
|
|
|
}
|
|
|
|
|
2011-01-22 03:21:35 -08:00
|
|
|
#urlbar-display-box {
|
2010-03-26 14:59:02 -07:00
|
|
|
-moz-border-end: 1px solid #AAA;
|
|
|
|
-moz-margin-end: 3px;
|
|
|
|
}
|
|
|
|
|
2011-01-22 03:21:35 -08:00
|
|
|
#urlbar-display {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2010-02-21 07:03:48 -08:00
|
|
|
#PopupAutoCompleteRichResult {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2008-02-25 14:30:48 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/* ----- AUTOCOMPLETE ----- */
|
|
|
|
|
2007-11-06 00:43:53 -08:00
|
|
|
#treecolAutoCompleteImage {
|
2007-11-29 20:57:57 -08:00
|
|
|
max-width: 36px;
|
2007-08-31 13:19:19 -07:00
|
|
|
}
|
|
|
|
|
2007-11-29 20:57:57 -08:00
|
|
|
.ac-result-type-bookmark,
|
2007-11-06 00:43:53 -08:00
|
|
|
.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
|
2011-09-24 04:03:09 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/star-icons.png");
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2007-11-06 00:43:53 -08:00
|
|
|
}
|
|
|
|
|
2008-07-17 04:48:40 -07: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 05:36:48 -07:00
|
|
|
margin: 2px;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2008-07-17 04:48:40 -07:00
|
|
|
}
|
|
|
|
|
2012-07-12 20:53:00 -07:00
|
|
|
richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
|
2008-04-22 17:00:58 -07:00
|
|
|
.autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/star-icons.png");
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(0, 64px, 16px, 48px);
|
2008-04-22 17:00:58 -07:00
|
|
|
}
|
|
|
|
|
2007-11-29 20:57:57 -08:00
|
|
|
.ac-result-type-tag,
|
2007-11-06 00:43:53 -08:00
|
|
|
.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
|
|
|
width: 16px;
|
2007-09-06 22:35:10 -07:00
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2008-04-11 20:14:42 -07:00
|
|
|
.ac-extra > .ac-comment {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2010-12-10 18:32:14 -08:00
|
|
|
.ac-url-text,
|
|
|
|
.ac-action-text {
|
2008-08-02 12:37:17 -07:00
|
|
|
color: -moz-nativehyperlinktext;
|
2011-02-16 04:53:06 -08:00
|
|
|
font: message-box;
|
2007-11-29 20:57:57 -08:00
|
|
|
}
|
|
|
|
|
2010-08-25 21:01:22 -07:00
|
|
|
richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
|
2010-03-26 14:59:02 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/actionicon-tab.png");
|
2012-07-12 20:53:00 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 11px, 0);
|
2012-05-04 09:16:02 -07:00
|
|
|
padding: 0 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
|
2012-07-12 20:53:00 -07:00
|
|
|
-moz-image-region: rect(11px, 16px, 22px, 0);
|
2012-05-04 09:16:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
window[tabsontop="false"] richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
|
2012-07-12 20:53:00 -07:00
|
|
|
-moz-image-region: rect(0, 32px, 11px, 16px);
|
2012-05-04 09:16:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
window[tabsontop="false"] richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
|
2012-07-12 20:53:00 -07:00
|
|
|
-moz-image-region: rect(11px, 32px, 22px, 16px);
|
2010-03-26 14:59:02 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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-03 20:36:10 -07:00
|
|
|
width: 22px;
|
2012-09-29 21:56:40 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
|
|
|
|
-moz-image-region: rect(22px, 32px, 44px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
window[tabsontop="false"] richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
|
|
|
|
-moz-image-region: rect(0, 64px, 22px, 32px);
|
|
|
|
}
|
|
|
|
|
|
|
|
window[tabsontop="false"] richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
|
|
|
|
-moz-image-region: rect(22px, 64px, 44px, 32px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
|
2007-11-29 20:57:57 -08:00
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2010-12-10 18:32:14 -08:00
|
|
|
.ac-comment[selected="true"],
|
|
|
|
.ac-url-text[selected="true"],
|
|
|
|
.ac-action-text[selected="true"] {
|
2007-11-29 20:57:57 -08:00
|
|
|
color: inherit !important;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-05-08 14:47:19 -07:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
|
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
|
2007-03-22 10:30:00 -07:00
|
|
|
{
|
|
|
|
color: GrayText;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treebody::-moz-tree-cell(suggesthint) {
|
|
|
|
border-top: 1px solid GrayText;
|
|
|
|
}
|
|
|
|
|
2010-09-02 19:20:12 -07:00
|
|
|
|
|
|
|
/* ----- COMBINED GO/RELOAD/STOP BUTTON IN LOCATION BAR ----- */
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#go-button,
|
2010-09-02 19:20:12 -07:00
|
|
|
#urlbar > toolbarbutton {
|
|
|
|
margin: 0;
|
2012-05-08 14:47:19 -07:00
|
|
|
-moz-padding-start: 2px;
|
|
|
|
-moz-padding-end: 1px;
|
2010-09-02 19:20:12 -07:00
|
|
|
background-origin: border-box;
|
2011-09-24 04:03:09 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go.png");
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#urlbar > toolbarbutton:not([disabled]):hover:active {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0));
|
2011-01-27 05:15:56 -08:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#go-button {
|
|
|
|
padding: 0 3px;
|
2011-08-05 12:45:59 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#go-button,
|
|
|
|
#urlbar-go-button {
|
|
|
|
-moz-image-region: rect(0, 42px, 14px, 28px);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#go-button:hover:active,
|
|
|
|
#urlbar-go-button:hover:active {
|
|
|
|
-moz-image-region: rect(14px, 42px, 28px, 28px);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07:00
|
|
|
#go-button:-moz-locale-dir(rtl),
|
2011-01-27 05:15:56 -08:00
|
|
|
#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2011-01-27 05:15:56 -08:00
|
|
|
}
|
|
|
|
|
2010-09-02 19:20:12 -07:00
|
|
|
#urlbar-reload-button {
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(0, 14px, 14px, 0);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 04:03:09 -07: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 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button {
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(0, 28px, 14px, 14px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-stop-button:hover:active {
|
|
|
|
-moz-image-region: rect(14px, 28px, 28px, 14px);
|
2010-09-02 19:20:12 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#go-button,
|
|
|
|
#urlbar > toolbarbutton {
|
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#go-button,
|
|
|
|
#urlbar-go-button {
|
|
|
|
-moz-image-region: rect(0, 84px, 28px, 56px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#go-button:hover:active,
|
|
|
|
#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);
|
|
|
|
}
|
|
|
|
|
|
|
|
#go-button > .toolbarbutton-icon,
|
|
|
|
#urlbar > toolbarbutton > .toolbarbutton-icon {
|
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-12-16 09:53:27 -08:00
|
|
|
/* POPUP BLOCKER BUTTON */
|
|
|
|
#page-report-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-report-button:hover:active,
|
|
|
|
#page-report-button[open="true"] {
|
2011-09-24 04:03:09 -07:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2010-12-16 09:53:27 -08:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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-06 23:02:58 -07:00
|
|
|
/* social share panel */
|
|
|
|
.social-share-frame {
|
|
|
|
background: linear-gradient(to bottom, rgba(242,242,242,.99), rgba(242,242,242,.95));
|
|
|
|
border-left: 1px solid #f8f8f8;
|
|
|
|
width: 330px;
|
|
|
|
height: 150px;
|
|
|
|
/* we resize our panels dynamically, make it look nice */
|
|
|
|
transition: height 100ms ease-out, width 100ms ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/social/share-button.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-button[open],
|
|
|
|
#social-share-button:hover:active {
|
|
|
|
list-style-image: url("chrome://browser/skin/social/share-button-active.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.social-share-toolbar {
|
|
|
|
border-right: 1px solid #dedede;
|
|
|
|
background: linear-gradient(to bottom, rgba(247,247,247,.99), rgba(247,247,247,.95));
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons {
|
|
|
|
border-right: 1px solid #fbfbfb;
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons > .share-provider-button {
|
|
|
|
padding: 6px;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons > .share-provider-button[checked],
|
|
|
|
#social-share-provider-buttons > .share-provider-button:active {
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid #b5b5b8;
|
|
|
|
box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons > .share-provider-button[checked] {
|
|
|
|
background: linear-gradient(to bottom, #d9d9d9, #e3e3e3);
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
min-height: 16px;
|
|
|
|
max-height: 16px;
|
|
|
|
}
|
|
|
|
|
2012-07-11 18:31:19 -07:00
|
|
|
/* social recommending panel */
|
|
|
|
|
2013-05-04 13:11:18 -07:00
|
|
|
#social-mark-button {
|
2012-10-23 19:46:05 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2012-10-23 23:45:51 -07:00
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
/* Star button */
|
|
|
|
#star-button {
|
2013-04-25 03:19:52 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/star-icons.png");
|
2013-05-10 08:19:48 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2013-04-25 03:19:52 -07:00
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#star-button:hover:active,
|
|
|
|
#star-button[starred="true"] {
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2008-01-29 20:37:20 -08:00
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#star-button:hover:active[starred="true"] {
|
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-05-10 08:19:48 -07:00
|
|
|
#star-button {
|
2013-05-13 08:59:00 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/places/star-icons@2x.png");
|
2013-05-10 08:19:48 -07:00
|
|
|
-moz-image-region: rect(0, 32px, 32px, 0);
|
|
|
|
width: 22px;
|
2012-09-29 21:56:40 -07:00
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#star-button:hover:active,
|
|
|
|
#star-button[starred="true"] {
|
|
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
2012-09-29 21:56:40 -07:00
|
|
|
}
|
|
|
|
|
2013-05-10 08:19:48 -07:00
|
|
|
#star-button:hover:active[starred="true"] {
|
|
|
|
-moz-image-region: rect(0, 96px, 32px, 64px);
|
2012-09-29 21:56:40 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-04-07 18:41:11 -07:00
|
|
|
/* BOOKMARKING PANEL */
|
2008-01-29 20:37:20 -08:00
|
|
|
#editBookmarkPanelStarIcon {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/starred48.png");
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanelStarIcon[unstarred] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/unstarred48.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanelTitle {
|
|
|
|
font-size: 130%;
|
2008-04-07 18:41:11 -07:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2012-08-20 18:38:07 -07: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-22 17:14:04 -07:00
|
|
|
background: linear-gradient(#fafafa, #fff);
|
2012-08-20 18:38:07 -07: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-07 18:41:11 -07:00
|
|
|
/**** HUD style buttons ****/
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
.editBookmarkPanelHeaderButton,
|
|
|
|
.editBookmarkPanelBottomButton {
|
2010-04-20 09:12:10 -07:00
|
|
|
@hudButton@
|
2012-08-20 18:38:07 -07:00
|
|
|
margin: 0;
|
|
|
|
min-width: 82px;
|
2008-04-07 18:41:11 -07:00
|
|
|
min-height: 22px;
|
|
|
|
}
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
.editBookmarkPanelHeaderButton:hover:active,
|
|
|
|
.editBookmarkPanelBottomButton:hover:active {
|
2010-12-05 14:10:45 -08:00
|
|
|
@hudButtonPressed@
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2010-12-05 14:10:45 -08:00
|
|
|
.editBookmarkPanelHeaderButton:-moz-focusring,
|
|
|
|
.editBookmarkPanelBottomButton:-moz-focusring {
|
|
|
|
@hudButtonFocused@
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2009-10-23 08:28:14 -07: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-10 19:27:29 -07:00
|
|
|
background-color: #666;
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBookmarkPanelHeader {
|
|
|
|
margin-bottom: 6px;
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2012-08-20 18:38:07 -07:00
|
|
|
.editBookmarkPanelBottomButton:last-child {
|
|
|
|
-moz-margin-start: 8px;
|
|
|
|
}
|
|
|
|
|
2009-03-25 15:18:23 -07: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-22 17:14:04 -07:00
|
|
|
background: linear-gradient(#fff, #f2f2f2);
|
2010-12-05 14:10:45 -08:00
|
|
|
background-origin: padding-box;
|
|
|
|
background-clip: padding-box;
|
|
|
|
border-radius: 0 0 3px 3px;
|
2012-08-20 18:38:07 -07: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-07 18:41:11 -07:00
|
|
|
padding: 0;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBMPanel_newFolderButton {
|
2008-04-07 18:41:11 -07:00
|
|
|
-moz-appearance: none;
|
2012-08-20 18:38:07 -07:00
|
|
|
border: 0 solid #a5a5a5;
|
|
|
|
-moz-border-end-width: 1px;
|
2008-04-07 18:41:11 -07:00
|
|
|
padding: 0 9px;
|
|
|
|
margin: 0;
|
|
|
|
min-width: 21px;
|
|
|
|
min-height: 20px;
|
|
|
|
height: 20px;
|
2010-12-05 14:10:45 -08:00
|
|
|
color: #fff;
|
2012-08-20 18:38:07 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/panel-plus-sign.png");
|
2010-12-05 14:10:45 -08:00
|
|
|
position: relative;
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBMPanel_newFolderButton:hover:active {
|
2012-08-22 17:14:04 -07:00
|
|
|
background: linear-gradient(rgba(40,40,40,.9), rgba(70,70,70,.9));
|
2010-12-05 14:10:45 -08:00
|
|
|
box-shadow: inset 0 0 3px rgba(0,0,0,.2), inset 0 1px 7px rgba(0,0,0,.4);
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2010-12-05 14:10:45 -08:00
|
|
|
#editBMPanel_newFolderButton:-moz-focusring {
|
2011-01-18 08:48:19 -08:00
|
|
|
@hudButtonFocused@
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBMPanel_newFolderButton .button-text {
|
2011-01-18 08:48:19 -08:00
|
|
|
display: none;
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBMPanel_folderMenuList {
|
2010-04-20 09:12:10 -07:00
|
|
|
@hudButton@
|
2012-08-20 18:38:07 -07:00
|
|
|
background-clip: padding-box;
|
|
|
|
margin: 0;
|
2008-04-07 18:41:11 -07:00
|
|
|
min-height: 22px;
|
2012-08-20 18:38:07 -07:00
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
-moz-padding-start: 8px;
|
|
|
|
-moz-padding-end: 4px;
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2010-12-05 14:10:45 -08:00
|
|
|
#editBMPanel_folderMenuList:-moz-focusring {
|
|
|
|
@hudButtonFocused@
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBMPanel_folderMenuList[open="true"],
|
|
|
|
#editBMPanel_folderMenuList:hover:active {
|
2010-12-05 14:10:45 -08:00
|
|
|
@hudButtonPressed@
|
2008-01-29 20:37:20 -08:00
|
|
|
}
|
|
|
|
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBMPanel_folderMenuList > .menulist-dropmarker {
|
2008-04-07 18:41:11 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
display: -moz-box;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2012-08-20 18:38:07 -07:00
|
|
|
-moz-padding-end: 4px;
|
|
|
|
width: 7px;
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBMPanel_folderMenuList > .menulist-dropmarker > .dropmarker-icon {
|
2012-08-20 18:38:07 -07: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-10 19:27:29 -07:00
|
|
|
}
|
|
|
|
|
2012-08-20 18:38:07 -07: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-10 19:27:29 -07:00
|
|
|
|
2012-08-20 18:38:07 -07:00
|
|
|
#editBMPanel_folderTree,
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBMPanel_tagsSelector {
|
2008-04-07 18:41:11 -07:00
|
|
|
-moz-appearance: none;
|
2012-08-22 17:14:04 -07:00
|
|
|
background: linear-gradient(#fafafa, #fff);
|
2012-08-20 18:38:07 -07:00
|
|
|
background-clip: padding-box;
|
|
|
|
border-radius: 3px;
|
2010-12-05 14:10:45 -08:00
|
|
|
border: 1px solid rgba(0,0,0,.3);
|
2012-08-20 18:38:07 -07:00
|
|
|
box-shadow: inset 0 1px 1px 1px rgba(0,0,0,.05),
|
|
|
|
0 1px rgba(255,255,255,.3);
|
|
|
|
margin: 0;
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2012-08-20 18:38:07 -07:00
|
|
|
#editBMPanel_folderTree:-moz-focusring,
|
2010-12-05 14:10:45 -08:00
|
|
|
#editBMPanel_tagsSelector:-moz-focusring {
|
2012-08-20 18:38:07 -07:00
|
|
|
border-color: -moz-mac-focusring;
|
|
|
|
box-shadow: @focusRingShadow@;
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2012-08-20 18:38:07 -07: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-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/**** expanders ****/
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-up,
|
|
|
|
#editBookmarkPanel .expander-down {
|
2010-04-20 09:12:10 -07:00
|
|
|
@hudButton@
|
2012-08-20 18:38:07 -07:00
|
|
|
margin: 0;
|
2008-04-07 18:41:11 -07:00
|
|
|
-moz-margin-start: 4px;
|
2012-08-22 17:14:04 -07:00
|
|
|
min-width: 27px;
|
2012-08-20 18:38:07 -07:00
|
|
|
min-height: 22px;
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2010-12-05 14:10:45 -08:00
|
|
|
#editBookmarkPanel .expander-up:-moz-focusring,
|
|
|
|
#editBookmarkPanel .expander-down:-moz-focusring {
|
|
|
|
@hudButtonFocused@
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2010-12-05 14:10:45 -08:00
|
|
|
#editBookmarkPanel .expander-up:hover:active,
|
|
|
|
#editBookmarkPanel .expander-down:hover:active {
|
|
|
|
@hudButtonPressed@
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2011-02-16 09:26:36 -08:00
|
|
|
#editBookmarkPanel .expander-up {
|
2012-08-20 18:38:07 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/panel-expander-open.png");
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
2011-02-16 09:26:36 -08:00
|
|
|
#editBookmarkPanel .expander-down {
|
2012-08-20 18:38:07 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/panel-expander-closed.png");
|
2009-04-20 13:59:53 -07:00
|
|
|
}
|
|
|
|
|
2012-08-23 11:31:52 -07:00
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-icon,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-icon {
|
2012-08-22 17:14:04 -07:00
|
|
|
margin: 1px 0 0;
|
|
|
|
}
|
|
|
|
|
2012-08-23 11:31:52 -07:00
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-text,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-text {
|
2012-08-22 17:14:04 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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 02:24:23 -08:00
|
|
|
#editBMPanel_tagsField > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
|
2012-11-09 02:30:54 -08:00
|
|
|
opacity: 1.0;
|
2011-01-18 08:48:19 -08: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-10 19:27:29 -07:00
|
|
|
}
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
.editBMPanel_rowLabel {
|
2009-04-20 13:59:53 -07:00
|
|
|
text-align: end;
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
2008-01-29 20:37:20 -08:00
|
|
|
|
2011-05-23 21:16:39 -07:00
|
|
|
.panel-promo-box {
|
|
|
|
margin: 8px -16px -16px -16px;
|
|
|
|
padding: 8px 16px;
|
2012-08-20 18:38:07 -07:00
|
|
|
background: #e5e5e5;
|
|
|
|
border-top: 1px solid hsla(0,0%,0%,.1);
|
|
|
|
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;
|
|
|
|
color: #808080;
|
2011-05-23 21:16:39 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-icon {
|
2011-07-04 07:06:16 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/sync-notification-24.png");
|
2011-05-23 21:16:39 -07:00
|
|
|
-moz-margin-end: 10px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton {
|
2012-08-20 18:38:07 -07:00
|
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
2011-05-23 21:16:39 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
border: none;
|
|
|
|
-moz-margin-end: -14px;
|
|
|
|
margin-top: -8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton:hover {
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton:hover:active {
|
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton > .toolbarbutton-text {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.panel-promo-closebutton {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/close@2x.png");
|
|
|
|
-moz-image-region: rect(0, 32px, 32px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton:hover {
|
|
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton:hover:active {
|
|
|
|
-moz-image-region: rect(0, 96px, 32px, 64px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-promo-closebutton > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-09 12:44:01 -07:00
|
|
|
/* History Swipe Animation */
|
|
|
|
|
|
|
|
#historySwipeAnimationCurrentPage,
|
|
|
|
#historySwipeAnimationNextPage {
|
|
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
#historySwipeAnimationContainer {
|
|
|
|
background: url("chrome://browser/skin/linen-pattern.png") #B3B9C1;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/* ----- SIDEBAR ELEMENTS ----- */
|
|
|
|
|
2010-03-17 10:12:03 -07:00
|
|
|
#sidebar,
|
|
|
|
sidebarheader {
|
2013-04-05 05:05:41 -07:00
|
|
|
background-color: #e2e7ed;
|
2008-10-15 01:55:39 -07:00
|
|
|
}
|
|
|
|
|
2010-03-17 10:12:03 -07:00
|
|
|
#sidebar:-moz-window-inactive,
|
|
|
|
sidebarheader:-moz-window-inactive {
|
|
|
|
background-color: #e8e8e8;
|
|
|
|
}
|
|
|
|
|
|
|
|
sidebarheader {
|
2008-01-27 16:53:12 -08:00
|
|
|
padding: 2px;
|
2009-09-04 03:58:18 -07:00
|
|
|
text-shadow: none;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar-box {
|
|
|
|
-moz-appearance: dialog;
|
2008-01-27 16:53:12 -08:00
|
|
|
-moz-appearance: none;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-07-31 17:37:58 -07:00
|
|
|
.sidebar-splitter {
|
2008-04-23 05:08:52 -07:00
|
|
|
-moz-border-start: none;
|
2013-04-05 05:05:41 -07:00
|
|
|
-moz-border-end: 1px solid #bdbdbd;
|
2008-04-23 05:08:52 -07:00
|
|
|
min-width: 1px;
|
2012-07-31 17:37:58 -07:00
|
|
|
width: 3px;
|
2011-01-22 03:21:35 -08:00
|
|
|
background-image: none !important;
|
2012-07-31 17:37:58 -07:00
|
|
|
background-color: transparent;
|
|
|
|
-moz-margin-start: -3px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#appcontent ~ .sidebar-splitter {
|
2012-10-21 18:14:05 -07:00
|
|
|
-moz-border-start: 1px solid #ccc;
|
2012-07-31 17:37:58 -07:00
|
|
|
-moz-border-end: none;
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: -3px;
|
2011-01-22 03:21:35 -08:00
|
|
|
}
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#sidebar-title {
|
2008-01-27 16:53:12 -08:00
|
|
|
color: #535f6d;
|
2011-01-22 03:21:35 -08:00
|
|
|
font-weight: bold;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar-throbber[loading="true"] {
|
2008-01-27 16:53:12 -08:00
|
|
|
list-style-image: url("chrome://global/skin/icons/loading_16.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
sidebarheader > .tabs-closebutton > .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-09-16 01:40:32 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/* ----- THROBBER ----- */
|
|
|
|
|
|
|
|
#navigator-throbber {
|
2008-10-25 06:15:53 -07:00
|
|
|
width: 17px;
|
|
|
|
min-height: 16px;
|
|
|
|
margin: 0 4px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-throbber[busy="true"] {
|
2008-01-27 16:53:12 -08:00
|
|
|
list-style-image: url("chrome://global/skin/icons/loading_16.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-10-25 06:15:53 -07:00
|
|
|
#wrapper-navigator-throbber > #navigator-throbber {
|
2008-04-22 17:00:58 -07:00
|
|
|
list-style-image: url("chrome://global/skin/icons/notloading_16.png");
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item {
|
2007-06-05 16:18:47 -07:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.bookmark-item {
|
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
image.bookmark-item {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.openintabs-menuitem {
|
|
|
|
list-style-image: none;
|
|
|
|
}
|
|
|
|
|
2007-08-22 14:02:02 -07:00
|
|
|
/* ::::: tabbrowser ::::: */
|
|
|
|
|
2010-03-16 23:36:13 -07:00
|
|
|
.tabbrowser-tabbox {
|
2008-11-27 14:17:17 -08:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2013-03-08 02:57:00 -08:00
|
|
|
%include ../shared/tabs.inc.css
|
2010-10-11 20:47:59 -07:00
|
|
|
|
2013-04-24 13:04:13 -07:00
|
|
|
.tab-label {
|
2013-05-02 09:05:50 -07:00
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 0;
|
2013-04-25 14:57:26 -07:00
|
|
|
text-align: center;
|
2010-10-11 20:47:59 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-05-16 12:59:01 -07:00
|
|
|
/* image preloading hack from shared/tabs.inc.css */
|
|
|
|
#TabsToolbar::before {
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]),
|
|
|
|
.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);
|
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
.tab-icon-image {
|
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
|
2013-02-12 05:26:12 -08:00
|
|
|
image-rendering: -moz-crisp-edges;
|
2012-09-29 21:56:40 -07: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");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-11-29 06:18:40 -08:00
|
|
|
.tabbrowser-tab:not(:hover) > .tab-stack > .tab-content > .tab-icon-image:not([selected="true"]) {
|
2013-03-08 02:57:00 -08:00
|
|
|
opacity: .9;
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2013-03-08 02:57:00 -08:00
|
|
|
.tab-label:not([selected="true"]) {
|
|
|
|
opacity: .7;
|
2011-01-17 23:34:29 -08:00
|
|
|
}
|
|
|
|
|
2012-01-17 03:32:43 -08:00
|
|
|
.tabbrowser-tab:not([pinned]):not([fadein]) {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: min-width 200ms ease-out /* copied from browser/base/content/browser.css */,
|
2013-05-02 09:05:50 -07:00
|
|
|
max-width 230ms ease-out /* copied from browser/base/content/browser.css */,
|
|
|
|
opacity 50ms ease-out 80ms /* hide the tab for the last 100ms of the max-width transition */;
|
2010-09-29 03:16:32 -07:00
|
|
|
}
|
|
|
|
|
2009-01-25 01:40:58 -08:00
|
|
|
.tabbrowser-tab,
|
2010-04-27 09:57:19 -07:00
|
|
|
.tabs-newtab-button {
|
2010-11-29 06:18:40 -08:00
|
|
|
font: message-box;
|
|
|
|
font-weight: bold;
|
|
|
|
text-shadow: @loweredShadow@;
|
|
|
|
border: none;
|
2010-07-19 13:19:14 -07:00
|
|
|
}
|
|
|
|
|
2013-03-08 02:57:00 -08:00
|
|
|
.tabbrowser-tab {
|
|
|
|
color: #333;
|
2010-07-19 13:19:14 -07:00
|
|
|
}
|
|
|
|
|
2013-03-08 02:57:00 -08:00
|
|
|
%define TABSONTOP_NEWTAB_BUTTON #tabbrowser-tabs[tabsontop="true"] > .tabbrowser-arrowscrollbox > .tabs-newtab-button
|
|
|
|
%define TABSONBOTTOM_NEWTAB_BUTTON #tabbrowser-tabs[tabsontop="false"] > .tabbrowser-arrowscrollbox > .tabs-newtab-button
|
2009-03-05 04:40:08 -08:00
|
|
|
|
2011-01-07 16:35:33 -08:00
|
|
|
.tabbrowser-tabs[closebuttons="hidden"] > * > * > * > .tab-close-button:not([pinned]) {
|
|
|
|
display: -moz-box;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2010-11-29 06:18:40 -08:00
|
|
|
.tabs-newtab-button > .toolbarbutton-icon {
|
|
|
|
-moz-box-align: center;
|
|
|
|
border: solid transparent;
|
|
|
|
border-width: 0 11px;
|
|
|
|
}
|
|
|
|
|
2013-03-29 14:53:01 -07:00
|
|
|
.tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-label {
|
2010-09-11 09:27:12 -07:00
|
|
|
box-shadow: @focusRingShadow@;
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2010-03-17 10:12:03 -07:00
|
|
|
.tabbrowser-tab:-moz-lwtheme {
|
2009-10-01 23:22:18 -07:00
|
|
|
color: inherit;
|
|
|
|
text-shadow: inherit;
|
|
|
|
}
|
|
|
|
|
2013-05-10 13:24:18 -07:00
|
|
|
#main-window:not([privatebrowsingmode=temporary]):not([customizing]):not([customize-exiting]) #navigator-toolbox[tabsontop="true"]:not(:-moz-lwtheme)::before {
|
2010-11-29 06:18:40 -08: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.
|
|
|
|
*/
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
-moz-appearance: toolbar;
|
2013-03-08 02:57:00 -08:00
|
|
|
height: calc(@tabHeight@ + 1px);
|
|
|
|
margin-bottom: calc(-1px - @tabHeight@);
|
2010-04-05 23:34:27 -07:00
|
|
|
}
|
|
|
|
|
2010-11-29 06:18:40 -08:00
|
|
|
#TabsToolbar {
|
2013-04-16 21:08:07 -07:00
|
|
|
position: relative;
|
2010-07-19 13:19:14 -07:00
|
|
|
-moz-appearance: none;
|
2010-11-29 06:18:40 -08:00
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TabsToolbar[tabsontop="false"] {
|
2011-08-08 07:42:36 -07:00
|
|
|
margin-top: -2px;
|
2010-11-29 06:18:40 -08:00
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
|
2013-03-08 02:57:00 -08:00
|
|
|
/*
|
2013-04-16 21:08:07 -07:00
|
|
|
* Draw the bottom border of the tabstrip:
|
2011-08-08 07:42:36 -07:00
|
|
|
*/
|
2013-05-04 00:25:59 -07:00
|
|
|
#TabsToolbar::after {
|
2013-04-16 21:08:07 -07:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
2013-05-16 13:32:15 -07:00
|
|
|
bottom: 1px;
|
2013-04-16 21:08:07 -07:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 0;
|
2013-05-16 13:32:15 -07:00
|
|
|
border-bottom: 1px solid hsla(0,0%,0%,.3);
|
2008-03-18 04:46:31 -07:00
|
|
|
}
|
|
|
|
|
2011-08-08 07:42:36 -07:00
|
|
|
/* In tabs-on-bottom mode, fill the whole toolbar with the chrome
|
|
|
|
* background color.
|
|
|
|
*/
|
2010-07-19 13:19:14 -07:00
|
|
|
#TabsToolbar[tabsontop="false"]:not(:-moz-lwtheme) {
|
2013-03-08 02:57:00 -08:00
|
|
|
background: -moz-mac-chrome-active;
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2010-07-19 13:19:14 -07:00
|
|
|
#TabsToolbar[tabsontop="false"]:not(:-moz-lwtheme):-moz-window-inactive {
|
2013-03-08 02:57:00 -08:00
|
|
|
background: -moz-mac-chrome-inactive;
|
2010-03-17 10:12:03 -07:00
|
|
|
}
|
|
|
|
|
2010-11-29 06:18:40 -08:00
|
|
|
#tabbrowser-tabs {
|
2010-03-16 23:36:13 -07:00
|
|
|
-moz-box-align: stretch;
|
2010-11-29 06:18:40 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@TABSONTOP_NEWTAB_BUTTON@ > .toolbarbutton-icon {
|
2013-03-08 02:57:00 -08:00
|
|
|
padding: 6px 0 4px;
|
2010-11-29 06:18:40 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@TABSONBOTTOM_NEWTAB_BUTTON@ > .toolbarbutton-icon {
|
2013-03-08 02:57:00 -08:00
|
|
|
padding: 4px 0 6px;
|
2007-09-17 17:59:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Tab Drag and Drop
|
|
|
|
*/
|
|
|
|
|
2007-08-22 14:02:02 -07:00
|
|
|
.tab-drop-indicator {
|
2010-03-10 00:07:45 -08:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png);
|
2013-05-15 11:06:27 -07:00
|
|
|
margin-top: -2px;
|
|
|
|
z-index: 3;
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.tab-drop-indicator {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator@2x.png);
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2007-08-22 14:02:02 -07:00
|
|
|
/**
|
|
|
|
* In-tab close button
|
|
|
|
*/
|
2007-09-17 17:59:41 -07:00
|
|
|
|
2007-08-22 14:02:02 -07:00
|
|
|
.tab-close-button > .toolbarbutton-icon {
|
|
|
|
-moz-margin-end: 0px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button {
|
2011-02-10 17:03:47 -08:00
|
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
2007-08-22 14:02:02 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
border: none !important;
|
2008-10-11 06:55:39 -07:00
|
|
|
background: none;
|
2007-08-22 14:02:02 -07:00
|
|
|
cursor: default;
|
2011-02-10 17:03:47 -08:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2010-03-08 05:33:15 -08:00
|
|
|
.tab-close-button:hover {
|
2011-02-10 17:03:47 -08:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2008-04-22 17:00:58 -07:00
|
|
|
}
|
|
|
|
|
2010-03-08 05:33:15 -08:00
|
|
|
.tab-close-button:hover:active {
|
2011-02-10 17:03:47 -08:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.tab-close-button {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/close@2x.png");
|
|
|
|
-moz-image-region: rect(0, 32px, 32px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button:hover {
|
|
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button:hover:active {
|
|
|
|
-moz-image-region: rect(0, 96px, 32px, 64px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-04-23 05:08:52 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
2009-10-13 12:57:48 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
2011-08-24 07:36:24 -07:00
|
|
|
-moz-image-region: rect(0, 13px, 20px, 0);
|
2008-01-27 16:53:12 -08:00
|
|
|
margin: 0;
|
2011-02-09 10:25:54 -08:00
|
|
|
padding: 0 4px;
|
2009-05-28 16:09:58 -07:00
|
|
|
border: none;
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2011-02-09 10:25:54 -08:00
|
|
|
#tabbrowser-tabs[tabsontop=false] > .tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
|
|
#tabbrowser-tabs[tabsontop=false] > .tabbrowser-arrowscrollbox > .scrollbutton-down,
|
|
|
|
#tabbrowser-tabs[tabsontop=false] > .tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon,
|
|
|
|
#tabbrowser-tabs[tabsontop=false] > .tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleY(-1);
|
2011-02-09 10:25:54 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up {
|
|
|
|
-moz-border-end: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
2009-10-13 12:57:48 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
2011-02-09 10:25:54 -08:00
|
|
|
-moz-border-start: 2px solid transparent;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: 1s background-color ease-out;
|
2009-11-05 00:02:12 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
|
|
|
|
background-color: Highlight;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: none;
|
2009-10-13 12:57:48 -07:00
|
|
|
}
|
|
|
|
|
2009-07-29 11:33:53 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr),
|
2009-10-13 12:57:48 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) {
|
2009-05-28 16:09:58 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png");
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2009-10-13 12:57:48 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr),
|
2009-07-29 11:33:53 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) {
|
2009-05-28 16:09:58 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right.png");
|
2007-08-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2009-05-28 16:09:58 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:hover,
|
2009-10-13 12:57:48 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:hover {
|
2011-08-24 07:36:24 -07:00
|
|
|
-moz-image-region: rect(0, 26px, 20px, 13px);
|
2008-04-22 17:00:58 -07:00
|
|
|
}
|
|
|
|
|
2009-05-28 16:09:58 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:hover:active,
|
2009-10-13 12:57:48 -07:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:hover:active {
|
2011-08-24 07:36:24 -07:00
|
|
|
-moz-image-region: rect(0, 39px, 20px, 26px);
|
2008-04-22 17:00:58 -07:00
|
|
|
}
|
|
|
|
|
2011-08-24 07:36:24 -07: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-22 14:02:02 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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");
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 10:25:54 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(ltr),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(rtl) {
|
2011-12-22 15:35:20 -08:00
|
|
|
border-width: 0 2px 0 0;
|
|
|
|
border-style: solid;
|
2013-03-09 23:58:38 -08:00
|
|
|
border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
2011-02-09 10:25:54 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(ltr),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(rtl) {
|
2011-12-22 15:35:20 -08:00
|
|
|
border-width: 0 0 0 2px;
|
|
|
|
border-style: solid;
|
2013-03-09 23:58:38 -08:00
|
|
|
border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;
|
2011-02-09 10:25:54 -08:00
|
|
|
}
|
2007-08-22 14:02:02 -07:00
|
|
|
|
|
|
|
/**
|
2010-12-15 10:59:19 -08:00
|
|
|
* Tabstrip & add-on bar toolbar buttons
|
2007-08-22 14:02:02 -07:00
|
|
|
*/
|
|
|
|
|
2010-12-15 10:59:19 -08:00
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
|
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button,
|
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
2011-08-08 07:43:04 -07:00
|
|
|
-moz-appearance: none;
|
2010-12-23 14:24:00 -08:00
|
|
|
/* !important flags needed because of bug 561154: */
|
2011-08-08 07:43:04 -07:00
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
border: none !important;
|
|
|
|
border-radius: 0 !important;
|
2010-12-23 09:44:26 -08:00
|
|
|
background: none !important;
|
|
|
|
box-shadow: none !important;
|
2010-06-22 13:28:34 -07:00
|
|
|
}
|
|
|
|
|
2010-12-15 10:59:19 -08:00
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1:not([type="menu-button"]),
|
2013-04-23 07:06:20 -07:00
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
|
2008-04-07 18:41:11 -07:00
|
|
|
margin: 0;
|
2010-06-22 13:28:34 -07:00
|
|
|
padding: 0 1px;
|
2009-05-30 15:28:19 -07:00
|
|
|
}
|
2010-04-27 09:57:19 -07:00
|
|
|
|
2013-04-23 07:06:20 -07:00
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
|
2011-02-09 10:25:54 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover,
|
2010-12-15 10:59:19 -08:00
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1:not([type="menu-button"]):not([disabled]):not([open]):hover,
|
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover,
|
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1:not([disabled]):not([buttonover]):hover > .toolbarbutton-menubutton-dropmarker {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(transparent, rgba(0,0,0,.15)) !important;
|
2010-06-22 13:28:34 -07:00
|
|
|
}
|
|
|
|
|
2011-02-09 10:25:54 -08:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover:active,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover:active,
|
2010-12-15 10:59:19 -08:00
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1:not([type="menu-button"]):not([disabled]):hover:active,
|
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu"][open],
|
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover:active,
|
|
|
|
:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[open]:not([disabled]):hover > .toolbarbutton-menubutton-dropmarker {
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(transparent, rgba(0,0,0,.3)) !important;
|
2010-06-22 13:28:34 -07:00
|
|
|
}
|
|
|
|
|
2010-04-27 09:57:19 -07:00
|
|
|
.tabs-newtab-button,
|
|
|
|
#TabsToolbar > #new-tab-button,
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button {
|
2008-09-25 00:39:41 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png);
|
2009-05-30 15:28:19 -07:00
|
|
|
-moz-image-region: rect(0, 18px, 20px, 0);
|
|
|
|
}
|
2010-04-27 09:57:19 -07:00
|
|
|
|
|
|
|
.tabs-newtab-button:hover,
|
|
|
|
#TabsToolbar > #new-tab-button:hover {
|
2009-05-30 15:28:19 -07:00
|
|
|
-moz-image-region: rect(0, 36px, 20px, 18px);
|
|
|
|
}
|
2010-04-27 09:57:19 -07:00
|
|
|
|
|
|
|
.tabs-newtab-button:hover:active,
|
|
|
|
#TabsToolbar > #new-tab-button:hover:active {
|
2009-05-30 15:28:19 -07:00
|
|
|
-moz-image-region: rect(0, 54px, 20px, 36px);
|
2008-09-25 00:39:41 -07:00
|
|
|
}
|
2010-04-27 09:57:19 -07:00
|
|
|
|
2012-09-29 21:56:40 -07: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);
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-01-17 23:26:18 -08:00
|
|
|
#TabsToolbar #alltabs-button {
|
2008-09-25 00:39:41 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon.png);
|
2011-01-28 00:35:30 -08:00
|
|
|
-moz-image-region: rect(0, 17px, 20px, 0);
|
2009-05-30 15:28:19 -07:00
|
|
|
}
|
2010-04-27 09:57:19 -07:00
|
|
|
|
2010-06-22 13:28:34 -07:00
|
|
|
#TabsToolbar > #alltabs-button:not([disabled="true"]):hover {
|
2011-01-28 00:35:30 -08:00
|
|
|
-moz-image-region: rect(0, 34px, 20px, 17px);
|
2009-05-30 15:28:19 -07:00
|
|
|
}
|
2010-04-27 09:57:19 -07:00
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
#TabsToolbar > #alltabs-button[open="true"]:not([disabled="true"]),
|
2010-06-22 13:28:34 -07:00
|
|
|
#TabsToolbar > #alltabs-button:not([disabled="true"]):hover:active {
|
2011-01-28 00:35:30 -08:00
|
|
|
-moz-image-region: rect(0, 51px, 20px, 34px);
|
2008-09-25 00:39:41 -07:00
|
|
|
}
|
2010-04-27 09:57:19 -07:00
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#TabsToolbar #alltabs-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon@2x.png);
|
|
|
|
-moz-image-region: rect(0, 34px, 40px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#TabsToolbar > #alltabs-button:not([disabled="true"]):hover {
|
|
|
|
-moz-image-region: rect(0, 68px, 40px, 34px);
|
|
|
|
}
|
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
#TabsToolbar > #alltabs-button[open="true"]:not([disabled="true"]),
|
2012-09-29 21:56:40 -07:00
|
|
|
#TabsToolbar > #alltabs-button:not([disabled="true"]):hover:active {
|
|
|
|
-moz-image-region: rect(0, 102px, 40px, 68px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#TabsToolbar #alltabs-button > .toolbarbutton-icon {
|
|
|
|
width: 17px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
#alltabs-button > .toolbarbutton-menu-dropmarker {
|
2007-08-22 14:02:02 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-04-27 09:57:19 -07:00
|
|
|
#alltabs-button > .toolbarbutton-icon {
|
2007-08-22 14:02:02 -07:00
|
|
|
-moz-margin-end: 2px;
|
|
|
|
}
|
|
|
|
|
2009-07-10 11:34:46 -07:00
|
|
|
/* All Tabs Menupopup */
|
|
|
|
.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
|
2011-08-11 17:50:09 -07:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
2009-07-10 11:34:46 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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 11:34:46 -07:00
|
|
|
.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/loading_16.png") !important;
|
|
|
|
}
|
|
|
|
|
2011-05-24 17:57:42 -07:00
|
|
|
.alltabs-item[tabIsVisible] {
|
|
|
|
/* box-shadow instead of background-color to work around native styling */
|
2012-04-26 13:27:38 -07:00
|
|
|
box-shadow: inset -5px 0 ThreeDShadow;
|
2011-05-24 17:57:42 -07:00
|
|
|
}
|
|
|
|
|
2009-07-10 11:34:46 -07:00
|
|
|
/* Tabstrip close button */
|
2007-03-22 10:30:00 -07:00
|
|
|
.tabs-closebutton {
|
2009-06-10 16:10:42 -07:00
|
|
|
-moz-padding-end: 4px;
|
2011-02-10 17:03:47 -08:00
|
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2007-03-22 10:30:00 -07:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2011-02-10 17:03:47 -08:00
|
|
|
#sidebar-header > .tabs-closebutton {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/close-sidebar.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-closebutton:hover {
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.tabs-closebutton:hover:active {
|
2011-02-10 17:03:47 -08:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
:not(#sidebar-header) > .tabs-closebutton {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/close@2x.png");
|
|
|
|
-moz-image-region: rect(0, 32px, 32px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
:not(#sidebar-header) > .tabs-closebutton:hover {
|
|
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
|
|
|
|
:not(#sidebar-header) > .tabs-closebutton:hover:active {
|
|
|
|
-moz-image-region: rect(0, 96px, 32px, 64px);
|
|
|
|
}
|
|
|
|
|
|
|
|
:not(#sidebar-header) > .tabs-closebutton > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-08-14 01:03:34 -07:00
|
|
|
/* Bookmarks toolbar */
|
2010-05-05 06:28:04 -07:00
|
|
|
#PlacesToolbarDropIndicator {
|
2009-08-14 01:03:34 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-02-20 18:17:52 -08:00
|
|
|
/* Bookmark drag and drop styles */
|
2008-04-22 17:00:58 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.bookmark-item[dragover-into="true"] {
|
|
|
|
background: Highlight !important;
|
|
|
|
color: HighlightText !important;
|
|
|
|
}
|
|
|
|
|
2008-02-20 18:17:52 -08:00
|
|
|
/* rules for menupopup drop indicators */
|
|
|
|
.menupopup-drop-indicator-bar {
|
|
|
|
position: relative;
|
|
|
|
/* these two margins must together compensate the indicator's height */
|
|
|
|
margin-top: -1px;
|
|
|
|
margin-bottom: -1px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-02-20 18:17:52 -08:00
|
|
|
.menupopup-drop-indicator {
|
|
|
|
list-style-image: none;
|
|
|
|
height: 2px;
|
|
|
|
-moz-margin-end: -4em;
|
|
|
|
background-color: Highlight;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2009-12-30 07:24:08 -08:00
|
|
|
#customizeToolbarSheetPopup {
|
|
|
|
-moz-window-shadow: sheet;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2007-08-15 18:15:50 -07:00
|
|
|
|
2007-10-21 20:30:23 -07:00
|
|
|
/* Popup Icons */
|
|
|
|
#identity-popup-icon {
|
2008-03-04 03:32:11 -08:00
|
|
|
height: 64px;
|
|
|
|
width: 64px;
|
|
|
|
padding: 0;
|
|
|
|
list-style-image: url("chrome://browser/skin/identity.png");
|
|
|
|
-moz-image-region: rect(0px, 64px, 64px, 0px);
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
|
|
|
|
-moz-image-region: rect(64px, 64px, 128px, 0px);
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
|
|
|
|
-moz-image-region: rect(128px, 64px, 192px, 0px);
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-01-29 20:21:53 -08:00
|
|
|
/* Popup Body Text */
|
2009-10-23 08:28:14 -07:00
|
|
|
.identity-popup-description {
|
2008-03-04 03:32:11 -08:00
|
|
|
white-space: pre-wrap;
|
2008-04-23 05:08:52 -07:00
|
|
|
-moz-padding-start: 15px;
|
2008-03-04 03:32:11 -08:00
|
|
|
margin: 2px 0 4px;
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
.identity-popup-label {
|
2008-03-04 03:32:11 -08:00
|
|
|
white-space: pre-wrap;
|
2008-04-23 05:08:52 -07:00
|
|
|
-moz-padding-start: 15px;
|
2008-03-04 03:32:11 -08:00
|
|
|
margin: 0;
|
2007-12-13 07:08:23 -08:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup-content-host ,
|
|
|
|
#identity-popup-content-owner {
|
|
|
|
font-weight: bold;
|
|
|
|
max-width: 300px;
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup-content-host ,
|
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
|
|
|
|
font-size: 140%;
|
2008-01-29 20:21:53 -08:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup-content-owner {
|
|
|
|
margin-bottom: 0 !important;
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-01-29 20:21:53 -08:00
|
|
|
#identity-popup-content-verifier {
|
|
|
|
margin: 4px 0 2px;
|
2007-12-13 07:08:23 -08:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
|
|
|
|
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
|
2008-01-29 20:21:53 -08:00
|
|
|
margin-top: 10px;
|
2008-04-23 05:08:52 -07:00
|
|
|
-moz-margin-start: -24px;
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
|
|
|
|
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
|
2008-04-07 18:41:11 -07:00
|
|
|
margin-top: 5px;
|
2012-08-20 18:38:07 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/Secure-Glyph.png");
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07: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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-04-09 10:45:25 -07:00
|
|
|
#notification-popup-box {
|
2011-03-18 14:21:02 -07:00
|
|
|
position: relative;
|
|
|
|
background-color: #fff;
|
|
|
|
background-clip: padding-box;
|
|
|
|
padding-left: 3px;
|
|
|
|
border-radius: 2px 0 0 2px;
|
2011-12-22 15:35:20 -08:00
|
|
|
border-width: 0 8px 0 0;
|
|
|
|
border-style: solid;
|
2013-03-09 23:58:38 -08:00
|
|
|
border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill;
|
2011-03-18 14:21:02 -07:00
|
|
|
-moz-margin-end: -8px;
|
|
|
|
}
|
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#notification-popup-box {
|
2013-03-09 23:58:38 -08:00
|
|
|
border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
|
2012-09-29 21:56:40 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-11-07 10:48:27 -08:00
|
|
|
@conditionalForwardWithUrlbar@[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
|
|
|
|
padding-left: 7px;
|
2011-03-18 14:21:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#notification-popup-box:-moz-locale-dir(rtl),
|
|
|
|
.notification-anchor-icon:-moz-locale-dir(rtl) {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2010-04-09 10:45:25 -07:00
|
|
|
}
|
|
|
|
|
2010-07-01 09:23:11 -07:00
|
|
|
.notification-anchor-icon {
|
2010-04-09 10:45:25 -07:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 0 2px;
|
|
|
|
}
|
|
|
|
|
2010-06-23 09:53:09 -07:00
|
|
|
.notification-anchor-icon:-moz-focusring {
|
2010-09-11 09:27:12 -07:00
|
|
|
box-shadow: 0 0 2px 1px -moz-mac-focusring inset,
|
2010-09-12 02:54:51 -07:00
|
|
|
0 0 3px 2px -moz-mac-focusring;
|
2010-06-23 09:53:09 -07:00
|
|
|
}
|
|
|
|
|
2011-01-18 14:57:40 -08:00
|
|
|
#default-notification-icon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/information-16.png);
|
|
|
|
}
|
2012-12-05 14:49:28 -08:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#default-notification-icon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/information-32.png);
|
|
|
|
}
|
|
|
|
}
|
2011-01-18 14:57:40 -08:00
|
|
|
|
2012-06-12 18:16:00 -07:00
|
|
|
#identity-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/profile/profileicon.png);
|
|
|
|
}
|
2012-12-05 14:49:28 -08:00
|
|
|
/* XXX: need HiDPI version */
|
2012-06-12 18:16:00 -07:00
|
|
|
|
2010-07-01 09:23:11 -07:00
|
|
|
#geo-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/Geolocation-16.png);
|
|
|
|
}
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#geo-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/Geolocation-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-12-24 16:08:13 -08:00
|
|
|
#geolocation-learnmore-link {
|
2011-02-12 00:32:07 -08:00
|
|
|
-moz-margin-start: 0; /* override default label margin to match description margin */
|
2010-07-01 09:23:11 -07:00
|
|
|
}
|
|
|
|
|
2012-12-05 14:49:28 -08:00
|
|
|
#indexedDB-notification-icon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/question-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#indexedDB-notification-icon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/question-32.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-08-30 09:55:17 -07:00
|
|
|
#addons-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric-16.png);
|
2010-04-09 10:45:25 -07:00
|
|
|
}
|
2012-12-05 14:49:28 -08:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#addons-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png);
|
|
|
|
}
|
|
|
|
}
|
2010-04-09 10:45:25 -07:00
|
|
|
|
2010-09-09 19:08:26 -07:00
|
|
|
#password-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
|
|
|
|
}
|
2012-12-05 14:49:28 -08:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#password-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
2010-09-09 19:08:26 -07:00
|
|
|
|
2012-03-12 17:33:10 -07:00
|
|
|
#webapps-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webapps-16.png);
|
|
|
|
}
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#webapps-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webapps-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-04-13 15:01:43 -07:00
|
|
|
#plugins-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric-16.png);
|
|
|
|
}
|
2012-12-11 19:41:32 -08:00
|
|
|
|
|
|
|
#blocked-plugins-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/plugins/notifyPluginBlocked.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#blocked-plugins-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-03 13:44:12 -07: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-05 21:59:21 -08:00
|
|
|
#notification-popup-box[hidden] {
|
|
|
|
/* Override display:none to make the pluginBlockedNotification animation work
|
|
|
|
when showing the notification repeatedly. */
|
|
|
|
display: -moz-box;
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2012-12-11 19:41:32 -08:00
|
|
|
#blocked-plugins-notification-icon[showing] {
|
|
|
|
animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes pluginBlockedNotification {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-12-05 14:49:28 -08:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#plugins-notification-icon {
|
|
|
|
list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric.png);
|
|
|
|
}
|
|
|
|
}
|
2012-04-13 15:01:43 -07:00
|
|
|
|
2013-01-30 00:04:28 -08:00
|
|
|
#mixed-content-blocked-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/mixed-content-blocked-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#mixed-content-blocked-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/mixed-content-blocked-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-12-28 01:25:59 -08:00
|
|
|
#webRTC-shareDevices-notification-icon {
|
2012-10-05 02:37:00 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16.png);
|
|
|
|
}
|
2012-12-05 14:49:28 -08:00
|
|
|
@media (min-resolution: 2dppx) {
|
2012-12-28 01:25:59 -08:00
|
|
|
#webRTC-shareDevices-notification-icon {
|
2012-12-05 14:49:28 -08:00
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
2012-10-05 02:37:00 -07:00
|
|
|
|
2013-01-14 01:21:10 -08:00
|
|
|
#webRTC-sharingDevices-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#webRTC-sharingDevices-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-07-12 08:45:38 -07:00
|
|
|
#web-notifications-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/notification-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#web-notifications-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/notification-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-03-24 03:32:44 -07:00
|
|
|
#pointerLock-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/pointerLock-16.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#pointerLock-notification-icon {
|
|
|
|
list-style-image: url(chrome://browser/skin/pointerLock-16@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-09 10:45:25 -07:00
|
|
|
.popup-notification-icon {
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
-moz-margin-end: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-icon[popupid="geolocation"] {
|
2010-07-01 02:03:56 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/Geolocation-64.png);
|
2010-04-09 10:45:25 -07:00
|
|
|
}
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.popup-notification-icon[popupid="geolocation"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/Geolocation-64@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-07-12 08:45:38 -07:00
|
|
|
.popup-notification-icon[popupid="web-notifications"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/notification-64.png);
|
|
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.popup-notification-icon[popupid="web-notifications"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/notification-64@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-07-01 09:23:11 -07:00
|
|
|
.popup-notification-icon[popupid="xpinstall-disabled"],
|
2011-01-03 11:40:47 -08:00
|
|
|
.popup-notification-icon[popupid="addon-progress"],
|
|
|
|
.popup-notification-icon[popupid="addon-install-cancelled"],
|
2010-07-01 09:23:11 -07:00
|
|
|
.popup-notification-icon[popupid="addon-install-blocked"],
|
|
|
|
.popup-notification-icon[popupid="addon-install-failed"],
|
2012-04-13 15:01:43 -07:00
|
|
|
.popup-notification-icon[popupid="addon-install-complete"] {
|
2010-07-01 09:23:11 -07:00
|
|
|
list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png);
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
2012-04-13 15:01:43 -07:00
|
|
|
.popup-notification-icon[popupid="click-to-play-plugins"] {
|
2012-08-28 09:23:10 -07:00
|
|
|
list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png);
|
2012-04-13 15:01:43 -07:00
|
|
|
}
|
|
|
|
|
2013-05-03 13:44:12 -07:00
|
|
|
.popup-notification-icon[popupid="plugins-not-found"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/pluginInstall-64.png);
|
|
|
|
}
|
|
|
|
@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 11:40:47 -08:00
|
|
|
.addon-progress-description {
|
|
|
|
width: 350px;
|
|
|
|
max-width: 350px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-progress-label,
|
|
|
|
.popup-progress-meter {
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-progress-cancel {
|
|
|
|
-moz-appearance: none;
|
|
|
|
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-09 15:15:40 -07:00
|
|
|
.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
|
2013-04-29 00:38:53 -07:00
|
|
|
.popup-notification-icon[popupid="indexedDB-quota-prompt"],
|
|
|
|
.popup-notification-icon[popupid*="offline-app-requested"] {
|
2010-09-09 15:15:40 -07:00
|
|
|
list-style-image: url(chrome://global/skin/icons/question-64.png);
|
|
|
|
}
|
|
|
|
|
2010-09-09 19:08:26 -07:00
|
|
|
.popup-notification-icon[popupid="password-save"],
|
|
|
|
.popup-notification-icon[popupid="password-change"] {
|
2010-09-09 19:08:26 -07:00
|
|
|
list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png);
|
|
|
|
}
|
|
|
|
|
2012-03-12 17:33:10 -07:00
|
|
|
.popup-notification-icon[popupid="webapps-install"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/webapps-64.png);
|
|
|
|
}
|
|
|
|
|
2013-01-30 00:04:28 -08:00
|
|
|
.popup-notification-icon[popupid="mixed-content-blocked"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png);
|
|
|
|
}
|
|
|
|
@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 03:32:44 -07: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;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-01-30 00:04:28 -08:00
|
|
|
#mixed-content-blocked-helplink {
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
|
2012-12-28 01:25:59 -08:00
|
|
|
.popup-notification-icon[popupid="webRTC-sharingDevices"],
|
2012-10-05 02:37:00 -07:00
|
|
|
.popup-notification-icon[popupid="webRTC-shareDevices"] {
|
|
|
|
list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64.png);
|
|
|
|
}
|
2013-01-08 14:27:24 -08: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 02:37:00 -07:00
|
|
|
|
2008-04-07 18:41:11 -07:00
|
|
|
/* Popup Buttons */
|
|
|
|
#identity-popup-more-info-button {
|
2010-04-20 09:12:10 -07:00
|
|
|
@hudButton@
|
2008-11-27 14:31:08 -08:00
|
|
|
margin: 10px 0 0;
|
2008-04-07 18:41:11 -07:00
|
|
|
min-height: 0px;
|
|
|
|
}
|
|
|
|
|
2010-12-05 14:10:45 -08:00
|
|
|
#identity-popup-more-info-button:focus {
|
|
|
|
@hudButtonFocused@
|
2008-04-07 18:41:11 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#identity-popup-more-info-button:hover:active {
|
2010-12-05 14:10:45 -08:00
|
|
|
@hudButtonPressed@
|
2007-10-21 20:30:23 -07:00
|
|
|
}
|
2008-01-26 21:08:46 -08:00
|
|
|
|
2008-07-15 09:11:00 -07:00
|
|
|
/* ::::: Keyboard UI Panel ::::: */
|
2009-07-20 21:25:59 -07:00
|
|
|
|
2008-07-15 09:11:00 -07:00
|
|
|
.KUI-panel {
|
|
|
|
-moz-appearance: none;
|
2009-07-20 21:25:59 -07:00
|
|
|
background: rgba(27%,27%,27%,.9) url(KUI-background.png) repeat-x;
|
2008-07-15 09:11:00 -07:00
|
|
|
color: white;
|
2009-07-26 00:53:04 -07:00
|
|
|
border-style: none;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 20px;
|
2008-07-15 09:11:00 -07:00
|
|
|
}
|
|
|
|
|
2009-07-20 21:25:59 -07:00
|
|
|
.KUI-panel[level="top"] {
|
|
|
|
background-color: rgba(27%,27%,27%,.65);
|
2008-11-04 00:19:55 -08:00
|
|
|
-moz-window-shadow: none;
|
2008-07-15 09:11:00 -07:00
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
/* Ctrl-Tab */
|
|
|
|
|
|
|
|
#ctrlTab-panel {
|
|
|
|
padding: 20px 10px 10px;
|
2010-09-11 09:27:12 -07:00
|
|
|
text-shadow: 0 0 1px rgb(27%,27%,27%), 0 0 2px rgb(27%,27%,27%);
|
2009-07-20 21:25:59 -07:00
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
.ctrlTab-favicon[src] {
|
2009-07-20 21:25:59 -07:00
|
|
|
background-color: white;
|
2010-03-22 07:11:42 -07:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2009-07-20 21:25:59 -07:00
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
.ctrlTab-preview-inner > .tabPreview-canvas {
|
2010-09-11 09:27:12 -07:00
|
|
|
box-shadow: 1px 1px 2px rgb(12%,12%,12%);
|
2009-07-20 21:25:59 -07:00
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
|
2009-07-20 21:25:59 -07:00
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
.ctrlTab-preview-inner {
|
2009-07-26 00:53:04 -07:00
|
|
|
padding-bottom: 10px;
|
2009-07-20 21:25:59 -07:00
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
|
2009-07-26 00:53:04 -07:00
|
|
|
padding: 10px;
|
|
|
|
background-color: rgba(255,255,255,.2);
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: .5em;
|
2009-07-20 21:25:59 -07:00
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
|
|
|
|
color: white;
|
2009-07-26 00:53:04 -07:00
|
|
|
background-color: rgba(0,0,0,.6);
|
2009-07-20 21:25:59 -07:00
|
|
|
text-shadow: none;
|
2009-07-26 00:53:04 -07:00
|
|
|
padding: 8px;
|
|
|
|
border: 2px solid white;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: .5em;
|
2008-11-04 23:38:13 -08:00
|
|
|
}
|
|
|
|
|
2010-03-22 07:11:42 -07:00
|
|
|
.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
|
2009-07-26 00:53:04 -07:00
|
|
|
margin: -10px -10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ctrlTab-showAll {
|
|
|
|
margin-top: .5em;
|
2008-07-15 09:11:00 -07:00
|
|
|
}
|
|
|
|
|
2011-01-11 13:14:55 -08:00
|
|
|
/* Add-on bar */
|
|
|
|
|
|
|
|
#addon-bar {
|
|
|
|
min-height: 18px;
|
2011-02-06 06:59:02 -08:00
|
|
|
padding-right: 16px; /* replace with -moz-padding-end when/if bug 631729 gets fixed */
|
2011-01-11 13:14:55 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#addon-bar:not(:-moz-lwtheme) {
|
|
|
|
-moz-appearance: statusbar;
|
|
|
|
}
|
|
|
|
|
2010-09-15 23:09:27 -07:00
|
|
|
#status-bar {
|
|
|
|
-moz-appearance: none;
|
2011-02-06 06:59:02 -08:00
|
|
|
padding-right: 0;
|
2010-09-15 23:09:27 -07:00
|
|
|
}
|
|
|
|
|
2011-11-04 12:08:50 -07:00
|
|
|
#addon-bar[customizing] > #status-bar {
|
|
|
|
opacity: .5;
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: repeating-linear-gradient(135deg,
|
|
|
|
rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
|
|
|
|
rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);
|
2011-11-04 12:08:50 -07:00
|
|
|
}
|
|
|
|
|
2010-09-15 23:09:27 -07:00
|
|
|
#status-bar > statusbarpanel {
|
|
|
|
border-width: 0;
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
2010-11-19 21:23:30 -08:00
|
|
|
|
2010-12-09 11:09:05 -08:00
|
|
|
#addonbar-closebutton {
|
|
|
|
padding: 0;
|
2011-11-30 05:19:48 -08:00
|
|
|
margin: 0 6px;
|
2011-02-10 17:03:47 -08:00
|
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
2010-12-09 11:09:05 -08:00
|
|
|
border: none;
|
2011-02-10 17:03:47 -08:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2010-12-09 11:09:05 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#addonbar-closebutton:hover {
|
2011-02-10 17:03:47 -08:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2010-12-09 11:09:05 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#addonbar-closebutton:hover:active {
|
2011-02-10 17:03:47 -08:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2010-12-09 11:09:05 -08:00
|
|
|
}
|
2011-01-28 05:35:49 -08:00
|
|
|
|
2012-09-29 21:56:40 -07:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#addonbar-closebutton {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/close@2x.png");
|
|
|
|
-moz-image-region: rect(0, 32px, 32px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#addonbar-closebutton:hover {
|
|
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#addonbar-closebutton:hover:active {
|
|
|
|
-moz-image-region: rect(0, 96px, 32px, 64px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#addonbar-closebutton > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-01-28 05:35:49 -08:00
|
|
|
/* Status panel */
|
|
|
|
|
|
|
|
.statuspanel-label {
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px 4px;
|
2013-01-05 07:00:32 -08:00
|
|
|
background: linear-gradient(#fff, #ddd);
|
2011-01-28 05:35:49 -08:00
|
|
|
border: 1px none #ccc;
|
|
|
|
border-top-style: solid;
|
|
|
|
color: #333;
|
2011-01-30 22:27:33 -08:00
|
|
|
text-shadow: none;
|
2011-01-28 05:35:49 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
|
|
|
|
.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
|
|
|
|
border-right-style: solid;
|
|
|
|
border-top-right-radius: .3em;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
|
|
|
|
.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
|
|
|
|
border-left-style: solid;
|
|
|
|
border-top-left-radius: .3em;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2011-07-11 10:18:11 -07:00
|
|
|
|
2012-07-10 21:08:06 -07:00
|
|
|
/* Lion Fullscreen window styling */
|
|
|
|
@media (-moz-mac-lion-theme) {
|
|
|
|
#navigator-toolbox[inFullscreen][tabsontop="true"]:not(:-moz-lwtheme)::before {
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
#main-window[inFullscreen]:-moz-lwtheme {
|
|
|
|
/* This additional padding matches the change in height in the pseudo-element
|
|
|
|
* above. The rules combined force the top 22px of the background image to
|
|
|
|
* be hidden, so there image doesn't jump around with the loss of the titlebar */
|
|
|
|
padding-top: 11px;
|
|
|
|
background-position: right -11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-10-28 01:28:05 -07:00
|
|
|
#full-screen-warning-message {
|
|
|
|
background-color: hsl(0,0%,15%);
|
|
|
|
color: white;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin-top: 30px;
|
|
|
|
padding: 30px 50px;
|
|
|
|
box-shadow: 0 0 2px white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#full-screen-warning-container[obscure-browser] {
|
2012-05-08 14:47:19 -07:00
|
|
|
background-color: rgba(0,0,0,0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.full-screen-description {
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#full-screen-domain-text {
|
|
|
|
font-size: 300%;
|
2011-10-28 01:28:05 -07:00
|
|
|
}
|
|
|
|
|
2012-05-08 14:47:19 -07:00
|
|
|
.full-screen-approval-button,
|
|
|
|
#full-screen-remember-decision {
|
|
|
|
font-size: 120%;
|
2011-10-28 01:28:05 -07:00
|
|
|
}
|
|
|
|
|
2013-02-19 12:34:48 -08:00
|
|
|
/* Developer toolbar */
|
|
|
|
|
|
|
|
#developer-toolbar {
|
|
|
|
border-top: 1px solid hsla(210, 8%, 5%, .65);
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#developer-toolbar:-moz-locale-dir(ltr) {
|
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 16px; /* use -moz-padding-end when/if bug 631729 gets fixed */
|
|
|
|
}
|
|
|
|
|
|
|
|
#developer-toolbar:-moz-locale-dir(rtl) {
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 18px; /* use -moz-padding-end when/if bug 631729 gets fixed */
|
|
|
|
}
|
|
|
|
|
2013-02-19 12:34:48 -08:00
|
|
|
%include ../shared/devtools/responsivedesign.inc.css
|
2013-02-19 12:34:48 -08:00
|
|
|
%include ../shared/devtools/highlighter.inc.css
|
2013-02-19 12:34:48 -08:00
|
|
|
%include ../shared/devtools/commandline.inc.css
|
2012-05-10 10:33:54 -07:00
|
|
|
|
|
|
|
.gclitoolbar-input-node,
|
|
|
|
.gclitoolbar-complete-node,
|
|
|
|
.gclitoolbar-prompt {
|
2012-06-01 00:24:19 -07:00
|
|
|
border-radius: @toolbarbuttonCornerRadius@;
|
2012-05-10 10:33:54 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.gclitoolbar-input-node {
|
2012-06-01 00:24:19 -07:00
|
|
|
border-color: hsl(210,11%,10%);
|
|
|
|
box-shadow: 0 1px 1px hsla(210,8%,5%,.3) inset,
|
|
|
|
0 0 0 1px hsla(210,16%,76%,.1) inset,
|
|
|
|
0 1px 0 hsla(210,16%,76%,.15);
|
2012-05-10 10:33:54 -07:00
|
|
|
}
|
|
|
|
|
2012-10-04 16:46:38 -07:00
|
|
|
.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
|
|
|
|
color: hsl(210,11%,16%);
|
2012-05-10 10:33:54 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.gclitoolbar-prompt {
|
2012-06-01 00:24:19 -07:00
|
|
|
background-color: hsl(210,11%,16%);
|
2012-05-10 10:33:54 -07:00
|
|
|
}
|
|
|
|
|
2012-07-26 08:06:04 -07:00
|
|
|
/* Web Console */
|
|
|
|
|
|
|
|
.web-console-frame {
|
|
|
|
border-bottom: 1px solid #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.web-console-frame[animated] {
|
|
|
|
transition: height 100ms;
|
|
|
|
}
|
|
|
|
|
2012-06-26 09:01:41 -07:00
|
|
|
/* Developer Toolbar */
|
|
|
|
|
2012-12-17 11:01:31 -08:00
|
|
|
#developer-toolbar-toolbox-button {
|
|
|
|
min-width: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#developer-toolbar-toolbox-button > .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-06-26 09:01:41 -07:00
|
|
|
.developer-toolbar-button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
min-width: 78px;
|
|
|
|
min-height: 22px;
|
|
|
|
text-shadow: 0 -1px 0 hsla(210,8%,5%,.45);
|
|
|
|
border-radius: @toolbarbuttonCornerRadius@;
|
|
|
|
color: inherit;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
margin: 0 5px;
|
|
|
|
padding: 0 10px;
|
|
|
|
list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png");
|
|
|
|
}
|
|
|
|
|
2012-07-13 02:32:09 -07:00
|
|
|
.developer-toolbar-button[open=true],
|
2012-06-26 09:01:41 -07:00
|
|
|
.developer-toolbar-button:active:hover,
|
|
|
|
.developer-toolbar-button[checked=true] {
|
|
|
|
border-color: hsla(210,8%,5%,.6);
|
|
|
|
background: rgba(0,0,0,.6);
|
|
|
|
box-shadow: 0 1px 2px rgba(0,0,0,.5) inset, 0 1px 0 hsla(210,16%,76%,.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
.developer-toolbar-button[checked=true] {
|
|
|
|
color: hsl(208,100%,60%) !important;
|
|
|
|
background: rgba(0,0,0,.4);
|
|
|
|
text-shadow: 0 0 6px hsl(208,100%,60%);
|
|
|
|
}
|
|
|
|
|
2012-11-30 00:07:59 -08:00
|
|
|
#developer-toolbar-toolbox-button {
|
2012-07-13 02:32:09 -07:00
|
|
|
-moz-image-region: rect(64px, 16px, 80px, 0);
|
|
|
|
}
|
|
|
|
|
2012-07-05 08:02:28 -07:00
|
|
|
/* Error counter */
|
|
|
|
|
2012-11-30 00:07:59 -08:00
|
|
|
#developer-toolbar-toolbox-button[error-count]:before {
|
2012-07-05 08:02:28 -07:00
|
|
|
color: #FDF3DE;
|
|
|
|
min-width: 16px;
|
|
|
|
text-shadow: none;
|
2013-01-05 07:00:32 -08:00
|
|
|
background-image: linear-gradient(#B4211B, #8A1915);
|
2012-07-05 08:02:28 -07:00
|
|
|
border-radius: 1px;
|
|
|
|
}
|
2012-07-15 16:12:13 -07:00
|
|
|
|
|
|
|
/* === social toolbar button === */
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
#social-toolbar-item > .toolbarbutton-1 {
|
2013-04-07 22:59:33 -07:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2013-04-07 23:53:41 -07:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2013-04-07 20:58:50 -07:00
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07: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-27 16:57:37 -07:00
|
|
|
}
|
|
|
|
|
2013-05-06 23:02:58 -07:00
|
|
|
#social-toolbar-item > toolbaritem {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2012-12-19 15:50:23 -08:00
|
|
|
#social-provider-button {
|
2013-05-06 11:25:24 -07: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 04:55:54 -07:00
|
|
|
#social-provider-button > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
2012-12-19 15:50:23 -08:00
|
|
|
}
|
|
|
|
|
2012-09-27 16:57:37 -07:00
|
|
|
#social-provider-button > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
.toolbarbutton-badge-container {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2013-01-07 12:42:02 -08:00
|
|
|
position: relative;
|
2012-09-27 16:57:37 -07:00
|
|
|
}
|
2013-04-07 23:53:41 -07:00
|
|
|
.toolbarbutton-badge-container > .toolbarbutton-icon {
|
|
|
|
margin: 2px;
|
|
|
|
}
|
2012-09-27 16:57:37 -07:00
|
|
|
|
2013-04-24 11:03:56 -07:00
|
|
|
.toolbarbutton-badge[badge]:not([badge=""]) {
|
2013-01-07 12:42:02 -08:00
|
|
|
/* The |content| property is set in the content stylesheet. */
|
2012-09-28 12:41:08 -07:00
|
|
|
font-size: 9px;
|
|
|
|
font-weight: bold;
|
2012-09-27 16:57:37 -07:00
|
|
|
padding: 0 1px;
|
2013-01-07 12:42:02 -08:00
|
|
|
color: #fff;
|
2012-09-27 16:57:37 -07:00
|
|
|
background-color: rgb(240,61,37);
|
|
|
|
border: 1px solid rgb(216,55,34);
|
2013-01-07 12:42:02 -08:00
|
|
|
border-radius: 2px;
|
2012-09-27 16:57:37 -07:00
|
|
|
box-shadow: 0 1px 0 rgba(0,39,121,0.77);
|
2013-01-07 12:42:02 -08:00
|
|
|
position: absolute;
|
2013-04-07 23:53:41 -07:00
|
|
|
top: 0;
|
2013-01-07 12:42:02 -08:00
|
|
|
right: 0;
|
2013-04-24 11:03:56 -07: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-27 16:57:37 -07:00
|
|
|
}
|
|
|
|
|
2013-04-24 11:03:56 -07:00
|
|
|
.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl) {
|
2013-01-07 12:42:02 -08:00
|
|
|
left: 0;
|
|
|
|
right: auto;
|
2012-09-27 16:57:37 -07:00
|
|
|
}
|
|
|
|
|
2013-04-24 11:03:56 -07:00
|
|
|
toolbar[mode="icons"] > *|* > .toolbarbutton-badge[badge]:not([badge=""]) {
|
2013-01-07 12:42:02 -08:00
|
|
|
right: -2px;
|
2012-07-15 16:12:13 -07:00
|
|
|
}
|
|
|
|
|
2013-04-24 11:03:56 -07:00
|
|
|
toolbar[mode="icons"] > *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl) {
|
2013-01-07 12:42:02 -08:00
|
|
|
left: -2px;
|
2012-09-29 21:56:40 -07:00
|
|
|
}
|
|
|
|
|
2013-04-02 16:28:30 -07:00
|
|
|
.popup-notification-icon[popupid="servicesInstall"] {
|
2013-04-07 18:40:50 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/social/services-64.png);
|
2013-04-02 16:28:30 -07:00
|
|
|
}
|
|
|
|
#servicesInstall-notification-icon {
|
2013-04-07 18:40:50 -07:00
|
|
|
list-style-image: url(chrome://browser/skin/social/services-16.png);
|
2013-04-02 16:28:30 -07:00
|
|
|
}
|
2013-04-07 18:40:50 -07: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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-02 16:28:30 -07:00
|
|
|
#social-undoactivation-button,
|
|
|
|
#servicesInstall-learnmore-link {
|
|
|
|
-moz-margin-start: 0; /* override default label margin to match description margin */
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-15 16:12:13 -07:00
|
|
|
/* === end of social toolbar button === */
|
|
|
|
|
|
|
|
/* === social toolbar provider menu === */
|
|
|
|
|
2013-03-04 14:08:25 -08:00
|
|
|
.social-statusarea-user {
|
|
|
|
list-style-image:url("chrome://global/skin/icons/information-32.png");
|
|
|
|
}
|
|
|
|
|
2012-11-15 15:07:42 -08:00
|
|
|
.social-statusarea-user-portrait {
|
2012-07-15 16:12:13 -07:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2012-10-09 16:29:13 -07:00
|
|
|
margin: 4px;
|
|
|
|
-moz-margin-start: 0;
|
2012-07-15 16:12:13 -07:00
|
|
|
}
|
|
|
|
|
2012-09-06 16:13:37 -07:00
|
|
|
.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2013-05-06 23:02:58 -07:00
|
|
|
/* fixup rounded corners for osx panels */
|
|
|
|
.social-panel > .social-panel-frame {
|
2012-09-06 16:13:37 -07:00
|
|
|
border-radius: inherit;
|
|
|
|
}
|
|
|
|
|
2013-05-06 23:02:58 -07:00
|
|
|
#social-share-panel {
|
|
|
|
margin-top: 3px;
|
|
|
|
max-height: 600px;
|
|
|
|
min-height: 100px;
|
|
|
|
max-width: 800px;
|
|
|
|
min-width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social-share-frame {
|
|
|
|
border-top-left-radius: none;
|
|
|
|
border-bottom-left-radius: none;
|
|
|
|
border-top-right-radius: inherit;
|
|
|
|
border-bottom-right-radius: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-panel > .social-share-toolbar {
|
|
|
|
border-top-left-radius: inherit;
|
|
|
|
border-bottom-left-radius: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
#social-share-provider-buttons {
|
|
|
|
border-top-left-radius: inherit;
|
|
|
|
border-bottom-left-radius: inherit;
|
|
|
|
}
|
|
|
|
|
2012-07-15 16:12:13 -07:00
|
|
|
/* === end of social toolbar provider menu === */
|
|
|
|
|
2013-02-19 12:34:48 -08:00
|
|
|
%include ../shared/social/chat.inc.css
|
2012-08-20 17:52:26 -07:00
|
|
|
|
|
|
|
.chat-titlebar {
|
2012-09-04 14:42:06 -07:00
|
|
|
background-color: #d9d9d9;
|
2012-10-05 17:57:53 -07:00
|
|
|
background-image: linear-gradient(rgba(255,255,255,.43), rgba(255,255,255,0));
|
2012-09-25 14:38:58 -07:00
|
|
|
}
|
|
|
|
|
2012-09-04 14:42:06 -07:00
|
|
|
.chat-titlebar[selected] {
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
}
|
|
|
|
|
2012-08-20 17:52:26 -07:00
|
|
|
.chatbar-button {
|
2012-09-04 14:42:06 -07:00
|
|
|
background-color: #d9d9d9;
|
2013-05-05 19:48:20 -07: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-05 17:57:53 -07:00
|
|
|
}
|
|
|
|
|
2013-05-05 19:48:20 -07:00
|
|
|
.chatbar-button:hover,
|
2012-10-05 17:57:53 -07:00
|
|
|
.chatbar-button[open="true"] {
|
2012-09-04 14:42:06 -07:00
|
|
|
background-color: #f0f0f0;
|
2012-08-20 17:52:26 -07:00
|
|
|
}
|
|
|
|
|
2013-05-05 19:48:20 -07:00
|
|
|
.chatbar-button[activity]:not([open]) {
|
2012-10-05 17:57:53 -07: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-25 14:38:58 -07:00
|
|
|
}
|
|
|
|
|
2012-08-26 18:23:15 -07:00
|
|
|
chatbox {
|
2012-10-05 17:57:53 -07:00
|
|
|
border-top-left-radius: @toolbarbuttonCornerRadius@;
|
|
|
|
border-top-right-radius: @toolbarbuttonCornerRadius@;
|
2012-08-20 17:52:26 -07:00
|
|
|
}
|
|
|
|
|
2013-03-22 12:15:58 -07:00
|
|
|
/* Customization mode */
|
|
|
|
|
2013-04-14 22:34:52 -07:00
|
|
|
%include ../shared/customizableui/customizeMode.inc.css
|
2013-03-22 14:28:34 -07:00
|
|
|
|
2013-05-10 13:24:18 -07:00
|
|
|
#main-window[customizing] #titlebar {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[customizing] #tab-view-deck {
|
|
|
|
padding: 28px 2em 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[customizing] #tab-view-deck,
|
|
|
|
#main-window[customize-exiting] #tab-view-deck {
|
|
|
|
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"),
|
|
|
|
url("chrome://browser/skin/customizableui/background-noise-toolbar.png"),
|
|
|
|
linear-gradient(to bottom, rgb(233,233,233), rgb(178,178,178) 21px);
|
|
|
|
background-attachment: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[customizing] #navigator-toolbox > toolbar:not(#TabsToolbar),
|
|
|
|
#main-window[customizing] #customization-container {
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[customizing] #navigator-toolbox > toolbar:not(#TabsToolbar) {
|
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[customizing] #TabsToolbar {
|
|
|
|
background-clip: padding-box;
|
|
|
|
border-right: 3px solid transparent;
|
|
|
|
border-left: 3px solid transparent;
|
|
|
|
}
|
|
|
|
|
2013-04-11 12:50:07 -07:00
|
|
|
/* End customization mode */
|
2013-03-22 12:15:58 -07:00
|
|
|
|
2012-08-28 09:23:10 -07:00
|
|
|
panel[type="arrow"][popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="top"],
|
|
|
|
panel[type="arrow"][popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="bottom"] {
|
|
|
|
list-style-image: url("chrome://global/skin/arrow/panelarrow-light-vertical.png");
|
|
|
|
}
|
2012-12-05 14:49:28 -08:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
panel[type="arrow"][popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="top"],
|
|
|
|
panel[type="arrow"][popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="bottom"] {
|
2012-12-05 21:00:42 -08:00
|
|
|
list-style-image: url("chrome://global/skin/arrow/panelarrow-light-vertical@2x.png");
|
2012-12-05 14:49:28 -08:00
|
|
|
}
|
|
|
|
}
|
2012-08-28 09:23:10 -07:00
|
|
|
|
|
|
|
.click-to-play-plugins-notification-content {
|
|
|
|
margin: -16px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-icon-box {
|
|
|
|
background: hsla(0,0%,100%,.4);
|
|
|
|
-moz-border-end: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
padding-top: 16px;
|
|
|
|
-moz-padding-end: 12px;
|
|
|
|
-moz-padding-start: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-icon-box:-moz-locale-dir(ltr) {
|
|
|
|
border-bottom-left-radius: 5px;
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-icon-box:-moz-locale-dir(rtl) {
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-separator {
|
|
|
|
-moz-border-start: 1px solid hsla(211,79%,6%,.1);
|
|
|
|
border-top: 1px solid hsla(211,79%,6%,.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-description-box {
|
|
|
|
border-bottom: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
-moz-border-start: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
max-width: 28em;
|
|
|
|
padding: 14px 16px 9px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-center-box {
|
|
|
|
border-top: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
border-bottom: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
background-color: hsla(211,79%,6%,.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-button-container {
|
|
|
|
border-top: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
-moz-border-start: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
margin: 0px;
|
|
|
|
padding: 16px 16px 17px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-box {
|
|
|
|
-moz-border-start: 1px solid hsla(0,0%,100%,.2);
|
|
|
|
padding-top: 7px;
|
|
|
|
-moz-padding-end: 11px;
|
|
|
|
-moz-padding-start: 16px;
|
|
|
|
margin-bottom: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-box[padbottom="true"] {
|
|
|
|
padding-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-icon {
|
|
|
|
background-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
-moz-margin-end: 6px;
|
|
|
|
}
|
|
|
|
|
2012-09-29 19:32:34 -07:00
|
|
|
.center-item-box[warn="true"] {
|
2012-10-09 10:53:52 -07:00
|
|
|
background-image: url("chrome://browser/skin/click-to-play-warning-stripes.png");
|
2012-09-29 19:32:34 -07:00
|
|
|
background-repeat: repeat-x;
|
|
|
|
padding-top: 3px;
|
|
|
|
-moz-padding-end: 11px;
|
|
|
|
padding-bottom: 9px;
|
|
|
|
-moz-padding-start: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-box[padbottom="true"][warn="true"] {
|
|
|
|
padding-bottom: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-box[showseparator="true"] {
|
|
|
|
border-top: 1px solid hsla(211,79%,6%,.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-box[warn="false"] > .center-item-warning {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-warning > .text-link {
|
|
|
|
color: #3d8cd7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-warning > .text-link[href=""] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-warning-icon {
|
|
|
|
background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 16px;
|
|
|
|
height: 15px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-item-warning-description {
|
|
|
|
color: #828282;
|
|
|
|
}
|
|
|
|
|
2012-08-28 09:23:10 -07:00
|
|
|
.center-item-button {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2013-01-07 10:24:08 -08:00
|
|
|
|
|
|
|
#main-window[privatebrowsingmode=temporary] {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask.png");
|
|
|
|
background-position: top right;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-color: -moz-mac-chrome-active;
|
|
|
|
}
|
|
|
|
|
2013-01-17 17:06:32 -08:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#main-window[privatebrowsingmode=temporary] {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask@2x.png");
|
|
|
|
background-size: 38px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-02-06 13:15:51 -08:00
|
|
|
#main-window[privatebrowsingmode=temporary] {
|
|
|
|
background-position: top right 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[privatebrowsingmode=temporary][inFullscreen] {
|
|
|
|
background-position: top right 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[privatebrowsingmode=temporary]:-moz-locale-dir(rtl) {
|
|
|
|
background-position: top left 70px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[privatebrowsingmode=temporary][inFullscreen]:-moz-locale-dir(rtl) {
|
|
|
|
background-position: top left 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[privatebrowsingmode=temporary]:-moz-window-inactive {
|
|
|
|
background-color: -moz-mac-chrome-inactive;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[privatebrowsingmode=temporary][inFullscreen] #nav-bar[tabsontop=false] {
|
|
|
|
-moz-padding-end: 50px !important;
|
|
|
|
}
|
|
|
|
|
2013-01-07 10:24:08 -08:00
|
|
|
@media (-moz-mac-lion-theme) {
|
2013-02-06 13:15:51 -08:00
|
|
|
#main-window[privatebrowsingmode=temporary][inFullscreen] #TabsToolbar[tabsontop=true] {
|
|
|
|
-moz-padding-end: 50px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media not all and (-moz-mac-lion-theme) {
|
2013-01-07 10:24:08 -08:00
|
|
|
#main-window[privatebrowsingmode=temporary] {
|
2013-02-06 13:15:51 -08:00
|
|
|
background-position: top right 10px;
|
2013-01-07 10:24:08 -08:00
|
|
|
}
|
|
|
|
|
2013-02-06 13:15:51 -08:00
|
|
|
#main-window[privatebrowsingmode=temporary][inFullscreen][tabsontop=true] #window-controls {
|
|
|
|
-moz-padding-end: 50px;
|
2013-01-07 10:24:08 -08:00
|
|
|
}
|
|
|
|
}
|