Add files via upload
This commit is contained in:
parent
375ddcc4d2
commit
a3b663ae1f
52 changed files with 4248 additions and 0 deletions
308
chrome/global/global.css
Normal file
308
chrome/global/global.css
Normal file
|
@ -0,0 +1,308 @@
|
|||
@media (-moz-windows-compositor)
|
||||
{
|
||||
@media not (-moz-os-version: windows-win7)
|
||||
{
|
||||
@media not (-moz-os-version: windows-win8)
|
||||
{
|
||||
@media (-moz-windows-default-theme)
|
||||
{
|
||||
:root[tabsintitlebar] .titlebar-buttonbox-container
|
||||
{
|
||||
height: 30px !important;
|
||||
}
|
||||
|
||||
:root[tabsintitlebar][sizemode=normal] .titlebar-buttonbox-container
|
||||
{
|
||||
margin-block-start: calc(0px - (var(--space-above-tabbar) + 5px)) !important;
|
||||
}
|
||||
|
||||
:root[tabsintitlebar][sizemode=maximized] .titlebar-buttonbox-container
|
||||
{
|
||||
margin-block-start: calc(2px - (var(--space-above-tabbar))) !important;
|
||||
}
|
||||
|
||||
:root[tabsintitlebar][sizemode=maximized]:not([extradragspace]) .titlebar-buttonbox-container
|
||||
{
|
||||
-moz-box-align: start !important;
|
||||
margin-block-start: -5px !important;
|
||||
}
|
||||
|
||||
@media (-moz-windows-accent-color-in-titlebar: 0)
|
||||
{
|
||||
:root[tabsintitlebar]:not(:-moz-lwtheme):not([privatebrowsingmode=temporary])
|
||||
{
|
||||
background-color: #dee1e6 !important;
|
||||
color: #3c4043 !important;
|
||||
}
|
||||
|
||||
:root[tabsintitlebar]:not(:-moz-lwtheme):not([privatebrowsingmode=temporary]):-moz-window-inactive
|
||||
{
|
||||
background-color: #e7eaed !important;
|
||||
color: #666a6d !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#navigator-toolbox :-moz-any(toolbar, #nav-bar-customization-target):not(#toolbar-menubar)
|
||||
{
|
||||
-moz-box-align: center !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton)),
|
||||
/* no ::part workaround - may have side effects */
|
||||
#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton),
|
||||
#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton)
|
||||
{
|
||||
border-radius: 4px !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton)),
|
||||
/* no ::part workaround - may have side effects */
|
||||
#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton),
|
||||
#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton)
|
||||
{
|
||||
font-size: 12px !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
border: 2px solid transparent !important;
|
||||
background-clip: padding-box !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox :-moz-any(.toolbarbutton-1, .scrollbutton-up, .scrollbutton-down),
|
||||
/* no ::part workaround - may have side effects */
|
||||
.#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton),
|
||||
.#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton)
|
||||
{
|
||||
max-height: 34px !important;
|
||||
height: 34px !important;
|
||||
min-height: 34px !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton))[disabled],
|
||||
/* no ::part workaround - may have side effects */
|
||||
#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton)[disabled],
|
||||
#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton)[disabled]
|
||||
{
|
||||
opacity: .42 !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton)):hover:not([disabled]),
|
||||
#navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton)):-moz-any(:hover:active, [checked], [open]):not([disabled]),
|
||||
/* no ::part workaround - may have side effects */
|
||||
#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton):hover:not([disabled]),
|
||||
#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton):hover:not([disabled])
|
||||
{
|
||||
background-color: var(--toolbarbutton-hover-background) !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton)):-moz-any(:hover:active, [checked], [open]):not([disabled]),
|
||||
/* no ::part workaround - may have side effects */
|
||||
#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton):hover:active:not([disabled]),
|
||||
#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton):hover:active:not([disabled])
|
||||
{
|
||||
background-color: var(--toolbarbutton-active-background) !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox :-moz-any(.toolbarbutton-icon, .toolbarbutton-badge-stack),
|
||||
/* no ::part workaround - may have side effects */
|
||||
#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton) > .toolbarbutton-icon,
|
||||
#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton) > .toolbarbutton-icon
|
||||
{
|
||||
fill-opacity: 1 !important;
|
||||
border: 0 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox .toolbarbutton-1 > :-moz-any(.toolbarbutton-icon, .toolbarbutton-badge-stack)
|
||||
{
|
||||
width: 40px !important;
|
||||
height: 30px !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox > #PersonalToolbar .toolbarbutton-1 > .toolbarbutton-icon,
|
||||
#navigator-toolbox .toolbarbutton-1 > :-moz-any(.toolbarbutton-icon, .toolbarbutton-badge-stack),
|
||||
/* no ::part workaround - may have side effects */
|
||||
#scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton) > .toolbarbutton-icon,
|
||||
#scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton) > .toolbarbutton-icon
|
||||
{
|
||||
padding: 7px 12px !important;
|
||||
background: 0 !important;
|
||||
}
|
||||
|
||||
#TabsToolbar .toolbarbutton-1 > :-moz-any(.toolbarbutton-icon, .toolbarbutton-badge-stack)
|
||||
{
|
||||
padding: 6px !important;
|
||||
width: 28px !important;
|
||||
height: 28px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
hack: fix customization screen popping bug when changing ui density
|
||||
icon size is enforced and it doesn't like it when the normal density
|
||||
nav-bar height is less than 38px (it's 36px due to smaller back icon)
|
||||
*/
|
||||
:root:not([uidensity=compact]) #customization-content-container
|
||||
{
|
||||
padding-top: 1px !important;
|
||||
}
|
||||
|
||||
:root:not([uidensity=compact]) :-moz-any(#customization-palette-container, #customization-panel-container)
|
||||
{
|
||||
margin-top: -1px !important;
|
||||
}
|
||||
|
||||
.menu-iconic,
|
||||
.menuitem-iconic
|
||||
{
|
||||
fill: currentColor !important;
|
||||
}
|
||||
|
||||
/* legacy */
|
||||
#navigator-toolbox
|
||||
{
|
||||
border-bottom: 1px solid var(--chrome-content-separator-color, var(--toolbox-border-bottom-color)) !important;
|
||||
}
|
||||
|
||||
/* legacy */
|
||||
#navigator-toolbox::after
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.pointerlockfswarning
|
||||
{
|
||||
display: flex !important;
|
||||
border-radius: 4px !important;
|
||||
padding: 6px !important;
|
||||
background: #333 !important;
|
||||
border: 0 !important;
|
||||
font-size: 14px !important;
|
||||
box-shadow:
|
||||
0 3px 5px -1px rgba(0,0,0,.2),
|
||||
0 6px 10px 0 rgba(0,0,0,.14),
|
||||
0 1px 18px 0 rgba(0,0,0,.12) !important;
|
||||
color: hsla(0,0%,100%,.87) !important;
|
||||
transition-timing-function: var(--ease-out), linear !important;
|
||||
transition-property: transform, top !important;
|
||||
}
|
||||
|
||||
#fullscreen-warning
|
||||
{
|
||||
flex-direction: column !important;
|
||||
min-width: 344px !important;
|
||||
}
|
||||
|
||||
.pointerlockfswarning[hidden]
|
||||
{
|
||||
visibility: hidden !important;
|
||||
}
|
||||
|
||||
/* hack to keep it in same place as [ontop] */
|
||||
/* probably doesn't work for single-line */
|
||||
.pointerlockfswarning:not([hidden]):not([ontop])
|
||||
{
|
||||
top: -32px !important;
|
||||
}
|
||||
|
||||
.pointerlockfswarning[ontop]
|
||||
{
|
||||
top: 28px !important;
|
||||
}
|
||||
|
||||
.pointerlockfswarning::before
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.pointerlockfswarning-domain-text
|
||||
{
|
||||
margin-block: 8px 18px !important;
|
||||
margin-inline: 10px !important;
|
||||
font-size: unset !important;
|
||||
font-weight: unset !important;
|
||||
align-self: start !important;
|
||||
}
|
||||
|
||||
.pointerlockfswarning-domain
|
||||
{
|
||||
font-weight: unset !important;
|
||||
}
|
||||
|
||||
#fullscreen-exit-button
|
||||
{
|
||||
-moz-appearance: none !important;
|
||||
border: 0 !important;
|
||||
height: 32px !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
margin-inline: 8px 0 !important;
|
||||
text-transform: uppercase !important;
|
||||
font-weight: 500 !important;
|
||||
letter-spacing: .0892857143em !important;
|
||||
background: 0 !important;
|
||||
position: relative !important;
|
||||
color: var(--toolbarbutton-icon-fill-attention) !important;
|
||||
align-self: end !important;
|
||||
font-family: Roboto, inherit !important;
|
||||
}
|
||||
|
||||
#fullscreen-exit-button::before
|
||||
{
|
||||
content: "" !important;
|
||||
display: block !important;
|
||||
z-index: -1 !important;
|
||||
position: absolute !important;
|
||||
left: 0 !important;
|
||||
right: 0 !important;
|
||||
top: 0 !important;
|
||||
bottom: 0 !important;
|
||||
border-radius: 4px !important;
|
||||
background: currentColor !important;
|
||||
opacity: 0 !important;
|
||||
transition: opacity .3s var(--ease-basic) !important;
|
||||
}
|
||||
|
||||
#fullscreen-exit-button:hover::before
|
||||
{
|
||||
opacity: .12 !important;
|
||||
}
|
||||
|
||||
#fullscreen-exit-button:hover:active::before
|
||||
{
|
||||
opacity: .24 !important;
|
||||
transition-duration: .1s !important;
|
||||
}
|
||||
|
||||
/* note: use Firefox account button instead */
|
||||
#TabsToolbar .private-browsing-indicator
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.toolbarbutton-1:not(:hover):-moz-window-inactive, .bookmark-item:not(:hover):-moz-window-inactive, :root:not([customizing]) .toolbarbutton-1:-moz-window-inactive[disabled="true"] {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
/* high DPI adjustments */
|
||||
@media (min--moz-device-pixel-ratio: 2)
|
||||
{
|
||||
#navigator-toolbox
|
||||
{
|
||||
border-bottom-width: .5px !important;
|
||||
padding-bottom: .5px !important;
|
||||
box-shadow: inset 0 -.5px var(--toolbar-bgcolor) !important;
|
||||
}
|
||||
}
|
||||
|
||||
#sidebar-box, #sidebar {
|
||||
appearance: none !important;
|
||||
}
|
||||
.sidebar-placesTree, #viewButton {
|
||||
color: #000 !important;
|
||||
}
|
||||
:root[lwt-sidebar-brighttext] :-moz-any(.sidebar-placesTree, #viewButton) {
|
||||
color: #fff !important;
|
||||
}
|
242
chrome/global/variables.css
Normal file
242
chrome/global/variables.css
Normal file
|
@ -0,0 +1,242 @@
|
|||
/* light mode */
|
||||
:root:not([style]),
|
||||
:root[style*="--lwt-accent-color:rgb(227, 228, 230);"],
|
||||
:root[style*="--lwt-accent-color:white;"]
|
||||
{
|
||||
/* accentcolor */
|
||||
--lwt-accent-color: #C3C3C3 !important;
|
||||
|
||||
/* textcolor */
|
||||
--lwt-text-color: #000 !important;
|
||||
|
||||
/* toolbar */
|
||||
--toolbar-bgcolor: #F5F5F5 !important;
|
||||
|
||||
/* toolbar_text */
|
||||
--toolbar-color: #000 !important;
|
||||
|
||||
/* toolbar_bottom_separator */
|
||||
--toolbox-border-bottom-color: #C8C8C8 !important; /* legacy */
|
||||
--chrome-content-separator-color: #C8C8C8 !important;
|
||||
|
||||
/* icons */
|
||||
--lwt-toolbarbutton-icon-fill: #000 !important;
|
||||
|
||||
/* icons_attention */
|
||||
--lwt-toolbarbutton-icon-fill-attention: #0b61ca !important;
|
||||
|
||||
/* button_background_hover */
|
||||
--lwt-toolbarbutton-hover-background: #0001 !important;
|
||||
|
||||
/* button_background_active */
|
||||
--lwt-toolbarbutton-active-background: #0002 !important;
|
||||
|
||||
--lwt-toolbar-field-color: #000 !important;
|
||||
|
||||
/* popup_highlight */
|
||||
--autocomplete-popup-highlight-background: #f2f2f2 !important;
|
||||
|
||||
/* popup_highlight_text */
|
||||
--autocomplete-popup-highlight-color: #000 !important;
|
||||
}
|
||||
|
||||
/* don't bother with sidebar in light mode */
|
||||
|
||||
/* dark mode */
|
||||
:root[style*="--lwt-accent-color:rgb(12, 12, 13);"],
|
||||
:root[privatebrowsingmode=temporary]
|
||||
{
|
||||
/* accentcolor */
|
||||
--lwt-accent-color: #151515 !important;
|
||||
|
||||
/* textcolor */
|
||||
--lwt-text-color: #fff !important;
|
||||
|
||||
/* toolbar */
|
||||
--toolbar-bgcolor: #2D2D2D !important;
|
||||
|
||||
/* toolbar_text */
|
||||
--toolbar-color: #fff !important;
|
||||
|
||||
/* toolbar_bottom_separator */
|
||||
--toolbox-border-bottom-color: #494949 !important; /* legacy */
|
||||
--chrome-content-separator-color: #494949 !important;
|
||||
|
||||
/* icons */
|
||||
--lwt-toolbarbutton-icon-fill: #fff !important;
|
||||
|
||||
/* icons_attention */
|
||||
--lwt-toolbarbutton-icon-fill-attention: #3e84c6 !important;
|
||||
|
||||
/* button_background_hover */
|
||||
--lwt-toolbarbutton-hover-background: #fff1 !important;
|
||||
|
||||
/* button_background_active */
|
||||
--lwt-toolbarbutton-active-background: #fff2 !important;
|
||||
|
||||
--lwt-toolbar-field-color: #fff !important;
|
||||
|
||||
/* popup */
|
||||
--arrowpanel-background: #3a3a3a !important;
|
||||
|
||||
/* popup_text */
|
||||
--arrowpanel-color: #fff !important;
|
||||
--autocomplete-popup-color: #fff !important;
|
||||
--panel-disabled-color: hsla(0, 0%, 100%, .5) !important;
|
||||
|
||||
/* popup_border */
|
||||
--arrowpanel-border-color: #555 !important;
|
||||
--autocomplete-popup-border-color: #555 !important;
|
||||
|
||||
/* popup_highlight */
|
||||
--autocomplete-popup-highlight-background: #4c4f52 !important;
|
||||
|
||||
/* popup_highlight_text */
|
||||
--autocomplete-popup-highlight-color: #fff !important;
|
||||
}
|
||||
|
||||
:-moz-any(#sidebar-box, #sidebar)
|
||||
{
|
||||
/* sidebar */
|
||||
--sidebar-background-color: #f5f5f5 !important;
|
||||
|
||||
/* sidebar_text */
|
||||
--sidebar-text-color: #000 !important;
|
||||
}
|
||||
|
||||
:-moz-any(.sidebar-panel, body)
|
||||
{
|
||||
/* sidebar */
|
||||
--lwt-sidebar-background-color: #f5f5f5 !important;
|
||||
|
||||
/* sidebar_text */
|
||||
--lwt-sidebar-text-color: #000 !important;
|
||||
}
|
||||
|
||||
:-moz-any(#sidebar-box, #sidebar)[style*="--sidebar-background-color:rgb(56, 56, 61);"], :-moz-any(.sidebar-panel, body)[style*="--lwt-sidebar-background-color:rgb(56, 56, 61);"]
|
||||
{
|
||||
/* sidebar */
|
||||
--sidebar-background-color: #2b2b2b !important;
|
||||
|
||||
/* sidebar_text */
|
||||
--sidebar-text-color: #fff !important;
|
||||
}
|
||||
|
||||
:-moz-any(.sidebar-panel, body)[style*="--lwt-sidebar-background-color:rgb(56, 56, 61);"]
|
||||
{
|
||||
/* sidebar */
|
||||
--lwt-sidebar-background-color: #2b2b2b !important;
|
||||
|
||||
/* sidebar_text */
|
||||
--lwt-sidebar-text-color: #fff !important;
|
||||
}
|
||||
|
||||
:root
|
||||
{
|
||||
--ease-in: cubic-bezier(.4, 0, 1, 1);
|
||||
--ease-out: cubic-bezier(0, 0, .2, 1);
|
||||
--ease-basic: linear;
|
||||
|
||||
--button-size: 32px; /* is this used? */
|
||||
--icon-size: 24px; /* is this used? */
|
||||
|
||||
--downloads-item-height: 48px !important;
|
||||
|
||||
--toolbar-non-lwt-bgcolor: var(--toolbar-bgcolor) !important;
|
||||
--toolbar-non-lwt-textcolor: var(--toolbar-color) !important;
|
||||
}
|
||||
|
||||
#titlebar,
|
||||
#tabbrowser-tabs
|
||||
{
|
||||
--tab-min-height: 32px !important;
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("materialFox.reduceTabOverflow")
|
||||
{
|
||||
#tabbrowser-tabs
|
||||
{
|
||||
--tab-min-width: 32px !important;
|
||||
}
|
||||
}
|
||||
|
||||
:root
|
||||
{
|
||||
--tab-separator-opacity: .35 !important;
|
||||
|
||||
--toolbar-field-background-color: #fff !important;
|
||||
--toolbar-field-hover-background-color: #fff !important;
|
||||
--toolbar-field-focus-background-color: #fff !important;
|
||||
--toolbar-field-hover-border-color: #c1c1c1 !important;
|
||||
}
|
||||
|
||||
:root:-moz-any(:-moz-lwtheme-brighttext, [privatebrowsingmode=temporary])
|
||||
{
|
||||
--toolbar-field-background-color: #202020 !important;
|
||||
--toolbar-field-hover-background-color: #202020 !important;
|
||||
--toolbar-field-focus-background-color: #202020 !important;
|
||||
--toolbar-field-hover-border-color: #525252 !important;
|
||||
}
|
||||
|
||||
:root:not(:-moz-lwtheme):not([privatebrowsingmode=temporary])
|
||||
{
|
||||
--toolbar-bgcolor: #f5f5f5 !important;
|
||||
--toolbar-color: #000 !important;
|
||||
--toolbox-border-bottom-color: #C8C8C8 !important;
|
||||
}
|
||||
|
||||
@media (-moz-mac-yosemite-theme)
|
||||
{
|
||||
:root[extradragspace]
|
||||
{
|
||||
--space-above-tabbar: 8px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Ubuntu */
|
||||
@media (-moz-gtk-csd-available)
|
||||
{
|
||||
:root:not(:-moz-lwtheme):not([privatebrowsingmode=temporary])
|
||||
{
|
||||
--toolbar-bgcolor: -moz-dialog !important;
|
||||
--toolbar-color: -moz-dialogtext !important;
|
||||
}
|
||||
}
|
||||
|
||||
:root:-moz-lwtheme-darktext,
|
||||
:root toolbar:not([brighttext]),
|
||||
.tabbrowser-tab[visuallyselected]
|
||||
{
|
||||
--toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background, hsla(0, 0%, 0%, .07)) !important;
|
||||
--toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background, hsla(0, 0%, 0%, .11)) !important;
|
||||
}
|
||||
|
||||
:root:-moz-lwtheme-brighttext,
|
||||
:root toolbar[brighttext],
|
||||
.tabbrowser-tab[visuallyselected]:-moz-lwtheme-brighttext
|
||||
{
|
||||
--toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background, hsla(0, 0%, 100%, .1)) !important;
|
||||
--toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background, hsla(0, 0%, 100%, .17)) !important;
|
||||
}
|
||||
|
||||
/* special case for urlbar buttons */
|
||||
:-moz-any(#urlbar, #searchbar)
|
||||
{
|
||||
--toolbarbutton-hover-background: #0001 !important;
|
||||
--toolbarbutton-active-background: #0002 !important;
|
||||
}
|
||||
|
||||
:root:-moz-any([privatebrowsingmode=temporary], :-moz-lwtheme-brighttext) :-moz-any(#urlbar, #searchbar)
|
||||
{
|
||||
--toolbarbutton-hover-background: #fff1 !important;
|
||||
--toolbarbutton-active-background: #fff2 !important;
|
||||
}
|
||||
|
||||
:-moz-any(:root:not([style]), :root[style*="--lwt-accent-color:rgb(227, 228, 230);"], :root[style*="--lwt-accent-color:white;"]):-moz-window-inactive {
|
||||
--lwt-accent-color: #e2e2e2 !important;
|
||||
--lwt-text-color: #3a3a3a !important;
|
||||
}
|
||||
:-moz-any(:root[style*="--lwt-accent-color:rgb(12, 12, 13);"], :root[privatebrowsingmode=temporary]):-moz-window-inactive {
|
||||
--lwt-accent-color: #232323 !important;
|
||||
--lwt-text-color: #b7b7b7 !important;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue