Add files via upload
This commit is contained in:
parent
b556ac127b
commit
b3a061d818
5 changed files with 76 additions and 40 deletions
23
chrome/extras/hidetoolbarbuttons.css
Normal file
23
chrome/extras/hidetoolbarbuttons.css
Normal file
|
@ -0,0 +1,23 @@
|
|||
/* (BUGGY: USE AT OWN RISK!) Hide toolbar buttons other than extensions */
|
||||
|
||||
.toolbarbutton-icon,
|
||||
.toolbarbutton-badge-stack,
|
||||
#nav-bar .toolbarbutton-1
|
||||
{
|
||||
transition-duration: 0.1s !important;
|
||||
transition-property: width, padding, border !important;
|
||||
}
|
||||
:root:not([customizing]) #navigator-toolbox:not(:hover) > #nav-bar:not([urlbar-exceeds-toolbar-bounds="true"]) .toolbarbutton-1:not(.webextension-browser-action, [open], [checked]) :-moz-any(.toolbarbutton-icon, .toolbarbutton-badge-stack)
|
||||
{
|
||||
width: 0 !important; padding: 0 !important;
|
||||
}
|
||||
:root:not([customizing]) #navigator-toolbox:not(:hover) > #nav-bar:not([urlbar-exceeds-toolbar-bounds="true"]) .toolbarbutton-1:not(.webextension-browser-action, [open], [checked])
|
||||
{
|
||||
border-width: 0 !important;
|
||||
}
|
||||
|
||||
/* Also Hide urlbar background */
|
||||
/*
|
||||
:root:not([customizing]) #navigator-toolbox:not(:hover) > #nav-bar
|
||||
{ --toolbar-field-background-color: transparent !important; }
|
||||
*/
|
12
chrome/extras/swapaccount-overflow.css
Normal file
12
chrome/extras/swapaccount-overflow.css
Normal file
|
@ -0,0 +1,12 @@
|
|||
/* (BUGGY: USE AT OWN RISK!) Swap Account icon and Overflow icon (must be placed next to each other) */
|
||||
|
||||
@media (min-width: 687px) {
|
||||
:root:not([customizing]) #nav-bar-overflow-button
|
||||
{
|
||||
transform: translateX(-44px);
|
||||
}
|
||||
:root:not([customizing]) #fxa-toolbar-menu-button
|
||||
{
|
||||
transform: translateX(44px);
|
||||
}
|
||||
}
|
26
chrome/extras/vibrancy.css
Normal file
26
chrome/extras/vibrancy.css
Normal file
|
@ -0,0 +1,26 @@
|
|||
/* (MACOS ONLY!) Enable window vibrancy behind tabs */
|
||||
|
||||
#TabsToolbar:not(:-moz-window-inactive)
|
||||
{
|
||||
background-color: #0001 !important;
|
||||
}
|
||||
#main-window:-moz-any([lwthemetextcolor="bright"], [privatebrowsingmode=temporary]) #TabsToolbar:not(:-moz-window-inactive)
|
||||
{
|
||||
background-color: #1114 !important;
|
||||
}
|
||||
|
||||
#main-window
|
||||
{
|
||||
-moz-appearance: -moz-mac-vibrant-titlebar-light !important;
|
||||
}
|
||||
|
||||
#main-window:-moz-any([lwthemetextcolor="bright"], [privatebrowsingmode=temporary])
|
||||
{
|
||||
-moz-appearance: -moz-mac-vibrant-titlebar-dark !important;
|
||||
}
|
||||
|
||||
:-moz-any(#main-window, #TabsToolbar):-moz-any([inFullscreen="true"], :-moz-window-inactive)
|
||||
{
|
||||
-moz-appearance: none !important;
|
||||
background-color: var(--lwt-accent-color) !important;
|
||||
}
|
|
@ -9,28 +9,22 @@
|
|||
@import "findbar/findbar.css";
|
||||
@import "tabbar/EdgeStyleTabShadow.css";
|
||||
|
||||
/* Optional Extras (uncomment/comment to enable/disable) */
|
||||
|
||||
/* @import "extras/vibrancy.css"; */ /* (MACOS ONLY!) Enable window vibrancy behind tabs */
|
||||
/* @import "extras/hidetoolbarbuttons.css"; */ /* (BUGGY: USE AT OWN RISK!) Hide toolbar buttons other than extensions */
|
||||
/* @import "extras/swapaccount-overflow.css"; */ /* (BUGGY: USE AT OWN RISK!) Swap Account icon and Overflow icon (must be placed next to each other) */
|
||||
|
||||
/* (MACOS ONLY!) Adjust window controls position to make the spacing even */
|
||||
.titlebar-buttonbox { margin-inline: 13px 5px !important; }
|
||||
|
||||
#urlbarView-row-162, #urlbarView-row-19, #urlbar .urlbarView .search-one-offs, /* Hide search engine selector on the urlbar dropdown */
|
||||
#context-sendpagetodevice, #context-sep-sendpagetodevice, /* Hide send page to device menu */
|
||||
#permissions-granted-icon, #appMenu-fxa-status, toolbarseparator.sync-ui-item, #appMenu-protection-report-button, #appMenu-tp-separator, /* Hide Account and protection dashboard from menu */
|
||||
#appMenu-edit-controls, .panel-subview-body toolbarseparator:nth-child(12) /* Hide Edit Controls */
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Swap Account icon and Overflow icon (Must be placed next to each other) */
|
||||
/*
|
||||
@media (min-width: 687px) {
|
||||
#nav-bar-overflow-button { transform: translateX(-44px); }
|
||||
#fxa-toolbar-menu-button { transform: translateX(44px); }
|
||||
}
|
||||
*/
|
||||
|
||||
/* Replace Firefox identity icon with Edge */
|
||||
/*
|
||||
#identity-icon-label { display: none !important; }
|
||||
#identity-box.chromeUI[pageproxystate="valid"]::after { content: "Edge"; padding-inline-start: 8px; }
|
||||
#identity-icon { list-style-image: url("icons/edge.svg") !important; }
|
||||
*/
|
||||
{ display: none !important; }
|
||||
|
||||
/* Changelog (DD/MM) */
|
||||
/* 14-03 / Titlebar buttons no longer squashed on windows */
|
||||
/* 86.0 / Titlebar buttons no longer squashed on windows */
|
||||
/* 86.0 r1 / Fix spacing issues with <select> menupopups */
|
||||
/* 86.0 r2 / Add Optional Extras: Vibrancy(macOS), hidetoolbarbuttons / Fixed blurry text for some users. */
|
|
@ -1,25 +1,6 @@
|
|||
@import "userContent/NewTab.css";
|
||||
@import "userContent/Preferences.css";
|
||||
|
||||
@-moz-document url-prefix("about:") {
|
||||
:root {
|
||||
--body-background: #f5f5f5;
|
||||
--body-title-text: #000;
|
||||
--body-text: #333;
|
||||
|
||||
--newtab-tile-background: #fff;
|
||||
|
||||
--field-background: #fff;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--body-background: #1b1b1b;
|
||||
--body-title-text: #fff;
|
||||
--body-text: #e0e0e0;
|
||||
|
||||
--newtab-tile-background: #303030;
|
||||
|
||||
--field-background: #202020;
|
||||
}
|
||||
}
|
||||
img.transparent {
|
||||
background: transparent !important;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue