Dactyloidae/toolkit/themes/osx/global/wizard.css
2026-04-05 14:25:41 +01:00

143 lines
3.3 KiB
CSS

/* 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");
wizard {
padding: 14px;
}
#header {
display: inline !important;
}
.wizard-header {
-moz-appearance: dialog;
}
.wizard-header-box-1 {
color: #000;
}
.wizard-header-box-text {
padding: 6px 10px;
font: menu;
font-weight: bold;
}
.wizard-header-label {
margin-left: 23px;
font-weight: bold;
}
.wizard-header-box-icon {
margin-top: 3px;
margin-inline-end: 20px;
margin-bottom: 0;
margin-inline-start: 3px;
}
wizard[branded="true"] .wizard-header-icon {
list-style-image: url("chrome://branding/content/icon48.png");
}
.wizard-page-box {
padding: 15px 23px;
-moz-appearance: dialog;
}
.wizard-buttons-separator {
margin: 0 !important;
border-bottom: 1px solid #fff !important;
}
.wizard-buttons-btm {
padding: 3px 6px 6px;
}
.wizard-button {
font: menu !important;
}
/* On macOS dark appearance, avoid relying on semantic colors that can
* produce white-on-light combinations in XUL wizard chrome. */
:root:-moz-lwtheme-brighttext wizard,
:root[lwtheme-brighttext] wizard {
-moz-appearance: none !important;
background-color: #2b2b2b !important;
color: #e6e6e6 !important;
}
:root:-moz-lwtheme-brighttext .wizard-header,
:root[lwtheme-brighttext] .wizard-header,
:root:-moz-lwtheme-brighttext .wizard-page-box,
:root[lwtheme-brighttext] .wizard-page-box,
:root:-moz-lwtheme-brighttext .wizard-buttons-btm,
:root[lwtheme-brighttext] .wizard-buttons-btm {
-moz-appearance: none !important;
background-color: #2b2b2b !important;
color: #e6e6e6 !important;
}
:root:-moz-lwtheme-brighttext .wizard-header-box-1,
:root[lwtheme-brighttext] .wizard-header-box-1,
:root:-moz-lwtheme-brighttext .wizard-header-label,
:root[lwtheme-brighttext] .wizard-header-label,
:root:-moz-lwtheme-brighttext description,
:root[lwtheme-brighttext] description,
:root:-moz-lwtheme-brighttext label,
:root[lwtheme-brighttext] label {
color: #f0f0f0 !important;
}
:root:-moz-lwtheme-brighttext .wizard-buttons-separator,
:root[lwtheme-brighttext] .wizard-buttons-separator {
border-bottom: 1px solid #505050 !important;
}
@media (prefers-color-scheme: dark) {
wizard,
.wizard-header,
.wizard-page-box,
.wizard-buttons-btm {
-moz-appearance: none !important;
background-color: #2b2b2b !important;
color: #e6e6e6 !important;
}
.wizard-header-box-1,
.wizard-header-label,
description,
label {
color: #f0f0f0 !important;
}
.wizard-buttons-separator {
border-bottom: 1px solid #505050 !important;
}
.wizard-button {
-moz-appearance: none !important;
background-color: #3b3b3b !important;
color: #f0f0f0 !important;
border: 1px solid #5f5f5f !important;
border-radius: 6px !important;
text-shadow: none !important;
}
.wizard-button:hover:not([disabled="true"]) {
background-color: #4a4a4a !important;
}
.wizard-button:hover:active:not([disabled="true"]) {
background-color: #2f2f2f !important;
}
.wizard-button[disabled="true"] {
color: #8d8d8d !important;
border-color: #505050 !important;
background-color: #333333 !important;
}
}