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
|
|
|
|
2018-10-30 22:04:23 +03:00
|
|
|
%include ../../../toolkit/themes/osx/global/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
|
|
|
|
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
|
|
|
|
|
2014-10-23 17:49:34 +04:00
|
|
|
:root {
|
2017-08-03 10:15:23 +03:00
|
|
|
--toolbar-non-lwt-bgcolor: #f9f9fa;
|
|
|
|
--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;
|
2017-09-15 14:00:40 +03:00
|
|
|
--toolbarbutton-icon-fill-opacity: .7;
|
2014-10-23 17:49:34 +04:00
|
|
|
|
2015-08-05 19:55:53 +03:00
|
|
|
--panel-separator-color: hsla(210,4%,10%,.14);
|
2018-11-07 20:58:44 +03:00
|
|
|
--arrowpanel-dimmed: hsla(0,0%,80%,.35);
|
|
|
|
--arrowpanel-dimmed-further: hsla(0,0%,80%,.5);
|
2018-03-28 22:22:29 +03:00
|
|
|
--arrowpanel-dimmed-even-further: hsla(0,0%,80%,.8);
|
2015-09-03 21:06:00 +03:00
|
|
|
|
2018-10-30 21:59:18 +03:00
|
|
|
--arrowpanel-field-background: rgba(249,249,250,.3);
|
|
|
|
|
2015-09-03 21:06:00 +03:00
|
|
|
--urlbar-separator-color: hsla(0,0%,16%,.2);
|
2017-08-21 18:05:41 +03:00
|
|
|
|
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-06-01 18:13:27 +03: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 21:59:18 +03:00
|
|
|
|
|
|
|
--arrowpanel-field-background: rgba(12,12,13,.3);
|
2018-03-28 22:22:29 +03:00
|
|
|
}
|
|
|
|
|
2018-02-02 17:54:52 +03:00
|
|
|
#navigator-toolbox {
|
2018-08-17 12:22:42 +03:00
|
|
|
-moz-appearance: none;
|
2018-02-02 17:54:52 +03:00
|
|
|
--tabs-border-color: rgba(0,0,0,.3);
|
|
|
|
}
|
|
|
|
|
2018-08-17 12:22:42 +03: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 21:16:52 +03:00
|
|
|
box-shadow: inset 0 -1px var(--chrome-content-separator-color);
|
2018-08-17 12:22:42 +03:00
|
|
|
}
|
|
|
|
|
2018-02-02 17:54:52 +03:00
|
|
|
#tabbrowser-tabs {
|
|
|
|
--tab-line-color: #0a84ff;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2018-11-02 20:00:46 +03:00
|
|
|
:root {
|
2008-05-03 18:47:03 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: #eeeeee;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2013-05-02 22:15:29 +04:00
|
|
|
#titlebar-buttonbox > .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
|
|
|
}
|
|
|
|
|
2017-10-16 00:58:50 +03:00
|
|
|
/* The fullscreen button doesnt show on Yosemite(10.10) or above so dont give it a
|
|
|
|
border there */
|
2017-12-14 13:50:56 +03:00
|
|
|
@media (-moz-mac-yosemite-theme: 0) {
|
2018-11-07 12:54:26 +03:00
|
|
|
.titlebar-spacer[type="fullscreen-button"] {
|
2017-10-16 00:58:50 +03:00
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2008-12-08 17:59:41 +03:00
|
|
|
}
|
|
|
|
|
2014-03-28 21:36:00 +04:00
|
|
|
/** 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
|
|
|
}
|
|
|
|
|
2018-11-02 20:00:46 +03:00
|
|
|
.browser-toolbar:not(.titlebar-color) {
|
2017-06-30 20:47:05 +03:00
|
|
|
-moz-appearance: none;
|
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
|
|
|
|
2014-06-06 10:53:35 +04:00
|
|
|
/* Draw the bottom border of the tabs toolbar when it's not using
|
|
|
|
-moz-appearance: toolbar. */
|
2018-10-25 19:03:14 +03: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 21:00:51 +03:00
|
|
|
box-shadow: 0 -@navbarTabsShadowSize@ 0 var(--tabs-border-color);
|
2014-06-06 10:53:35 +04:00
|
|
|
}
|
|
|
|
|
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) {
|
2018-02-02 17:54:52 +03:00
|
|
|
#navigator-toolbox:not(:-moz-lwtheme) {
|
2017-11-03 21:00:51 +03:00
|
|
|
--tabs-border-color: rgba(0,0,0,.2);
|
2017-08-03 10:15:23 +03:00
|
|
|
}
|
2018-02-02 17:54:52 +03:00
|
|
|
#navigator-toolbox:not(:-moz-lwtheme):-moz-window-inactive {
|
2017-11-03 21:00:51 +03:00
|
|
|
--tabs-border-color: rgba(0,0,0,.05);
|
2017-08-03 10:15:23 +03:00
|
|
|
}
|
|
|
|
|
2018-10-25 19:03:14 +03:00
|
|
|
#main-window[tabsintitlebar] #nav-bar:not([tabs-hidden="true"]):not(:-moz-lwtheme) {
|
2017-11-03 21:00:51 +03:00
|
|
|
box-shadow: 0 -@navbarTabsShadowSize@ 0 var(--tabs-border-color);
|
2014-09-30 15:55:27 +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;
|
|
|
|
}
|
|
|
|
|
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 ----- */
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2016-05-20 15:44:38 +03:00
|
|
|
#menu_unsortedBookmarks,
|
2013-07-25 14:02:05 +04:00
|
|
|
#BMB_unsortedBookmarks,
|
|
|
|
#panelMenu_unsortedBookmarks {
|
2018-05-29 21:37:48 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.svg");
|
2012-09-30 08:56:40 +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
|
|
|
|
2018-07-31 11:49:53 +03:00
|
|
|
/* Override OSX-specific toolkit findbar button styles */
|
|
|
|
.findbar-button {
|
2018-12-14 22:51:13 +03:00
|
|
|
background-image: none !important;
|
2018-09-14 21:30:29 +03:00
|
|
|
box-shadow: none !important;
|
2018-07-31 11:49:53 +03:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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
|
|
|
|
|
2018-03-29 01:38:37 +03:00
|
|
|
:root {
|
|
|
|
--toolbar-field-focus-border-color: -moz-mac-focusring;
|
|
|
|
}
|
|
|
|
|
2017-05-22 16:40:19 +03:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
|
|
|
font-size: 1.25em;
|
2017-05-15 17:02:55 +03:00
|
|
|
}
|
|
|
|
|
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. */
|
|
|
|
html|input.urlbar-input {
|
|
|
|
line-height: 1.745em;
|
|
|
|
}
|
|
|
|
|
2018-12-18 03:38:21 +03:00
|
|
|
#urlbar:not(.hidden-focus)[focused="true"],
|
2017-05-15 17:02:55 +03:00
|
|
|
.searchbar-textbox[focused="true"] {
|
2018-03-29 01:38:37 +03: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 17:02:55 +03:00
|
|
|
}
|
|
|
|
|
2015-07-23 14:26:43 +03:00
|
|
|
%include ../shared/identity-block/identity-block.inc.css
|
|
|
|
|
2017-07-06 10:37:19 +03:00
|
|
|
#identity-box:not(:active):-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
|
|
|
}
|
2012-09-30 08:56:40 +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;
|
|
|
|
}
|
|
|
|
|
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");
|
|
|
|
}
|
|
|
|
|
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
|
2017-08-17 14:35:05 +03:00
|
|
|
%include ../shared/urlbar-autocomplete.inc.css
|
2016-08-20 00:15:56 +03:00
|
|
|
|
2018-02-02 18:09:22 +03:00
|
|
|
:root {
|
|
|
|
--urlbar-popup-url-color: hsl(210, 77%, 47%);
|
|
|
|
--urlbar-popup-action-color: hsl(178, 100%, 28%);
|
|
|
|
}
|
|
|
|
|
2017-10-03 18:37:00 +03: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 20:55:06 +03:00
|
|
|
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
|
|
|
|
border-top: 1px solid #C7C7C7;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2018-05-22 13:21:52 +03:00
|
|
|
#editBookmarkPanelRows > vbox > textbox,
|
|
|
|
#editBookmarkPanelRows > vbox > hbox > textbox {
|
2012-08-21 05:38:07 +04:00
|
|
|
-moz-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) !important;
|
2012-08-21 05:38:07 +04:00
|
|
|
margin: 0;
|
|
|
|
padding: 3px 6px;
|
|
|
|
}
|
|
|
|
|
2018-05-22 13:21:52 +03:00
|
|
|
#editBookmarkPanelRows > vbox > textbox[focused="true"],
|
|
|
|
#editBookmarkPanelRows > vbox > hbox > textbox[focused="true"] {
|
2012-08-21 05:38:07 +04:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2018-03-16 19:26:49 +03:00
|
|
|
/* The following elements come from editBookmarkPanel.inc.xul. Styling that's
|
2009-03-26 01:18:23 +03:00
|
|
|
specific to the editBookmarkPanel should be in browser.css. Styling that
|
2018-03-16 19:26:49 +03:00
|
|
|
should be shared by all editBookmarkPanel.inc.xul consumers should be in
|
|
|
|
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 {
|
2008-04-08 05:41:11 +04:00
|
|
|
-moz-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;
|
2018-10-31 14:19:18 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/add.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
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;
|
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 > .menulist-dropmarker {
|
2008-04-08 05:41:11 +04:00
|
|
|
-moz-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
|
|
|
}
|
|
|
|
|
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;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
/**** expanders ****/
|
|
|
|
|
|
|
|
#editBookmarkPanel .expander-up,
|
|
|
|
#editBookmarkPanel .expander-down {
|
2018-10-30 22:04:23 +03:00
|
|
|
-moz-appearance: none; /* override button.css */
|
|
|
|
-moz-context-properties: fill, fill-opacity;
|
|
|
|
fill: currentColor;
|
|
|
|
fill-opacity: 0.8;
|
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
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2018-10-30 22:04:23 +03:00
|
|
|
#editBookmarkPanel .expander-up {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/arrow-up-12.svg");
|
|
|
|
}
|
2012-09-30 08:56:40 +04:00
|
|
|
|
2018-10-30 22:04:23 +03:00
|
|
|
#editBookmarkPanel .expander-down {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-12.svg");
|
2012-09-30 08:56:40 +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;
|
2011-01-08 03:35:33 +03:00
|
|
|
}
|
|
|
|
|
2018-08-23 16:21:59 +03:00
|
|
|
#sidebar-box:not([lwt-sidebar]) {
|
|
|
|
-moz-appearance: -moz-mac-source-list;
|
|
|
|
-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
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2018-02-11 01:24:50 +03:00
|
|
|
.browserContainer > findbar:-moz-lwtheme {
|
2018-11-09 13:44:15 +03:00
|
|
|
background-color: var(--lwt-accent-color);
|
|
|
|
background-image: linear-gradient(var(--toolbar-bgcolor), var(--toolbar-bgcolor));
|
2018-11-18 21:16:52 +03:00
|
|
|
border-top-color: var(--chrome-content-separator-color);
|
2018-11-02 20:00:46 +03:00
|
|
|
color: var(--toolbar-color);
|
2018-02-11 01:24:50 +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 {
|
2013-06-17 14:49:57 +04:00
|
|
|
margin-top: 1px;
|
2013-05-02 20:05:50 +04:00
|
|
|
margin-bottom: 0;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2018-09-24 23:36:59 +03: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 03:46:26 +03:00
|
|
|
box-shadow: var(--focus-ring-box-shadow);
|
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
|
|
|
}
|
|
|
|
|
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
|
|
|
text-shadow: @loweredShadow@;
|
|
|
|
}
|
|
|
|
|
2017-07-19 02:27:31 +03:00
|
|
|
:root:-moz-any([inFullscreen], [tabsintitlebar]) #TabsToolbar:not(:-moz-lwtheme) {
|
2017-11-16 21:05:53 +03:00
|
|
|
-moz-appearance: -moz-mac-vibrant-titlebar-dark;
|
|
|
|
-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;
|
|
|
|
}
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2010-11-29 17:18:40 +03:00
|
|
|
#tabbrowser-tabs {
|
2010-03-17 09:36:13 +03:00
|
|
|
-moz-box-align: stretch;
|
2018-09-20 13:22:55 +03:00
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
position: static;
|
2010-11-29 17:18:40 +03:00
|
|
|
}
|
|
|
|
|
2007-09-18 04:59:41 +04:00
|
|
|
/**
|
|
|
|
* Tab Drag and Drop
|
|
|
|
*/
|
|
|
|
|
2017-10-02 21:01:21 +03:00
|
|
|
.tab-drop-indicator-box {
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2018-11-09 19:17:24 +03:00
|
|
|
padding: 0 0.8em;
|
2014-05-31 01:21:11 +04:00
|
|
|
margin-left: 0.25em;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element .button-text {
|
2018-11-09 19:17:24 +03:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
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);
|
2018-11-09 19:17:24 +03:00
|
|
|
padding: 0 1.1em;
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
2018-11-09 19:17:24 +03:00
|
|
|
padding-inline-start: 0.5em;
|
|
|
|
padding-inline-end: 0;
|
2014-05-31 01:21:11 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker {
|
|
|
|
display: -moz-box;
|
2018-12-12 21:20:02 +03:00
|
|
|
-moz-context-properties: fill;
|
|
|
|
fill: currentColor;
|
|
|
|
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-12.svg");
|
2018-11-09 19:17:24 +03:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
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;
|
2018-12-12 21:20:02 +03:00
|
|
|
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-12.svg");
|
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;
|
|
|
|
}
|
|
|
|
|
2017-06-09 22:59:04 +03:00
|
|
|
.popup-notification-description[popupid="addon-webext-permissions"],
|
2018-01-19 21:04:25 +03:00
|
|
|
.popup-notification-description[popupid="addon-webext-permissions-notification"] {
|
|
|
|
margin-inline-start: -1px;
|
2017-06-01 23:20:29 +03:00
|
|
|
}
|
|
|
|
|
2017-06-09 22:59:04 +03:00
|
|
|
.addon-webext-perm-notification-content,
|
2017-06-01 23:20:29 +03:00
|
|
|
.addon-installed-notification-content {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
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-06-01 23:20:29 +03:00
|
|
|
.addon-addon-icon,
|
|
|
|
.addon-toolbar-icon {
|
2017-01-20 21:28:47 +03:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2017-06-01 23:20:29 +03:00
|
|
|
vertical-align: bottom;
|
|
|
|
margin-bottom: 1px;
|
2017-07-27 16:24:21 +03:00
|
|
|
-moz-context-properties: fill;
|
|
|
|
fill: currentColor;
|
2017-06-01 23:20:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.addon-addon-icon {
|
2017-08-10 15:58:58 +03:00
|
|
|
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.svg");
|
2017-01-20 21:28:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.addon-toolbar-icon {
|
2017-04-28 19:17:07 +03:00
|
|
|
list-style-image: url("chrome://browser/skin/menu.svg");
|
2017-01-20 21:28:47 +03:00
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|