userChrome: add -moz-mac, update font

This commit is contained in:
Gerome Matilla 2020-07-09 07:06:11 +08:00
parent ff1d243b16
commit bc1aaa7ba8

View File

@ -56,10 +56,25 @@
Transparent Window Transparent Window
*/ */
#main-window { #main-window {
font-kerning: normal;
background: transparent !important; background: transparent !important;
border: none !important; border: none !important;
-moz-appearance: -moz-mac-vibrancy-dark !important;
}
/*
*/
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-variant-ligatures: none;
font-kerning: normal;
} }
/* /*
@ -128,6 +143,7 @@ toolbarbutton {
.megabar[breakout-extend="true"]:not([open="true"]) > #urlbar-background { .megabar[breakout-extend="true"]:not([open="true"]) > #urlbar-background {
box-shadow: none !important; box-shadow: none !important;
background: transparent !important; background: transparent !important;
-moz-appearance: -moz-mac-vibrancy-dark !important;
} }
.megabar[open=true] > #urlbar-background { .megabar[open=true] > #urlbar-background {
@ -220,6 +236,7 @@ toolbarbutton {
#back-button > .toolbarbutton-icon { #back-button > .toolbarbutton-icon {
--backbutton-background: transparent !important; --backbutton-background: transparent !important;
border: none !important; border: none !important;
-moz-appearance: -moz-mac-vibrancy-dark !important;
} }
#back-button { #back-button {
@ -266,6 +283,7 @@ The tabs container
.toolbar-items { .toolbar-items {
background-color: transparent !important; background-color: transparent !important;
-moz-appearance: -moz-mac-vibrancy-dark !important;
} }
#tabbrowser-tabs { #tabbrowser-tabs {
@ -291,6 +309,7 @@ The tabs container
.tab-background { .tab-background {
border: none !important; border: none !important;
background: transparent !important; background: transparent !important;
-moz-appearance: -moz-mac-vibrancy-dark !important;
} }
.tab-background[selected="true"] { .tab-background[selected="true"] {
@ -411,6 +430,7 @@ tab.tabbrowser-tab {
#TabsToolbar { #TabsToolbar {
--toolbarbutton-active-background: transparent !important; --toolbarbutton-active-background: transparent !important;
--toolbarbutton-hover-background: transparent !important; --toolbarbutton-hover-background: transparent !important;
-moz-appearance: -moz-mac-vibrancy-dark !important;
} }
tab.tabbrowser-tab:hover { tab.tabbrowser-tab:hover {
@ -435,6 +455,7 @@ The findbar
-moz-appearance: none !important; -moz-appearance: none !important;
background: transparent !important; background: transparent !important;
border: none !important; border: none !important;
-moz-appearance: -moz-mac-vibrancy-dark !important;
} }
#browser #appcontent #tabbrowser-tabbox findbar { #browser #appcontent #tabbrowser-tabbox findbar {
@ -472,6 +493,7 @@ Contains history, bookmarks, and etc.
#sidebar-search-container { #sidebar-search-container {
background-color: var(--bf-sidebar-bg) !important; background-color: var(--bf-sidebar-bg) !important;
-moz-appearance: -moz-mac-vibrancy-dark !important;
} }
.close-icon, .urlbar-icon { .close-icon, .urlbar-icon {
@ -496,6 +518,7 @@ Contains history, bookmarks, and etc.
#sidebar-box { #sidebar-box {
--sidebar-background-color: var(--bf-sidebar-bg) !important; --sidebar-background-color: var(--bf-sidebar-bg) !important;
-moz-appearance: -moz-mac-vibrancy-dark !important;
} }
#sidebar-splitter { #sidebar-splitter {