% 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/compacttheme.inc.css

@supports not -moz-bool-pref("browser.proton.enabled") {
/**
 * macOS vibrancy effects only work when there is no background colour behind
 * the effect. We disable transparency in fullscreen so #browser can't be seen
 * through the toolbar if the latter shifts over the former.
 */
:root:not([OSXLionFullscreen]) #navigator-toolbox:-moz-lwtheme-darktext {
  background-color: transparent;
}

#TabsToolbar:-moz-lwtheme-darktext {
  appearance: auto;
  -moz-default-appearance: -moz-mac-vibrant-titlebar-light;
  -moz-font-smoothing-background-color: -moz-mac-vibrant-titlebar-light;
}

.tabbrowser-tab[multiselected]:-moz-lwtheme-darktext,
.tabbrowser-tab[visuallyselected=true]:-moz-lwtheme-darktext {
  -moz-font-smoothing-background-color: var(--toolbar-bgcolor);
}
} /* END !proton */
