This commit is contained in:
vinceliuice 2024-01-18 16:30:20 +08:00
parent 63930d177f
commit 58191d7530
3 changed files with 9 additions and 11 deletions

View File

@ -739,6 +739,7 @@ config_firefox() {
echo "user_pref(\"browser.uidensity\", 0);" >> "${d}/prefs.js"
echo "user_pref(\"layers.acceleration.force-enabled\", true);" >> "${d}/prefs.js"
echo "user_pref(\"mozilla.widget.use-argb-visuals\", true);" >> "${d}/prefs.js"
echo "user_pref(\"widget.gtk.rounded-bottom-corners.enabled\", true);" >> "${d}/prefs.js"
fi
done
}

View File

@ -7,16 +7,18 @@
#nav-bar {
border-top-left-radius: 12px !important;
border-top-right-radius: 12px !important;
box-shadow: var(--gnome-headerbar-box-shadow) !important;
}
#nav-bar:-moz-window-inactive {
box-shadow: var(--gnome-inactive-headerbar-box-shadow) !important;
}
/* stylelint-disable-next-line media-query-no-invalid */
@media (-moz-bool-pref: "widget.gtk.rounded-bottom-corners.enabled") {
#nav-bar {
/* The body clip below covers this. */
border-radius: 0 !important;
}
body, dialog,
body,
dialog,
body::backdrop,
dialog::backdrop {
/* Use an uniform clip to allow WebRender to optimize it better */
border-radius: 12px !important;

View File

@ -9,11 +9,6 @@
/* Headerbar CSD colors */
:root[tabsintitlebar] #nav-bar {
border: none !important;
border-bottom: none !important;
box-shadow: var(--gnome-headerbar-box-shadow) !important;
}
:root[tabsintitlebar] #nav-bar:-moz-window-inactive {
box-shadow: var(--gnome-inactive-headerbar-box-shadow) !important;
}
/* Headerbar buttons */