popup/menu styling #22 #28 #35

This commit is contained in:
bmFtZQ 2022-06-19 23:05:53 +08:00
parent 7184e2c721
commit 9653c08d39
9 changed files with 377 additions and 64 deletions

View file

@ -29,7 +29,7 @@
}
/* hide space above tabs when maximised for non-macOS versions of Firefox */
@supports not -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
@media not (-moz-platform: macos) {
:root:is([inFullscreen], :not([tabsintitlebar]), [sizemode="maximized"]) #titlebar,
#toolbar-menubar:not([inactive])+#TabsToolbar {
--tab-block-margin: 0px !important;
@ -252,7 +252,7 @@ toolbarbutton[part="scrollbutton-down"] {
}
/* mac titlebar buttons */
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
@media (-moz-platform: macos) {
@media (-moz-mac-big-sur-theme:0) {
.titlebar-buttonbox {
margin-inline: 10px !important;
@ -299,7 +299,6 @@ toolbarbutton[part="scrollbutton-down"] {
margin-inline-end: 7px !important;
}
.tabbrowser-tab:is([visuallyselected="true"], [multiselected])>.tab-stack>.tab-background {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0px 2px rgba(0, 0, 0, 0.2) !important;
}