feat: update UI styles for Mica support and adjust font size in URL bar

This commit is contained in:
mr. M
2024-12-05 21:57:11 +01:00
parent f6cbe1c4bc
commit 8d3e33e343
3 changed files with 8 additions and 14 deletions

View File

@@ -110,3 +110,10 @@
margin-inline-end: 8px;
}
}
@media (-moz-windows-mica) {
:root[should-hide='true'] .titlebar-buttonbox {
/* We need to add a background so windows doesnt generate a default one */
background: var(--zen-branding-bg);
}
}

View File

@@ -11,7 +11,6 @@
--urlbarView-highlight-background: var(--toolbarbutton-hover-background);
border-radius: var(--toolbarbutton-border-radius);
padding: 1px;
font-size: 1.1em;
}
#searchbar:focus-within {
@@ -344,6 +343,7 @@ button.popup-notification-dropmarker {
top: 0 !important;
--urlbar-container-height: 55px !important;
--urlbar-margin-inline: 10px !important;
font-size: 1.1em;
& #urlbar-background {
/* We cant have a transparent background with a backdrop-filter because on normal websites,