From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- toolkit/themes/osx/global/alerts/alert.css | 17 ++ toolkit/themes/osx/global/arrow/arrow-up.gif | Bin 0 -> 56 bytes .../osx/global/arrow/panelarrow-horizontal.svg | 7 + .../osx/global/arrow/panelarrow-vertical.svg | 7 + toolkit/themes/osx/global/autocomplete.css | 79 ++++++++++ toolkit/themes/osx/global/button.css | 68 ++++++++ toolkit/themes/osx/global/checkbox.css | 39 +++++ toolkit/themes/osx/global/commonDialog.css | 28 ++++ toolkit/themes/osx/global/dialog.css | 17 ++ .../themes/osx/global/dirListing/dirListing.css | 99 ++++++++++++ toolkit/themes/osx/global/dirListing/folder.png | Bin 0 -> 275 bytes toolkit/themes/osx/global/dirListing/up.png | Bin 0 -> 484 bytes toolkit/themes/osx/global/dropmarker.css | 12 ++ toolkit/themes/osx/global/findBar.css | 86 +++++++++++ toolkit/themes/osx/global/global.css | 167 ++++++++++++++++++++ .../themes/osx/global/icons/blocklist_favicon.png | Bin 0 -> 463 bytes toolkit/themes/osx/global/icons/error-64.png | Bin 0 -> 2202 bytes toolkit/themes/osx/global/icons/question-64.png | Bin 0 -> 3678 bytes toolkit/themes/osx/global/icons/search-textbox.svg | 6 + toolkit/themes/osx/global/icons/sslWarning.png | Bin 0 -> 3757 bytes toolkit/themes/osx/global/icons/warning-64.png | Bin 0 -> 3025 bytes toolkit/themes/osx/global/icons/warning-large.png | Bin 0 -> 2072 bytes toolkit/themes/osx/global/in-content/common.css | 90 +++++++++++ .../themes/osx/global/in-content/info-pages.css | 5 + toolkit/themes/osx/global/jar.mn | 47 ++++++ toolkit/themes/osx/global/menu.css | 172 +++++++++++++++++++++ toolkit/themes/osx/global/menulist.css | 49 ++++++ toolkit/themes/osx/global/moz.build | 7 + toolkit/themes/osx/global/nativescrollbars.css | 93 +++++++++++ toolkit/themes/osx/global/netError.css | 103 ++++++++++++ toolkit/themes/osx/global/popup.css | 117 ++++++++++++++ toolkit/themes/osx/global/popupnotification.css | 10 ++ toolkit/themes/osx/global/radio.css | 37 +++++ toolkit/themes/osx/global/richlistbox.css | 47 ++++++ toolkit/themes/osx/global/search-textbox.css | 57 +++++++ toolkit/themes/osx/global/splitter.css | 52 +++++++ toolkit/themes/osx/global/tabbox.css | 61 ++++++++ toolkit/themes/osx/global/tabprompts.css | 63 ++++++++ toolkit/themes/osx/global/toolbar.css | 52 +++++++ toolkit/themes/osx/global/toolbarbutton.css | 66 ++++++++ toolkit/themes/osx/global/tooltip.css | 22 +++ toolkit/themes/osx/global/tree.css | 14 ++ toolkit/themes/osx/global/wizard.css | 59 +++++++ toolkit/themes/osx/moz.build | 7 + .../osx/mozapps/downloads/unknownContentType.css | 27 ++++ .../themes/osx/mozapps/extensions/blocklist.css | 20 +++ toolkit/themes/osx/mozapps/handling/handling.css | 25 +++ toolkit/themes/osx/mozapps/jar.mn | 11 ++ toolkit/themes/osx/mozapps/moz.build | 7 + .../osx/mozapps/profile/profileSelection.css | 20 +++ toolkit/themes/osx/mozapps/update/updates.css | 104 +++++++++++++ .../themes/osx/mozapps/viewsource/viewsource.css | 5 + toolkit/themes/osx/reftests/482681-ref.xhtml | 21 +++ toolkit/themes/osx/reftests/baseline.xhtml | 161 +++++++++++++++++++ toolkit/themes/osx/reftests/checkboxsize-ref.xhtml | 33 ++++ toolkit/themes/osx/reftests/checkboxsize.xhtml | 31 ++++ toolkit/themes/osx/reftests/nostretch-ref.xhtml | 99 ++++++++++++ toolkit/themes/osx/reftests/nostretch.xhtml | 112 ++++++++++++++ toolkit/themes/osx/reftests/radiosize-ref.xhtml | 33 ++++ toolkit/themes/osx/reftests/radiosize.xhtml | 31 ++++ toolkit/themes/osx/reftests/reftest.list | 7 + 61 files changed, 2609 insertions(+) create mode 100644 toolkit/themes/osx/global/alerts/alert.css create mode 100644 toolkit/themes/osx/global/arrow/arrow-up.gif create mode 100644 toolkit/themes/osx/global/arrow/panelarrow-horizontal.svg create mode 100644 toolkit/themes/osx/global/arrow/panelarrow-vertical.svg create mode 100644 toolkit/themes/osx/global/autocomplete.css create mode 100644 toolkit/themes/osx/global/button.css create mode 100644 toolkit/themes/osx/global/checkbox.css create mode 100644 toolkit/themes/osx/global/commonDialog.css create mode 100644 toolkit/themes/osx/global/dialog.css create mode 100644 toolkit/themes/osx/global/dirListing/dirListing.css create mode 100644 toolkit/themes/osx/global/dirListing/folder.png create mode 100644 toolkit/themes/osx/global/dirListing/up.png create mode 100644 toolkit/themes/osx/global/dropmarker.css create mode 100644 toolkit/themes/osx/global/findBar.css create mode 100644 toolkit/themes/osx/global/global.css create mode 100644 toolkit/themes/osx/global/icons/blocklist_favicon.png create mode 100644 toolkit/themes/osx/global/icons/error-64.png create mode 100644 toolkit/themes/osx/global/icons/question-64.png create mode 100644 toolkit/themes/osx/global/icons/search-textbox.svg create mode 100644 toolkit/themes/osx/global/icons/sslWarning.png create mode 100644 toolkit/themes/osx/global/icons/warning-64.png create mode 100644 toolkit/themes/osx/global/icons/warning-large.png create mode 100644 toolkit/themes/osx/global/in-content/common.css create mode 100644 toolkit/themes/osx/global/in-content/info-pages.css create mode 100644 toolkit/themes/osx/global/jar.mn create mode 100644 toolkit/themes/osx/global/menu.css create mode 100644 toolkit/themes/osx/global/menulist.css create mode 100644 toolkit/themes/osx/global/moz.build create mode 100644 toolkit/themes/osx/global/nativescrollbars.css create mode 100644 toolkit/themes/osx/global/netError.css create mode 100644 toolkit/themes/osx/global/popup.css create mode 100644 toolkit/themes/osx/global/popupnotification.css create mode 100644 toolkit/themes/osx/global/radio.css create mode 100644 toolkit/themes/osx/global/richlistbox.css create mode 100644 toolkit/themes/osx/global/search-textbox.css create mode 100644 toolkit/themes/osx/global/splitter.css create mode 100644 toolkit/themes/osx/global/tabbox.css create mode 100644 toolkit/themes/osx/global/tabprompts.css create mode 100644 toolkit/themes/osx/global/toolbar.css create mode 100644 toolkit/themes/osx/global/toolbarbutton.css create mode 100644 toolkit/themes/osx/global/tooltip.css create mode 100644 toolkit/themes/osx/global/tree.css create mode 100644 toolkit/themes/osx/global/wizard.css create mode 100644 toolkit/themes/osx/moz.build create mode 100644 toolkit/themes/osx/mozapps/downloads/unknownContentType.css create mode 100644 toolkit/themes/osx/mozapps/extensions/blocklist.css create mode 100644 toolkit/themes/osx/mozapps/handling/handling.css create mode 100644 toolkit/themes/osx/mozapps/jar.mn create mode 100644 toolkit/themes/osx/mozapps/moz.build create mode 100644 toolkit/themes/osx/mozapps/profile/profileSelection.css create mode 100644 toolkit/themes/osx/mozapps/update/updates.css create mode 100644 toolkit/themes/osx/mozapps/viewsource/viewsource.css create mode 100644 toolkit/themes/osx/reftests/482681-ref.xhtml create mode 100644 toolkit/themes/osx/reftests/baseline.xhtml create mode 100644 toolkit/themes/osx/reftests/checkboxsize-ref.xhtml create mode 100644 toolkit/themes/osx/reftests/checkboxsize.xhtml create mode 100644 toolkit/themes/osx/reftests/nostretch-ref.xhtml create mode 100644 toolkit/themes/osx/reftests/nostretch.xhtml create mode 100644 toolkit/themes/osx/reftests/radiosize-ref.xhtml create mode 100644 toolkit/themes/osx/reftests/radiosize.xhtml create mode 100644 toolkit/themes/osx/reftests/reftest.list (limited to 'toolkit/themes/osx') diff --git a/toolkit/themes/osx/global/alerts/alert.css b/toolkit/themes/osx/global/alerts/alert.css new file mode 100644 index 0000000000..41356e39e7 --- /dev/null +++ b/toolkit/themes/osx/global/alerts/alert.css @@ -0,0 +1,17 @@ +/* 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/. */ + +%include ../../../shared/alert.inc.css + +#alertNotification { + appearance: none; + background: transparent; +} + +#alertBox { + border: 1px solid ThreeDShadow; + border-radius: 1px; + background-color: -moz-Dialog; + color: -moz-DialogText; +} diff --git a/toolkit/themes/osx/global/arrow/arrow-up.gif b/toolkit/themes/osx/global/arrow/arrow-up.gif new file mode 100644 index 0000000000..b8e09b21b8 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-up.gif differ diff --git a/toolkit/themes/osx/global/arrow/panelarrow-horizontal.svg b/toolkit/themes/osx/global/arrow/panelarrow-horizontal.svg new file mode 100644 index 0000000000..114fc2e9a4 --- /dev/null +++ b/toolkit/themes/osx/global/arrow/panelarrow-horizontal.svg @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/toolkit/themes/osx/global/arrow/panelarrow-vertical.svg b/toolkit/themes/osx/global/arrow/panelarrow-vertical.svg new file mode 100644 index 0000000000..3f9c7a02cf --- /dev/null +++ b/toolkit/themes/osx/global/arrow/panelarrow-vertical.svg @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/toolkit/themes/osx/global/autocomplete.css b/toolkit/themes/osx/global/autocomplete.css new file mode 100644 index 0000000000..87a3d3923a --- /dev/null +++ b/toolkit/themes/osx/global/autocomplete.css @@ -0,0 +1,79 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +html|input[nomatch="true"][highlightnonmatches="true"] { + color: red; +} + +/* ::::: autocomplete popups ::::: */ + +panel[type="autocomplete-richlistbox"] { + padding: 0px !important; + color: FieldText; + background-color: Field; + font: icon; + appearance: none; +} + +/* ::::: richlistbox autocomplete ::::: */ + +.autocomplete-richlistbox { + appearance: none; + margin: 0; +} + +.ac-type-icon { + display: none; + width: 16px; + height: 16px; + max-width: 16px; + max-height: 16px; + margin-inline-start: 6px; + margin-inline-end: 6px; +} + +.ac-site-icon { + display: none; + width: 16px; + height: 16px; + max-width: 16px; + max-height: 16px; + margin-inline-start: 6px; + margin-inline-end: 8px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.svg"); + -moz-context-properties: fill; + fill: currentColor; +} + +.ac-title { + margin-inline-start: 0; + margin-inline-end: 6px; +} + +.ac-separator { + display: none; + margin-inline-start: 0; + margin-inline-end: 6px; +} + +.ac-url { + display: none; +} + +/* Better align the URL with the title. */ +.ac-separator, +.ac-url { + margin-bottom: -2px; +} + +.ac-title-text, +.ac-separator-text, +.ac-url-text, +.ac-text-overflow-container { + padding: 0 !important; + margin: 0 !important; +} diff --git a/toolkit/themes/osx/global/button.css b/toolkit/themes/osx/global/button.css new file mode 100644 index 0000000000..4b0c231576 --- /dev/null +++ b/toolkit/themes/osx/global/button.css @@ -0,0 +1,68 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +button { + /* The horizontal margin used here come from the Aqua Human Interface + Guidelines, there should be 12 pixels between two buttons. */ + margin: 5px 6px 3px; + min-width: 79px; + color: ButtonText; + text-shadow: none; +} + +button:not([disabled="true"]):hover:active { + color: -moz-mac-buttonactivetext; +} + +/* When the window isn't focused, the default button background isn't drawn, + * so don't change the text color then: */ +button[default="true"]:not([disabled="true"], :-moz-window-inactive) { + color: -moz-mac-defaultbuttontext; +} + +/* Likewise, when active (mousedown) but not hovering, the default button + * background isn't drawn, override the previous selector for that case: */ +button[default="true"]:not(:hover):active { + color: ButtonText; +} + +.button-text { + margin-block: 1px; + margin-inline: 3px 2px; + text-align: center; +} + +button[type="default"] { + font: menu; +} + +/* .......... disabled state .......... */ + +button[disabled="true"] { + color: GrayText; +} + +/* ::::: menu buttons ::::: */ + +.button-menu-dropmarker { + display: none; + appearance: none; +} + +/* ::::: plain buttons ::::: */ + +button.plain { + margin: 0 !important; + padding: 0 !important; +} + +/* ::::: help button ::::: */ + +button[dlgtype="help"] { + appearance: auto; + -moz-default-appearance: -moz-mac-help-button; + width: 20px; +} diff --git a/toolkit/themes/osx/global/checkbox.css b/toolkit/themes/osx/global/checkbox.css new file mode 100644 index 0000000000..d569e6f551 --- /dev/null +++ b/toolkit/themes/osx/global/checkbox.css @@ -0,0 +1,39 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +checkbox { + appearance: auto; + -moz-default-appearance: checkbox-container; + -moz-box-align: center; + margin: 4px 2px; +} + +.checkbox-icon { + margin-inline-end: 2px; +} + +.checkbox-label { + margin: 1px 0; +} + +/* ..... disabled state ..... */ + +checkbox[disabled="true"] { + color: GrayText; +} + +/* ::::: checkmark image ::::: */ + +.checkbox-check { + appearance: auto; + -moz-default-appearance: checkbox; + margin: 1px 1px 0; + /* vertical-align tells native theming where to snap to. However, this doesn't + * always work reliably because of bug 503833. */ + vertical-align: top; + width: 1.3em; + height: 1.3em; +} diff --git a/toolkit/themes/osx/global/commonDialog.css b/toolkit/themes/osx/global/commonDialog.css new file mode 100644 index 0000000000..f2ff866b39 --- /dev/null +++ b/toolkit/themes/osx/global/commonDialog.css @@ -0,0 +1,28 @@ +/* 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/. */ + +#commonDialog { + line-height: 13px; +} + +#infoContainer { + max-width: 33em; +} + +#infoIcon { + margin: 3px 5px 4px; + margin-inline-end: 14px; +} + +#infoTitle, +#infoHeader, +#infoBody { + font: menu; + line-height: 16px; + margin-bottom: 6px; +} + +#infoTitle { + font-weight: bold; +} diff --git a/toolkit/themes/osx/global/dialog.css b/toolkit/themes/osx/global/dialog.css new file mode 100644 index 0000000000..26991e62ae --- /dev/null +++ b/toolkit/themes/osx/global/dialog.css @@ -0,0 +1,17 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +:host { + appearance: auto; + -moz-default-appearance: dialog; + padding: 14px; +} + +/* ::::: dialog buttons ::::: */ + +button { + font: menu; +} diff --git a/toolkit/themes/osx/global/dirListing/dirListing.css b/toolkit/themes/osx/global/dirListing/dirListing.css new file mode 100644 index 0000000000..ffa87f7442 --- /dev/null +++ b/toolkit/themes/osx/global/dirListing/dirListing.css @@ -0,0 +1,99 @@ +/* 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/. */ + +:root { + background-color: -moz-dialog; + color: -moz-dialogtext; + font: message-box; + padding-inline: 2em; +} + +body { + border: 1px solid ThreeDShadow; + border-radius: 10px; + padding: 3em; + min-width: 30em; + max-width: 65em; + margin: 4em auto; + background-color: Field; + color: FieldText; +} + +h1 { + font-size: 160%; + margin: 0 0 .6em; + border-bottom: 1px solid ThreeDLightShadow; + font-weight: normal; +} + +a { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +/* ensure multiple spaces are shown correctly. */ +td:first-child > a { + white-space: pre; +} + +p { + font-size: 110%; +} + +#UI_goUp { + margin-top: 0; + float: inline-start; +} + +#UI_showHidden { + margin-top: 0; + float: inline-end; +} + +table { + clear: both; + width: 90%; + margin: 0 auto; +} + +thead { + font-size: 130%; +} + +/* last modified */ +th:last-child { + text-align: center; +} + +th:hover > a { + text-decoration: underline; +} + +body > table > tbody > tr:hover { + outline: 1px solid ThreeDLightShadow; + -moz-outline-radius: .3em; +} + +/* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */ +td:not(:first-child) { + width: 0; +} + +.up { + padding: 0 .5em; + margin-inline-start: 20px; +} + +.up::before { + margin-inline: -20px 4px; + vertical-align: middle; + content: url(chrome://global/skin/dirListing/up.png); +} + +.dir::before { + content: url(chrome://global/skin/dirListing/folder.png); +} diff --git a/toolkit/themes/osx/global/dirListing/folder.png b/toolkit/themes/osx/global/dirListing/folder.png new file mode 100644 index 0000000000..bc9ffe381e Binary files /dev/null and b/toolkit/themes/osx/global/dirListing/folder.png differ diff --git a/toolkit/themes/osx/global/dirListing/up.png b/toolkit/themes/osx/global/dirListing/up.png new file mode 100644 index 0000000000..dc92992a92 Binary files /dev/null and b/toolkit/themes/osx/global/dirListing/up.png differ diff --git a/toolkit/themes/osx/global/dropmarker.css b/toolkit/themes/osx/global/dropmarker.css new file mode 100644 index 0000000000..c506c61276 --- /dev/null +++ b/toolkit/themes/osx/global/dropmarker.css @@ -0,0 +1,12 @@ +/* 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/. */ + +:host { + appearance: auto; + -moz-default-appearance: -moz-menulist-arrow-button; + width: 16px; + /* Cut off inheritance for dropmarkers within other widgets where + -moz-image-region might be set for the primary icon. */ + -moz-image-region: auto; +} diff --git a/toolkit/themes/osx/global/findBar.css b/toolkit/themes/osx/global/findBar.css new file mode 100644 index 0000000000..e53c3510b2 --- /dev/null +++ b/toolkit/themes/osx/global/findBar.css @@ -0,0 +1,86 @@ +/* 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/. */ + +%filter substitution +%define findUiDefaultBorderColor rgba(0,0,0,.35) + +%include ../../shared/findBar.inc.css + +findbar { + background-image: linear-gradient(#e8e8e8, #d0d0d0); + border-top-color: #888; +} + +.findbar-container { + padding-inline-start: 2px; +} + +label.findbar-find-fast { + color: #6d6d6d; + margin: 0; + margin-inline-start: 12px; +} + +label.findbar-find-fast:-moz-lwtheme { + color: inherit; +} + +.findbar-closebutton { + margin-inline: 4px 0; + padding-inline: 0 8px; + border: none; + /* make sure the closebutton is displayed as the first element in the bar: */ + -moz-box-ordinal-group: 0; +} + +.findbar-find-next:not(:-moz-lwtheme), +.findbar-find-previous:not(:-moz-lwtheme), +.findbar-button { + border-style: solid; + border-color: @findUiDefaultBorderColor@; + color: black; + background-image: linear-gradient(#f6f6f6, #e9e9e9); +} + +.findbar-button { + appearance: none; + border-width: 1px; + margin-inline-end: 5px; + padding: 2px 9px; + border-radius: 10000px; +} + +.findbar-find-next:-moz-lwtheme, +.findbar-find-previous:-moz-lwtheme { + border-color: var(--lwt-toolbar-field-border-color, @findUiDefaultBorderColor@); +} + +.findbar-find-next:not(:-moz-lwtheme, [disabled]):hover:active, +.findbar-find-previous:not(:-moz-lwtheme, [disabled]):hover:active, +.findbar-button:not([disabled]):hover:active, +.findbar-button:not([disabled])[checked="true"] { + background-image: linear-gradient(#dadada, #dadada); + box-shadow: 0 1px rgba(255,255,255,.4), inset 0 1px 3px rgba(0,0,0,.2); +} + +html|input.findbar-textbox { + border: 1px solid var(--lwt-toolbar-field-border-color, @findUiDefaultBorderColor@); + -moz-context-properties: fill, fill-opacity; + fill: currentColor; + fill-opacity: 0.8; + background-image: url("chrome://global/skin/icons/search-textbox.svg"); + background-repeat: no-repeat; + background-position: 5px center; + margin: 0; + padding-inline-start: 19px; +} + +html|input.findbar-textbox:focus { + box-shadow: 0 0 0 1px var(--toolbar-field-focus-border-color) inset, + 0 0 0 1px var(--toolbar-field-focus-border-color); +} + +html|input.findbar-textbox:-moz-locale-dir(rtl) { + background-position-x: right 5px; +} diff --git a/toolkit/themes/osx/global/global.css b/toolkit/themes/osx/global/global.css new file mode 100644 index 0000000000..c9c70189b9 --- /dev/null +++ b/toolkit/themes/osx/global/global.css @@ -0,0 +1,167 @@ +% 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/. + +%include ../../shared/global.inc.css + +:root { + /* ::::: Variables ::::: */ + --arrowpanel-padding: 16px; + --default-arrowpanel-background: #fff; + --default-arrowpanel-color: hsl(0,0%,10%); + --default-arrowpanel-border-color: hsla(210,4%,10%,.05); + --arrowpanel-background: var(--default-arrowpanel-background); + --arrowpanel-color: var(--default-arrowpanel-color); + --arrowpanel-border-color: var(--default-arrowpanel-border-color); + --arrowpanel-border-radius: 3.5px; + --panel-disabled-color: GrayText; + --panel-description-color: hsl(0,0%,50%); + + --focus-ring-box-shadow: 0 0 0 1px -moz-mac-focusring inset, 0 0 0 1px -moz-mac-focusring; + /* ::::: Styles ::::: */ + appearance: auto; + -moz-default-appearance: dialog; + background-color: #FFFFFF; + color: -moz-DialogText; + font: message-box; +} + +/* ::::: Alert icons :::::*/ + +.message-icon, +.alert-icon, +.error-icon, +.question-icon { + width: 32px; + height: 32px; + margin: 6px; + margin-inline-end: 20px; +} + +.message-icon { + list-style-image: url("chrome://global/skin/icons/info.svg"); +} + +.alert-dialog #infoIcon, +.alert-icon { + list-style-image: url("chrome://global/skin/icons/warning-64.png"); +} + +.error-icon { + list-style-image: url("chrome://global/skin/icons/error-64.png"); +} + +.question-icon { + list-style-image: url("chrome://global/skin/icons/question-64.png"); +} + +/* ::::: iframe ::::: */ + +xul|iframe { + border: none; + width: 100px; + height: 100px; + min-width: 10px; + min-height: 10px; +} + +@supports -moz-bool-pref("layout.css.emulate-moz-box-with-flex") { + /* In emulation,