fix zoom reset button, menubar, moving tabs

This commit is contained in:
bmFtZQ 2021-12-06 09:40:15 +08:00
parent 837a6e6539
commit 1dea5bc95a
4 changed files with 17 additions and 10 deletions

View file

@ -78,8 +78,7 @@
}
/* preferences */
@-moz-document url-prefix(about:preferences),
url-prefix(about:addons) {
@-moz-document url-prefix(about:preferences), url-prefix(about:addons) {
.category[selected] {
position: relative !important;
border-radius: 4px !important;

View file

@ -1,8 +1,7 @@
/* EdgeFr-Fox by bmFtZQ - content/newtab.css */
/* colours */
@-moz-document url-prefix("about:newtab"),
url-prefix("about:home") {
@-moz-document url-prefix("about:newtab"), url-prefix("about:home") {
body:not([lwt-newtab], [lwt-newtab-brighttext]) {
--newtab-background-color: #F7F7F7 !important;
--newtab-background-color-secondary: #fff !important;
@ -49,9 +48,7 @@ url-prefix("about:home") {
}
}
@-moz-document url-prefix("about:newtab"),
url-prefix("about:home") {
@-moz-document url-prefix("about:newtab"), url-prefix("about:home") {
/* hide pin */
.icon.icon-pin-small {
display: none !important;

View file

@ -18,13 +18,20 @@
transition-timing-function: cubic-bezier(0, .75, .25, 1) !important;
}
#tabbrowser-tabs[movingtab]>#tabbrowser-arrowscrollbox>.tabbrowser-tab[fadein]:not([selected]):not([multiselected]),
.tabbrowser-tab[tab-grouping],
.tabbrowser-tab[tabdrop-samewindow] {
transition: transform 150ms cubic-bezier(0, .75, .25, 1) !important;
}
:root:is([inFullscreen], :not([tabsintitlebar])) #titlebar {
--tab-block-margin: 0px !important;
}
/* hide space above tabs when maximised for non-macOS versions of Firefox */
@supports not -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
:root:is([inFullscreen], :not([tabsintitlebar]), [sizemode="maximized"]) #titlebar {
:root:is([inFullscreen], :not([tabsintitlebar]), [sizemode="maximized"]) #titlebar,
#toolbar-menubar:not([inactive]) + #TabsToolbar {
--tab-block-margin: 0px !important;
}
}

View file

@ -9,8 +9,6 @@
--identity-box-margin-inline: 2px !important;
}
/* color-mix(in srgb, var(--toolbar-field-focus-border-color) 50%, transparent) */
:root:not(:-moz-lwtheme) #urlbar {
--urlbar-box-bgcolor: unset !important;
}
@ -141,3 +139,9 @@
.urlbarView-row[pinned]>.urlbarView-row-inner>.urlbarView-no-wrap>.urlbarView-type-icon {
fill: var(--toolbar-field-color) !important;
}
#userContext-icons, #urlbar-zoom-button {
padding-inline: var(--uc-urlbar-icon-inline-padding) !important;
margin-block: 0 !important;
margin-inline: 0 !important;
}