2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2004-06-19 01:33:39 +04:00
|
|
|
|
|
|
|
@import url("chrome://global/skin/");
|
|
|
|
|
2010-02-21 18:03:48 +03:00
|
|
|
%include shared.inc
|
2013-10-23 00:26:09 +04:00
|
|
|
%define toolbarButtonPressed :hover:active:not([disabled="true"]):not([cui-areatype="menu-panel"])
|
2010-02-21 18:03:48 +03:00
|
|
|
|
2004-06-19 01:33:39 +04:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
2006-08-26 19:28:56 +04:00
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
2014-03-14 01:36:48 +04:00
|
|
|
@namespace svg url("http://www.w3.org/2000/svg");
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2017-02-24 22:07:21 +03:00
|
|
|
%include ../shared/browser.inc.css
|
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
:root {
|
|
|
|
--tabs-toolbar-color: #333;
|
2015-07-22 19:11:34 +03:00
|
|
|
|
2017-05-11 00:04:12 +03:00
|
|
|
--toolbarbutton-vertical-text-padding: calc(var(--toolbarbutton-inner-padding) + 1px);
|
2017-04-05 14:48:16 +03:00
|
|
|
|
2017-05-15 17:02:55 +03:00
|
|
|
%ifdef MOZ_PHOTON_THEME
|
|
|
|
--toolbarbutton-border-radius: 4px;
|
|
|
|
%else
|
2017-06-01 13:21:31 +03:00
|
|
|
--space-above-tabbar: 9px;
|
|
|
|
|
2017-04-05 14:48:16 +03:00
|
|
|
--toolbarbutton-border-radius: 3px;
|
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
--toolbarbutton-hover-background: hsla(0,0%,100%,.1) linear-gradient(hsla(0,0%,100%,.3), hsla(0,0%,100%,.1)) padding-box;
|
2017-05-10 23:19:07 +03:00
|
|
|
--toolbarbutton-active-background: hsla(0,0%,0%,.02) linear-gradient(hsla(0,0%,0%,.12), transparent) border-box;
|
2017-05-17 14:52:14 +03:00
|
|
|
|
|
|
|
--backbutton-border-color: rgba(0,0,0,0.2);
|
|
|
|
--backbutton-background: linear-gradient(rgba(255,255,255,0.9),
|
|
|
|
rgba(255,255,255,0.7)) repeat-x;
|
2017-05-10 23:19:07 +03:00
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
--toolbarbutton-hover-bordercolor: hsla(0,0%,0%,.2);
|
|
|
|
--toolbarbutton-hover-boxshadow: 0 1px 0 hsla(0,0%,100%,.5),
|
|
|
|
0 1px 0 hsla(0,0%,100%,.5) inset;
|
|
|
|
|
2014-11-01 05:06:06 +03:00
|
|
|
--toolbarbutton-active-bordercolor: hsla(0,0%,0%,.3);
|
2014-10-23 17:49:34 +04:00
|
|
|
--toolbarbutton-active-boxshadow: 0 1px 0 hsla(0,0%,100%,.5),
|
|
|
|
0 1px 0 hsla(0,0%,0%,.05) inset,
|
|
|
|
0 1px 1px hsla(0,0%,0%,.2) inset;
|
2017-05-26 23:15:49 +03:00
|
|
|
%endif
|
2014-10-23 17:49:34 +04:00
|
|
|
|
|
|
|
--toolbarbutton-checkedhover-backgroundcolor: hsla(0,0%,0%,.09);
|
|
|
|
|
|
|
|
--urlbar-dropmarker-url: url("chrome://browser/skin/urlbar-history-dropmarker.png");
|
|
|
|
--urlbar-dropmarker-region: rect(0, 11px, 14px, 0);
|
|
|
|
--urlbar-dropmarker-active-region: rect(0, 22px, 14px, 11px);
|
|
|
|
--urlbar-dropmarker-2x-url: url("chrome://browser/skin/urlbar-history-dropmarker@2x.png");
|
|
|
|
--urlbar-dropmarker-2x-region: rect(0, 22px, 28px, 0);
|
|
|
|
--urlbar-dropmarker-active-2x-region: rect(0, 44px, 28px, 22px);
|
2015-08-05 19:55:53 +03:00
|
|
|
|
|
|
|
--panel-separator-color: hsla(210,4%,10%,.14);
|
2016-09-12 17:50:30 +03:00
|
|
|
--arrowpanel-dimmed: hsla(210,4%,10%,.07);
|
|
|
|
--arrowpanel-dimmed-further: hsla(210,4%,10%,.12);
|
|
|
|
--arrowpanel-dimmed-even-further: hsla(210,4%,10%,.17);
|
2015-09-03 21:06:00 +03:00
|
|
|
|
|
|
|
--urlbar-separator-color: hsla(0,0%,16%,.2);
|
2017-02-22 22:13:09 +03:00
|
|
|
}
|
|
|
|
|
2017-05-17 14:52:14 +03:00
|
|
|
%ifndef MOZ_PHOTON_THEME
|
2017-04-05 14:48:16 +03:00
|
|
|
toolbar:-moz-lwtheme {
|
|
|
|
--backbutton-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;
|
|
|
|
}
|
|
|
|
|
2009-10-02 10:22:18 +04:00
|
|
|
#urlbar:-moz-lwtheme:not([focused="true"]),
|
2009-10-23 19:28:14 +04:00
|
|
|
.searchbar-textbox:-moz-lwtheme:not([focused="true"]) {
|
2009-09-04 14:58:18 +04:00
|
|
|
opacity: .9;
|
|
|
|
}
|
2017-05-26 13:49:16 +03:00
|
|
|
%endif
|
2009-09-04 14:58:18 +04:00
|
|
|
|
2013-05-04 11:25:59 +04:00
|
|
|
#navigator-toolbox::after {
|
|
|
|
-moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
|
|
|
|
content: "";
|
|
|
|
display: -moz-box;
|
2016-09-06 22:53:28 +03:00
|
|
|
border-top: 1px solid hsla(0,0%,100%,.15);
|
|
|
|
border-bottom: 1px solid hsla(0,0%,0%,.15);
|
2013-05-04 11:25:59 +04:00
|
|
|
margin-top: -2px;
|
2013-06-13 10:50:08 +04:00
|
|
|
position: relative;
|
|
|
|
z-index: 2; /* navbar is at 1 */
|
2013-05-04 11:25:59 +04:00
|
|
|
}
|
|
|
|
|
2016-06-01 23:46:24 +03:00
|
|
|
@media (-moz-mac-yosemite-theme) {
|
2016-06-02 22:02:06 +03:00
|
|
|
#navigator-toolbox:-moz-window-inactive::after {
|
2016-09-06 22:53:28 +03:00
|
|
|
border-top-style: none;
|
|
|
|
border-bottom-color: hsla(0,0%,0%,.1);
|
|
|
|
margin-top: -1px;
|
2016-06-01 23:46:24 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
#navigator-toolbox toolbarbutton:-moz-lwtheme {
|
2010-02-21 17:50:10 +03:00
|
|
|
color: inherit;
|
2009-09-04 14:58:18 +04:00
|
|
|
text-shadow: inherit;
|
|
|
|
}
|
|
|
|
|
2008-12-08 17:59:41 +03:00
|
|
|
#main-window {
|
2008-05-03 18:47:03 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: #eeeeee;
|
|
|
|
}
|
|
|
|
|
2014-03-28 21:36:00 +04:00
|
|
|
/** Begin titlebar **/
|
|
|
|
|
2013-05-02 22:15:29 +04:00
|
|
|
#titlebar-buttonbox > .titlebar-button {
|
2013-02-06 01:40:34 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-05-13 08:19:58 +03:00
|
|
|
/* NB: these would be margin-inline-start/end if it wasn't for the fact that OS X
|
2013-11-01 02:34:25 +04:00
|
|
|
* doesn't reverse the order of the items in the titlebar in RTL mode. */
|
2013-06-13 01:42:00 +04:00
|
|
|
.titlebar-placeholder[type="caption-buttons"],
|
|
|
|
#titlebar-buttonbox {
|
|
|
|
margin-left: 7px;
|
2013-02-06 01:40:34 +04:00
|
|
|
}
|
|
|
|
|
2016-05-29 21:24:21 +03:00
|
|
|
.titlebar-placeholder[type="fullscreen-button"],
|
|
|
|
#titlebar-secondary-buttonbox {
|
|
|
|
margin-right: 7px;
|
|
|
|
margin-left: 7px;
|
2008-12-08 17:59:41 +03:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window:not(:-moz-lwtheme) > #titlebar {
|
2013-03-01 22:48:18 +04:00
|
|
|
-moz-appearance: -moz-window-titlebar;
|
2013-02-06 01:40:34 +04:00
|
|
|
}
|
|
|
|
|
2014-03-28 21:36:00 +04:00
|
|
|
#main-window:not([tabsintitlebar]) > #titlebar {
|
2014-04-12 19:10:17 +04:00
|
|
|
height: 22px; /* The native titlebar on OS X is 22px tall. */
|
2014-03-28 21:36:00 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* For tabs in titlebar on OS X, we stretch the titlebar down so that the
|
|
|
|
* tabstrip can overlap it.
|
|
|
|
*/
|
|
|
|
#main-window[tabsintitlebar] > #titlebar {
|
2017-06-01 13:21:31 +03:00
|
|
|
%ifndef MOZ_PHOTON_THEME
|
2015-01-09 22:42:00 +03:00
|
|
|
min-height: calc(var(--tab-min-height) + var(--space-above-tabbar) - var(--tab-toolbar-navbar-overlap));
|
2017-06-01 13:21:31 +03:00
|
|
|
%else
|
|
|
|
min-height: calc(var(--tab-min-height) - var(--tab-toolbar-navbar-overlap));
|
|
|
|
%endif
|
2014-03-28 21:36:00 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* We also vertically center the window buttons.
|
|
|
|
*/
|
2016-08-25 19:16:08 +03:00
|
|
|
#titlebar-buttonbox-container {
|
|
|
|
-moz-box-align: start;
|
|
|
|
}
|
|
|
|
|
2014-03-28 21:36:00 +04:00
|
|
|
#main-window[tabsintitlebar] > #titlebar > #titlebar-content > #titlebar-buttonbox-container,
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window[tabsintitlebar] > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > #titlebar-fullscreen-button {
|
2017-06-01 13:21:31 +03:00
|
|
|
%ifdef MOZ_PHOTON_THEME
|
|
|
|
margin-top: 6px;
|
|
|
|
%else
|
|
|
|
margin-top: 11px;
|
|
|
|
%endif
|
2014-03-28 21:36:00 +04:00
|
|
|
}
|
|
|
|
|
2016-08-25 19:16:08 +03:00
|
|
|
#main-window:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-buttonbox-container,
|
|
|
|
#main-window:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > #titlebar-fullscreen-button {
|
2015-06-12 20:59:35 +03:00
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
|
2014-04-14 21:51:00 +04:00
|
|
|
#main-window[customize-entered] > #titlebar {
|
2014-03-28 21:36:00 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** End titlebar **/
|
|
|
|
|
2010-01-14 18:41:58 +03:00
|
|
|
#main-window[chromehidden~="toolbar"][chromehidden~="location"][chromehidden~="directories"] {
|
|
|
|
border-top: 1px solid rgba(0,0,0,0.65);
|
2010-06-23 00:28:34 +04:00
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
#navigator-toolbox > toolbar:not(#TabsToolbar):not(#nav-bar):not(:-moz-lwtheme) {
|
2008-12-11 17:48:23 +03:00
|
|
|
-moz-appearance: none;
|
2013-03-08 14:57:00 +04:00
|
|
|
background: url(chrome://browser/skin/Toolbar-background-noise.png) hsl(0,0%,83%);
|
2011-11-27 15:27:14 +04:00
|
|
|
}
|
|
|
|
|
2015-08-06 02:29:45 +03:00
|
|
|
/* remove noise texture on Yosemite */
|
|
|
|
@media (-moz-mac-yosemite-theme) {
|
|
|
|
#navigator-toolbox > toolbar:not(#TabsToolbar):not(#nav-bar):not(:-moz-lwtheme) {
|
|
|
|
background-image: none;
|
|
|
|
}
|
2016-06-01 23:46:24 +03:00
|
|
|
|
|
|
|
#navigator-toolbox > toolbar:-moz-window-inactive:not(#TabsToolbar):not(#nav-bar):not(:-moz-lwtheme) {
|
|
|
|
background-color: hsl(0,0%,95%);
|
|
|
|
}
|
2015-08-06 02:29:45 +03:00
|
|
|
}
|
|
|
|
|
2014-06-20 16:11:55 +04:00
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
|
|
|
|
overflow: -moz-hidden-unscrollable;
|
|
|
|
max-height: 4em;
|
|
|
|
transition: min-height 170ms ease-out, max-height 170ms ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
|
|
|
|
min-height: 0.1px;
|
|
|
|
max-height: 0;
|
|
|
|
transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
|
|
|
|
}
|
|
|
|
|
2010-12-23 20:41:51 +03:00
|
|
|
#nav-bar {
|
2008-12-11 17:48:23 +03:00
|
|
|
-moz-appearance: none;
|
2013-03-08 14:57:00 +04:00
|
|
|
background: url(chrome://browser/skin/Toolbar-background-noise.png),
|
2013-05-04 11:25:59 +04:00
|
|
|
linear-gradient(hsl(0,0%,93%), hsl(0,0%,83%));
|
2013-03-08 14:57:00 +04:00
|
|
|
background-clip: border-box;
|
2010-12-23 20:41:51 +03:00
|
|
|
background-origin: border-box !important;
|
2013-10-10 16:41:00 +04:00
|
|
|
|
|
|
|
/* Move the noise texture out of the top 1px strip because that overlaps
|
|
|
|
with the tabbar and we don't want to repaint it when animating tabs.
|
|
|
|
The noise image is at least 100px high, so repeating it only horizontally
|
|
|
|
is enough. */
|
|
|
|
background-repeat: repeat-x, no-repeat;
|
|
|
|
background-position: 0 1px, 0 0;
|
|
|
|
|
2013-05-17 00:32:15 +04:00
|
|
|
box-shadow: inset 0 1px 0 hsla(0,0%,100%,.4);
|
2010-12-23 20:41:51 +03:00
|
|
|
}
|
|
|
|
|
2013-10-10 16:41:00 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#nav-bar {
|
|
|
|
background-size: 100px 100px, auto;
|
|
|
|
}
|
2008-01-28 03:53:12 +03:00
|
|
|
}
|
|
|
|
|
2015-08-06 02:29:45 +03:00
|
|
|
/* remove noise texture on Yosemite */
|
|
|
|
@media (-moz-mac-yosemite-theme) {
|
|
|
|
#nav-bar {
|
|
|
|
background: linear-gradient(hsl(0,0%,93%), hsl(0,0%,83%));
|
|
|
|
}
|
2016-06-01 23:46:24 +03:00
|
|
|
|
|
|
|
#nav-bar:-moz-window-inactive {
|
|
|
|
background: linear-gradient(hsl(0,0%,97%), hsl(0,0%,95%));
|
|
|
|
}
|
2015-08-06 02:29:45 +03:00
|
|
|
}
|
|
|
|
|
2014-06-06 10:53:35 +04:00
|
|
|
/* Draw the bottom border of the tabs toolbar when it's not using
|
|
|
|
-moz-appearance: toolbar. */
|
|
|
|
#main-window:-moz-any([sizemode="fullscreen"],[customize-entered]) #TabsToolbar:not([collapsed="true"]) + #nav-bar,
|
|
|
|
#main-window:not([tabsintitlebar]) #TabsToolbar:not([collapsed="true"]) + #nav-bar,
|
|
|
|
#TabsToolbar:not([collapsed="true"]) + #nav-bar:-moz-lwtheme {
|
|
|
|
border-top: 1px solid hsla(0,0%,0%,.3);
|
|
|
|
background-clip: padding-box;
|
2015-08-09 12:13:27 +03:00
|
|
|
margin-top: calc(-1 * var(--navbar-tab-toolbar-highlight-overlap));
|
2014-06-06 10:53:35 +04:00
|
|
|
/* Position the toolbar above the bottom of background tabs */
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2014-09-30 15:55:27 +04:00
|
|
|
/* Always draw a border on Yosemite to ensure the border is well-defined there
|
|
|
|
* (the default border is too light). */
|
|
|
|
@media (-moz-mac-yosemite-theme) {
|
|
|
|
#main-window[tabsintitlebar] #TabsToolbar:not([collapsed="true"]) + #nav-bar:not(:-moz-lwtheme) {
|
|
|
|
border-top: 1px solid hsla(0,0%,0%,.2);
|
|
|
|
background-clip: padding-box;
|
2015-08-09 12:13:27 +03:00
|
|
|
margin-top: calc(-1 * var(--navbar-tab-toolbar-highlight-overlap));
|
2014-09-30 15:55:27 +04:00
|
|
|
/* Position the toolbar above the bottom of background tabs */
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2016-06-01 23:46:24 +03:00
|
|
|
|
|
|
|
#main-window[tabsintitlebar] #TabsToolbar:not([collapsed="true"]) + #nav-bar:-moz-window-inactive:not(:-moz-lwtheme) {
|
|
|
|
border-top-color: hsla(0,0%,0%,.05);
|
|
|
|
}
|
2014-09-30 15:55:27 +04:00
|
|
|
}
|
|
|
|
|
2014-06-24 22:45:16 +04:00
|
|
|
#PersonalToolbar {
|
2013-10-24 21:19:09 +04:00
|
|
|
padding: 0 4px 4px;
|
2014-06-24 22:45:16 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#PersonalToolbar:not([collapsed=true]) {
|
2014-04-14 20:01:41 +04:00
|
|
|
/* 4px padding ^ plus 19px personal-bookmarks (see below) */
|
|
|
|
min-height: 23px;
|
2013-10-24 21:19:09 +04:00
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
#navigator-toolbox > toolbar:not(#TabsToolbar):-moz-lwtheme {
|
2013-05-04 11:25:59 +04:00
|
|
|
background-color: @toolbarColorLWT@;
|
|
|
|
background-image: url(chrome://browser/skin/Toolbar-background-noise.png);
|
2010-12-23 20:41:51 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#PersonalToolbar:not(:-moz-lwtheme):-moz-window-inactive,
|
2013-07-11 00:22:24 +04:00
|
|
|
#nav-bar:not(:-moz-lwtheme):-moz-window-inactive {
|
2010-12-23 20:41:51 +03:00
|
|
|
background-color: -moz-mac-chrome-inactive;
|
2010-07-20 00:19:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ----- BOOKMARK TOOLBAR ----- */
|
|
|
|
|
2009-09-11 17:25:18 +04:00
|
|
|
#personal-bookmarks {
|
2014-04-14 20:01:41 +04:00
|
|
|
min-height: 19px; /* 16px button height + 2px padding + 1px margin-bottom */
|
2009-09-11 17:25:18 +04:00
|
|
|
}
|
2008-01-28 03:53:12 +03:00
|
|
|
|
2014-04-28 22:30:48 +04:00
|
|
|
#nav-bar-customization-target > #wrapper-personal-bookmarks > #personal-bookmarks {
|
|
|
|
min-height: 32px;
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2010-02-21 17:50:10 +03:00
|
|
|
toolbarbutton.chevron {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/chevron.png");
|
|
|
|
margin: 1px 0 0;
|
2008-11-27 00:01:50 +03:00
|
|
|
padding: 0;
|
2007-10-11 10:42:38 +04:00
|
|
|
}
|
|
|
|
|
2014-10-21 02:10:15 +04:00
|
|
|
toolbar[brighttext] toolbarbutton.chevron {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/chevron-inverted.png");
|
|
|
|
}
|
|
|
|
|
2010-02-21 17:50:10 +03:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-text {
|
|
|
|
display: none;
|
2008-04-23 16:08:52 +04:00
|
|
|
}
|
|
|
|
|
2010-02-21 17:50:10 +03:00
|
|
|
toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2008-04-23 16:08:52 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
toolbarbutton.chevron {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/chevron@2x.png");
|
|
|
|
}
|
|
|
|
|
2014-10-21 02:10:15 +04:00
|
|
|
toolbar[brighttext] toolbarbutton.chevron {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/chevron-inverted@2x.png");
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-icon {
|
|
|
|
width: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-08-18 11:33:54 +04:00
|
|
|
/* ----- BOOKMARK BUTTONS ----- */
|
2004-11-30 11:23:02 +03:00
|
|
|
|
2010-02-21 17:50:10 +03:00
|
|
|
.bookmark-item[container] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder.png");
|
2007-04-01 23:04:27 +04:00
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item[container][livemark] {
|
|
|
|
list-style-image: url("chrome://browser/skin/page-livemarks.png");
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item[container][livemark] .bookmark-item {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/livemark-item.png");
|
|
|
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[container][livemark] .bookmark-item[visited] {
|
|
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
2007-04-01 23:04:27 +04:00
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item[container][query] {
|
2008-04-15 21:09:00 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/query.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][tagContainer] {
|
2011-11-29 16:33:27 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/tag.png");
|
2007-11-20 05:01:53 +03:00
|
|
|
}
|
|
|
|
|
2008-04-15 21:09:00 +04:00
|
|
|
.bookmark-item[query][dayContainer] {
|
2008-05-05 22:06:31 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/history.png");
|
2008-04-15 21:09:00 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer][open] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder.png");
|
2007-11-20 05:01:53 +03:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.bookmark-item[container] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[container][livemark] {
|
|
|
|
list-style-image: url("chrome://browser/skin/page-livemarks@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[container][livemark] .bookmark-item {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/livemark-item.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[container][query] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/query@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][tagContainer] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/tag@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][dayContainer] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/history@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmark-item[query][hostContainer][open] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/folder@2x.png");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
/* Workaround for native menubar inheritance */
|
|
|
|
.openintabs-menuitem,
|
|
|
|
.openlivemarksite-menuitem,
|
|
|
|
.livemarkstatus-menuitem {
|
|
|
|
list-style-image: none;
|
2012-02-24 16:42:26 +04:00
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item[cutting] > .toolbarbutton-icon,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
opacity: 0.5;
|
2007-04-01 23:04:27 +04:00
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
.bookmark-item[cutting] > .toolbarbutton-text,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
|
|
|
|
opacity: 0.7;
|
2007-04-01 23:04:27 +04:00
|
|
|
}
|
|
|
|
|
2013-08-03 00:31:20 +04:00
|
|
|
#bookmarks-toolbar-placeholder {
|
2009-10-14 15:56:59 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2014-01-15 18:27:30 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
|
|
|
|
#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-08-03 00:31:20 +04:00
|
|
|
#bookmarks-toolbar-placeholder {
|
2012-09-30 08:56:40 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png") !important;
|
|
|
|
}
|
|
|
|
|
2014-01-15 18:27:30 +04:00
|
|
|
toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
|
|
|
|
#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel@2x.png") !important;
|
|
|
|
}
|
|
|
|
|
2013-08-03 00:31:20 +04:00
|
|
|
#bookmarks-toolbar-placeholder > .toolbarbutton-icon {
|
2012-09-30 08:56:40 +04:00
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-08-18 11:33:54 +04:00
|
|
|
/* ----- BOOKMARK MENUS ----- */
|
2004-06-19 01:33:39 +04:00
|
|
|
|
|
|
|
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2010-06-24 21:08:43 +04:00
|
|
|
#bookmarksToolbarFolderMenu,
|
2013-07-25 14:02:05 +04:00
|
|
|
#BMB_bookmarksToolbar,
|
|
|
|
#panelMenu_bookmarksToolbar {
|
2010-06-24 21:08:43 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
|
|
|
|
}
|
|
|
|
|
2016-05-20 15:44:38 +03:00
|
|
|
#menu_unsortedBookmarks,
|
2013-07-25 14:02:05 +04:00
|
|
|
#BMB_unsortedBookmarks,
|
|
|
|
#panelMenu_unsortedBookmarks {
|
2010-08-13 17:28:55 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.png");
|
2008-04-09 04:39:18 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#bookmarksToolbarFolderMenu,
|
|
|
|
#BMB_bookmarksToolbar {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#BMB_unsortedBookmarks {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/unfiledBookmarks@2x.png");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-05 14:48:16 +03:00
|
|
|
%include ../shared/bookmarked-notification.inc.css
|
2015-10-13 09:25:36 +03:00
|
|
|
|
2017-04-05 14:48:16 +03:00
|
|
|
%include ../shared/toolbarbuttons.inc.css
|
|
|
|
%include ../shared/toolbarbutton-icons.inc.css
|
|
|
|
%include ../shared/menupanel.inc.css
|
2014-03-06 20:29:12 +04:00
|
|
|
|
2017-04-05 14:48:16 +03:00
|
|
|
/* Override OSX-specific toolkit findbar button styles */
|
2014-12-24 04:38:00 +03:00
|
|
|
.findbar-button {
|
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
2017-04-05 14:48:16 +03:00
|
|
|
border: none;
|
2014-12-24 04:38:00 +03:00
|
|
|
}
|
|
|
|
|
2017-04-05 14:48:16 +03:00
|
|
|
/* Inactive elements are faded out on OSX */
|
2017-05-10 06:11:58 +03:00
|
|
|
.toolbarbutton-1:not(:hover):-moz-window-inactive,
|
|
|
|
#main-window:not([customizing]) .toolbarbutton-1:-moz-window-inactive[disabled="true"] {
|
|
|
|
opacity: 0.5;
|
2014-04-23 21:26:32 +04:00
|
|
|
}
|
|
|
|
|
2010-06-23 00:28:34 +04:00
|
|
|
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
|
|
|
|
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("chrome://browser/skin/menu-back.png") !important;
|
2006-09-22 04:47:18 +04:00
|
|
|
}
|
|
|
|
|
2010-06-23 00:28:34 +04:00
|
|
|
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
|
|
|
|
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2017-05-11 01:36:54 +03:00
|
|
|
%ifndef MOZ_PHOTON_THEME
|
2017-05-08 22:37:01 +03:00
|
|
|
@media (-moz-mac-yosemite-theme) {
|
|
|
|
#forward-button > .toolbarbutton-icon {
|
|
|
|
border-top: none !important;
|
|
|
|
border-bottom: none !important;
|
|
|
|
box-shadow: 0 .5px 0 0 rgba(0,0,0,0.2) !important;
|
|
|
|
}
|
|
|
|
#forward-button:-moz-window-inactive > .toolbarbutton-icon {
|
|
|
|
box-shadow: 0 1px 0 0 rgba(0,0,0,0.2) inset,
|
|
|
|
0 -1px 0 0 rgba(0,0,0,0.2) inset !important;
|
|
|
|
}
|
|
|
|
}
|
2017-05-11 01:36:54 +03:00
|
|
|
%endif
|
2017-05-08 22:37:01 +03:00
|
|
|
|
2009-09-04 01:36:32 +04:00
|
|
|
/* ----- FULLSCREEN WINDOW CONTROLS ----- */
|
|
|
|
|
|
|
|
#minimize-button,
|
|
|
|
#close-button,
|
|
|
|
#fullscreen-button ~ #window-controls > #restore-button {
|
|
|
|
display: none;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: nav-bar-inner ::::: */
|
|
|
|
|
2017-05-18 14:23:09 +03:00
|
|
|
%include ../shared/urlbar-searchbar.inc.css
|
|
|
|
|
2017-05-15 17:02:55 +03:00
|
|
|
%ifdef MOZ_PHOTON_THEME
|
|
|
|
|
2017-05-22 16:40:19 +03:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
|
|
|
font-size: 1.25em;
|
2017-05-15 17:02:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar[focused="true"],
|
|
|
|
.searchbar-textbox[focused="true"] {
|
|
|
|
border-color: -moz-mac-focusring;
|
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
|
|
|
}
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
2010-06-23 00:29:22 +04:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
2010-02-21 18:03:52 +03:00
|
|
|
font: icon;
|
2010-02-21 18:03:48 +03:00
|
|
|
-moz-appearance: none;
|
2016-05-29 21:24:21 +03:00
|
|
|
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);
|
2010-06-23 00:28:34 +04:00
|
|
|
margin: 0 4px;
|
2014-03-18 18:37:00 +04:00
|
|
|
padding: 1px 0;
|
2011-01-21 00:43:32 +03:00
|
|
|
border: 1px solid;
|
2016-05-29 21:24:21 +03:00
|
|
|
background-image: linear-gradient(hsl(0,0%,97%), hsl(0,0%,100%));
|
|
|
|
border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.25) hsla(0,0%,0%,.15);
|
2011-01-21 00:43:32 +03:00
|
|
|
background-clip: padding-box;
|
2008-01-28 03:53:12 +03:00
|
|
|
}
|
|
|
|
|
2014-10-21 04:36:25 +04:00
|
|
|
#urlbar[readonly] {
|
|
|
|
background-color: -moz-field;
|
|
|
|
}
|
|
|
|
|
2014-08-29 18:30:55 +04:00
|
|
|
@media (-moz-mac-yosemite-theme) {
|
|
|
|
.searchbar-textbox,
|
|
|
|
#urlbar {
|
|
|
|
border-color: #fff;
|
|
|
|
border-radius: 3px;
|
2015-08-01 05:03:59 +03:00
|
|
|
box-shadow: 0 .5px 0 0 rgba(0,0,0,0.2);
|
2014-08-29 18:30:55 +04:00
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
.searchbar-textbox:-moz-window-inactive,
|
|
|
|
#urlbar:-moz-window-inactive {
|
|
|
|
box-shadow: none;
|
2014-09-11 00:38:07 +04:00
|
|
|
border-color: rgba(0,0,0,0.1);
|
2014-08-29 18:30:55 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-06-23 00:29:22 +04:00
|
|
|
#urlbar[focused="true"],
|
|
|
|
.searchbar-textbox[focused="true"] {
|
2011-01-21 00:43:32 +03:00
|
|
|
border-color: -moz-mac-focusring;
|
2017-03-09 03:46:26 +03:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2016-06-14 21:24:00 +03:00
|
|
|
}
|
|
|
|
|
2010-06-23 00:29:22 +04:00
|
|
|
#urlbar {
|
2017-04-05 14:48:16 +03:00
|
|
|
border-radius: var(--toolbarbutton-border-radius);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar {
|
2016-05-13 08:19:58 +03:00
|
|
|
border-inline-start: none;
|
2011-11-07 22:48:27 +04:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(ltr) {
|
2011-11-07 22:48:27 +04:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) {
|
2011-11-07 22:48:27 +04:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@ {
|
|
|
|
clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");
|
2015-07-22 19:11:34 +03:00
|
|
|
margin-inline-start: calc(-1 * var(--backbutton-urlbar-overlap));
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl),
|
|
|
|
@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) {
|
|
|
|
/* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
|
|
|
|
transform: scaleX(-1);
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
|
|
|
|
2014-04-23 21:26:32 +04:00
|
|
|
@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-direction: reverse;
|
2011-11-07 22:48:27 +04:00
|
|
|
}
|
2017-05-11 01:36:54 +03:00
|
|
|
%endif
|
2011-11-07 22:48:27 +04:00
|
|
|
|
2015-07-23 14:26:43 +03:00
|
|
|
%include ../shared/identity-block/identity-block.inc.css
|
|
|
|
|
2015-08-08 02:50:53 +03:00
|
|
|
#identity-box {
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
2015-07-09 18:52:38 +03:00
|
|
|
#urlbar:not([focused="true"]) > #identity-box {
|
2015-07-22 19:11:34 +03:00
|
|
|
margin-top: -1px;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
2015-07-09 18:52:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (-moz-mac-yosemite-theme) {
|
2015-07-14 13:58:16 +03:00
|
|
|
#urlbar:not([focused="true"]):not(:-moz-window-inactive) > #identity-box {
|
2015-07-22 19:11:34 +03:00
|
|
|
margin-top: -2px;
|
|
|
|
margin-bottom: -2px;
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 4px;
|
2015-07-09 18:52:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-03-19 00:21:02 +03:00
|
|
|
#identity-box:-moz-locale-dir(ltr) {
|
|
|
|
border-top-left-radius: 2px;
|
|
|
|
border-bottom-left-radius: 2px;
|
2010-09-08 15:39:35 +04:00
|
|
|
}
|
|
|
|
|
2011-03-19 00:21:02 +03:00
|
|
|
#identity-box:-moz-locale-dir(rtl) {
|
|
|
|
border-top-right-radius: 2px;
|
|
|
|
border-bottom-right-radius: 2px;
|
2010-09-08 15:39:35 +04:00
|
|
|
}
|
|
|
|
|
2011-03-19 00:21:02 +03:00
|
|
|
#identity-box:-moz-focusring {
|
2017-03-09 03:46:26 +03:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2016-05-13 08:19:58 +03:00
|
|
|
border-inline-end-style: none;
|
|
|
|
padding-inline-end: 5px;
|
2010-02-21 18:03:55 +03:00
|
|
|
}
|
|
|
|
|
2010-09-15 09:41:16 +04:00
|
|
|
.urlbar-input-box {
|
2017-05-10 19:53:58 +03:00
|
|
|
margin: 0;
|
2010-06-23 00:29:22 +04:00
|
|
|
padding: 3px 0 2px;
|
2008-01-28 03:53:12 +03:00
|
|
|
}
|
|
|
|
|
2016-07-04 13:56:29 +03:00
|
|
|
.urlbar-input-box,
|
|
|
|
#urlbar-display-box {
|
|
|
|
padding-inline-start: 4px;
|
|
|
|
border-inline-start: 1px solid var(--urlbar-separator-color);
|
|
|
|
border-image: linear-gradient(transparent 15%, var(--urlbar-separator-color) 15%, var(--urlbar-separator-color) 85%, transparent 85%);
|
|
|
|
border-image-slice: 1;
|
|
|
|
}
|
|
|
|
|
2011-09-24 15:03:09 +04:00
|
|
|
.urlbar-history-dropmarker {
|
|
|
|
padding: 0 3px;
|
2014-10-23 17:49:34 +04:00
|
|
|
list-style-image: var(--urlbar-dropmarker-url);
|
|
|
|
-moz-image-region: var(--urlbar-dropmarker-region);
|
2015-09-15 17:39:02 +03:00
|
|
|
transition: opacity 0.15s ease;
|
|
|
|
}
|
|
|
|
|
2016-02-21 06:29:27 +03:00
|
|
|
#urlbar-wrapper[switchingtabs] > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
2016-06-21 19:21:00 +03:00
|
|
|
#navigator-toolbox:not(:hover) #nav-bar:not([customizing="true"]) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker {
|
2015-09-15 17:39:02 +03:00
|
|
|
opacity: 0;
|
2011-09-24 15:03:09 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.urlbar-history-dropmarker[open="true"],
|
|
|
|
.urlbar-history-dropmarker:hover:active {
|
2014-10-23 17:49:34 +04:00
|
|
|
-moz-image-region: var(--urlbar-dropmarker-active-region);
|
2011-09-24 15:03:09 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.urlbar-history-dropmarker {
|
2014-10-23 17:49:34 +04:00
|
|
|
list-style-image: var(--urlbar-dropmarker-2x-url);
|
|
|
|
-moz-image-region: var(--urlbar-dropmarker-2x-region);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.urlbar-history-dropmarker[open="true"],
|
|
|
|
.urlbar-history-dropmarker:hover:active {
|
2014-10-23 17:49:34 +04:00
|
|
|
-moz-image-region: var(--urlbar-dropmarker-active-2x-region);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.urlbar-history-dropmarker > .dropmarker-icon {
|
|
|
|
width: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-01-28 03:53:12 +03:00
|
|
|
#urlbar-icons {
|
|
|
|
-moz-box-align: center;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2011-09-24 15:03:09 +04:00
|
|
|
.urlbar-icon {
|
2012-10-24 09:16:18 +04:00
|
|
|
padding: 0 3px;
|
2015-10-16 01:15:04 +03:00
|
|
|
/* 16x16 icon with border-box sizing */
|
|
|
|
width: 22px;
|
|
|
|
height: 16px;
|
2011-09-24 15:03:09 +04:00
|
|
|
}
|
|
|
|
|
2016-08-12 20:48:59 +03:00
|
|
|
/* ::::: URL Bar Zoom Reset Button ::::: */
|
|
|
|
@keyframes urlbar-zoom-reset-pulse {
|
|
|
|
0% {
|
|
|
|
transform: scale(0);
|
|
|
|
}
|
2016-08-17 01:24:15 +03:00
|
|
|
75% {
|
2016-08-12 20:48:59 +03:00
|
|
|
transform: scale(1.5);
|
|
|
|
}
|
2016-08-17 01:24:15 +03:00
|
|
|
100% {
|
|
|
|
transform: scale(1.0);
|
|
|
|
}
|
2016-08-12 20:48:59 +03:00
|
|
|
}
|
|
|
|
|
2015-05-22 00:20:06 +03:00
|
|
|
#urlbar-search-footer {
|
2016-08-11 18:48:28 +03:00
|
|
|
border-top: 1px solid var(--panel-separator-color);
|
2016-09-12 17:50:30 +03:00
|
|
|
background-color: var(--arrowpanel-dimmed);
|
2015-05-22 00:20:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-settings {
|
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
color: GrayText;
|
|
|
|
margin: 0;
|
|
|
|
padding: 8px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-settings:hover {
|
2016-09-12 17:50:30 +03:00
|
|
|
background-color: var(--arrowpanel-dimmed);
|
2015-05-22 00:20:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-settings:hover:active {
|
2016-09-12 17:50:30 +03:00
|
|
|
background-color: var(--arrowpanel-dimmed-further);
|
2015-05-22 00:20:06 +03:00
|
|
|
}
|
|
|
|
|
2013-11-28 17:25:34 +04:00
|
|
|
#search-container {
|
|
|
|
min-width: calc(54px + 11ch);
|
|
|
|
}
|
|
|
|
|
2010-02-21 18:03:48 +03:00
|
|
|
#wrapper-urlbar-container[place="palette"] {
|
|
|
|
max-width: 20em;
|
|
|
|
}
|
|
|
|
|
2014-09-16 08:01:58 +04:00
|
|
|
.urlbar-display {
|
2011-01-22 14:21:35 +03:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2015-08-07 06:13:00 +03:00
|
|
|
%include ../shared/urlbarSearchSuggestionsNotification.inc.css
|
|
|
|
|
2006-09-22 04:47:18 +04:00
|
|
|
/* ----- AUTOCOMPLETE ----- */
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2016-08-20 00:15:56 +03:00
|
|
|
%include ../shared/autocomplete.inc.css
|
|
|
|
|
2016-10-19 20:55:06 +03:00
|
|
|
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
|
|
|
|
border-top: 1px solid #C7C7C7;
|
|
|
|
}
|
|
|
|
|
2007-11-06 11:43:53 +03:00
|
|
|
#treecolAutoCompleteImage {
|
2007-11-30 07:57:57 +03:00
|
|
|
max-width: 36px;
|
2007-09-01 00:19:19 +04:00
|
|
|
}
|
|
|
|
|
2016-04-06 04:56:54 +03:00
|
|
|
.autocomplete-richlistbox {
|
|
|
|
padding: 4px;
|
2015-08-17 16:51:22 +03:00
|
|
|
}
|
|
|
|
|
2016-04-06 04:56:54 +03:00
|
|
|
.autocomplete-richlistitem {
|
|
|
|
height: 30px;
|
|
|
|
min-height: 30px;
|
|
|
|
font: message-box;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid transparent;
|
2007-11-06 11:43:53 +03:00
|
|
|
}
|
|
|
|
|
2017-04-11 18:40:11 +03:00
|
|
|
.autocomplete-richlistitem:hover,
|
|
|
|
treechildren.searchbar-treebody::-moz-tree-row(hover) {
|
|
|
|
background-color: hsla(0, 0%, 0%, 0.06);
|
|
|
|
border-color: hsla(0, 0%, 0%, 0.1);
|
|
|
|
}
|
|
|
|
|
2017-05-11 22:48:28 +03:00
|
|
|
.autocomplete-richlistitem[selected],
|
2017-04-11 18:40:11 +03:00
|
|
|
treechildren.searchbar-treebody::-moz-tree-row(selected) {
|
|
|
|
background-color: Highlight;
|
2017-05-11 22:48:28 +03:00
|
|
|
color: HighlightText;
|
2017-04-11 18:40:11 +03:00
|
|
|
}
|
|
|
|
|
2016-04-06 04:56:54 +03:00
|
|
|
.ac-title {
|
|
|
|
font-size: 14px;
|
2008-07-17 15:48:40 +04:00
|
|
|
}
|
|
|
|
|
2017-03-18 18:42:22 +03:00
|
|
|
.ac-separator,
|
|
|
|
.ac-url,
|
|
|
|
.ac-action,
|
2016-04-06 04:56:54 +03:00
|
|
|
.ac-tags {
|
|
|
|
font-size: 12px;
|
2008-04-12 07:14:42 +04:00
|
|
|
}
|
|
|
|
|
2016-04-06 04:56:54 +03:00
|
|
|
html|span.ac-tag {
|
|
|
|
background-color: hsl(216, 0%, 88%);
|
|
|
|
color: hsl(0, 0%, 0%);
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
padding: 0 1px;
|
2007-11-30 07:57:57 +03:00
|
|
|
}
|
|
|
|
|
2017-03-18 18:42:22 +03:00
|
|
|
.ac-separator:not([selected=true]) {
|
2016-04-12 19:58:14 +03:00
|
|
|
color: hsl(0, 0%, 50%);
|
|
|
|
}
|
|
|
|
|
2017-03-18 18:42:22 +03:00
|
|
|
.ac-url:not([selected=true]) {
|
2016-04-06 04:56:54 +03:00
|
|
|
color: hsl(210, 77%, 47%);
|
2012-05-04 20:16:02 +04:00
|
|
|
}
|
|
|
|
|
2017-03-18 18:42:22 +03:00
|
|
|
.ac-action:not([selected=true]) {
|
2016-04-06 04:56:54 +03:00
|
|
|
color: hsl(178, 100%, 28%);
|
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
|
2016-04-06 04:56:54 +03:00
|
|
|
.ac-tags-text[selected] > html|span.ac-tag {
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
color: hsl(210, 80%, 40%);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2016-05-23 19:46:34 +03:00
|
|
|
html|span.ac-emphasize-text-title,
|
|
|
|
html|span.ac-emphasize-text-tag,
|
|
|
|
html|span.ac-emphasize-text-url {
|
|
|
|
font-weight: 600;
|
2016-04-06 04:56:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ac-type-icon[type=bookmark] {
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-star.svg#star");
|
|
|
|
}
|
|
|
|
|
|
|
|
.ac-type-icon[type=bookmark][selected][current] {
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-star.svg#star-inverted");
|
2007-11-30 07:57:57 +03:00
|
|
|
}
|
|
|
|
|
2016-04-06 04:56:54 +03:00
|
|
|
.ac-type-icon[type=keyword],
|
2016-11-28 18:48:52 +03:00
|
|
|
.ac-site-icon[type=searchengine] {
|
2017-04-07 15:52:24 +03:00
|
|
|
list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg);
|
2017-04-12 15:52:24 +03:00
|
|
|
-moz-context-properties: fill;
|
2017-04-07 15:52:24 +03:00
|
|
|
fill: GrayText;
|
2016-04-06 04:56:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ac-type-icon[type=keyword][selected],
|
2016-11-28 18:48:52 +03:00
|
|
|
.ac-site-icon[type=searchengine][selected] {
|
2017-04-07 15:52:24 +03:00
|
|
|
fill: highlighttext;
|
2016-04-06 04:56:54 +03:00
|
|
|
}
|
|
|
|
|
2016-04-16 05:42:27 +03:00
|
|
|
.ac-type-icon[type=switchtab],
|
|
|
|
.ac-type-icon[type=remotetab] {
|
2016-04-06 04:56:54 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab");
|
|
|
|
}
|
|
|
|
|
2016-04-16 05:42:27 +03:00
|
|
|
.ac-type-icon[type=switchtab][selected],
|
|
|
|
.ac-type-icon[type=remotetab][selected] {
|
2016-04-06 04:56:54 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab-inverted");
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
|
|
|
|
color: GrayText;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2012-05-09 01:47:19 +04:00
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
|
|
|
|
.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
|
2006-05-27 02:41:42 +04:00
|
|
|
{
|
|
|
|
color: GrayText;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treebody::-moz-tree-cell(suggesthint) {
|
|
|
|
border-top: 1px solid GrayText;
|
|
|
|
}
|
|
|
|
|
2010-09-03 06:20:12 +04:00
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
%ifndef MOZ_PHOTON_THEME
|
2010-09-03 06:20:12 +04:00
|
|
|
/* ----- COMBINED GO/RELOAD/STOP BUTTON IN LOCATION BAR ----- */
|
|
|
|
|
2015-09-03 21:06:00 +03:00
|
|
|
#urlbar-go-button,
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button,
|
|
|
|
#stop-button {
|
2016-06-14 13:21:19 +03:00
|
|
|
margin: 0;
|
2011-09-24 15:03:09 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go.png");
|
2016-06-14 13:21:19 +03:00
|
|
|
padding: 0 9px;
|
2015-10-07 17:47:56 +03:00
|
|
|
margin-inline-start: 5px;
|
2015-09-03 21:06:00 +03:00
|
|
|
border-inline-start: 1px solid var(--urlbar-separator-color);
|
|
|
|
border-image: linear-gradient(transparent 15%,
|
|
|
|
var(--urlbar-separator-color) 15%,
|
|
|
|
var(--urlbar-separator-color) 85%,
|
|
|
|
transparent 85%);
|
2015-09-08 06:17:47 +03:00
|
|
|
border-image-slice: 1;
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2011-09-24 15:03:09 +04:00
|
|
|
#urlbar-go-button {
|
|
|
|
-moz-image-region: rect(0, 42px, 14px, 28px);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2011-09-24 15:03:09 +04:00
|
|
|
#urlbar-go-button:hover:active {
|
|
|
|
-moz-image-region: rect(14px, 42px, 28px, 28px);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2011-01-27 16:15:56 +03:00
|
|
|
#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2011-01-27 16:15:56 +03:00
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button {
|
2011-09-24 15:03:09 +04:00
|
|
|
-moz-image-region: rect(0, 14px, 14px, 0);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button:not([disabled]):hover:active {
|
2011-09-24 15:03:09 +04:00
|
|
|
-moz-image-region: rect(14px, 14px, 28px, 0);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
2012-07-16 19:10:27 +04:00
|
|
|
transform: scaleX(-1);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#stop-button {
|
2011-09-24 15:03:09 +04:00
|
|
|
-moz-image-region: rect(0, 28px, 14px, 14px);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#stop-button:hover:active {
|
2011-09-24 15:03:09 +04:00
|
|
|
-moz-image-region: rect(14px, 28px, 28px, 14px);
|
2010-09-03 06:20:12 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2015-09-03 21:06:00 +03:00
|
|
|
#urlbar-go-button,
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button,
|
|
|
|
#stop-button {
|
2012-09-30 08:56:40 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
|
|
|
|
}
|
|
|
|
|
2015-09-03 21:06:00 +03:00
|
|
|
#urlbar-go-button > .toolbarbutton-icon,
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button > .toolbarbutton-icon,
|
|
|
|
#stop-button > .toolbarbutton-icon {
|
2015-09-03 21:06:00 +03:00
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
#urlbar-go-button {
|
|
|
|
-moz-image-region: rect(0, 84px, 28px, 56px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-go-button:hover:active {
|
|
|
|
-moz-image-region: rect(28px, 84px, 56px, 56px);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button {
|
2012-09-30 08:56:40 +04:00
|
|
|
-moz-image-region: rect(0, 28px, 28px, 0);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#reload-button:not([disabled]):hover:active {
|
2012-09-30 08:56:40 +04:00
|
|
|
-moz-image-region: rect(28px, 28px, 56px, 0);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#stop-button {
|
2012-09-30 08:56:40 +04:00
|
|
|
-moz-image-region: rect(0, 56px, 28px, 28px);
|
|
|
|
}
|
|
|
|
|
2017-05-11 20:16:05 +03:00
|
|
|
#stop-button:hover:active {
|
2012-09-30 08:56:40 +04:00
|
|
|
-moz-image-region: rect(28px, 56px, 56px, 28px);
|
|
|
|
}
|
2015-09-03 21:06:00 +03:00
|
|
|
}
|
2017-05-11 20:16:05 +03:00
|
|
|
%endif
|
2012-09-30 08:56:40 +04:00
|
|
|
|
2015-09-03 21:06:00 +03:00
|
|
|
#BMB_bookmarksPopup[side="top"],
|
|
|
|
#BMB_bookmarksPopup[side="bottom"] {
|
|
|
|
margin-left: -26px;
|
|
|
|
margin-right: -26px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#BMB_bookmarksPopup[side="left"],
|
|
|
|
#BMB_bookmarksPopup[side="right"] {
|
|
|
|
margin-top: -26px;
|
|
|
|
margin-bottom: -26px;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2010-12-16 20:53:27 +03:00
|
|
|
/* POPUP BLOCKER BUTTON */
|
|
|
|
#page-report-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-report-button:hover:active,
|
|
|
|
#page-report-button[open="true"] {
|
2011-09-24 15:03:09 +04:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2010-12-16 20:53:27 +03:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#page-report-button {
|
|
|
|
list-style-image: url("chrome://browser/skin/urlbar-popup-blocked@2x.png");
|
|
|
|
-moz-image-region: rect(0, 32px, 32px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-report-button:hover:active,
|
|
|
|
#page-report-button[open="true"] {
|
|
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-03 04:20:12 +03:00
|
|
|
/* Reader mode button */
|
|
|
|
|
|
|
|
#reader-mode-button {
|
2015-03-21 03:28:03 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/readerMode.svg");
|
2015-01-03 04:20:12 +03:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|
|
|
|
|
2015-03-21 03:28:03 +03:00
|
|
|
#reader-mode-button:hover:active {
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2015-02-11 18:29:34 +03:00
|
|
|
}
|
|
|
|
|
2015-01-03 04:20:12 +03:00
|
|
|
#reader-mode-button[readeractive] {
|
2015-03-21 03:28:03 +03:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2015-01-03 04:20:12 +03:00
|
|
|
}
|
|
|
|
|
2013-05-07 10:02:58 +04:00
|
|
|
/* social share panel */
|
|
|
|
.social-share-frame {
|
2014-12-23 03:11:56 +03:00
|
|
|
border-top: 1px solid #f8f8f8;
|
|
|
|
min-width: 756px;
|
2013-05-07 10:02:58 +04:00
|
|
|
height: 150px;
|
|
|
|
/* we resize our panels dynamically, make it look nice */
|
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
#share-container {
|
|
|
|
min-width: 756px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
#share-container[loading] {
|
|
|
|
background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
|
|
|
|
}
|
|
|
|
#share-container > browser {
|
|
|
|
transition: opacity 150ms ease-in-out;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
#share-container[loading] > browser {
|
|
|
|
opacity: 0;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2016-08-24 01:24:07 +03:00
|
|
|
#manage-share-providers {
|
2014-12-23 03:11:56 +03:00
|
|
|
-moz-image-region: rect(18px, 468px, 36px, 450px);
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
.social-share-toolbar {
|
|
|
|
border-bottom: 1px solid #dedede;
|
|
|
|
padding: 2px;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
#social-share-provider-buttons {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
.share-provider-button {
|
|
|
|
padding: 5px;
|
|
|
|
margin: 2px;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
.share-provider-button > .toolbarbutton-text {
|
2013-05-07 10:02:58 +04:00
|
|
|
display: none;
|
|
|
|
}
|
2014-12-23 03:11:56 +03:00
|
|
|
|
|
|
|
.share-provider-button > .toolbarbutton-icon {
|
2013-05-07 10:02:58 +04:00
|
|
|
width: 16px;
|
|
|
|
min-height: 16px;
|
|
|
|
max-height: 16px;
|
|
|
|
}
|
|
|
|
|
2008-04-08 05:41:11 +04:00
|
|
|
/* BOOKMARKING PANEL */
|
2008-01-30 07:37:20 +03:00
|
|
|
#editBookmarkPanelStarIcon {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/starred48.png");
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanelStarIcon[unstarred] {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/unstarred48.png");
|
|
|
|
}
|
|
|
|
|
2014-03-13 18:55:47 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#editBookmarkPanelStarIcon {
|
|
|
|
list-style-image: url("chrome://browser/skin/places/starred48@2x.png");
|
|
|
|
-moz-image-region: rect(0px 96px 96px 0px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-01-30 07:37:20 +03:00
|
|
|
#editBookmarkPanelTitle {
|
|
|
|
font-size: 130%;
|
2008-04-08 05:41:11 +04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
#editBMPanel_rows > row {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBMPanel_rows > row:last-of-type {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**** Input elements ****/
|
|
|
|
|
|
|
|
#editBMPanel_rows > row > textbox,
|
|
|
|
#editBMPanel_rows > row > hbox > textbox {
|
|
|
|
-moz-appearance: none;
|
2012-08-23 04:14:04 +04:00
|
|
|
background: linear-gradient(#fafafa, #fff);
|
2012-08-21 05:38:07 +04:00
|
|
|
background-clip: padding-box;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid rgba(0,0,0,.3) !important;
|
|
|
|
box-shadow: inset 0 1px 1px 1px rgba(0,0,0,.05),
|
|
|
|
0 1px rgba(255,255,255,.3);
|
|
|
|
margin: 0;
|
|
|
|
padding: 3px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBMPanel_rows > row > textbox[focused="true"],
|
|
|
|
#editBMPanel_rows > row > hbox > textbox[focused="true"] {
|
|
|
|
border-color: -moz-mac-focusring !important;
|
2017-03-09 03:46:26 +03:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2012-08-21 05:38:07 +04:00
|
|
|
}
|
|
|
|
|
2008-04-08 05:41:11 +04:00
|
|
|
/**** HUD style buttons ****/
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
.editBookmarkPanelHeaderButton,
|
|
|
|
.editBookmarkPanelBottomButton {
|
2010-04-20 20:12:10 +04:00
|
|
|
@hudButton@
|
2012-08-21 05:38:07 +04:00
|
|
|
margin: 0;
|
|
|
|
min-width: 82px;
|
2008-04-08 05:41:11 +04:00
|
|
|
min-height: 22px;
|
|
|
|
}
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
.editBookmarkPanelHeaderButton:hover:active,
|
|
|
|
.editBookmarkPanelBottomButton:hover:active {
|
2010-12-06 01:10:45 +03:00
|
|
|
@hudButtonPressed@
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2010-12-06 01:10:45 +03:00
|
|
|
.editBookmarkPanelHeaderButton:-moz-focusring,
|
|
|
|
.editBookmarkPanelBottomButton:-moz-focusring {
|
2017-03-09 03:46:26 +03:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
.editBookmarkPanelBottomButton[default="true"] {
|
Bug 427935 - Mac theme updates Round of style tweaks and icon additions, including hud style tweaks, addons window style tweaks, revised pref icons, new notification icons. Fixes bugs 386757, 424877, 427464, 427697, 427701 r=mano, ui-review=beltzner, a=mconnor
2008-04-11 06:27:29 +04:00
|
|
|
background-color: #666;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBookmarkPanelHeader {
|
|
|
|
margin-bottom: 6px;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
.editBookmarkPanelBottomButton:last-child {
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-start: 8px;
|
2012-08-21 05:38:07 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
/* The following elements come from editBookmarkOverlay.xul. Styling that's
|
|
|
|
specific to the editBookmarkPanel should be in browser.css. Styling that
|
|
|
|
should be shared by all editBookmarkOverlay.xul consumers should be in
|
|
|
|
editBookmarkOverlay.css. */
|
|
|
|
|
|
|
|
#editBMPanel_newFolderBox {
|
2012-08-23 04:14:04 +04:00
|
|
|
background: linear-gradient(#fff, #f2f2f2);
|
2010-12-06 01:10:45 +03:00
|
|
|
background-origin: padding-box;
|
|
|
|
background-clip: padding-box;
|
|
|
|
border-radius: 0 0 3px 3px;
|
2012-08-21 05:38:07 +04:00
|
|
|
border: 1px solid #a5a5a5;
|
|
|
|
box-shadow: inset 0 1px rgba(255,255,255,.8),
|
|
|
|
inset 0 0 1px rgba(255,255, 255,.25),
|
|
|
|
0 1px rgba(255,255,255,.3);
|
|
|
|
margin: 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
padding: 0;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_newFolderButton {
|
2008-04-08 05:41:11 +04:00
|
|
|
-moz-appearance: none;
|
2012-08-21 05:38:07 +04:00
|
|
|
border: 0 solid #a5a5a5;
|
2016-05-13 08:19:58 +03:00
|
|
|
border-inline-end-width: 1px;
|
2008-04-08 05:41:11 +04:00
|
|
|
padding: 0 9px;
|
|
|
|
margin: 0;
|
|
|
|
min-width: 21px;
|
|
|
|
min-height: 20px;
|
|
|
|
height: 20px;
|
2010-12-06 01:10:45 +03:00
|
|
|
color: #fff;
|
2012-08-21 05:38:07 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/panel-plus-sign.png");
|
2010-12-06 01:10:45 +03:00
|
|
|
position: relative;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_newFolderButton:hover:active {
|
2012-08-23 04:14:04 +04:00
|
|
|
background: linear-gradient(rgba(40,40,40,.9), rgba(70,70,70,.9));
|
2010-12-06 01:10:45 +03:00
|
|
|
box-shadow: inset 0 0 3px rgba(0,0,0,.2), inset 0 1px 7px rgba(0,0,0,.4);
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2010-12-06 01:10:45 +03:00
|
|
|
#editBMPanel_newFolderButton:-moz-focusring {
|
2017-03-09 03:46:26 +03:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_newFolderButton .button-text {
|
2011-01-18 19:48:19 +03:00
|
|
|
display: none;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_folderMenuList {
|
2010-04-20 20:12:10 +04:00
|
|
|
@hudButton@
|
2012-08-21 05:38:07 +04:00
|
|
|
background-clip: padding-box;
|
|
|
|
margin: 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
min-height: 22px;
|
2012-08-21 05:38:07 +04:00
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 1px;
|
2016-05-13 08:19:58 +03:00
|
|
|
padding-inline-start: 8px;
|
|
|
|
padding-inline-end: 4px;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2010-12-06 01:10:45 +03:00
|
|
|
#editBMPanel_folderMenuList:-moz-focusring {
|
2017-03-09 03:46:26 +03:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_folderMenuList[open="true"],
|
|
|
|
#editBMPanel_folderMenuList:hover:active {
|
2010-12-06 01:10:45 +03:00
|
|
|
@hudButtonPressed@
|
2008-01-30 07:37:20 +03:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_folderMenuList > .menulist-dropmarker {
|
2008-04-08 05:41:11 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
display: -moz-box;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2016-05-13 08:19:58 +03:00
|
|
|
padding-inline-end: 4px;
|
2012-08-21 05:38:07 +04:00
|
|
|
width: 7px;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_folderMenuList > .menulist-dropmarker > .dropmarker-icon {
|
2012-08-21 05:38:07 +04:00
|
|
|
list-style-image: url("chrome://global/skin/icons/panel-dropmarker.png");
|
Bug 427935 - Mac theme updates Round of style tweaks and icon additions, including hud style tweaks, addons window style tweaks, revised pref icons, new notification icons. Fixes bugs 386757, 424877, 427464, 427697, 427701 r=mano, ui-review=beltzner, a=mconnor
2008-04-11 06:27:29 +04:00
|
|
|
}
|
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
/**** folder tree and tag selector ****/
|
Bug 427935 - Mac theme updates Round of style tweaks and icon additions, including hud style tweaks, addons window style tweaks, revised pref icons, new notification icons. Fixes bugs 386757, 424877, 427464, 427697, 427701 r=mano, ui-review=beltzner, a=mconnor
2008-04-11 06:27:29 +04:00
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
#editBMPanel_folderTree,
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_tagsSelector {
|
2008-04-08 05:41:11 +04:00
|
|
|
-moz-appearance: none;
|
2012-08-23 04:14:04 +04:00
|
|
|
background: linear-gradient(#fafafa, #fff);
|
2012-08-21 05:38:07 +04:00
|
|
|
background-clip: padding-box;
|
|
|
|
border-radius: 3px;
|
2010-12-06 01:10:45 +03:00
|
|
|
border: 1px solid rgba(0,0,0,.3);
|
2012-08-21 05:38:07 +04:00
|
|
|
box-shadow: inset 0 1px 1px 1px rgba(0,0,0,.05),
|
|
|
|
0 1px rgba(255,255,255,.3);
|
|
|
|
margin: 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
#editBMPanel_folderTree:-moz-focusring,
|
2010-12-06 01:10:45 +03:00
|
|
|
#editBMPanel_tagsSelector:-moz-focusring {
|
2012-08-21 05:38:07 +04:00
|
|
|
border-color: -moz-mac-focusring;
|
2017-03-09 03:46:26 +03:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2012-08-21 05:38:07 +04:00
|
|
|
#editBMPanel_folderTree {
|
|
|
|
border-bottom: none;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
|
|
|
|
margin: 0 !important;
|
|
|
|
min-width: 27em;
|
|
|
|
position: relative;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/**** expanders ****/
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-up,
|
|
|
|
#editBookmarkPanel .expander-down {
|
2010-04-20 20:12:10 +04:00
|
|
|
@hudButton@
|
2012-08-21 05:38:07 +04:00
|
|
|
margin: 0;
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-start: 4px;
|
2012-08-23 04:14:04 +04:00
|
|
|
min-width: 27px;
|
2012-08-21 05:38:07 +04:00
|
|
|
min-height: 22px;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2010-12-06 01:10:45 +03:00
|
|
|
#editBookmarkPanel .expander-up:-moz-focusring,
|
|
|
|
#editBookmarkPanel .expander-down:-moz-focusring {
|
2017-03-09 03:46:26 +03:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2010-12-06 01:10:45 +03:00
|
|
|
#editBookmarkPanel .expander-up:hover:active,
|
|
|
|
#editBookmarkPanel .expander-down:hover:active {
|
|
|
|
@hudButtonPressed@
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2011-02-16 20:26:36 +03:00
|
|
|
#editBookmarkPanel .expander-up {
|
2012-08-21 05:38:07 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/panel-expander-open.png");
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2011-02-16 20:26:36 +03:00
|
|
|
#editBookmarkPanel .expander-down {
|
2012-08-21 05:38:07 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/panel-expander-closed.png");
|
2009-04-21 00:59:53 +04:00
|
|
|
}
|
|
|
|
|
2012-08-23 22:31:52 +04:00
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-icon,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-icon {
|
2012-08-23 04:14:04 +04:00
|
|
|
margin: 1px 0 0;
|
|
|
|
}
|
|
|
|
|
2012-08-23 22:31:52 +04:00
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-text,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-text {
|
2012-08-23 04:14:04 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#editBookmarkPanel .expander-up {
|
|
|
|
list-style-image: url("chrome://browser/skin/panel-expander-open@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-down {
|
|
|
|
list-style-image: url("chrome://browser/skin/panel-expander-closed@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-icon,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-icon {
|
|
|
|
width: 9px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-08 02:38:38 +03:00
|
|
|
#editBMPanel_tagsField > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::placeholder {
|
2012-11-09 14:30:54 +04:00
|
|
|
opacity: 1.0;
|
2011-01-18 19:48:19 +03:00
|
|
|
color: #bbb;
|
Bug 427935 - Mac theme updates Round of style tweaks and icon additions, including hud style tweaks, addons window style tweaks, revised pref icons, new notification icons. Fixes bugs 386757, 424877, 427464, 427697, 427701 r=mano, ui-review=beltzner, a=mconnor
2008-04-11 06:27:29 +04:00
|
|
|
}
|
|
|
|
|
2009-10-23 19:28:14 +04:00
|
|
|
.editBMPanel_rowLabel {
|
2009-04-21 00:59:53 +04:00
|
|
|
text-align: end;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
2008-01-30 07:37:20 +03:00
|
|
|
|
2013-04-09 23:44:01 +04:00
|
|
|
/* History Swipe Animation */
|
|
|
|
|
|
|
|
#historySwipeAnimationCurrentPage,
|
|
|
|
#historySwipeAnimationNextPage {
|
|
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
#historySwipeAnimationContainer {
|
2013-06-19 23:48:36 +04:00
|
|
|
background: url("chrome://browser/skin/subtle-pattern.png") #B3B9C1;
|
2013-04-09 23:44:01 +04:00
|
|
|
}
|
|
|
|
|
2017-05-16 20:31:00 +03:00
|
|
|
|
2006-09-22 04:47:18 +04:00
|
|
|
/* ----- SIDEBAR ELEMENTS ----- */
|
|
|
|
|
2017-05-16 20:31:00 +03:00
|
|
|
%include ../shared/sidebar.inc.css
|
|
|
|
|
2016-03-25 18:34:00 +03:00
|
|
|
#sidebar-box {
|
2016-05-17 08:37:05 +03:00
|
|
|
-moz-appearance: -moz-mac-source-list;
|
2011-01-08 03:35:33 +03:00
|
|
|
}
|
|
|
|
|
2017-05-23 20:09:48 +03:00
|
|
|
#sidebar-header {
|
|
|
|
/* match the font size used in side bar content */
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2013-07-08 03:14:00 +04:00
|
|
|
/* ----- CONTENT ----- */
|
2010-11-29 17:18:40 +03:00
|
|
|
|
2013-07-08 03:14:00 +04:00
|
|
|
.browserContainer > findbar {
|
|
|
|
background: @scopeBarBackground@;
|
2013-09-21 15:14:05 +04:00
|
|
|
border-top: @scopeBarSeparatorBorder@;
|
2013-07-08 03:14:00 +04:00
|
|
|
color: -moz-DialogText;
|
|
|
|
text-shadow: none;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2004-06-19 01:33:39 +04:00
|
|
|
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2014-04-08 16:04:34 +04:00
|
|
|
.bookmark-item {
|
2017-05-03 10:31:05 +03:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.svg");
|
2010-03-17 20:12:03 +03:00
|
|
|
}
|
|
|
|
|
2006-08-01 04:13:24 +04:00
|
|
|
.openintabs-menuitem {
|
|
|
|
list-style-image: none;
|
2010-09-24 02:59:55 +04:00
|
|
|
}
|
2010-11-29 17:18:40 +03:00
|
|
|
|
2007-08-23 01:02:02 +04:00
|
|
|
/* ::::: tabbrowser ::::: */
|
2010-09-03 00:08:37 +04:00
|
|
|
|
2010-03-17 09:36:13 +03:00
|
|
|
.tabbrowser-tabbox {
|
2008-11-28 01:17:17 +03:00
|
|
|
margin: 0;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2013-03-08 14:57:00 +04:00
|
|
|
%include ../shared/tabs.inc.css
|
2010-11-29 17:18:40 +03:00
|
|
|
|
2013-04-25 00:04:13 +04:00
|
|
|
.tab-label {
|
2013-06-17 14:49:57 +04:00
|
|
|
margin-top: 1px;
|
2013-05-02 20:05:50 +04:00
|
|
|
margin-bottom: 0;
|
2016-12-08 19:17:41 +03:00
|
|
|
-moz-box-flex: 1;
|
2013-04-26 01:57:26 +04:00
|
|
|
text-align: center;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2016-06-01 23:46:24 +03:00
|
|
|
@media (-moz-mac-yosemite-theme) {
|
2016-06-01 23:57:27 +03:00
|
|
|
/* image preloading hack from shared/tabs.inc.css */
|
|
|
|
#tabbrowser-tabs::before {
|
|
|
|
background-image:
|
|
|
|
url(chrome://browser/skin/yosemite/tab-selected-end-inactive.svg),
|
|
|
|
url(chrome://browser/skin/yosemite/tab-selected-start-inactive.svg),
|
|
|
|
url(chrome://browser/skin/yosemite/tab-stroke-start-inactive.png),
|
|
|
|
url(chrome://browser/skin/yosemite/tab-active-middle-inactive.png),
|
|
|
|
url(chrome://browser/skin/yosemite/tab-stroke-end-inactive.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-selected-end.svg),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-selected-start.svg),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-stroke-end.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-active-middle.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-stroke-start.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-background-end.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-background-middle.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-background-start.png);
|
|
|
|
}
|
|
|
|
|
2016-08-24 17:40:11 +03:00
|
|
|
.tab-background-middle[selected=true]:-moz-window-inactive {
|
2016-06-01 23:46:24 +03:00
|
|
|
background-image: url(chrome://browser/skin/yosemite/tab-active-middle-inactive.png),
|
|
|
|
@fgTabTextureYosemiteInactive@,
|
|
|
|
none;
|
|
|
|
}
|
|
|
|
|
2016-08-24 17:40:11 +03:00
|
|
|
.tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr)::after,
|
|
|
|
.tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl)::after {
|
2016-06-01 23:46:24 +03:00
|
|
|
background-image: url(chrome://browser/skin/yosemite/tab-stroke-start-inactive.png);
|
|
|
|
}
|
|
|
|
|
2016-08-24 17:40:11 +03:00
|
|
|
.tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr)::after,
|
|
|
|
.tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl)::after {
|
2016-06-01 23:46:24 +03:00
|
|
|
background-image: url(chrome://browser/skin/yosemite/tab-stroke-end-inactive.png);
|
|
|
|
}
|
|
|
|
|
2016-08-24 17:40:11 +03:00
|
|
|
.tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before,
|
|
|
|
.tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before {
|
2016-06-01 23:46:24 +03:00
|
|
|
background-image: url(chrome://browser/skin/yosemite/tab-selected-start-inactive.svg);
|
|
|
|
background-size: 100% 100%;
|
|
|
|
}
|
|
|
|
|
2016-08-24 17:40:11 +03:00
|
|
|
.tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before,
|
|
|
|
.tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before {
|
2016-06-01 23:46:24 +03:00
|
|
|
background-image: url(chrome://browser/skin/yosemite/tab-selected-end-inactive.svg);
|
|
|
|
background-size: 100% 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: 2dppx) {
|
2016-06-01 23:57:27 +03:00
|
|
|
/* image preloading hack from shared/tabs.inc.css */
|
|
|
|
#tabbrowser-tabs::before {
|
|
|
|
background-image:
|
|
|
|
url(chrome://browser/skin/yosemite/tab-selected-end-inactive.svg),
|
|
|
|
url(chrome://browser/skin/yosemite/tab-selected-start-inactive.svg),
|
|
|
|
url(chrome://browser/skin/yosemite/tab-stroke-start-inactive@2x.png),
|
|
|
|
url(chrome://browser/skin/yosemite/tab-active-middle-inactive@2x.png),
|
|
|
|
url(chrome://browser/skin/yosemite/tab-stroke-end-inactive@2x.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-selected-end.svg),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-selected-start.svg),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-stroke-end@2x.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-active-middle@2x.png),
|
|
|
|
url(chrome://browser/skin/tabbrowser/tab-stroke-start@2x.png),
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2016-08-24 17:40:11 +03:00
|
|
|
.tab-background-middle[selected=true]:-moz-window-inactive {
|
2016-06-01 23:46:24 +03:00
|
|
|
background-image: url(chrome://browser/skin/yosemite/tab-active-middle-inactive@2x.png),
|
|
|
|
@fgTabTextureYosemiteInactive@,
|
|
|
|
none;
|
|
|
|
}
|
|
|
|
|
2016-08-24 17:40:11 +03:00
|
|
|
.tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr)::after,
|
|
|
|
.tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl)::after {
|
2016-06-01 23:46:24 +03:00
|
|
|
background-image: url(chrome://browser/skin/yosemite/tab-stroke-start-inactive@2x.png);
|
|
|
|
}
|
|
|
|
|
2016-08-24 17:40:11 +03:00
|
|
|
.tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr)::after,
|
|
|
|
.tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl)::after {
|
2016-06-01 23:46:24 +03:00
|
|
|
background-image: url(chrome://browser/skin/yosemite/tab-stroke-end-inactive@2x.png);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-24 17:40:11 +03:00
|
|
|
.tabbrowser-tab:not(:hover) > .tab-stack > .tab-content > .tab-icon-image:not([selected="true"]) {
|
2013-03-08 14:57:00 +04:00
|
|
|
opacity: .9;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2015-01-13 23:33:26 +03:00
|
|
|
/*
|
|
|
|
* Force the overlay to create a new stacking context so it always appears on
|
|
|
|
* top of the icon.
|
|
|
|
*/
|
|
|
|
.tab-icon-overlay {
|
|
|
|
opacity: 0.9999;
|
|
|
|
}
|
|
|
|
|
2016-12-08 19:17:41 +03:00
|
|
|
.tab-label-container:not([selected="true"]) {
|
2013-03-08 14:57:00 +04:00
|
|
|
opacity: .7;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2009-01-25 12:40:58 +03:00
|
|
|
.tabbrowser-tab,
|
2010-04-27 20:57:19 +04:00
|
|
|
.tabs-newtab-button {
|
2010-11-29 17:18:40 +03:00
|
|
|
font: message-box;
|
|
|
|
border: none;
|
2010-07-20 00:19:14 +04:00
|
|
|
}
|
|
|
|
|
2015-03-16 21:30:41 +03:00
|
|
|
.tabbrowser-tab[visuallyselected=true]:not(:-moz-lwtheme) {
|
2014-02-06 02:08:36 +04:00
|
|
|
/* overriding tabbox.css */
|
2014-02-05 18:57:05 +04:00
|
|
|
color: inherit;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2015-03-16 21:30:41 +03:00
|
|
|
.tabbrowser-tab[visuallyselected=true] {
|
2014-02-06 02:08:36 +04:00
|
|
|
/* overriding tabbox.css */
|
2014-01-31 14:33:41 +04:00
|
|
|
text-shadow: inherit;
|
|
|
|
}
|
|
|
|
|
2010-11-29 17:18:40 +03:00
|
|
|
.tabs-newtab-button > .toolbarbutton-icon {
|
|
|
|
-moz-box-align: center;
|
|
|
|
border: solid transparent;
|
|
|
|
border-width: 0 11px;
|
2007-08-23 01:02:02 +04:00
|
|
|
}
|
|
|
|
|
2016-12-08 19:17:41 +03:00
|
|
|
.tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-label-container:not([pinned]),
|
2015-07-20 18:43:39 +03:00
|
|
|
.tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-icon-image[pinned],
|
|
|
|
.tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-throbber[pinned] {
|
2017-03-09 03:46:26 +03:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2010-03-17 20:12:03 +03:00
|
|
|
}
|
|
|
|
|
2010-11-29 17:18:40 +03:00
|
|
|
#TabsToolbar {
|
2010-07-20 00:19:14 +04:00
|
|
|
-moz-appearance: none;
|
2015-08-10 13:39:44 +03:00
|
|
|
/* overlap the nav-bar's top border */
|
|
|
|
margin-bottom: calc(-1 * var(--tab-toolbar-navbar-overlap));
|
2014-06-06 10:53:35 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#main-window:not([customizing]) #navigator-toolbox[inFullscreen] > #TabsToolbar:not(:-moz-lwtheme),
|
|
|
|
#main-window:not(:-moz-any([customizing],[tabsintitlebar])) #navigator-toolbox > #TabsToolbar:not(:-moz-lwtheme) {
|
|
|
|
-moz-appearance: toolbar;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2014-02-05 18:57:05 +04:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
2014-10-23 17:49:34 +04:00
|
|
|
color: var(--tabs-toolbar-color);
|
2014-02-05 18:57:05 +04:00
|
|
|
text-shadow: @loweredShadow@;
|
|
|
|
}
|
|
|
|
|
2017-06-01 13:21:31 +03:00
|
|
|
%ifndef MOZ_PHOTON_THEME
|
2016-05-29 21:24:21 +03:00
|
|
|
#navigator-toolbox[inFullscreen] > #TabsToolbar {
|
|
|
|
padding-top: var(--space-above-tabbar);
|
2010-03-17 20:12:03 +03:00
|
|
|
}
|
2017-06-01 13:21:31 +03:00
|
|
|
%endif
|
2010-11-29 17:18:40 +03:00
|
|
|
#tabbrowser-tabs {
|
2010-03-17 09:36:13 +03:00
|
|
|
-moz-box-align: stretch;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2013-06-05 02:08:55 +04:00
|
|
|
.tabs-newtab-button > .toolbarbutton-icon {
|
2013-03-08 14:57:00 +04:00
|
|
|
padding: 6px 0 4px;
|
2007-09-18 04:59:41 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Tab Drag and Drop
|
|
|
|
*/
|
|
|
|
|
2007-08-23 01:02:02 +04:00
|
|
|
.tab-drop-indicator {
|
2010-03-10 11:07:45 +03:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png);
|
2013-05-15 22:06:27 +04:00
|
|
|
margin-top: -2px;
|
|
|
|
z-index: 3;
|
2007-08-23 01:02:02 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.tab-drop-indicator {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator@2x.png);
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2007-08-23 01:02:02 +04:00
|
|
|
/**
|
|
|
|
* In-tab close button
|
|
|
|
*/
|
2007-09-18 04:59:41 +04:00
|
|
|
|
2007-08-23 01:02:02 +04:00
|
|
|
.tab-close-button > .toolbarbutton-icon {
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-end: 0px !important;
|
2007-08-23 01:02:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border: none !important;
|
2008-10-11 17:55:39 +04:00
|
|
|
background: none;
|
2007-08-23 01:02:02 +04:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2016-08-24 17:40:11 +03:00
|
|
|
#TabsToolbar[brighttext] .tab-close-button.close-icon:not([selected=true]):not(:hover) {
|
2014-03-19 02:51:24 +04:00
|
|
|
-moz-image-region: rect(0, 64px, 16px, 48px);
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2016-08-24 17:40:11 +03:00
|
|
|
#TabsToolbar[brighttext] .tab-close-button.close-icon:not([selected=true]):not(:hover) {
|
2014-03-19 02:51:24 +04:00
|
|
|
-moz-image-region: rect(0, 128px, 32px, 96px);
|
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2008-04-23 16:08:52 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
2009-10-13 23:57:48 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
2011-08-24 18:36:24 +04:00
|
|
|
-moz-image-region: rect(0, 13px, 20px, 0);
|
2009-10-13 23:57:48 +04:00
|
|
|
}
|
|
|
|
|
2009-07-29 22:33:53 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr),
|
2009-10-13 23:57:48 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) {
|
2009-05-29 03:09:58 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png");
|
2007-08-23 01:02:02 +04:00
|
|
|
}
|
|
|
|
|
2009-10-13 23:57:48 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr),
|
2009-07-29 22:33:53 +04:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) {
|
2009-05-29 03:09:58 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right.png");
|
2007-08-23 01:02:02 +04:00
|
|
|
}
|
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr),
|
|
|
|
#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) {
|
2013-08-26 17:38:25 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png");
|
|
|
|
}
|
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr),
|
|
|
|
#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) {
|
2013-08-26 17:38:25 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right-inverted.png");
|
|
|
|
}
|
|
|
|
|
2017-05-05 16:59:57 +03:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover {
|
2011-08-24 18:36:24 +04:00
|
|
|
-moz-image-region: rect(0, 26px, 20px, 13px);
|
2008-04-23 04:00:58 +04:00
|
|
|
}
|
|
|
|
|
2017-05-05 16:59:57 +03:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover:active,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover:active {
|
2011-08-24 18:36:24 +04:00
|
|
|
-moz-image-region: rect(0, 39px, 20px, 26px);
|
2008-04-23 04:00:58 +04:00
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down {
|
|
|
|
-moz-image-region: rect(0, 26px, 40px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr),
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right@2x.png");
|
|
|
|
}
|
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr),
|
|
|
|
#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) {
|
2013-08-26 17:38:25 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left-inverted@2x.png");
|
|
|
|
}
|
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr),
|
|
|
|
#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) {
|
2013-08-26 17:38:25 +04:00
|
|
|
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right-inverted@2x.png");
|
|
|
|
}
|
|
|
|
|
2017-05-05 16:59:57 +03:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover {
|
2012-09-30 08:56:40 +04:00
|
|
|
-moz-image-region: rect(0, 52px, 40px, 26px);
|
|
|
|
}
|
|
|
|
|
2017-05-05 16:59:57 +03:00
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover:active,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover:active {
|
2012-09-30 08:56:40 +04:00
|
|
|
-moz-image-region: rect(0, 78px, 40px, 52px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon,
|
|
|
|
.tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon {
|
|
|
|
width: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2007-08-23 01:02:02 +04:00
|
|
|
/**
|
2017-05-05 16:59:57 +03:00
|
|
|
* Tabstrip toolbar buttons
|
2007-08-23 01:02:02 +04:00
|
|
|
*/
|
|
|
|
|
2010-04-27 20:57:19 +04:00
|
|
|
.tabs-newtab-button,
|
|
|
|
#TabsToolbar > #new-tab-button,
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button {
|
2008-09-25 11:39:41 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png);
|
2009-05-31 02:28:19 +04:00
|
|
|
-moz-image-region: rect(0, 18px, 20px, 0);
|
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
#TabsToolbar[brighttext] .tabs-newtab-button,
|
|
|
|
#TabsToolbar[brighttext] > #new-tab-button,
|
|
|
|
#TabsToolbar[brighttext] > toolbarpaletteitem > #new-tab-button {
|
2013-08-26 17:38:25 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.png);
|
|
|
|
}
|
|
|
|
|
2010-04-27 20:57:19 +04:00
|
|
|
.tabs-newtab-button:hover,
|
|
|
|
#TabsToolbar > #new-tab-button:hover {
|
2009-05-31 02:28:19 +04:00
|
|
|
-moz-image-region: rect(0, 36px, 20px, 18px);
|
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
|
|
|
.tabs-newtab-button:hover:active,
|
|
|
|
#TabsToolbar > #new-tab-button:hover:active {
|
2009-05-31 02:28:19 +04:00
|
|
|
-moz-image-region: rect(0, 54px, 20px, 36px);
|
2008-09-25 11:39:41 +04:00
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.tabs-newtab-button,
|
|
|
|
#TabsToolbar > #new-tab-button,
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab@2x.png);
|
|
|
|
-moz-image-region: rect(0, 36px, 40px, 0);
|
|
|
|
}
|
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
#TabsToolbar[brighttext] .tabs-newtab-button,
|
|
|
|
#TabsToolbar[brighttext] > #new-tab-button,
|
|
|
|
#TabsToolbar[brighttext] > toolbarpaletteitem > #new-tab-button {
|
2013-08-26 17:38:25 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted@2x.png);
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
.tabs-newtab-button:hover,
|
|
|
|
#TabsToolbar > #new-tab-button:hover {
|
|
|
|
-moz-image-region: rect(0, 72px, 40px, 36px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-newtab-button:hover:active,
|
|
|
|
#TabsToolbar > #new-tab-button:hover:active {
|
|
|
|
-moz-image-region: rect(0, 108px, 40px, 72px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-newtab-button > .toolbarbutton-icon {
|
|
|
|
width: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TabsToolbar > #new-tab-button > .toolbarbutton-icon,
|
|
|
|
#TabsToolbar > toolbarpaletteitem > #new-tab-button > .toolbarbutton-icon {
|
2017-05-10 21:58:09 +03:00
|
|
|
max-width: 18px;
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button {
|
2008-09-25 11:39:41 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon.png);
|
2011-01-28 11:35:30 +03:00
|
|
|
-moz-image-region: rect(0, 17px, 20px, 0);
|
2009-05-31 02:28:19 +04:00
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
#TabsToolbar[brighttext] #alltabs-button {
|
2013-08-26 17:38:25 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon-inverted.png);
|
|
|
|
}
|
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button:not([disabled="true"]):hover {
|
2011-01-28 11:35:30 +03:00
|
|
|
-moz-image-region: rect(0, 34px, 20px, 17px);
|
2009-05-31 02:28:19 +04:00
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button[open="true"]:not([disabled="true"]),
|
|
|
|
#alltabs-button:not([disabled="true"]):hover:active {
|
2011-01-28 11:35:30 +03:00
|
|
|
-moz-image-region: rect(0, 51px, 20px, 34px);
|
2008-09-25 11:39:41 +04:00
|
|
|
}
|
2010-04-27 20:57:19 +04:00
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button {
|
2012-09-30 08:56:40 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon@2x.png);
|
|
|
|
-moz-image-region: rect(0, 34px, 40px, 0);
|
|
|
|
}
|
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
#TabsToolbar[brighttext] #alltabs-button {
|
2013-08-26 17:38:25 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon-inverted@2x.png);
|
|
|
|
}
|
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button:not([disabled="true"]):hover {
|
2012-09-30 08:56:40 +04:00
|
|
|
-moz-image-region: rect(0, 68px, 40px, 34px);
|
|
|
|
}
|
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button[open="true"]:not([disabled="true"]),
|
|
|
|
#alltabs-button:not([disabled="true"]):hover:active {
|
2012-09-30 08:56:40 +04:00
|
|
|
-moz-image-region: rect(0, 102px, 40px, 68px);
|
|
|
|
}
|
|
|
|
|
2013-10-21 16:25:02 +04:00
|
|
|
#alltabs-button > .toolbarbutton-icon {
|
2012-09-30 08:56:40 +04:00
|
|
|
width: 17px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-02-11 16:48:32 +04:00
|
|
|
#alltabs-button > .toolbarbutton-menu-dropmarker {
|
2007-08-23 01:02:02 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-07-10 22:34:46 +04:00
|
|
|
/* All Tabs Menupopup */
|
|
|
|
.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
|
2017-05-03 10:31:05 +03:00
|
|
|
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.svg");
|
2009-07-10 22:34:46 +04:00
|
|
|
}
|
|
|
|
|
2016-03-15 13:04:22 +03:00
|
|
|
.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/loading.png") !important;
|
|
|
|
}
|
|
|
|
|
2012-09-30 08:56:40 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2016-03-15 13:04:22 +03:00
|
|
|
.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/loading@2x.png") !important;
|
|
|
|
}
|
2009-07-10 22:34:46 +04:00
|
|
|
}
|
|
|
|
|
2009-08-14 12:03:34 +04:00
|
|
|
/* Bookmarks toolbar */
|
2010-05-05 17:28:04 +04:00
|
|
|
#PlacesToolbarDropIndicator {
|
2009-08-14 12:03:34 +04:00
|
|
|
list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png);
|
2006-03-01 00:20:04 +03:00
|
|
|
}
|
|
|
|
|
2008-02-21 05:17:52 +03:00
|
|
|
/* Bookmark drag and drop styles */
|
2008-04-23 04:00:58 +04:00
|
|
|
|
2006-03-01 00:20:04 +03:00
|
|
|
.bookmark-item[dragover-into="true"] {
|
|
|
|
background: Highlight !important;
|
|
|
|
color: HighlightText !important;
|
|
|
|
}
|
|
|
|
|
2008-02-21 05:17:52 +03:00
|
|
|
/* rules for menupopup drop indicators */
|
|
|
|
.menupopup-drop-indicator-bar {
|
|
|
|
position: relative;
|
|
|
|
/* these two margins must together compensate the indicator's height */
|
|
|
|
margin-top: -1px;
|
|
|
|
margin-bottom: -1px;
|
2006-03-01 00:20:04 +03:00
|
|
|
}
|
|
|
|
|
2008-02-21 05:17:52 +03:00
|
|
|
.menupopup-drop-indicator {
|
|
|
|
list-style-image: none;
|
|
|
|
height: 2px;
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-end: -4em;
|
2008-02-21 05:17:52 +03:00
|
|
|
background-color: Highlight;
|
2006-03-01 00:20:04 +03:00
|
|
|
}
|
2006-08-26 11:27:54 +04:00
|
|
|
|
2015-04-03 03:10:21 +03:00
|
|
|
%include ../shared/notification-icons.inc.css
|
|
|
|
|
2010-06-23 20:53:09 +04:00
|
|
|
.notification-anchor-icon:-moz-focusring {
|
2017-03-15 22:44:40 +03:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2010-06-23 20:53:09 +04:00
|
|
|
}
|
|
|
|
|
2014-05-31 01:21:11 +04:00
|
|
|
/* Translation */
|
|
|
|
|
|
|
|
%include ../shared/translation/infobar.inc.css
|
|
|
|
|
|
|
|
notification[value="translation"] {
|
|
|
|
color: #484848;
|
|
|
|
background-color: #EFEFEF;
|
|
|
|
background-image: none;
|
|
|
|
border-top: none;
|
|
|
|
border-bottom: 1px solid #c4c4c4;
|
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
2014-07-01 04:35:05 +04:00
|
|
|
min-height: 35px;
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.translate-infobar-element {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element {
|
2014-07-07 23:23:50 +04:00
|
|
|
background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1)) repeat scroll 0% 0% padding-box transparent;
|
2014-05-31 01:21:11 +04:00
|
|
|
color: #333333;
|
|
|
|
border: 1px solid;
|
|
|
|
border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2);
|
|
|
|
box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5) inset, 0px 1px 0px rgba(255, 255, 255, 0.2);
|
|
|
|
transition-property: background-color, border-color, box-shadow;
|
|
|
|
transition-duration: 150ms;
|
|
|
|
min-height: 22px;
|
|
|
|
min-width: 0;
|
|
|
|
padding: 0 0.8em !important;
|
|
|
|
margin-left: 0.25em;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element .button-text {
|
|
|
|
margin-left: 0 !important;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
label.translate-infobar-element {
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element:hover {
|
2014-07-07 23:23:50 +04:00
|
|
|
background: #f0f0f0;
|
2014-05-31 01:21:11 +04:00
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.1) inset, 0 0 0 1px hsla(0,0%,100%,.05) inset, 0 1px 0 hsla(210,54%,20%,.01), 0 0 4px hsla(206,100%,20%,.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element:active {
|
|
|
|
box-shadow: 0 1px 1px hsla(211,79%,6%,.1) inset, 0 0 1px hsla(211,79%,6%,.2) inset;
|
|
|
|
transition-duration: 0ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element[anonid="translate"] {
|
|
|
|
color: #ffffff;
|
2014-07-07 23:23:50 +04:00
|
|
|
background: linear-gradient(#4cb1ff, #1793e5);
|
2014-05-31 01:21:11 +04:00
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.2) inset, 0 0 0 1px hsla(0,0%,100%,.1) inset, 0 1px 0 hsla(210,54%,20%,.03);
|
|
|
|
border-color: hsla(210,54%,20%,.15) hsla(210,54%,20%,.17) hsla(210,54%,20%,.2);
|
|
|
|
padding: 0 1.1em !important;;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element[anonid="translate"]:hover {
|
|
|
|
background-image: linear-gradient(#66bdff, #0d9eff);
|
2014-07-07 23:23:50 +04:00
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.2) inset, 0 0 0 1px hsla(0,0%,100%,.1) inset, 0 1px 0 hsla(210,54%,20%,.03), 0 0 4px hsla(206,100%,20%,.2);
|
2014-06-27 23:10:08 +04:00
|
|
|
}
|
|
|
|
|
2014-05-31 01:21:11 +04:00
|
|
|
button.translate-infobar-element.options-menu-button {
|
2016-05-13 08:19:58 +03:00
|
|
|
padding-inline-start: 0.5em !important;
|
|
|
|
padding-inline-end: 0em !important;
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker {
|
|
|
|
display: -moz-box;
|
2014-07-07 23:48:20 +04:00
|
|
|
list-style-image: url("chrome://global/skin/icons/glyph-dropdown.png");
|
2014-05-31 01:21:11 +04:00
|
|
|
padding: 0 !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
|
2014-07-07 23:48:20 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2014-05-31 01:21:11 +04:00
|
|
|
button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker {
|
2014-07-07 23:48:20 +04:00
|
|
|
list-style-image: url("chrome://global/skin/icons/glyph-dropdown@2x.png");
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker > .dropmarker-icon {
|
2014-07-07 23:48:20 +04:00
|
|
|
width: 8px;
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist.translate-infobar-element {
|
|
|
|
text-shadow: 0 1px 1px #FEFFFE;
|
|
|
|
border: 1px solid;
|
|
|
|
border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2);
|
|
|
|
box-shadow: 0 1px 1px 0 #FFFFFF, inset 0 2px 2px 0 #FFFFFF;
|
|
|
|
background-color: #F1F1F1;
|
|
|
|
background-image: linear-gradient(#FFFFFF, rgba(255,255,255,0.1));
|
|
|
|
color: #333333;
|
|
|
|
padding: 0;
|
2014-07-07 23:45:35 +04:00
|
|
|
min-height: 22px !important;
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menulist.translate-infobar-element > .menulist-label-box {
|
|
|
|
padding-top: 1px;
|
2016-05-13 08:19:58 +03:00
|
|
|
padding-inline-start: 0.3em;
|
2014-05-31 01:21:11 +04:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist.translate-infobar-element:hover {
|
2014-07-07 23:45:35 +04:00
|
|
|
background: #f0f0f0;
|
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.1) inset, 0 0 0 1px hsla(0,0%,100%,.05) inset, 0 1px 0 hsla(210,54%,20%,.01), 0 0 4px hsla(206,100%,20%,.1);
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menulist.translate-infobar-element[open="true"] {
|
|
|
|
background-image: linear-gradient(rgba(255,255,255,0.1),
|
|
|
|
rgba(255,255,255,0.6));
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist.translate-infobar-element > .menulist-dropmarker {
|
|
|
|
display: -moz-box;
|
2014-07-04 01:03:59 +04:00
|
|
|
list-style-image: url("chrome://global/skin/icons/glyph-dropdown.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
menulist.translate-infobar-element > .menulist-dropmarker {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/glyph-dropdown@2x.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist.translate-infobar-element > .menulist-dropmarker > .dropmarker-icon {
|
|
|
|
width: 8px;
|
|
|
|
}
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
2015-05-24 01:12:49 +03:00
|
|
|
.popup-notification-body[popupid="addon-progress"],
|
|
|
|
.popup-notification-body[popupid="addon-install-confirmation"] {
|
|
|
|
width: 28em;
|
|
|
|
max-width: 28em;
|
2011-01-03 22:40:47 +03:00
|
|
|
}
|
|
|
|
|
2015-03-25 00:24:49 +03:00
|
|
|
.addon-install-confirmation-name {
|
|
|
|
font-weight: bold;
|
2013-03-24 14:32:44 +04:00
|
|
|
}
|
|
|
|
|
2017-03-01 00:26:12 +03:00
|
|
|
html|*.addon-webext-perm-list {
|
|
|
|
margin-block-end: 0;
|
|
|
|
padding-inline-start: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addon-webext-perm-text {
|
|
|
|
margin-inline-start: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-description[popupid="addon-webext-permissions"] {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2017-01-03 21:55:25 +03:00
|
|
|
}
|
|
|
|
|
2017-01-20 19:49:59 +03:00
|
|
|
.addon-webext-name {
|
2017-02-02 07:56:59 +03:00
|
|
|
display: inline;
|
2017-01-20 19:49:59 +03:00
|
|
|
font-weight: bold;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-01-20 21:28:47 +03:00
|
|
|
.addon-addon-icon {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
list-style-image: url("chrome://browser/skin/menuPanel.svg");
|
|
|
|
-moz-image-region: rect(0px, 288px, 32px, 256px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.addon-toolbar-icon {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2017-04-28 19:17:07 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/menu.svg");
|
|
|
|
-moz-context-properties: fill;
|
|
|
|
fill: var(--toolbarbutton-icon-fill);
|
2017-01-20 21:28:47 +03:00
|
|
|
}
|
|
|
|
|
2011-01-28 16:35:49 +03:00
|
|
|
/* Status panel */
|
|
|
|
|
|
|
|
.statuspanel-label {
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px 4px;
|
2013-01-05 19:00:32 +04:00
|
|
|
background: linear-gradient(#fff, #ddd);
|
2011-01-28 16:35:49 +03:00
|
|
|
border: 1px none #ccc;
|
|
|
|
border-top-style: solid;
|
|
|
|
color: #333;
|
2011-01-31 09:27:33 +03:00
|
|
|
text-shadow: none;
|
2011-01-28 16:35:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
|
|
|
|
.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
|
|
|
|
border-right-style: solid;
|
|
|
|
border-top-right-radius: .3em;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
|
|
|
|
.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
|
|
|
|
border-left-style: solid;
|
|
|
|
border-top-left-radius: .3em;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2011-07-11 21:18:11 +04:00
|
|
|
|
2015-08-13 15:42:06 +03:00
|
|
|
%include ../shared/fullscreen/warning.inc.css
|
2016-09-07 17:25:50 +03:00
|
|
|
%include ../shared/ctrlTab.inc.css
|
2013-06-24 18:40:26 +04:00
|
|
|
%include ../shared/plugin-doorhanger.inc.css
|
2012-05-10 21:33:54 +04:00
|
|
|
|
2013-09-18 23:32:16 +04:00
|
|
|
%include downloads/indicator.css
|
|
|
|
|
2013-07-27 04:52:21 +04:00
|
|
|
/* On mac, the popup notification contents are indented by default and so
|
|
|
|
the default closebutton margins from notification.css require adjustment */
|
|
|
|
|
|
|
|
.click-to-play-plugins-notification-description-box > .popup-notification-closebutton {
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-end: -6px;
|
2013-07-27 04:52:21 +04:00
|
|
|
margin-top: -7px;
|
|
|
|
}
|
|
|
|
|
2012-10-05 03:46:38 +04:00
|
|
|
.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
|
|
|
|
color: hsl(210,11%,16%);
|
2012-05-10 21:33:54 +04:00
|
|
|
}
|
|
|
|
|
2012-07-05 19:02:28 +04:00
|
|
|
/* Error counter */
|
|
|
|
|
2012-11-30 12:07:59 +04:00
|
|
|
#developer-toolbar-toolbox-button[error-count]:before {
|
2012-07-05 19:02:28 +04:00
|
|
|
color: #FDF3DE;
|
|
|
|
min-width: 16px;
|
|
|
|
text-shadow: none;
|
2013-01-05 19:00:32 +04:00
|
|
|
background-image: linear-gradient(#B4211B, #8A1915);
|
2012-07-05 19:02:28 +04:00
|
|
|
border-radius: 1px;
|
|
|
|
}
|
2012-07-16 03:12:13 +04:00
|
|
|
|
2016-08-24 01:24:07 +03:00
|
|
|
/* Share */
|
|
|
|
%include ../shared/social/social.inc.css
|
2012-09-07 03:13:37 +04:00
|
|
|
|
2013-05-07 10:02:58 +04:00
|
|
|
#social-share-panel {
|
|
|
|
min-height: 100px;
|
|
|
|
min-width: 300px;
|
2014-12-23 03:11:56 +03:00
|
|
|
transition: height .3s ease-in-out, width .3s ease-in-out;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
#share-container,
|
|
|
|
.social-share-frame {
|
2013-06-08 01:47:47 +04:00
|
|
|
border-top-left-radius: 0;
|
2013-05-07 10:02:58 +04:00
|
|
|
border-bottom-left-radius: inherit;
|
2013-06-08 01:47:47 +04:00
|
|
|
border-top-right-radius: 0;
|
2014-12-23 03:11:56 +03:00
|
|
|
border-bottom-right-radius: inherit;
|
2013-05-07 10:02:58 +04:00
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
#social-share-panel > .social-share-toolbar {
|
2013-06-08 01:47:47 +04:00
|
|
|
border-top-left-radius: inherit;
|
|
|
|
border-top-right-radius: inherit;
|
|
|
|
}
|
|
|
|
|
2014-12-23 03:11:56 +03:00
|
|
|
#social-share-provider-buttons {
|
2013-05-07 10:02:58 +04:00
|
|
|
border-top-left-radius: inherit;
|
2013-06-08 01:47:47 +04:00
|
|
|
border-top-right-radius: inherit;
|
|
|
|
}
|
|
|
|
|
2013-03-22 23:15:58 +04:00
|
|
|
/* Customization mode */
|
|
|
|
|
2013-04-15 09:34:52 +04:00
|
|
|
%include ../shared/customizableui/customizeMode.inc.css
|
2013-03-23 01:28:34 +04:00
|
|
|
|
2014-01-30 20:16:00 +04:00
|
|
|
#main-window[customizing] {
|
|
|
|
background-color: rgb(178,178,178);
|
|
|
|
}
|
|
|
|
|
2014-03-28 21:36:00 +04:00
|
|
|
#main-window[tabsintitlebar][customize-entered] > #titlebar,
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window[privatebrowsingmode=temporary]:not([tabsintitlebar])[customize-entered] > #titlebar,
|
2014-01-30 20:16:00 +04:00
|
|
|
#main-window[customize-entered] > #tab-view-deck {
|
2013-05-11 00:24:18 +04:00
|
|
|
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"),
|
|
|
|
url("chrome://browser/skin/customizableui/background-noise-toolbar.png"),
|
2014-02-28 18:20:27 +04:00
|
|
|
linear-gradient(to bottom, rgb(233,233,233), rgb(178,178,178) 40px);
|
2013-05-11 00:24:18 +04:00
|
|
|
background-attachment: fixed;
|
|
|
|
}
|
|
|
|
|
2017-02-28 20:15:04 +03:00
|
|
|
#main-window[tabsintitlebar][customization-lwtheme] > #titlebar:-moz-lwtheme {
|
2014-06-03 00:59:38 +04:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: right top;
|
|
|
|
background-attachment: fixed;
|
2017-02-22 23:50:41 +03:00
|
|
|
background-image: var(--lwt-header-image);
|
2017-02-28 22:19:59 +03:00
|
|
|
background-color: var(--lwt-accent-color);
|
2014-06-03 00:59:38 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[customization-lwtheme]:-moz-lwtheme {
|
|
|
|
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"),
|
|
|
|
url("chrome://browser/skin/customizableui/background-noise-toolbar.png");
|
|
|
|
background-color: rgb(178,178,178);
|
|
|
|
background-repeat: repeat;
|
|
|
|
background-attachment: fixed;
|
|
|
|
background-position: left top;
|
|
|
|
}
|
|
|
|
|
2014-04-04 11:23:44 +04:00
|
|
|
#main-window[customize-entered] #browser-bottombox,
|
2013-11-07 08:42:31 +04:00
|
|
|
#main-window[customize-entered] #navigator-toolbox > toolbar:not(#TabsToolbar),
|
|
|
|
#main-window[customize-entered] #customization-container {
|
2013-05-11 00:24:18 +04:00
|
|
|
border: 3px solid hsla(0,0%,0%,.1);
|
|
|
|
border-top-width: 0;
|
|
|
|
background-clip: padding-box;
|
|
|
|
background-origin: padding-box;
|
|
|
|
-moz-border-right-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2);
|
|
|
|
-moz-border-bottom-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2);
|
|
|
|
-moz-border-left-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2);
|
|
|
|
}
|
|
|
|
|
2014-04-04 11:23:44 +04:00
|
|
|
#main-window[customize-entered] #customization-container,
|
2013-11-07 08:42:31 +04:00
|
|
|
#main-window[customize-entered] #navigator-toolbox > toolbar:not(#TabsToolbar) {
|
2013-05-11 00:24:18 +04:00
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
|
|
|
|
2014-06-06 10:53:35 +04:00
|
|
|
#main-window[customize-entered] #nav-bar {
|
|
|
|
border-top-left-radius: 2.5px;
|
|
|
|
border-top-right-radius: 2.5px;
|
|
|
|
}
|
|
|
|
|
2014-05-01 14:15:46 +04:00
|
|
|
/* Compensate for the border set above for this horizontal line. */
|
|
|
|
#main-window[customize-entered] #navigator-toolbox::after {
|
|
|
|
margin-left: 3px;
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
|
2014-02-05 01:17:00 +04:00
|
|
|
#main-window[customize-entered] #TabsToolbar {
|
2013-05-11 00:24:18 +04:00
|
|
|
background-clip: padding-box;
|
|
|
|
border-right: 3px solid transparent;
|
|
|
|
border-left: 3px solid transparent;
|
|
|
|
}
|
|
|
|
|
2014-01-29 21:19:23 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
2014-03-06 03:09:12 +04:00
|
|
|
.customization-tipPanel-infoBox {
|
|
|
|
background-image: url(chrome://browser/skin/customizableui/info-icon-customizeTip@2x.png);
|
|
|
|
background-size: 25px 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customization-tipPanel-contentImage {
|
|
|
|
list-style-image: url(chrome://browser/skin/customizableui/customize-illustration@2x.png);
|
|
|
|
}
|
|
|
|
|
2014-03-07 02:57:15 +04:00
|
|
|
.customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url(chrome://browser/skin/customizableui/customize-illustration-rtl@2x.png);
|
|
|
|
}
|
|
|
|
|
2014-03-06 03:09:12 +04:00
|
|
|
#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
|
|
|
|
#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
|
|
|
|
list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip@2x.png");
|
|
|
|
}
|
2014-01-29 21:19:23 +04:00
|
|
|
}
|
|
|
|
|
2013-04-11 23:50:07 +04:00
|
|
|
/* End customization mode */
|
2013-03-22 23:15:58 +04:00
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
.private-browsing-indicator {
|
2013-01-07 22:24:08 +04:00
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask.png");
|
|
|
|
background-repeat: no-repeat;
|
2014-04-12 19:10:17 +04:00
|
|
|
background-size: 100% auto;
|
|
|
|
width: 38px;
|
|
|
|
height: 28px;
|
|
|
|
/**
|
|
|
|
* The private browsing mask graphic has a 3px flare at the top. The distance
|
|
|
|
* we want between the mask and items on either side is 7px, so we use 4px,
|
|
|
|
* since the other 3px is accounted for by the empty space on either side.
|
|
|
|
*/
|
|
|
|
margin-left: 4px;
|
|
|
|
margin-right: 4px;
|
2013-01-18 05:06:32 +04:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#titlebar-secondary-buttonbox > .private-browsing-indicator {
|
|
|
|
position: relative;
|
2013-02-07 01:15:51 +04:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window[privatebrowsingmode=temporary]:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > .private-browsing-indicator {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask-short.png");
|
|
|
|
height: 20px;
|
2013-02-07 01:15:51 +04:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#main-window:not([privatebrowsingmode=temporary]) .private-browsing-indicator,
|
|
|
|
#main-window[privatebrowsingmode=temporary][inFullscreen] > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > .private-browsing-indicator,
|
|
|
|
#main-window[privatebrowsingmode=temporary]:not([inFullscreen]) > #tab-view-deck > #browser-panel > #navigator-toolbox > #TabsToolbar > .private-browsing-indicator {
|
|
|
|
display: none;
|
2013-02-07 01:15:51 +04:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.private-browsing-indicator {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask@2x.png");
|
|
|
|
}
|
|
|
|
#main-window[privatebrowsingmode=temporary]:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > .private-browsing-indicator {
|
|
|
|
background-image: url("chrome://browser/skin/privatebrowsing-mask-short@2x.png");
|
|
|
|
}
|
2013-06-06 14:26:57 +04:00
|
|
|
}
|
|
|
|
|
2016-05-29 21:24:21 +03:00
|
|
|
#TabsToolbar > .private-browsing-indicator {
|
2017-06-01 13:21:31 +03:00
|
|
|
%ifndef MOZ_PHOTON_THEME
|
2016-05-29 21:24:21 +03:00
|
|
|
transform: translateY(calc(-1 * var(--space-above-tabbar)));
|
2017-06-01 13:21:31 +03:00
|
|
|
%endif
|
2016-05-29 21:24:21 +03:00
|
|
|
/* We offset by 38px for mask graphic, plus 4px to account for the
|
|
|
|
* margin-left, which sums to 42px.
|
|
|
|
*/
|
|
|
|
margin-right: -42px;
|
|
|
|
}
|
2013-02-07 01:15:51 +04:00
|
|
|
|
2016-05-29 21:24:21 +03:00
|
|
|
#main-window[privatebrowsingmode=temporary] .titlebar-placeholder[type="fullscreen-button"],
|
|
|
|
#main-window[privatebrowsingmode=temporary] > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > #titlebar-fullscreen-button {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
2013-02-07 01:15:51 +04:00
|
|
|
|
2016-05-29 21:24:21 +03:00
|
|
|
#main-window[privatebrowsingmode=temporary][inFullscreen] .titlebar-placeholder[type="fullscreen-button"] {
|
|
|
|
/* Override display:none for .titlebar-placeholder in fullscreen so we can have consistent
|
|
|
|
position and padding for the private browsing indicator. */
|
|
|
|
display: -moz-box;
|
2013-02-07 01:15:51 +04:00
|
|
|
}
|
|
|
|
|
2014-04-12 19:10:17 +04:00
|
|
|
#TabsToolbar > .private-browsing-indicator:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-ordinal-group: 0;
|
2013-01-07 22:24:08 +04:00
|
|
|
}
|
2013-11-17 13:32:40 +04:00
|
|
|
|
|
|
|
%include ../shared/UITour.inc.css
|
2014-01-31 06:25:45 +04:00
|
|
|
|
|
|
|
#UITourTooltipDescription {
|
2014-03-16 01:21:20 +04:00
|
|
|
font-size: 1.18rem;
|
|
|
|
line-height: 2rem;
|
2014-01-31 06:25:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipClose {
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-end: -10px;
|
2014-03-16 01:21:20 +04:00
|
|
|
margin-top: -14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
#UITourTooltipClose > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
2014-01-31 20:28:35 +04:00
|
|
|
}
|
2014-05-13 01:35:39 +04:00
|
|
|
|
|
|
|
%include ../shared/contextmenu.inc.css
|
|
|
|
|
|
|
|
#context-navigation > .menuitem-iconic {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-06-04 01:34:44 +03:00
|
|
|
|
2015-10-16 01:15:04 +03:00
|
|
|
.browser-extension-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
2015-06-04 01:34:44 +03:00
|
|
|
padding: 0;
|
2015-10-22 21:36:47 +03:00
|
|
|
overflow: hidden;
|
2015-06-04 01:34:44 +03:00
|
|
|
}
|
2016-08-09 22:08:04 +03:00
|
|
|
|
|
|
|
.cui-widget-panelview[id^=PanelUI-webext-] {
|
|
|
|
border-radius: 3.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webextension-popup-browser {
|
|
|
|
border-radius: inherit;
|
|
|
|
}
|