Fixed firefox issues

This commit is contained in:
Vince 2021-04-28 18:47:09 +08:00
parent e891e81636
commit 3343ef3d5c
3 changed files with 16 additions and 6 deletions

View File

@ -34,10 +34,6 @@
}
}
:root[privatebrowsingmode="temporary"] #nav-bar {
overflow: hidden;
}
#TabsToolbar .private-browsing-indicator {
display: none !important;
}

View File

@ -8,7 +8,7 @@ menupopup {
-moz-appearance: none !important;
background: var(--gnome-menu-background) !important;
border: 1px solid var(--gnome-menu-border-color) !important;
border-radius: 8px;
border-radius: 8px !important;
padding: 4px 0 !important;
color: var(--gnome-toolbar-color) !important;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
@ -54,7 +54,7 @@ panelview {
background: var(--gnome-popover-background) !important;
border: 1px solid !important;
border-color: var(--gnome-popover-border-color) !important;
border-radius: 9px;
border-radius: 9px !important;
/* box-shadow: var(--gnome-popover-shadow) !important; */
padding: 12px !important;
color: var(--gnome-toolbar-color) !important;

View File

@ -115,11 +115,25 @@ tab[selected]:-moz-window-inactive {
}
/* Force tab favicon to the center */
.tab-throbber, .tab-throbber-fallback,
.tabbrowser-tab:not([busy]) .tab-icon-image,
.tabbrowser-tab:not([class*="identity-color-"]) .tab-icon-stack {
margin-left: auto !important;
}
/* If tab favicon is not present, force tab label to the center */
.tabbrowser-tab .tab-label-container {
margin-left: 0 !important;
}
.tabbrowser-tab:not([image]):not([busy]):not([progress]) .tab-label-container {
margin-left: auto !important;
}
/* If tab close button is not present, don't force favicon to the center */
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber-fallback,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([busy]) .tab-icon-image,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([image]) .tab-label-container,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-icon-stackr {
margin-left: 0 !important;
}