add new private browsing indicator
also: - removes tweaks "fxa-button-as-private-indicator" and "less-permissions-button-padding" - reformat README.md to become easier to read - add unified extensions icon (beta and nightly) - better integrate Firefox view button
This commit is contained in:
parent
49ea90b007
commit
5ed069c80a
7 changed files with 564 additions and 572 deletions
|
@ -15,14 +15,6 @@ bugs with certain themes eg. dark text on dark background.) */
|
|||
}
|
||||
}
|
||||
|
||||
/* hide firefox account button when not in private mode (useful as a private
|
||||
browsing indicator) */
|
||||
@supports -moz-bool-pref("uc.tweak.fxa-button-as-private-indicator") {
|
||||
:root:not([privatebrowsingmode]) #nav-bar:not([customizing]) #fxa-toolbar-menu-button {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* remove tab separators */
|
||||
@supports -moz-bool-pref("uc.tweak.remove-tab-separators") {
|
||||
.tabbrowser-tab:not([selected="true"], :hover, [beforeselected-visible], [beforehovered]) .tab-stack::after {
|
||||
|
@ -34,17 +26,6 @@ browsing indicator) */
|
|||
}
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("uc.tweak.less-permissions-button-padding") {
|
||||
#identity-icon-box {
|
||||
padding-inline: var(--uc-toolbarbutton-inner-inline-padding) !important;
|
||||
}
|
||||
|
||||
#identity-permission-box {
|
||||
padding-inline: 2px var(--uc-urlbar-icon-inline-padding) !important;
|
||||
margin-inline-start: -8px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("uc.tweak.floating-tabs") {
|
||||
:root:not(:-moz-lwtheme),
|
||||
:root[style*="--lwt-accent-color: rgb(240, 240, 244)"] {
|
||||
|
@ -121,12 +102,6 @@ browsing indicator) */
|
|||
}
|
||||
}
|
||||
|
||||
/* remove navbar shadow */
|
||||
#titlebar,
|
||||
:root[lwtheme-brighttext="true"] #titlebar {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
/* move tab shadow behind urlbar */
|
||||
.tabbrowser-tab[visuallyselected="true"],
|
||||
#nav-bar {
|
||||
|
@ -150,12 +125,16 @@ browsing indicator) */
|
|||
margin-bottom: -8px !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab:is([visuallyselected="true"], [multiselected])>.tab-stack>.tab-background {
|
||||
box-shadow: 0 3.3px 3px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.11) !important;
|
||||
:root {
|
||||
--uc-titlebar-shadow: none;
|
||||
--uc-tab-shadow:
|
||||
0 3.3px 3px rgba(0, 0, 0, 0.06),
|
||||
0 0 0 1px rgba(0, 0, 0, 0.11);
|
||||
}
|
||||
|
||||
:root[lwtheme-brighttext="true"] .tabbrowser-tab:is([visuallyselected="true"], [multiselected])>.tab-stack>.tab-background {
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
|
||||
:root[lwtheme-brighttext="true"] {
|
||||
--uc-titlebar-shadow: none;
|
||||
--uc-tab-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -212,26 +191,6 @@ browsing indicator) */
|
|||
:root:is(:not(:-moz-lwtheme), [lwt-default-theme-in-dark-mode="true"]):is([inFullscreen], [sizemode="maximized"]) .titlebar-close {
|
||||
padding-right: 19px !important;
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("uc.tweak.win11-mica-toolbar") {
|
||||
:root:not(:-moz-lwtheme):not(:-moz-window-inactive) {
|
||||
--lwt-accent-color: #00000015 !important;
|
||||
--toolbar-bgcolor: #ffffffbf !important;
|
||||
--uc-urlbar-shadow: 0 0 4px rgba(0, 0, 0, 0.03) !important;
|
||||
}
|
||||
|
||||
:root[lwt-default-theme-in-dark-mode="true"]:not(:-moz-window-inactive) {
|
||||
--toolbar-bgcolor: #4a4a4a70 !important;
|
||||
--toolbar-field-background-color: #0004 !important;
|
||||
--toolbar-field-focus-background-color: #2B2B2B !important;
|
||||
--chrome-content-separator-color: #fff3 !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox #titlebar,
|
||||
#navigator-toolbox .tab-background {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -251,28 +210,38 @@ browsing indicator) */
|
|||
display: -moz-box !important;
|
||||
}
|
||||
|
||||
:root,
|
||||
:root[lang^="en"] {
|
||||
--uc-string-back: "Back";
|
||||
--uc-string-forward: "Forward";
|
||||
--uc-string-reload: "Reload";
|
||||
--uc-string-stop: "Stop";
|
||||
--uc-string-bookmark-page: "Bookmark Page";
|
||||
--uc-string-edit-bookmark: "Edit Bookmark";
|
||||
}
|
||||
|
||||
#context-navigation>#context-back .menu-iconic-text::before {
|
||||
content: "Back" !important;
|
||||
content: var(--uc-string-back) !important;
|
||||
}
|
||||
|
||||
#context-navigation>#context-forward .menu-iconic-text::before {
|
||||
content: "Forward" !important;
|
||||
content: var(--uc-string-forward) !important;
|
||||
}
|
||||
|
||||
#context-navigation>#context-reload .menu-iconic-text::before {
|
||||
content: "Reload" !important;
|
||||
content: var(--uc-string-reload) !important;
|
||||
}
|
||||
|
||||
#context-navigation>#context-stop .menu-iconic-text::before {
|
||||
content: "Stop" !important;
|
||||
content: var(--uc-string-stop) !important;
|
||||
}
|
||||
|
||||
#context-navigation>#context-bookmarkpage .menu-iconic-text::before {
|
||||
content: "Bookmark Page" !important;
|
||||
content: var(--uc-string-bookmark-page) !important;
|
||||
}
|
||||
|
||||
#context-navigation>#context-bookmarkpage[starred] .menu-iconic-text::before {
|
||||
content: "Edit Bookmark" !important;
|
||||
content: var(--uc-string-edit-bookmark) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue