2012-05-21 11:12:37 +00: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-18 21:33:39 +00:00
|
|
|
|
2018-10-30 19:04:23 +00:00
|
|
|
%include ../../../toolkit/themes/osx/global/shared.inc
|
2013-10-22 20:26:09 +00:00
|
|
|
%define toolbarButtonPressed :hover:active:not([disabled="true"]):not([cui-areatype="menu-panel"])
|
2010-02-21 15:03:48 +00:00
|
|
|
|
2006-08-26 15:28:56 +00:00
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
2004-06-18 21:33:39 +00:00
|
|
|
|
2017-02-24 19:07:21 +00:00
|
|
|
%include ../shared/browser.inc.css
|
|
|
|
|
2014-10-23 13:49:34 +00:00
|
|
|
:root {
|
2017-08-03 07:15:23 +00:00
|
|
|
--toolbar-non-lwt-bgcolor: #f9f9fa;
|
|
|
|
--toolbar-non-lwt-textcolor: #0c0c0d;
|
|
|
|
--toolbar-non-lwt-bgimage: none;
|
|
|
|
|
2017-05-10 21:04:12 +00:00
|
|
|
--toolbarbutton-vertical-text-padding: calc(var(--toolbarbutton-inner-padding) + 1px);
|
2017-05-15 14:02:55 +00:00
|
|
|
--toolbarbutton-border-radius: 4px;
|
2017-09-15 11:00:40 +00:00
|
|
|
--toolbarbutton-icon-fill-opacity: .7;
|
2014-10-23 13:49:34 +00:00
|
|
|
|
2015-08-05 16:55:53 +00:00
|
|
|
--panel-separator-color: hsla(210,4%,10%,.14);
|
2018-11-07 17:58:44 +00:00
|
|
|
--arrowpanel-dimmed: hsla(0,0%,80%,.35);
|
|
|
|
--arrowpanel-dimmed-further: hsla(0,0%,80%,.5);
|
2018-03-28 19:22:29 +00:00
|
|
|
--arrowpanel-dimmed-even-further: hsla(0,0%,80%,.8);
|
2015-09-03 18:06:00 +00:00
|
|
|
|
2018-10-30 18:59:18 +00:00
|
|
|
--arrowpanel-field-background: rgba(249,249,250,.3);
|
|
|
|
|
2015-09-03 18:06:00 +00:00
|
|
|
--urlbar-separator-color: hsla(0,0%,16%,.2);
|
2017-08-21 15:05:41 +00:00
|
|
|
|
2018-11-18 18:16:52 +00:00
|
|
|
--chrome-content-separator-color: #e1e1e2;
|
2017-02-22 19:13:09 +00:00
|
|
|
}
|
|
|
|
|
2017-08-03 07:15:23 +00:00
|
|
|
:root:-moz-lwtheme {
|
2018-11-18 18:16:52 +00:00
|
|
|
--chrome-content-separator-color: rgba(0,0,0,.3);
|
2017-08-03 07:15:23 +00:00
|
|
|
}
|
|
|
|
|
2018-03-28 19:22:29 +00:00
|
|
|
:root[lwt-popup-brighttext] {
|
2018-06-06 09:27:14 +00:00
|
|
|
--panel-separator-color: rgba(249,249,250,.1);
|
2018-06-01 15:13:27 +00:00
|
|
|
|
|
|
|
--arrowpanel-dimmed: rgba(249,249,250,.1);
|
|
|
|
--arrowpanel-dimmed-further: rgba(249,249,250,.15);
|
|
|
|
--arrowpanel-dimmed-even-further: rgba(249,249,250,.2);
|
2018-10-30 18:59:18 +00:00
|
|
|
|
|
|
|
--arrowpanel-field-background: rgba(12,12,13,.3);
|
2018-03-28 19:22:29 +00:00
|
|
|
}
|
|
|
|
|
2018-02-02 14:54:52 +00:00
|
|
|
#navigator-toolbox {
|
2018-08-17 09:22:42 +00:00
|
|
|
-moz-appearance: none;
|
2018-02-02 14:54:52 +00:00
|
|
|
--tabs-border-color: rgba(0,0,0,.3);
|
|
|
|
}
|
|
|
|
|
2018-08-17 09:22:42 +00:00
|
|
|
/*
|
|
|
|
This is a workaround for Bug 1482157
|
|
|
|
-moz-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
|
|
|
|
border.
|
|
|
|
*/
|
|
|
|
#navigator-toolbox::after {
|
|
|
|
-moz-appearance: toolbox;
|
|
|
|
height: 1px;
|
|
|
|
/* use inset box-shadow instead of border because -moz-appearance hides the border */
|
|
|
|
border: none;
|
2018-11-18 18:16:52 +00:00
|
|
|
box-shadow: inset 0 -1px var(--chrome-content-separator-color);
|
2018-08-17 09:22:42 +00:00
|
|
|
}
|
|
|
|
|
2018-02-02 14:54:52 +00:00
|
|
|
#tabbrowser-tabs {
|
|
|
|
--tab-line-color: #0a84ff;
|
|
|
|
}
|
|
|
|
|
2009-10-23 15:28:14 +00:00
|
|
|
#navigator-toolbox toolbarbutton:-moz-lwtheme {
|
2010-02-21 14:50:10 +00:00
|
|
|
color: inherit;
|
2009-09-04 10:58:18 +00:00
|
|
|
text-shadow: inherit;
|
|
|
|
}
|
|
|
|
|
2018-11-02 17:00:46 +00:00
|
|
|
:root {
|
2008-05-03 14:47:03 +00:00
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: #eeeeee;
|
|
|
|
}
|
|
|
|
|
2014-03-28 17:36:00 +00:00
|
|
|
/** Begin titlebar **/
|
|
|
|
|
2017-09-22 15:06:05 +00:00
|
|
|
#titlebar {
|
|
|
|
/* Centrally align content items vertically */
|
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
|
2013-05-02 18:15:29 +00:00
|
|
|
#titlebar-buttonbox > .titlebar-button {
|
2013-02-05 21:40:34 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-09-11 10:41:14 +00: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 15:06:05 +00:00
|
|
|
/* Centrally align indicators and full screen button vertically */
|
|
|
|
-moz-box-align: center;
|
2017-09-11 10:41:14 +00:00
|
|
|
}
|
|
|
|
|
2018-10-25 16:03:14 +00:00
|
|
|
.titlebar-buttonbox-container {
|
2017-09-20 19:17:36 +00:00
|
|
|
-moz-box-align: center;
|
2017-09-11 10:41:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* These would be margin-inline-start/end if it wasn't for the fact that OS X
|
2013-10-31 22:34:25 +00:00
|
|
|
* doesn't reverse the order of the items in the titlebar in RTL mode. */
|
2018-10-25 16:03:14 +00:00
|
|
|
.titlebar-buttonbox {
|
2017-11-13 14:14:08 +00:00
|
|
|
margin-left: 12px;
|
2013-02-05 21:40:34 +00:00
|
|
|
}
|
|
|
|
|
2017-10-15 21:58:50 +00:00
|
|
|
/* The fullscreen button doesnt show on Yosemite(10.10) or above so dont give it a
|
|
|
|
border there */
|
2017-12-14 10:50:56 +00:00
|
|
|
@media (-moz-mac-yosemite-theme: 0) {
|
2018-11-07 09:54:26 +00:00
|
|
|
.titlebar-spacer[type="fullscreen-button"] {
|
2017-10-15 21:58:50 +00:00
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2008-12-08 14:59:41 +00:00
|
|
|
}
|
|
|
|
|
2014-03-28 17:36:00 +00:00
|
|
|
/** End titlebar **/
|
|
|
|
|
2010-01-14 15:41:58 +00:00
|
|
|
#main-window[chromehidden~="toolbar"][chromehidden~="location"][chromehidden~="directories"] {
|
|
|
|
border-top: 1px solid rgba(0,0,0,0.65);
|
2010-06-22 20:28:34 +00:00
|
|
|
}
|
|
|
|
|
2018-11-02 17:00:46 +00:00
|
|
|
.browser-toolbar:not(.titlebar-color) {
|
2017-06-30 17:47:05 +00:00
|
|
|
-moz-appearance: none;
|
2017-08-03 07:15:23 +00:00
|
|
|
background: var(--toolbar-bgcolor);
|
2018-11-02 17:00:46 +00:00
|
|
|
color: var(--toolbar-color);
|
2017-06-30 17:47:05 +00:00
|
|
|
}
|
2015-08-05 23:29:45 +00:00
|
|
|
|
2014-06-06 06:53:35 +00:00
|
|
|
/* Draw the bottom border of the tabs toolbar when it's not using
|
|
|
|
-moz-appearance: toolbar. */
|
2018-10-25 16:03:14 +00:00
|
|
|
#main-window:-moz-any([sizemode="fullscreen"],[customize-entered]) #nav-bar:not([tabs-hidden="true"]),
|
|
|
|
#main-window:not([tabsintitlebar]) #nav-bar:not([tabs-hidden="true"]),
|
|
|
|
#nav-bar:not([tabs-hidden="true"]):-moz-lwtheme {
|
2017-11-03 18:00:51 +00:00
|
|
|
box-shadow: 0 -@navbarTabsShadowSize@ 0 var(--tabs-border-color);
|
2014-06-06 06:53:35 +00:00
|
|
|
}
|
|
|
|
|
2014-09-30 11:55:27 +00: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) {
|
2018-02-02 14:54:52 +00:00
|
|
|
#navigator-toolbox:not(:-moz-lwtheme) {
|
2017-11-03 18:00:51 +00:00
|
|
|
--tabs-border-color: rgba(0,0,0,.2);
|
2017-08-03 07:15:23 +00:00
|
|
|
}
|
2018-02-02 14:54:52 +00:00
|
|
|
#navigator-toolbox:not(:-moz-lwtheme):-moz-window-inactive {
|
2017-11-03 18:00:51 +00:00
|
|
|
--tabs-border-color: rgba(0,0,0,.05);
|
2017-08-03 07:15:23 +00:00
|
|
|
}
|
|
|
|
|
2018-10-25 16:03:14 +00:00
|
|
|
#main-window[tabsintitlebar] #nav-bar:not([tabs-hidden="true"]):not(:-moz-lwtheme) {
|
2017-11-03 18:00:51 +00:00
|
|
|
box-shadow: 0 -@navbarTabsShadowSize@ 0 var(--tabs-border-color);
|
2014-09-30 11:55:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-25 16:03:14 +00:00
|
|
|
#nav-bar:not([tabs-hidden="true"]) {
|
2017-07-31 17:26:32 +00: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;
|
|
|
|
}
|
|
|
|
|
2010-12-23 17:41:51 +00:00
|
|
|
#PersonalToolbar:not(:-moz-lwtheme):-moz-window-inactive,
|
2013-07-10 20:22:24 +00:00
|
|
|
#nav-bar:not(:-moz-lwtheme):-moz-window-inactive {
|
2010-12-23 17:41:51 +00:00
|
|
|
background-color: -moz-mac-chrome-inactive;
|
2010-07-19 20:19:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ----- BOOKMARK TOOLBAR ----- */
|
|
|
|
|
2014-04-28 18:30:48 +00:00
|
|
|
#nav-bar-customization-target > #wrapper-personal-bookmarks > #personal-bookmarks {
|
|
|
|
min-height: 32px;
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2012-03-06 19:28:51 +00:00
|
|
|
/* Workaround for native menubar inheritance */
|
2018-10-26 07:40:15 +00:00
|
|
|
.openintabs-menuitem {
|
2012-03-06 19:28:51 +00:00
|
|
|
list-style-image: none;
|
2012-02-24 12:42:26 +00:00
|
|
|
}
|
|
|
|
|
2012-03-06 19:28:51 +00:00
|
|
|
.bookmark-item[cutting] > .toolbarbutton-icon,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
opacity: 0.5;
|
2007-04-01 19:04:27 +00:00
|
|
|
}
|
|
|
|
|
2012-03-06 19:28:51 +00:00
|
|
|
.bookmark-item[cutting] > .toolbarbutton-text,
|
|
|
|
.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
|
|
|
|
opacity: 0.7;
|
2007-04-01 19:04:27 +00:00
|
|
|
}
|
|
|
|
|
2010-08-18 07:33:54 +00:00
|
|
|
/* ----- BOOKMARK MENUS ----- */
|
2004-06-18 21:33:39 +00:00
|
|
|
|
|
|
|
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2010-06-24 17:08:43 +00:00
|
|
|
#bookmarksToolbarFolderMenu,
|
2013-07-25 10:02:05 +00:00
|
|
|
#BMB_bookmarksToolbar,
|
|
|
|
#panelMenu_bookmarksToolbar {
|
2018-05-29 18:37:48 +00:00
|
|
|
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.svg");
|
2010-06-24 17:08:43 +00:00
|
|
|
}
|
|
|
|
|
2016-05-20 12:44:38 +00:00
|
|
|
#menu_unsortedBookmarks,
|
2013-07-25 10:02:05 +00:00
|
|
|
#BMB_unsortedBookmarks,
|
|
|
|
#panelMenu_unsortedBookmarks {
|
2018-05-29 18:37:48 +00:00
|
|
|
list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.svg");
|
2012-09-30 04:56:40 +00:00
|
|
|
}
|
|
|
|
|
2017-04-05 11:48:16 +00:00
|
|
|
%include ../shared/toolbarbuttons.inc.css
|
|
|
|
%include ../shared/toolbarbutton-icons.inc.css
|
|
|
|
%include ../shared/menupanel.inc.css
|
2014-03-06 16:29:12 +00:00
|
|
|
|
2018-07-31 08:49:53 +00:00
|
|
|
/* Override OSX-specific toolkit findbar button styles */
|
|
|
|
.findbar-button {
|
2018-12-14 19:51:13 +00:00
|
|
|
background-image: none !important;
|
2018-09-14 18:30:29 +00:00
|
|
|
box-shadow: none !important;
|
2018-07-31 08:49:53 +00:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2017-05-10 10:22:21 +00: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 12:40:50 +00:00
|
|
|
:root:not([customizing]) #back-button[disabled="true"] {
|
2017-05-10 10:22:21 +00:00
|
|
|
opacity: 1 !important;
|
2017-09-20 23:42:59 +00: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 10:22:21 +00:00
|
|
|
}
|
|
|
|
|
2017-04-05 11:48:16 +00:00
|
|
|
/* Inactive elements are faded out on OSX */
|
2017-05-10 03:11:58 +00: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 17:26:32 +00:00
|
|
|
}
|
|
|
|
|
2009-09-03 21:36:32 +00:00
|
|
|
/* ----- FULLSCREEN WINDOW CONTROLS ----- */
|
|
|
|
|
|
|
|
#minimize-button,
|
|
|
|
#close-button,
|
|
|
|
#fullscreen-button ~ #window-controls > #restore-button {
|
|
|
|
display: none;
|
2004-06-18 21:33:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: nav-bar-inner ::::: */
|
|
|
|
|
2017-05-18 11:23:09 +00:00
|
|
|
%include ../shared/urlbar-searchbar.inc.css
|
|
|
|
|
2018-03-28 22:38:37 +00:00
|
|
|
:root {
|
|
|
|
--toolbar-field-focus-border-color: -moz-mac-focusring;
|
|
|
|
}
|
|
|
|
|
2017-05-22 13:40:19 +00:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
|
|
|
font-size: 1.25em;
|
2017-05-15 14:02:55 +00:00
|
|
|
}
|
|
|
|
|
2017-09-26 11:32:10 +00:00
|
|
|
/* Ensure diacritics and other edge-of-font-box glyphs do not get clipped,
|
|
|
|
* even in non-Latin scripts. */
|
|
|
|
html|input.urlbar-input {
|
|
|
|
line-height: 1.745em;
|
|
|
|
}
|
|
|
|
|
2018-12-18 00:38:21 +00:00
|
|
|
#urlbar:not(.hidden-focus)[focused="true"],
|
2017-05-15 14:02:55 +00:00
|
|
|
.searchbar-textbox[focused="true"] {
|
2018-03-28 22:38:37 +00:00
|
|
|
box-shadow: 0 0 0 1px var(--toolbar-field-focus-border-color) inset,
|
|
|
|
0 0 0 1px var(--toolbar-field-focus-border-color);
|
2017-05-15 14:02:55 +00:00
|
|
|
}
|
|
|
|
|
2015-07-23 11:26:43 +00:00
|
|
|
%include ../shared/identity-block/identity-block.inc.css
|
|
|
|
|
2017-07-06 07:37:19 +00:00
|
|
|
#identity-box:not(:active):-moz-focusring {
|
2017-03-09 00:46:26 +00:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2016-05-13 05:19:58 +00:00
|
|
|
border-inline-end-style: none;
|
|
|
|
padding-inline-end: 5px;
|
2010-02-21 15:03:55 +00:00
|
|
|
}
|
2012-09-30 04:56:40 +00:00
|
|
|
|
2016-08-12 17:48:59 +00:00
|
|
|
/* ::::: URL Bar Zoom Reset Button ::::: */
|
|
|
|
@keyframes urlbar-zoom-reset-pulse {
|
|
|
|
0% {
|
|
|
|
transform: scale(0);
|
|
|
|
}
|
2016-08-16 22:24:15 +00:00
|
|
|
75% {
|
2016-08-12 17:48:59 +00:00
|
|
|
transform: scale(1.5);
|
|
|
|
}
|
2016-08-16 22:24:15 +00:00
|
|
|
100% {
|
|
|
|
transform: scale(1.0);
|
|
|
|
}
|
2016-08-12 17:48:59 +00:00
|
|
|
}
|
|
|
|
|
2015-05-21 21:20:06 +00:00
|
|
|
#urlbar-search-footer {
|
2016-08-11 15:48:28 +00:00
|
|
|
border-top: 1px solid var(--panel-separator-color);
|
2016-09-12 14:50:30 +00:00
|
|
|
background-color: var(--arrowpanel-dimmed);
|
2015-05-21 21:20:06 +00: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 14:50:30 +00:00
|
|
|
background-color: var(--arrowpanel-dimmed);
|
2015-05-21 21:20:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar-search-settings:hover:active {
|
2016-09-12 14:50:30 +00:00
|
|
|
background-color: var(--arrowpanel-dimmed-further);
|
2015-05-21 21:20:06 +00:00
|
|
|
}
|
|
|
|
|
2013-11-28 13:25:34 +00:00
|
|
|
#search-container {
|
|
|
|
min-width: calc(54px + 11ch);
|
|
|
|
}
|
|
|
|
|
2010-02-21 15:03:48 +00:00
|
|
|
#wrapper-urlbar-container[place="palette"] {
|
|
|
|
max-width: 20em;
|
|
|
|
}
|
|
|
|
|
2014-09-16 04:01:58 +00:00
|
|
|
.urlbar-display {
|
2011-01-22 11:21:35 +00:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
color: GrayText;
|
|
|
|
}
|
|
|
|
|
2018-04-18 14:48:31 +00:00
|
|
|
#pageAction-urlbar-shareURL,
|
2018-03-12 09:16:51 +00:00
|
|
|
#pageAction-panel-shareURL {
|
|
|
|
list-style-image: url("chrome://browser/skin/share.svg");
|
|
|
|
}
|
|
|
|
|
2015-08-07 03:13:00 +00:00
|
|
|
%include ../shared/urlbarSearchSuggestionsNotification.inc.css
|
|
|
|
|
2006-09-22 00:47:18 +00:00
|
|
|
/* ----- AUTOCOMPLETE ----- */
|
2004-06-18 21:33:39 +00:00
|
|
|
|
2016-08-19 21:15:56 +00:00
|
|
|
%include ../shared/autocomplete.inc.css
|
2017-08-17 11:35:05 +00:00
|
|
|
%include ../shared/urlbar-autocomplete.inc.css
|
2016-08-19 21:15:56 +00:00
|
|
|
|
2018-02-02 15:09:22 +00:00
|
|
|
:root {
|
|
|
|
--urlbar-popup-url-color: hsl(210, 77%, 47%);
|
|
|
|
--urlbar-popup-action-color: hsl(178, 100%, 28%);
|
|
|
|
}
|
|
|
|
|
2017-10-03 15:37:00 +00:00
|
|
|
/* Give an extra margin top to align the top of the awesomebar with the
|
|
|
|
* bottom of the nav bar, OSX calculates the panel position with an missing
|
|
|
|
* 1px - https://bugzilla.mozilla.org/show_bug.cgi?id=1406353
|
|
|
|
*/
|
|
|
|
#PopupAutoCompleteRichResult {
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
2016-10-19 17:55:06 +00:00
|
|
|
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
|
|
|
|
border-top: 1px solid #C7C7C7;
|
|
|
|
}
|
|
|
|
|
2019-02-08 10:59:32 +00:00
|
|
|
.ac-title,
|
|
|
|
.urlbarView-results {
|
2016-04-06 01:56:54 +00:00
|
|
|
font-size: 14px;
|
2008-07-17 11:48:40 +00:00
|
|
|
}
|
|
|
|
|
2017-03-18 15:42:22 +00:00
|
|
|
.ac-separator,
|
|
|
|
.ac-url,
|
|
|
|
.ac-action,
|
2016-04-06 01:56:54 +00:00
|
|
|
.ac-tags {
|
|
|
|
font-size: 12px;
|
2008-04-12 03:14:42 +00:00
|
|
|
}
|
|
|
|
|
2015-09-03 18:06:00 +00: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 04:56:40 +00:00
|
|
|
}
|
|
|
|
|
2018-05-22 10:21:52 +00:00
|
|
|
/* Bookmarking panel */
|
2008-04-08 01:41:11 +00:00
|
|
|
|
2018-05-22 10:21:52 +00:00
|
|
|
%include ../shared/places/editBookmarkPanel.inc.css
|
2012-08-21 01:38:07 +00:00
|
|
|
|
2018-05-22 10:21:52 +00:00
|
|
|
#editBookmarkPanelRows > vbox > textbox,
|
|
|
|
#editBookmarkPanelRows > vbox > hbox > textbox {
|
2012-08-21 01:38:07 +00:00
|
|
|
-moz-appearance: none;
|
2018-10-30 18:59:18 +00:00
|
|
|
background-color: var(--arrowpanel-field-background);
|
|
|
|
color: inherit;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid var(--panel-separator-color) !important;
|
2012-08-21 01:38:07 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 3px 6px;
|
|
|
|
}
|
|
|
|
|
2018-05-22 10:21:52 +00:00
|
|
|
#editBookmarkPanelRows > vbox > textbox[focused="true"],
|
|
|
|
#editBookmarkPanelRows > vbox > hbox > textbox[focused="true"] {
|
2012-08-21 01:38:07 +00:00
|
|
|
border-color: -moz-mac-focusring !important;
|
2017-03-09 00:46:26 +00:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2012-08-21 01:38:07 +00:00
|
|
|
}
|
|
|
|
|
2018-03-16 16:26:49 +00:00
|
|
|
/* The following elements come from editBookmarkPanel.inc.xul. Styling that's
|
2009-03-25 22:18:23 +00:00
|
|
|
specific to the editBookmarkPanel should be in browser.css. Styling that
|
2018-03-16 16:26:49 +00:00
|
|
|
should be shared by all editBookmarkPanel.inc.xul consumers should be in
|
|
|
|
editBookmark.css. */
|
2009-03-25 22:18:23 +00:00
|
|
|
|
|
|
|
#editBMPanel_newFolderBox {
|
2018-10-30 18:59:18 +00:00
|
|
|
background-color: var(--arrowpanel-field-background);
|
|
|
|
color: inherit;
|
|
|
|
border-radius: 0 2px;
|
|
|
|
border: 1px solid var(--panel-separator-color);
|
2012-08-21 01:38:07 +00:00
|
|
|
margin: 0;
|
2008-04-08 01:41:11 +00:00
|
|
|
padding: 0;
|
2018-10-31 11:19:18 +00:00
|
|
|
height: 24px;
|
2008-04-08 01:41:11 +00:00
|
|
|
}
|
|
|
|
|
2009-03-25 22:18:23 +00:00
|
|
|
#editBMPanel_newFolderButton {
|
2008-04-08 01:41:11 +00:00
|
|
|
-moz-appearance: none;
|
2018-10-31 11:19:18 +00:00
|
|
|
-moz-box-flex: 1;
|
|
|
|
-moz-context-properties: fill, fill-opacity;
|
|
|
|
fill: currentColor;
|
|
|
|
fill-opacity: 0.8;
|
|
|
|
border: none;
|
2008-04-08 01:41:11 +00:00
|
|
|
padding: 0 9px;
|
|
|
|
margin: 0;
|
2018-10-31 11:19:18 +00:00
|
|
|
min-height: 24px;
|
|
|
|
height: 24px;
|
2018-10-30 18:59:18 +00:00
|
|
|
color: inherit;
|
2018-10-31 11:19:18 +00:00
|
|
|
list-style-image: url("chrome://browser/skin/add.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
#editBMPanel_newFolderButton:hover {
|
|
|
|
background-color: var(--arrowpanel-dimmed);
|
2008-04-08 01:41:11 +00:00
|
|
|
}
|
|
|
|
|
2009-03-25 22:18:23 +00:00
|
|
|
#editBMPanel_newFolderButton:hover:active {
|
2018-10-30 18:59:18 +00:00
|
|
|
background-color: var(--arrowpanel-dimmed-further);
|
2008-04-08 01:41:11 +00:00
|
|
|
}
|
|
|
|
|
2010-12-05 22:10:45 +00:00
|
|
|
#editBMPanel_newFolderButton:-moz-focusring {
|
2017-03-09 00:46:26 +00:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2008-04-08 01:41:11 +00:00
|
|
|
}
|
|
|
|
|
2018-10-31 11:19:18 +00:00
|
|
|
#editBMPanel_newFolderButton .button-text {
|
|
|
|
-moz-box-flex: 1; /* push the button icon to the start side */
|
|
|
|
text-align: start;
|
|
|
|
}
|
|
|
|
|
2009-03-25 22:18:23 +00:00
|
|
|
#editBMPanel_folderMenuList {
|
2012-08-21 01:38:07 +00:00
|
|
|
margin: 0;
|
2008-04-08 01:41:11 +00:00
|
|
|
min-height: 22px;
|
2012-08-21 01:38:07 +00:00
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 1px;
|
2016-05-13 05:19:58 +00:00
|
|
|
padding-inline-start: 8px;
|
|
|
|
padding-inline-end: 4px;
|
2008-04-08 01:41:11 +00:00
|
|
|
}
|
|
|
|
|
2010-12-05 22:10:45 +00:00
|
|
|
#editBMPanel_folderMenuList:-moz-focusring {
|
2017-03-09 00:46:26 +00:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2008-04-08 01:41:11 +00:00
|
|
|
}
|
|
|
|
|
2009-03-25 22:18:23 +00:00
|
|
|
#editBMPanel_folderMenuList > .menulist-dropmarker {
|
2008-04-08 01:41:11 +00:00
|
|
|
-moz-appearance: none;
|
2018-10-30 19:04:23 +00: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 01:41:11 +00:00
|
|
|
display: -moz-box;
|
2018-09-14 18:03:17 +00:00
|
|
|
-moz-box-align: center;
|
2016-05-13 05:19:58 +00:00
|
|
|
padding-inline-end: 4px;
|
2012-08-21 01:38:07 +00: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 02:27:29 +00:00
|
|
|
}
|
|
|
|
|
2012-08-21 01:38:07 +00: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 02:27:29 +00:00
|
|
|
|
2012-08-21 01:38:07 +00:00
|
|
|
#editBMPanel_folderTree,
|
2009-03-25 22:18:23 +00:00
|
|
|
#editBMPanel_tagsSelector {
|
2008-04-08 01:41:11 +00:00
|
|
|
-moz-appearance: none;
|
2018-10-30 18:59:18 +00:00
|
|
|
background-color: var(--arrowpanel-field-background);
|
|
|
|
color: inherit;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid var(--panel-separator-color);
|
2012-08-21 01:38:07 +00:00
|
|
|
margin: 0;
|
2008-04-08 01:41:11 +00:00
|
|
|
}
|
|
|
|
|
2012-08-21 01:38:07 +00:00
|
|
|
#editBMPanel_folderTree:-moz-focusring,
|
2010-12-05 22:10:45 +00:00
|
|
|
#editBMPanel_tagsSelector:-moz-focusring {
|
2012-08-21 01:38:07 +00:00
|
|
|
border-color: -moz-mac-focusring;
|
2017-03-09 00:46:26 +00:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2008-04-08 01:41:11 +00:00
|
|
|
}
|
|
|
|
|
2018-10-31 15:58:34 +00: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 01:38:07 +00: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 01:41:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**** expanders ****/
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-up,
|
|
|
|
#editBookmarkPanel .expander-down {
|
2018-10-30 19:04:23 +00:00
|
|
|
-moz-appearance: none; /* override button.css */
|
|
|
|
-moz-context-properties: fill, fill-opacity;
|
|
|
|
fill: currentColor;
|
|
|
|
fill-opacity: 0.8;
|
2012-08-21 01:38:07 +00:00
|
|
|
margin: 0;
|
2016-05-13 05:19:58 +00:00
|
|
|
margin-inline-start: 4px;
|
2012-08-23 00:14:04 +00:00
|
|
|
min-width: 27px;
|
2012-08-21 01:38:07 +00:00
|
|
|
min-height: 22px;
|
2008-04-08 01:41:11 +00:00
|
|
|
}
|
|
|
|
|
2012-08-23 18:31:52 +00:00
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-icon,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-icon {
|
2012-08-23 00:14:04 +00:00
|
|
|
margin: 1px 0 0;
|
|
|
|
}
|
|
|
|
|
2012-08-23 18:31:52 +00:00
|
|
|
#editBookmarkPanel .expander-up > .button-box > .button-text,
|
|
|
|
#editBookmarkPanel .expander-down > .button-box > .button-text {
|
2012-08-23 00:14:04 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-10-30 19:04:23 +00:00
|
|
|
#editBookmarkPanel .expander-up {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/arrow-up-12.svg");
|
|
|
|
}
|
2012-09-30 04:56:40 +00:00
|
|
|
|
2018-10-30 19:04:23 +00:00
|
|
|
#editBookmarkPanel .expander-down {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-12.svg");
|
2012-09-30 04:56:40 +00:00
|
|
|
}
|
|
|
|
|
2006-09-22 00:47:18 +00:00
|
|
|
/* ----- SIDEBAR ELEMENTS ----- */
|
|
|
|
|
2017-05-16 17:31:00 +00:00
|
|
|
%include ../shared/sidebar.inc.css
|
|
|
|
|
2018-08-23 13:13:30 +00:00
|
|
|
#browser {
|
|
|
|
--sidebar-border-color: hsla(240, 5%, 5%, .1);
|
|
|
|
}
|
|
|
|
|
2016-03-25 15:34:00 +00:00
|
|
|
#sidebar-box {
|
2017-09-21 00:22:37 +00:00
|
|
|
/* Default font size is 11px on mac, so this is 12px */
|
|
|
|
font-size: 1.0909rem;
|
2011-01-08 00:35:33 +00:00
|
|
|
}
|
|
|
|
|
2018-08-23 13:21:59 +00:00
|
|
|
#sidebar-box:not([lwt-sidebar]) {
|
|
|
|
-moz-appearance: -moz-mac-source-list;
|
|
|
|
-moz-font-smoothing-background-color: -moz-mac-source-list;
|
|
|
|
}
|
|
|
|
|
2013-07-07 23:14:00 +00:00
|
|
|
/* ----- CONTENT ----- */
|
2010-11-29 14:18:40 +00:00
|
|
|
|
2013-07-07 23:14:00 +00:00
|
|
|
.browserContainer > findbar {
|
|
|
|
background: @scopeBarBackground@;
|
2013-09-21 11:14:05 +00:00
|
|
|
border-top: @scopeBarSeparatorBorder@;
|
2013-07-07 23:14:00 +00:00
|
|
|
color: -moz-DialogText;
|
|
|
|
text-shadow: none;
|
2010-11-29 14:18:40 +00:00
|
|
|
}
|
|
|
|
|
2018-02-10 22:24:50 +00:00
|
|
|
.browserContainer > findbar:-moz-lwtheme {
|
2018-11-09 10:44:15 +00:00
|
|
|
background-color: var(--lwt-accent-color);
|
|
|
|
background-image: linear-gradient(var(--toolbar-bgcolor), var(--toolbar-bgcolor));
|
2018-11-18 18:16:52 +00:00
|
|
|
border-top-color: var(--chrome-content-separator-color);
|
2018-11-02 17:00:46 +00:00
|
|
|
color: var(--toolbar-color);
|
2018-02-10 22:24:50 +00:00
|
|
|
}
|
|
|
|
|
2006-08-01 00:13:24 +00:00
|
|
|
.openintabs-menuitem {
|
|
|
|
list-style-image: none;
|
2010-09-23 22:59:55 +00:00
|
|
|
}
|
2010-11-29 14:18:40 +00:00
|
|
|
|
2007-08-22 21:02:02 +00:00
|
|
|
/* ::::: tabbrowser ::::: */
|
2010-09-02 20:08:37 +00:00
|
|
|
|
2018-03-05 19:33:36 +00:00
|
|
|
#tabbrowser-tabbox {
|
2008-11-27 22:17:17 +00:00
|
|
|
margin: 0;
|
2010-11-29 14:18:40 +00:00
|
|
|
}
|
|
|
|
|
2013-03-08 10:57:00 +00:00
|
|
|
%include ../shared/tabs.inc.css
|
2010-11-29 14:18:40 +00:00
|
|
|
|
2013-04-24 20:04:13 +00:00
|
|
|
.tab-label {
|
2013-06-17 10:49:57 +00:00
|
|
|
margin-top: 1px;
|
2013-05-02 16:05:50 +00:00
|
|
|
margin-bottom: 0;
|
2010-11-29 14:18:40 +00:00
|
|
|
}
|
|
|
|
|
2019-02-06 23:28:25 +00:00
|
|
|
.tabbrowser-tab:not(:hover) > .tab-stack > .tab-content > .tab-icon-image:not([selected="true"]):not([multiselected]) {
|
2013-03-08 10:57:00 +00:00
|
|
|
opacity: .9;
|
2010-11-29 14:18:40 +00:00
|
|
|
}
|
|
|
|
|
2015-01-13 20:33:26 +00: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;
|
|
|
|
}
|
|
|
|
|
2019-02-06 23:28:25 +00:00
|
|
|
.tab-label-container:not([selected="true"]):not([multiselected]) {
|
2013-03-08 10:57:00 +00:00
|
|
|
opacity: .7;
|
2010-11-29 14:18:40 +00:00
|
|
|
}
|
|
|
|
|
2017-08-03 07:15:23 +00:00
|
|
|
.tabbrowser-tab {
|
2010-11-29 14:18:40 +00:00
|
|
|
font: message-box;
|
|
|
|
border: none;
|
2010-07-19 20:19:14 +00:00
|
|
|
}
|
2019-02-06 23:28:25 +00:00
|
|
|
.tabbrowser-tab[multiselected]:not(:-moz-lwtheme),
|
2015-03-16 18:30:41 +00:00
|
|
|
.tabbrowser-tab[visuallyselected=true]:not(:-moz-lwtheme) {
|
2014-02-05 22:08:36 +00:00
|
|
|
/* overriding tabbox.css */
|
2017-06-15 14:21:07 +00:00
|
|
|
color: hsl(240, 5%, 5%);
|
2012-09-30 04:56:40 +00:00
|
|
|
}
|
|
|
|
|
2019-02-06 23:28:25 +00:00
|
|
|
.tabbrowser-tab[multiselected],
|
2015-03-16 18:30:41 +00:00
|
|
|
.tabbrowser-tab[visuallyselected=true] {
|
2014-02-05 22:08:36 +00:00
|
|
|
/* overriding tabbox.css */
|
2014-01-31 10:33:41 +00:00
|
|
|
text-shadow: inherit;
|
|
|
|
}
|
|
|
|
|
2018-09-24 20:36:59 +00:00
|
|
|
:-moz-any(.keyboard-focused-tab, .tabbrowser-tab:focus:not([aria-activedescendant])) > .tab-stack > .tab-content > .tab-label-container:not([pinned]),
|
|
|
|
:-moz-any(.keyboard-focused-tab, .tabbrowser-tab:focus:not([aria-activedescendant])) > .tab-stack > .tab-content > .tab-icon-image[pinned],
|
|
|
|
:-moz-any(.keyboard-focused-tab, .tabbrowser-tab:focus:not([aria-activedescendant])) > .tab-stack > .tab-content > .tab-throbber[pinned] {
|
2017-03-09 00:46:26 +00:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2010-03-17 17:12:03 +00:00
|
|
|
}
|
|
|
|
|
2018-11-15 16:23:10 +00:00
|
|
|
#TabsToolbar > .toolbar-items {
|
2017-09-15 10:55:18 +00:00
|
|
|
padding-top: var(--space-above-tabbar);
|
2014-06-06 06:53:35 +00:00
|
|
|
}
|
|
|
|
|
2014-02-05 14:57:05 +00:00
|
|
|
#TabsToolbar:not(:-moz-lwtheme) {
|
2017-06-15 14:21:07 +00:00
|
|
|
color: #333;
|
2014-02-05 14:57:05 +00:00
|
|
|
text-shadow: @loweredShadow@;
|
|
|
|
}
|
|
|
|
|
2017-07-18 23:27:31 +00:00
|
|
|
:root:-moz-any([inFullscreen], [tabsintitlebar]) #TabsToolbar:not(:-moz-lwtheme) {
|
2017-11-16 18:05:53 +00:00
|
|
|
-moz-appearance: -moz-mac-vibrant-titlebar-dark;
|
|
|
|
-moz-font-smoothing-background-color: -moz-mac-vibrant-titlebar-dark;
|
2017-08-10 13:49:15 +00:00
|
|
|
background-color: #232323;
|
2017-06-15 14:21:07 +00:00
|
|
|
color: hsl(240, 9%, 98%);
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2019-02-06 23:28:25 +00:00
|
|
|
.tabbrowser-tab[multiselected]:not(:-moz-lwtheme),
|
2018-04-24 10:59:08 +00:00
|
|
|
.tabbrowser-tab[visuallyselected=true]:not(:-moz-lwtheme) {
|
2017-09-13 12:22:49 +00:00
|
|
|
-moz-font-smoothing-background-color: var(--toolbar-bgcolor);
|
|
|
|
}
|
|
|
|
|
2010-11-29 14:18:40 +00:00
|
|
|
#tabbrowser-tabs {
|
2010-03-17 06:36:13 +00:00
|
|
|
-moz-box-align: stretch;
|
2018-09-20 10:22:55 +00:00
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
position: static;
|
2010-11-29 14:18:40 +00:00
|
|
|
}
|
|
|
|
|
2007-09-18 00:59:41 +00:00
|
|
|
/**
|
|
|
|
* Tab Drag and Drop
|
|
|
|
*/
|
|
|
|
|
2017-10-02 18:01:21 +00:00
|
|
|
.tab-drop-indicator-box {
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2007-08-22 21:02:02 +00:00
|
|
|
.tab-drop-indicator {
|
2010-03-10 08:07:45 +00:00
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png);
|
2013-05-15 18:06:27 +00:00
|
|
|
margin-top: -2px;
|
|
|
|
z-index: 3;
|
2007-08-22 21:02:02 +00:00
|
|
|
}
|
|
|
|
|
2012-09-30 04:56:40 +00:00
|
|
|
@media (min-resolution: 2dppx) {
|
|
|
|
.tab-drop-indicator {
|
|
|
|
list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator@2x.png);
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-08-14 08:03:34 +00:00
|
|
|
/* Bookmarks toolbar */
|
2010-05-05 13:28:04 +00:00
|
|
|
#PlacesToolbarDropIndicator {
|
2009-08-14 08:03:34 +00:00
|
|
|
list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png);
|
2006-02-28 21:20:04 +00:00
|
|
|
}
|
|
|
|
|
2008-02-21 02:17:52 +00:00
|
|
|
/* Bookmark drag and drop styles */
|
2008-04-23 00:00:58 +00:00
|
|
|
|
2006-02-28 21:20:04 +00:00
|
|
|
.bookmark-item[dragover-into="true"] {
|
|
|
|
background: Highlight !important;
|
|
|
|
color: HighlightText !important;
|
|
|
|
}
|
|
|
|
|
2008-02-21 02:17:52 +00: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-02-28 21:20:04 +00:00
|
|
|
}
|
|
|
|
|
2008-02-21 02:17:52 +00:00
|
|
|
.menupopup-drop-indicator {
|
|
|
|
list-style-image: none;
|
|
|
|
height: 2px;
|
2016-05-13 05:19:58 +00:00
|
|
|
margin-inline-end: -4em;
|
2008-02-21 02:17:52 +00:00
|
|
|
background-color: Highlight;
|
2006-02-28 21:20:04 +00:00
|
|
|
}
|
2006-08-26 07:27:54 +00:00
|
|
|
|
2015-04-03 00:10:21 +00:00
|
|
|
%include ../shared/notification-icons.inc.css
|
|
|
|
|
2010-06-23 16:53:09 +00:00
|
|
|
.notification-anchor-icon:-moz-focusring {
|
2017-03-15 19:44:40 +00:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
2010-06-23 16:53:09 +00:00
|
|
|
}
|
|
|
|
|
2014-05-30 21:21:11 +00: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 00:35:05 +00:00
|
|
|
min-height: 35px;
|
2014-05-30 21:21:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.translate-infobar-element {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element {
|
2014-07-07 19:23:50 +00: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-30 21:21:11 +00: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;
|
2018-11-09 16:17:24 +00:00
|
|
|
padding: 0 0.8em;
|
2014-05-30 21:21:11 +00:00
|
|
|
margin-left: 0.25em;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element .button-text {
|
2018-11-09 16:17:24 +00:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2014-05-30 21:21:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
label.translate-infobar-element {
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element:hover {
|
2014-07-07 19:23:50 +00:00
|
|
|
background: #f0f0f0;
|
2014-05-30 21:21:11 +00: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 19:23:50 +00:00
|
|
|
background: linear-gradient(#4cb1ff, #1793e5);
|
2014-05-30 21:21:11 +00: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);
|
2018-11-09 16:17:24 +00:00
|
|
|
padding: 0 1.1em;
|
2014-05-30 21:21:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element[anonid="translate"]:hover {
|
|
|
|
background-image: linear-gradient(#66bdff, #0d9eff);
|
2014-07-07 19:23:50 +00: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 19:10:08 +00:00
|
|
|
}
|
|
|
|
|
2014-05-30 21:21:11 +00:00
|
|
|
button.translate-infobar-element.options-menu-button {
|
2018-11-09 16:17:24 +00:00
|
|
|
padding-inline-start: 0.5em;
|
|
|
|
padding-inline-end: 0;
|
2014-05-30 21:21:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker {
|
|
|
|
display: -moz-box;
|
2018-12-12 18:20:02 +00:00
|
|
|
-moz-context-properties: fill;
|
|
|
|
fill: currentColor;
|
|
|
|
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-12.svg");
|
2018-11-09 16:17:24 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2014-05-30 21:21:11 +00: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 19:45:35 +00:00
|
|
|
min-height: 22px !important;
|
2014-05-30 21:21:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
menulist.translate-infobar-element > .menulist-label-box {
|
|
|
|
padding-top: 1px;
|
2016-05-13 05:19:58 +00:00
|
|
|
padding-inline-start: 0.3em;
|
2014-05-30 21:21:11 +00:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist.translate-infobar-element:hover {
|
2014-07-07 19:45:35 +00: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-30 21:21:11 +00: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;
|
2018-12-12 18:20:02 +00:00
|
|
|
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-12.svg");
|
2014-05-30 21:21:11 +00:00
|
|
|
}
|
|
|
|
|
2019-02-27 20:05:38 +00:00
|
|
|
%include ../shared/addon-notification.inc.css
|
2017-01-20 18:28:47 +00:00
|
|
|
|
2011-01-28 13:35:49 +00:00
|
|
|
/* Status panel */
|
|
|
|
|
2018-03-12 19:47:31 +00:00
|
|
|
#statuspanel-label {
|
2011-01-28 13:35:49 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 2px 4px;
|
2017-07-22 14:37:59 +00:00
|
|
|
background-color: #f9f9fa;
|
|
|
|
border: 1px none #ddd;
|
2011-01-28 13:35:49 +00:00
|
|
|
border-top-style: solid;
|
2017-07-22 14:37:59 +00:00
|
|
|
color: #444;
|
2011-01-31 06:27:33 +00:00
|
|
|
text-shadow: none;
|
2011-01-28 13:35:49 +00:00
|
|
|
}
|
|
|
|
|
2018-03-12 19:47:31 +00: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 13:35:49 +00:00
|
|
|
border-right-style: solid;
|
|
|
|
border-top-right-radius: .3em;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2018-03-12 19:47:31 +00: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 13:35:49 +00:00
|
|
|
border-left-style: solid;
|
|
|
|
border-top-left-radius: .3em;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2011-07-11 17:18:11 +00:00
|
|
|
|
2015-08-13 12:42:06 +00:00
|
|
|
%include ../shared/fullscreen/warning.inc.css
|
2016-09-07 14:25:50 +00:00
|
|
|
%include ../shared/ctrlTab.inc.css
|
2012-05-10 17:33:54 +00:00
|
|
|
|
2013-07-27 00:52:21 +00: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 05:19:58 +00:00
|
|
|
margin-inline-end: -6px;
|
2013-07-27 00:52:21 +00:00
|
|
|
margin-top: -7px;
|
|
|
|
}
|
|
|
|
|
2013-03-22 19:15:58 +00:00
|
|
|
/* Customization mode */
|
|
|
|
|
2013-04-15 05:34:52 +00:00
|
|
|
%include ../shared/customizableui/customizeMode.inc.css
|
2013-03-22 21:28:34 +00:00
|
|
|
|
2013-04-11 19:50:07 +00:00
|
|
|
/* End customization mode */
|
2013-03-22 19:15:58 +00:00
|
|
|
|
2013-11-17 09:32:40 +00:00
|
|
|
%include ../shared/UITour.inc.css
|
2014-01-31 02:25:45 +00:00
|
|
|
|
|
|
|
#UITourTooltipDescription {
|
2014-03-15 21:21:20 +00:00
|
|
|
font-size: 1.18rem;
|
|
|
|
line-height: 2rem;
|
2014-01-31 02:25:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipClose {
|
2016-05-13 05:19:58 +00:00
|
|
|
margin-inline-end: -10px;
|
2014-03-15 21:21:20 +00:00
|
|
|
margin-top: -14px;
|
|
|
|
}
|
|
|
|
|
2014-05-12 21:35:39 +00:00
|
|
|
%include ../shared/contextmenu.inc.css
|
|
|
|
|
|
|
|
#context-navigation > .menuitem-iconic {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-06-03 22:34:44 +00:00
|
|
|
|
2015-10-15 22:15:04 +00:00
|
|
|
.browser-extension-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
2015-06-03 22:34:44 +00:00
|
|
|
padding: 0;
|
2015-10-22 18:36:47 +00:00
|
|
|
overflow: hidden;
|
2015-06-03 22:34:44 +00:00
|
|
|
}
|
2016-08-09 19:08:04 +00:00
|
|
|
|
|
|
|
.cui-widget-panelview[id^=PanelUI-webext-] {
|
|
|
|
border-radius: 3.5px;
|
|
|
|
}
|
|
|
|
|
2017-08-02 19:49:25 +00:00
|
|
|
.webextension-popup-browser,
|
|
|
|
.webextension-popup-stack {
|
2016-08-09 19:08:04 +00:00
|
|
|
border-radius: inherit;
|
|
|
|
}
|