Add files via upload

This commit is contained in:
bmFtZQ 2021-03-15 19:38:48 +08:00 committed by GitHub
parent b556ac127b
commit b3a061d818
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 76 additions and 40 deletions

View 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; }
*/

View 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);
}
}

View 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;
}