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 */ /* preferences */
@-moz-document url-prefix(about:preferences), @-moz-document url-prefix(about:preferences), url-prefix(about:addons) {
url-prefix(about:addons) {
.category[selected] { .category[selected] {
position: relative !important; position: relative !important;
border-radius: 4px !important; border-radius: 4px !important;

View file

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

View file

@ -18,13 +18,20 @@
transition-timing-function: cubic-bezier(0, .75, .25, 1) !important; 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 { :root:is([inFullscreen], :not([tabsintitlebar])) #titlebar {
--tab-block-margin: 0px !important; --tab-block-margin: 0px !important;
} }
/* hide space above tabs when maximised for non-macOS versions of Firefox */ /* hide space above tabs when maximised for non-macOS versions of Firefox */
@supports not -moz-bool-pref("layout.css.osx-font-smoothing.enabled") { @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; --tab-block-margin: 0px !important;
} }
} }

View file

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