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
|
@ -62,9 +62,7 @@
|
|||
--toolbarbutton-hover-background: rgba(0, 0, 0, 0.08) !important;
|
||||
--toolbarbutton-active-background: rgba(0, 0, 0, 0.12) !important;
|
||||
--uc-private-browsing-indicator: var(--button-primary-bgcolor);
|
||||
--uc-private-browding-indicator-hover: var(--button-primary-hover-bgcolor);
|
||||
--uc-private-browding-indicator-active: var(--button-primary-active-bgcolor);
|
||||
--uc-private-browding-indicator-text: var(--button-primary-color);
|
||||
--uc-private-browsing-indicator-text: var(--button-primary-color);
|
||||
--tab-icon-overlay-stroke: #fff !important;
|
||||
--tab-icon-overlay-fill: #252525 !important;
|
||||
}
|
||||
|
@ -130,9 +128,7 @@
|
|||
--toolbarbutton-hover-background: rgba(255, 255, 255, 0.1) !important;
|
||||
--toolbarbutton-active-background: rgba(255, 255, 255, 0.16) !important;
|
||||
--uc-private-browsing-indicator: var(--button-primary-bgcolor);
|
||||
--uc-private-browding-indicator-hover: var(--button-primary-hover-bgcolor);
|
||||
--uc-private-browding-indicator-active: var(--button-primary-active-bgcolor);
|
||||
--uc-private-browding-indicator-text: var(--button-primary-color);
|
||||
--uc-private-browsing-indicator-text: var(--button-primary-color);
|
||||
--tab-icon-overlay-stroke: #4b4b4b !important;
|
||||
--tab-icon-overlay-fill: #fff !important;
|
||||
}
|
||||
|
@ -197,11 +193,11 @@
|
|||
stroke: white !important;
|
||||
background-color: #e81123 !important;
|
||||
}
|
||||
|
||||
|
||||
.titlebar-close:hover:active {
|
||||
background-color: #EF6B76 !important;
|
||||
}
|
||||
|
||||
|
||||
toolbar[brighttext] .titlebar-close:hover:active {
|
||||
background-color: #9C1420 !important;
|
||||
}
|
||||
|
@ -299,10 +295,10 @@
|
|||
color: #000 !important;
|
||||
}
|
||||
|
||||
@-moz-document url(chrome://browser/content/syncedtabs/sidebar.xhtml) {
|
||||
body {
|
||||
background: transparent !important;
|
||||
}
|
||||
@-moz-document url(chrome://browser/content/syncedtabs/sidebar.xhtml){
|
||||
body {
|
||||
background: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-panel[lwt-sidebar-brighttext][style*="--lwt-sidebar-background-color: rgb(56, 56, 61)"],
|
||||
|
@ -389,14 +385,12 @@ body[lwt-sidebar-brighttext][style*="--lwt-sidebar-background-color: rgb(56, 56,
|
|||
--panel-banner-item-update-supported-bgcolor: #1bba6b !important;
|
||||
--focus-outline-color: -moz-accent-color !important;
|
||||
--uc-private-browsing-indicator: -moz-accent-color !important;
|
||||
--uc-private-browding-indicator-hover: var(--button-primary-hover-bgcolor);
|
||||
--uc-private-browding-indicator-active: var(--button-primary-active-bgcolor);
|
||||
--uc-private-browding-indicator-text: var(--button-primary-color);
|
||||
--uc-private-browsing-indicator-text: var(--button-primary-color);
|
||||
}
|
||||
|
||||
#sidebar-box:not([lwt-sidebar]) {
|
||||
--sidebar-background-color: -moz-dialog !important;
|
||||
--sidebar-text-color: -moz-dialog-text !important;
|
||||
--sidebar-text-color: -moz-dialog-text !important;
|
||||
}
|
||||
|
||||
#browser:not([style*="--sidebar-border-color"]) {
|
||||
|
|
|
@ -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