fix some inconsistencies

This commit is contained in:
Gerome Matilla 2020-05-22 19:40:26 +08:00
parent 448ebecfb1
commit f9ebc43e59

View File

@ -79,10 +79,6 @@ toolbar#nav-bar {
padding: var(--bf-navbar-padding) !important; padding: var(--bf-navbar-padding) !important;
} }
.toolbar-items {
background-color: var(--bf-bg) !important;
}
toolbarbutton { toolbarbutton {
box-shadow: none !important; box-shadow: none !important;
margin-left: 2px !important; margin-left: 2px !important;
@ -147,17 +143,18 @@ toolbarbutton {
color: var(--bf-icon-color) !important; color: var(--bf-icon-color) !important;
} }
.urlbarView-favicon, .urlbarView-type-icon { .urlbarView-favicon,
.urlbarView-type-icon {
display: none !important; display: none !important;
} }
#star-button { #star-button {
/* Hide URL bar bookmark button */ /* URL bar bookmark button */
display: none !important; display: initial !important;
} }
#star-button:hover:not(.no-hover):not([open=true]) { #star-button:hover:not(.no-hover):not([open=true]) {
background:#ff00ff !important; background: var(--bf-hover-bg) !important;
} }
#star-button:hover:active:not(.no-hover), #star-button:hover:active:not(.no-hover),
@ -216,10 +213,6 @@ toolbarbutton {
font-weight: 700 !important; font-weight: 700 !important;
} }
#tracking-protection-icon-container, #identity-box {
display: none !important;
}
#back-button > .toolbarbutton-icon { #back-button > .toolbarbutton-icon {
--backbutton-background: transparent !important; --backbutton-background: transparent !important;
border: none !important; border: none !important;
@ -233,6 +226,14 @@ toolbarbutton {
list-style-image: url("right-arrow.svg") !important; list-style-image: url("right-arrow.svg") !important;
} }
#tracking-protection-icon-container {
/* display: none !important; */
}
#identity-box {
display: none !important;
}
#identity-box:hover:not(.no-hover):not([open=true]), #identity-box:hover:not(.no-hover):not([open=true]),
#tracking-protection-icon-container:hover:not(.no-hover):not([open=true]) { #tracking-protection-icon-container:hover:not(.no-hover):not([open=true]) {
background: var(--bf-hover-bg) !important; background: var(--bf-hover-bg) !important;
@ -259,9 +260,17 @@ The tabs container
-moz-box-ordinal-group: 3 !important; -moz-box-ordinal-group: 3 !important;
} }
.toolbar-items {
background-color: var(--bf-bg) !important;
}
#tabbrowser-tabs { #tabbrowser-tabs {
/* Set minimum height for tab bar */ /* Set minimum height for tab bar */
--tab-min-height: 0px; --tab-min-height: 0px;
margin-top: 4px !important;
margin-bottom: 4px !important;
margin-left: 20px !important;
margin-right: 20px !important;
} }
#tabbrowser-tabs tab:only-of-type, #tabbrowser-tabs tab:only-of-type,
@ -322,8 +331,8 @@ The tabs container
} }
hbox.tab-content .tab-icon-image { hbox.tab-content .tab-icon-image {
/* Hide tab icon */ /* Tab icon */
display: none !important; display: initial !important;
} }
hbox.tab-content[pinned=true] .tab-icon-image { hbox.tab-content[pinned=true] .tab-icon-image {
@ -345,7 +354,7 @@ hbox.tab-content[pinned=true] .tab-text {
border-width: 0; border-width: 0;
height: var(--bf-tab-height) !important; height: var(--bf-tab-height) !important;
margin-top: 0 !important; margin-top: 0 !important;
margin-bottom: 4px !important; margin-bottom: 0 !important;
margin-inline-start: 2px !important; margin-inline-start: 2px !important;
margin-inline-end: 2px !important; margin-inline-end: 2px !important;
} }
@ -360,10 +369,6 @@ hbox.tab-content[pinned=true] .tab-text {
display: none !important; display: none !important;
} }
#tabs-newtab-button {
padding-bottom: 5px !important;
}
#tabs-newtab-button { #tabs-newtab-button {
list-style-image: url("add.svg") !important; list-style-image: url("add.svg") !important;
opacity: 1; opacity: 1;
@ -382,7 +387,6 @@ tab.tabbrowser-tab:hover {
--tab-loading-fill: var(--bf-color) !important; --tab-loading-fill: var(--bf-color) !important;
} }
/* /*
@ -394,10 +398,19 @@ The findbar
#browser #appcontent #tabbrowser-tabbox findbar, #browser #appcontent #tabbrowser-tabbox findbar,
#browser #appcontent #tabbrowser-tabbox tabpanels { #browser #appcontent #tabbrowser-tabbox tabpanels {
-moz-appearance: none !important; -moz-appearance: none !important;
background-color: transparent !important; background: transparent !important;
background-image: none !important; border: none !important;
} }
#browser #appcontent #tabbrowser-tabbox findbar {
background-color: var(--bf-bg) !important;
}
.findbar-find-previous,
.findbar-find-next {
margin: 0px !important;
border: none !important;
}
#browser #appcontent #tabbrowser-tabbox .findbar-find-fast { #browser #appcontent #tabbrowser-tabbox .findbar-find-fast {
background-color: var(--bf-bg) !important; background-color: var(--bf-bg) !important;
} }
@ -430,8 +443,8 @@ Contains history, bookmarks, and etc.
fill: var(--bf-icon-color) !important; fill: var(--bf-icon-color) !important;
} }
image #sidebar-icon { #sidebar-icon {
display: none; display: none !important;
} }
.sidebar-placesTree { .sidebar-placesTree {