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
|
|
|
|
2006-08-26 19:28:56 +04:00
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2017-02-24 22:07:21 +03:00
|
|
|
%include ../shared/browser.inc.css
|
2021-02-27 02:13:29 +03:00
|
|
|
%include ../shared/browser-custom-colors.inc.css
|
2017-02-24 22:07:21 +03:00
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
:root {
|
2021-03-09 22:10:25 +03:00
|
|
|
--toolbar-non-lwt-bgcolor: #f9f9fb;
|
2017-08-03 10:15:23 +03:00
|
|
|
--toolbar-non-lwt-textcolor: #0c0c0d;
|
|
|
|
--toolbar-non-lwt-bgimage: none;
|
|
|
|
|
2017-05-11 00:04:12 +03:00
|
|
|
--toolbarbutton-vertical-text-padding: calc(var(--toolbarbutton-inner-padding) + 1px);
|
2017-05-15 17:02:55 +03:00
|
|
|
--toolbarbutton-border-radius: 4px;
|
2021-04-08 23:09:06 +03:00
|
|
|
--toolbarbutton-icon-fill-opacity: 1;
|
2014-10-23 17:49:34 +04:00
|
|
|
|
2015-08-05 19:55:53 +03:00
|
|
|
--panel-separator-color: hsla(210,4%,10%,.14);
|
2015-09-03 21:06:00 +03:00
|
|
|
|
2018-10-30 21:59:18 +03:00
|
|
|
--arrowpanel-field-background: rgba(249,249,250,.3);
|
|
|
|
|
2018-11-18 21:16:52 +03:00
|
|
|
--chrome-content-separator-color: #e1e1e2;
|
2017-02-22 22:13:09 +03:00
|
|
|
}
|
|
|
|
|
2017-08-03 10:15:23 +03:00
|
|
|
:root:-moz-lwtheme {
|
2018-11-18 21:16:52 +03:00
|
|
|
--chrome-content-separator-color: rgba(0,0,0,.3);
|
2017-08-03 10:15:23 +03:00
|
|
|
}
|
|
|
|
|
2018-03-28 22:22:29 +03:00
|
|
|
:root[lwt-popup-brighttext] {
|
2018-06-06 12:27:14 +03:00
|
|
|
--panel-separator-color: rgba(249,249,250,.1);
|
2018-10-30 21:59:18 +03:00
|
|
|
--arrowpanel-field-background: rgba(12,12,13,.3);
|
2018-03-28 22:22:29 +03:00
|
|
|
}
|
|
|
|
|
2021-04-05 23:48:05 +03:00
|
|
|
@media not (-moz-proton) {
|
2021-04-08 23:09:06 +03:00
|
|
|
:root {
|
|
|
|
--toolbarbutton-icon-fill-opacity: .7;
|
|
|
|
}
|
|
|
|
|
2018-02-02 17:54:52 +03:00
|
|
|
#navigator-toolbox {
|
2020-07-17 01:04:14 +03:00
|
|
|
appearance: none;
|
2020-10-27 18:42:31 +03:00
|
|
|
--tabs-border-color: rgba(0,0,0,.2);
|
|
|
|
}
|
2021-03-26 06:44:18 +03:00
|
|
|
} /*** end !proton ***/
|
|
|
|
|
2021-04-05 23:48:05 +03:00
|
|
|
@media (-moz-proton) {
|
2021-03-26 06:44:18 +03:00
|
|
|
#navigator-toolbox {
|
|
|
|
appearance: none;
|
|
|
|
}
|
2020-10-27 18:42:31 +03:00
|
|
|
|
2021-03-09 22:10:25 +03:00
|
|
|
#navigator-toolbox:not(:-moz-lwtheme) {
|
|
|
|
background-color: #f0f0f4;
|
|
|
|
}
|
2021-03-13 19:30:10 +03:00
|
|
|
} /*** END proton ***/
|
2021-03-09 22:10:25 +03:00
|
|
|
|
2021-04-05 23:48:05 +03:00
|
|
|
@media not (-moz-proton) {
|
2020-10-27 18:42:31 +03:00
|
|
|
#navigator-toolbox:not(:-moz-lwtheme):-moz-window-inactive {
|
|
|
|
--tabs-border-color: rgba(0,0,0,.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox:-moz-lwtheme {
|
2018-02-02 17:54:52 +03:00
|
|
|
--tabs-border-color: rgba(0,0,0,.3);
|
|
|
|
}
|
2021-03-26 06:44:18 +03:00
|
|
|
} /*** end !proton ***/
|
2018-02-02 17:54:52 +03:00
|
|
|
|
2018-08-17 12:22:42 +03:00
|
|
|
/*
|
|
|
|
This is a workaround for Bug 1482157
|
2020-07-17 01:04:14 +03:00
|
|
|
-moz-default-appearance: toolbox; makes the macOS sheets attached to the
|
|
|
|
element's bottom border. We cannot put this property on the toolbox itself as
|
|
|
|
it cancels all backgrounds that are there, so we set it on the toolbox bottom
|
2018-08-17 12:22:42 +03:00
|
|
|
border.
|
|
|
|
*/
|
|
|
|
#navigator-toolbox::after {
|
2019-04-19 10:33:11 +03:00
|
|
|
content: "";
|
|
|
|
display: -moz-box;
|
2020-07-17 01:04:14 +03:00
|
|
|
appearance: auto;
|
|
|
|
-moz-default-appearance: toolbox;
|
2019-11-21 12:12:04 +03:00
|
|
|
height: 1px;
|
|
|
|
margin-top: -1px;
|
2019-04-28 09:07:25 +03:00
|
|
|
opacity: 0.001;
|
2018-08-17 12:22:42 +03:00
|
|
|
}
|
|
|
|
|
2021-04-05 23:48:05 +03:00
|
|
|
@media not (-moz-proton) {
|
2018-02-02 17:54:52 +03:00
|
|
|
#tabbrowser-tabs {
|
2021-03-09 15:10:35 +03:00
|
|
|
--tab-line-color: -moz-accent-color;
|
2018-02-02 17:54:52 +03:00
|
|
|
}
|
2021-03-27 01:55:19 +03:00
|
|
|
} /* END !proton */
|
2018-02-02 17:54:52 +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;
|
|
|
|
}
|
|
|
|
|
2021-04-05 23:48:05 +03:00
|
|
|
@media not (-moz-proton) {
|
2021-03-26 19:34:54 +03:00
|
|
|
:root[macOSNativeFullscreen]:not(:-moz-lwtheme) :is(#navigator-toolbox, #sidebar-box) {
|
2021-03-18 23:20:40 +03:00
|
|
|
/* Make the toolbar opaque using this color that simulates the
|
|
|
|
-moz-mac-vibrant-toolbar-dark effect. This hides vibrancy, but it also
|
|
|
|
ensures that we can't see #browser through the transparent toolbar. */
|
|
|
|
background-color: #232323;
|
|
|
|
}
|
|
|
|
} /*** END !proton ***/
|
|
|
|
|
2014-03-28 21:36:00 +04:00
|
|
|
/** Begin titlebar **/
|
|
|
|
|
2017-09-22 18:06:05 +03:00
|
|
|
#titlebar {
|
|
|
|
/* Centrally align content items vertically */
|
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
|
2019-05-10 14:12:47 +03:00
|
|
|
.titlebar-button {
|
2013-02-06 01:40:34 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-09-11 13:41:14 +03:00
|
|
|
/* Making the toolbox position:relative (browser.inc.css) occludes titlebar indicators
|
|
|
|
* if the toolbox has a background. Fix this by positioning the relevant elements, too: */
|
|
|
|
#titlebar-secondary-buttonbox {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2017-09-22 18:06:05 +03:00
|
|
|
/* Centrally align indicators and full screen button vertically */
|
|
|
|
-moz-box-align: center;
|
2017-09-11 13:41:14 +03:00
|
|
|
}
|
|
|
|
|
2018-10-25 19:03:14 +03:00
|
|
|
.titlebar-buttonbox-container {
|
2017-09-20 22:17:36 +03:00
|
|
|
-moz-box-align: center;
|
2017-09-11 13:41:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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. */
|
2018-10-25 19:03:14 +03:00
|
|
|
.titlebar-buttonbox {
|
2017-11-13 17:14:08 +03:00
|
|
|
margin-left: 12px;
|
2013-02-06 01:40:34 +04:00
|
|
|
}
|
|
|
|
|
2014-03-28 21:36:00 +04:00
|
|
|
/** End titlebar **/
|
|
|
|
|
2019-05-13 18:21:46 +03:00
|
|
|
:root[chromehidden~="toolbar"][chromehidden~="location"][chromehidden~="directories"] {
|
2010-01-14 18:41:58 +03:00
|
|
|
border-top: 1px solid rgba(0,0,0,0.65);
|
2010-06-23 00:28:34 +04:00
|
|
|
}
|
|
|
|
|
2021-03-09 22:10:25 +03:00
|
|
|
.browser-toolbar {
|
2020-07-17 01:04:14 +03:00
|
|
|
appearance: none;
|
2021-03-09 22:10:25 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.browser-toolbar:not(.titlebar-color) {
|
2017-08-03 10:15:23 +03:00
|
|
|
background: var(--toolbar-bgcolor);
|
2018-11-02 20:00:46 +03:00
|
|
|
color: var(--toolbar-color);
|
2017-06-30 20:47:05 +03:00
|
|
|
}
|
2015-08-06 02:29:45 +03:00
|
|
|
|
2021-04-05 23:48:05 +03:00
|
|
|
@media not (-moz-proton) {
|
2021-03-09 23:00:56 +03:00
|
|
|
.browser-toolbar.titlebar-color:not(:-moz-lwtheme) {
|
2021-03-09 22:10:25 +03:00
|
|
|
appearance: auto;
|
|
|
|
}
|
|
|
|
} /* END !proton */
|
|
|
|
|
2020-10-27 18:42:31 +03:00
|
|
|
/* Draw the bottom border of the tabs toolbar when titlebar isn't using vibrancy */
|
2020-11-25 07:23:25 +03:00
|
|
|
:root:not([inFullscreen], [tabsintitlebar]) #nav-bar:not([tabs-hidden="true"]),
|
2018-10-25 19:03:14 +03:00
|
|
|
#nav-bar:not([tabs-hidden="true"]):-moz-lwtheme {
|
2019-03-21 17:01:58 +03:00
|
|
|
box-shadow: 0 calc(-1 * var(--tabs-navbar-shadow-size)) 0 var(--tabs-border-color);
|
2014-06-06 10:53:35 +04:00
|
|
|
}
|
|
|
|
|
2018-10-25 19:03:14 +03:00
|
|
|
#nav-bar:not([tabs-hidden="true"]) {
|
2017-07-31 20:26:32 +03:00
|
|
|
/* The toolbar buttons that animate are only visible when the #TabsToolbar is not collapsed.
|
|
|
|
The animations use position:absolute and require a positioned #nav-bar. */
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2021-04-05 23:48:05 +03:00
|
|
|
@media not (-moz-proton) {
|
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
|
|
|
}
|
2021-03-09 22:10:25 +03:00
|
|
|
} /* END !proton */
|
2010-07-20 00:19:14 +04:00
|
|
|
|
|
|
|
/* ----- BOOKMARK TOOLBAR ----- */
|
|
|
|
|
2014-04-28 22:30:48 +04:00
|
|
|
#nav-bar-customization-target > #wrapper-personal-bookmarks > #personal-bookmarks {
|
|
|
|
min-height: 32px;
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2012-03-06 23:28:51 +04:00
|
|
|
/* Workaround for native menubar inheritance */
|
2018-10-26 10:40:15 +03:00
|
|
|
.openintabs-menuitem {
|
2012-03-06 23:28:51 +04:00
|
|
|
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
|
|
|
}
|
|
|
|
|
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 {
|
2018-05-29 21:37:48 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.svg");
|
2010-06-24 21:08:43 +04: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
|
|
|
|
2021-04-05 23:48:05 +03:00
|
|
|
@media not (-moz-proton) {
|
2017-05-10 13:22:21 +03:00
|
|
|
/* On Mac, native buttons keep their full opacity when they become disabled
|
|
|
|
* and only the glyph or text on top of them becomes less opaque. */
|
2017-11-06 15:40:50 +03:00
|
|
|
:root:not([customizing]) #back-button[disabled="true"] {
|
2017-05-10 13:22:21 +03:00
|
|
|
opacity: 1 !important;
|
2017-09-21 02:42:59 +03:00
|
|
|
/* Disabled toolbar buttons get an opacity of 0.4 which multiplies
|
|
|
|
* their fill-opacity of 0.7. calc() doesn't work here - we'd need
|
|
|
|
* to multiply two unitless numbers and that's invalid in CSS, so
|
|
|
|
* we need to hard code the value for now. */
|
|
|
|
fill-opacity: 0.28;
|
2017-05-10 13:22:21 +03:00
|
|
|
}
|
2021-03-10 11:36:27 +03:00
|
|
|
} /* END !proton */
|
2017-05-10 13:22:21 +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,
|
2020-10-20 18:28:51 +03:00
|
|
|
.bookmark-item:not(:hover):-moz-window-inactive,
|
2019-05-13 18:21:46 +03:00
|
|
|
:root:not([customizing]) .toolbarbutton-1:-moz-window-inactive[disabled="true"] {
|
2017-05-10 06:11:58 +03:00
|
|
|
opacity: 0.5;
|
2014-04-23 21:26:32 +04:00
|
|
|
}
|
|
|
|
|
2009-09-04 01:36:32 +04:00
|
|
|
/* ----- FULLSCREEN WINDOW CONTROLS ----- */
|
|
|
|
|
|
|
|
#minimize-button,
|
|
|
|
#close-button,
|
|
|
|
#fullscreen-button ~ #window-controls > #restore-button {
|
|
|
|
display: none;
|
2004-06-19 01:33:39 +04:00
|
|
|
}
|
|
|
|
|
2020-05-15 19:00:38 +03:00
|
|
|
/* Address bar */
|
2004-06-19 01:33:39 +04:00
|
|
|
|
2017-05-18 14:23:09 +03:00
|
|
|
%include ../shared/urlbar-searchbar.inc.css
|
|
|
|
|
2021-03-19 20:32:49 +03:00
|
|
|
@media not (prefers-contrast) {
|
2021-04-09 21:20:21 +03:00
|
|
|
@media (-moz-proton) {
|
2021-03-19 20:32:49 +03:00
|
|
|
:root:not(:-moz-lwtheme) #urlbar:not([focused="true"]) {
|
|
|
|
--urlbar-box-bgcolor: white;
|
|
|
|
}
|
|
|
|
} /*** END proton ***/
|
|
|
|
}
|
|
|
|
|
2017-05-22 16:40:19 +03:00
|
|
|
#urlbar,
|
2019-06-08 11:16:18 +03:00
|
|
|
#searchbar {
|
2017-05-22 16:40:19 +03:00
|
|
|
font-size: 1.25em;
|
2017-05-15 17:02:55 +03:00
|
|
|
}
|
|
|
|
|
2020-07-14 18:57:24 +03:00
|
|
|
@supports -moz-bool-pref("browser.urlbar.experimental.expandTextOnFocus") {
|
2020-05-15 19:00:38 +03:00
|
|
|
#urlbar[breakout-extend] {
|
|
|
|
font-size: 1.36em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-26 14:32:10 +03:00
|
|
|
/* Ensure diacritics and other edge-of-font-box glyphs do not get clipped,
|
|
|
|
* even in non-Latin scripts. */
|
2019-07-19 16:22:23 +03:00
|
|
|
#urlbar-input {
|
2017-09-26 14:32:10 +03:00
|
|
|
line-height: 1.745em;
|
|
|
|
}
|
|
|
|
|
2021-03-17 18:35:47 +03:00
|
|
|
/* Move the margin to the parent element to properly position the ::after badge */
|
|
|
|
moz-input-box > menupopup .context-menu-add-engine > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
margin-inline: 0;
|
|
|
|
}
|
|
|
|
moz-input-box > menupopup .context-menu-add-engine > .menu-iconic-left {
|
|
|
|
margin-inline: 0 5px;
|
|
|
|
}
|
|
|
|
|
2015-07-23 14:26:43 +03:00
|
|
|
%include ../shared/identity-block/identity-block.inc.css
|
2020-05-15 19:00:38 +03:00
|
|
|
%include ../shared/notification-icons.inc.css
|
|
|
|
%include ../shared/addon-notification.inc.css
|
2015-07-23 14:26:43 +03:00
|
|
|
|
2018-04-18 17:48:31 +03:00
|
|
|
#pageAction-urlbar-shareURL,
|
2018-03-12 12:16:51 +03:00
|
|
|
#pageAction-panel-shareURL {
|
|
|
|
list-style-image: url("chrome://browser/skin/share.svg");
|
|
|
|
}
|
|
|
|
|
2020-05-15 19:00:38 +03:00
|
|
|
/* Address bar results view */
|
2019-09-25 16:03:33 +03:00
|
|
|
|
2020-05-15 19:00:38 +03:00
|
|
|
%include ../shared/urlbarView.inc.css
|
2016-08-20 00:15:56 +03:00
|
|
|
|
2019-09-25 16:03:33 +03:00
|
|
|
.urlbarView:not(:-moz-lwtheme),
|
|
|
|
#PopupSearchAutoComplete:not(:-moz-lwtheme) {
|
|
|
|
/* Set custom disabled text color since native graytext is too faint on macOS 10.14+. */
|
|
|
|
--panel-disabled-color: #737373;
|
2016-10-19 20:55:06 +03:00
|
|
|
}
|
|
|
|
|
2020-05-15 19:00:38 +03:00
|
|
|
/* ----- AUTOCOMPLETE ----- */
|
|
|
|
|
|
|
|
%include ../shared/autocomplete.inc.css
|
|
|
|
|
|
|
|
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
|
|
|
|
border-top: 1px solid #C7C7C7;
|
2019-11-21 12:15:21 +03:00
|
|
|
}
|
|
|
|
|
2020-05-02 16:16:31 +03:00
|
|
|
#BMB_bookmarksPopup[side="top"],
|
|
|
|
#BMB_bookmarksPopup[side="bottom"] {
|
|
|
|
margin-inline: -26px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#BMB_bookmarksPopup[side="left"],
|
|
|
|
#BMB_bookmarksPopup[side="right"] {
|
|
|
|
margin-block: -26px;
|
|
|
|
}
|
|
|
|
|
2018-05-22 13:21:52 +03:00
|
|
|
/* Bookmarking panel */
|
2008-04-08 05:41:11 +04:00
|
|
|
|
2018-05-22 13:21:52 +03:00
|
|
|
%include ../shared/places/editBookmarkPanel.inc.css
|
2012-08-21 05:38:07 +04:00
|
|
|
|
2019-11-21 12:46:01 +03:00
|
|
|
/* The following elements come from editBookmarkPanel.inc.xhtml. Styling that's
|
2009-03-26 01:18:23 +03:00
|
|
|
specific to the editBookmarkPanel should be in browser.css. Styling that
|
2019-11-21 12:46:01 +03:00
|
|
|
should be shared by all editBookmarkPanel.inc.xhtml consumers should be in
|
2018-03-16 19:26:49 +03:00
|
|
|
editBookmark.css. */
|
2009-03-26 01:18:23 +03:00
|
|
|
|
|
|
|
#editBMPanel_newFolderBox {
|
2018-10-30 21:59:18 +03:00
|
|
|
background-color: var(--arrowpanel-field-background);
|
|
|
|
color: inherit;
|
|
|
|
border-radius: 0 2px;
|
|
|
|
border: 1px solid var(--panel-separator-color);
|
2012-08-21 05:38:07 +04:00
|
|
|
margin: 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
padding: 0;
|
2018-10-31 14:19:18 +03:00
|
|
|
height: 24px;
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_newFolderButton {
|
2020-07-17 01:04:14 +03:00
|
|
|
appearance: none;
|
2018-10-31 14:19:18 +03:00
|
|
|
-moz-box-flex: 1;
|
|
|
|
-moz-context-properties: fill, fill-opacity;
|
|
|
|
fill: currentColor;
|
|
|
|
fill-opacity: 0.8;
|
|
|
|
border: none;
|
2008-04-08 05:41:11 +04:00
|
|
|
padding: 0 9px;
|
|
|
|
margin: 0;
|
2018-10-31 14:19:18 +03:00
|
|
|
min-height: 24px;
|
|
|
|
height: 24px;
|
2018-10-30 21:59:18 +03:00
|
|
|
color: inherit;
|
2021-01-26 03:27:56 +03:00
|
|
|
list-style-image: url("chrome://global/skin/icons/add.svg");
|
2018-10-31 14:19:18 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#editBMPanel_newFolderButton:hover {
|
|
|
|
background-color: var(--arrowpanel-dimmed);
|
2008-04-08 05:41:11 +04:00
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_newFolderButton:hover:active {
|
2018-10-30 21:59:18 +03:00
|
|
|
background-color: var(--arrowpanel-dimmed-further);
|
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
|
|
|
}
|
|
|
|
|
2018-10-31 14:19:18 +03:00
|
|
|
#editBMPanel_newFolderButton .button-text {
|
|
|
|
-moz-box-flex: 1; /* push the button icon to the start side */
|
|
|
|
text-align: start;
|
|
|
|
}
|
|
|
|
|
2021-04-05 23:48:05 +03:00
|
|
|
@media not (-moz-proton-doorhangers) {
|
2021-03-30 20:51:58 +03:00
|
|
|
#editBookmarkPanelRows > vbox > html|input,
|
|
|
|
#editBookmarkPanelRows > vbox > hbox > html|input {
|
|
|
|
appearance: none;
|
|
|
|
background-color: var(--arrowpanel-field-background);
|
|
|
|
color: inherit;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid var(--panel-separator-color) !important;
|
|
|
|
margin: 0;
|
|
|
|
padding: 3px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanelRows > vbox > html|input:focus,
|
|
|
|
#editBookmarkPanelRows > vbox > hbox > html|input:focus {
|
|
|
|
border-color: -moz-mac-focusring !important;
|
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
|
|
|
}
|
|
|
|
|
2009-03-26 01:18:23 +03:00
|
|
|
#editBMPanel_folderMenuList {
|
2012-08-21 05:38:07 +04:00
|
|
|
margin: 0;
|
2008-04-08 05:41:11 +04:00
|
|
|
min-height: 22px;
|
2020-04-01 17:06:33 +03:00
|
|
|
padding-block: 2px 1px;
|
|
|
|
padding-inline: 8px 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
|
|
|
}
|
|
|
|
|
2020-04-08 23:00:30 +03:00
|
|
|
#editBMPanel_folderMenuList::part(dropmarker) {
|
2020-07-17 01:04:14 +03:00
|
|
|
appearance: none;
|
2018-10-30 22:04:23 +03:00
|
|
|
-moz-context-properties: fill, fill-opacity;
|
|
|
|
fill: currentColor;
|
|
|
|
fill-opacity: 0.8;
|
|
|
|
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-12.svg");
|
2008-04-08 05:41:11 +04:00
|
|
|
display: -moz-box;
|
2018-09-14 21:03:17 +03:00
|
|
|
-moz-box-align: center;
|
2016-05-13 08:19:58 +03:00
|
|
|
padding-inline-end: 4px;
|
2012-08-21 05:38:07 +04:00
|
|
|
width: 7px;
|
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
|
|
|
}
|
|
|
|
|
2021-03-30 20:51:58 +03:00
|
|
|
/**** expanders ****/
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-up {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/arrow-up-12.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-down {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-12.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-up,
|
|
|
|
#editBookmarkPanel .expander-down {
|
|
|
|
appearance: none; /* override button.css */
|
|
|
|
-moz-context-properties: fill, fill-opacity;
|
|
|
|
fill: currentColor;
|
|
|
|
fill-opacity: 0.8;
|
|
|
|
margin: 0;
|
|
|
|
margin-inline-start: 4px;
|
|
|
|
min-width: 27px;
|
|
|
|
min-height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-icon,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-icon {
|
|
|
|
margin: 1px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-text,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
} /** END not Proton **/
|
|
|
|
|
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 {
|
2020-07-17 01:04:14 +03:00
|
|
|
appearance: none;
|
2018-10-30 21:59:18 +03:00
|
|
|
background-color: var(--arrowpanel-field-background);
|
|
|
|
color: inherit;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid var(--panel-separator-color);
|
2012-08-21 05:38:07 +04:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2018-10-31 18:58:34 +03:00
|
|
|
#editBMPanel_folderTree > treechildren::-moz-tree-row(blur,selected),
|
|
|
|
#editBMPanel_tagsSelector:not(:focus) > richlistitem[selected] {
|
|
|
|
background-color: var(--arrowpanel-dimmed);
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBMPanel_folderTree > treechildren::-moz-tree-twisty(blur,selected),
|
|
|
|
#editBMPanel_folderTree > treechildren::-moz-tree-image(blur,selected),
|
|
|
|
#editBMPanel_folderTree > treechildren::-moz-tree-cell-text(blur,selected),
|
|
|
|
#editBMPanel_tagsSelector:not(:focus) > richlistitem[selected] {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2006-09-22 04:47:18 +04:00
|
|
|
/* ----- SIDEBAR ELEMENTS ----- */
|
|
|
|
|
2017-05-16 20:31:00 +03:00
|
|
|
%include ../shared/sidebar.inc.css
|
|
|
|
|
2018-08-23 16:13:30 +03:00
|
|
|
#browser {
|
|
|
|
--sidebar-border-color: hsla(240, 5%, 5%, .1);
|
|
|
|
}
|
|
|
|
|
2016-03-25 18:34:00 +03:00
|
|
|
#sidebar-box {
|
2017-09-21 03:22:37 +03:00
|
|
|
/* Default font size is 11px on mac, so this is 12px */
|
|
|
|
font-size: 1.0909rem;
|
2020-06-09 20:46:32 +03:00
|
|
|
--sidebar-background-color: -moz-mac-source-list;
|
2011-01-08 03:35:33 +03:00
|
|
|
}
|
|
|
|
|
2021-02-23 18:03:45 +03:00
|
|
|
/* Give the sidebar a vibrant appearance. Only do this when no lwtheme sidebar
|
|
|
|
* rules are in use. Vibrant appearance values only work if there is no
|
|
|
|
* background-color rendered behind the element. If the active theme has sidebar
|
|
|
|
* rules, we want to show the theme's background-color in the sidebar. */
|
|
|
|
#sidebar-box:not([lwt-sidebar]) {
|
2020-07-17 01:04:14 +03:00
|
|
|
appearance: auto;
|
|
|
|
-moz-default-appearance: -moz-mac-source-list;
|
2018-08-23 16:21:59 +03:00
|
|
|
-moz-font-smoothing-background-color: -moz-mac-source-list;
|
|
|
|
}
|
|
|
|
|
2013-07-08 03:14:00 +04:00
|
|
|
/* ----- CONTENT ----- */
|
2010-11-29 17:18:40 +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
|
|
|
|
2018-03-05 22:33:36 +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 {
|
2020-04-07 19:30:02 +03:00
|
|
|
margin-block: 1px 0;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2020-11-27 00:54:32 +03:00
|
|
|
.tabbrowser-tab:not(:hover) > .tab-stack > .tab-content > .tab-icon-image:not([selected="true"], [multiselected]) {
|
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;
|
|
|
|
}
|
|
|
|
|
2020-11-27 00:54:32 +03:00
|
|
|
.tab-label-container:not([selected="true"], [multiselected]) {
|
2013-03-08 14:57:00 +04:00
|
|
|
opacity: .7;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2017-08-03 10:15:23 +03:00
|
|
|
.tabbrowser-tab {
|
2010-11-29 17:18:40 +03:00
|
|
|
font: message-box;
|
|
|
|
border: none;
|
2010-07-20 00:19:14 +04:00
|
|
|
}
|
2019-02-07 02:28:25 +03:00
|
|
|
.tabbrowser-tab[multiselected]:not(:-moz-lwtheme),
|
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 */
|
2017-06-15 17:21:07 +03:00
|
|
|
color: hsl(240, 5%, 5%);
|
2012-09-30 08:56:40 +04:00
|
|
|
}
|
|
|
|
|
2019-02-07 02:28:25 +03:00
|
|
|
.tabbrowser-tab[multiselected],
|
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;
|
|
|
|
}
|
|
|
|
|
2021-04-05 23:48:05 +03:00
|
|
|
@media not (-moz-proton) {
|
2020-09-21 22:35:35 +03:00
|
|
|
:is(.keyboard-focused-tab, .tabbrowser-tab:focus:not([aria-activedescendant])) > .tab-stack > .tab-content > .tab-label-container:not([pinned]),
|
|
|
|
:is(.keyboard-focused-tab, .tabbrowser-tab:focus:not([aria-activedescendant])) > .tab-stack > .tab-content > .tab-icon-image[pinned],
|
|
|
|
:is(.keyboard-focused-tab, .tabbrowser-tab:focus:not([aria-activedescendant])) > .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
|
|
|
}
|
2021-02-10 19:00:06 +03:00
|
|
|
} /*** END !proton ***/
|
2010-03-17 20:12:03 +03:00
|
|
|
|
2018-11-15 19:23:10 +03:00
|
|
|
#TabsToolbar > .toolbar-items {
|
2017-09-15 13:55:18 +03:00
|
|
|
padding-top: var(--space-above-tabbar);
|
2014-06-06 10:53:35 +04:00
|
|
|
}
|
|
|
|
|
2021-04-05 23:48:05 +03:00
|
|
|
@media not (-moz-proton) {
|
2014-02-05 18:57:05 +04:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
2017-06-15 17:21:07 +03:00
|
|
|
color: #333;
|
2014-02-05 18:57:05 +04:00
|
|
|
}
|
|
|
|
|
2020-09-21 22:35:35 +03:00
|
|
|
:root:is([inFullscreen], [tabsintitlebar]) #TabsToolbar:not(:-moz-lwtheme) {
|
2020-07-17 01:04:14 +03:00
|
|
|
appearance: auto;
|
|
|
|
-moz-default-appearance: -moz-mac-vibrant-titlebar-dark;
|
2017-11-16 21:05:53 +03:00
|
|
|
-moz-font-smoothing-background-color: -moz-mac-vibrant-titlebar-dark;
|
2017-08-10 16:49:15 +03:00
|
|
|
background-color: #232323;
|
2017-06-15 17:21:07 +03:00
|
|
|
color: hsl(240, 9%, 98%);
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2019-02-07 02:28:25 +03:00
|
|
|
.tabbrowser-tab[multiselected]:not(:-moz-lwtheme),
|
2018-04-24 13:59:08 +03:00
|
|
|
.tabbrowser-tab[visuallyselected=true]:not(:-moz-lwtheme) {
|
2017-09-13 15:22:49 +03:00
|
|
|
-moz-font-smoothing-background-color: var(--toolbar-bgcolor);
|
|
|
|
}
|
2021-03-09 22:10:25 +03:00
|
|
|
} /* END !proton */
|
2017-09-13 15:22:49 +03:00
|
|
|
|
2010-11-29 17:18:40 +03:00
|
|
|
#tabbrowser-tabs {
|
2010-03-17 09:36:13 +03:00
|
|
|
-moz-box-align: stretch;
|
2020-04-07 19:30:02 +03:00
|
|
|
padding-inline: 0;
|
2018-09-20 13:22:55 +03:00
|
|
|
margin-bottom: 0;
|
|
|
|
position: static;
|
2010-11-29 17:18:40 +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;
|
|
|
|
}
|
|
|
|
|
2014-05-31 01:21:11 +04:00
|
|
|
/* Translation */
|
|
|
|
|
|
|
|
%include ../shared/translation/infobar.inc.css
|
|
|
|
|
2011-01-28 16:35:49 +03:00
|
|
|
/* Status panel */
|
|
|
|
|
2018-03-12 22:47:31 +03:00
|
|
|
#statuspanel-label {
|
2011-01-28 16:35:49 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 2px 4px;
|
2017-07-22 17:37:59 +03:00
|
|
|
background-color: #f9f9fa;
|
|
|
|
border: 1px none #ddd;
|
2011-01-28 16:35:49 +03:00
|
|
|
border-top-style: solid;
|
2017-07-22 17:37:59 +03:00
|
|
|
color: #444;
|
2011-01-31 09:27:33 +03:00
|
|
|
text-shadow: none;
|
2011-01-28 16:35:49 +03:00
|
|
|
}
|
|
|
|
|
2020-02-11 13:47:21 +03:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
#statuspanel-label {
|
|
|
|
background-color: hsl(240, 1%, 20%);
|
|
|
|
border-color: hsl(240, 1%, 40%);
|
|
|
|
color: rgb(249, 249, 250);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-12 22:47:31 +03:00
|
|
|
#statuspanel:not([mirror]) > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(ltr),
|
|
|
|
#statuspanel[mirror] > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(rtl) {
|
2011-01-28 16:35:49 +03:00
|
|
|
border-right-style: solid;
|
|
|
|
border-top-right-radius: .3em;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2018-03-12 22:47:31 +03:00
|
|
|
#statuspanel:not([mirror]) > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(rtl),
|
|
|
|
#statuspanel[mirror] > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(ltr) {
|
2011-01-28 16:35:49 +03:00
|
|
|
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
|
2012-05-10 21:33:54 +04:00
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2013-04-11 23:50:07 +04:00
|
|
|
/* End customization mode */
|
2013-03-22 23:15:58 +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;
|
|
|
|
}
|
|
|
|
|
2016-08-09 22:08:04 +03:00
|
|
|
.cui-widget-panelview[id^=PanelUI-webext-] {
|
2021-03-26 21:54:10 +03:00
|
|
|
border-radius: var(--arrowpanel-border-radius);
|
2016-08-09 22:08:04 +03:00
|
|
|
}
|
|
|
|
|
2017-08-02 22:49:25 +03:00
|
|
|
.webextension-popup-browser,
|
|
|
|
.webextension-popup-stack {
|
2016-08-09 22:08:04 +03:00
|
|
|
border-radius: inherit;
|
|
|
|
}
|