Replace all <Tab> characters with two spaces

This commit is contained in:
MrOtherGuy 2020-05-22 09:07:26 +03:00
parent a3146bb483
commit a0c8c9c2a0
18 changed files with 76 additions and 76 deletions

View file

@ -59,11 +59,11 @@ Example `userChrome.css`:
@import url(chrome/button_effect_scale_onclick.css); @import url(chrome/button_effect_scale_onclick.css);
:root{ :root{
--toolbar-bgcolor: rgb(36,44,59) !important; --toolbar-bgcolor: rgb(36,44,59) !important;
--uc-menu-bkgnd: var(--toolbar-bgcolor); --uc-menu-bkgnd: var(--toolbar-bgcolor);
--arrowpanel-background: var(--toolbar-bgcolor) !important; --arrowpanel-background: var(--toolbar-bgcolor) !important;
--autocomplete-popup-background: var(--toolbar-bgcolor) !important; --autocomplete-popup-background: var(--toolbar-bgcolor) !important;
--uc-menu-disabled: rgb(90,90,90) !important; --uc-menu-disabled: rgb(90,90,90) !important;
--lwt-toolbar-field-focus: rgb(36,44,59) !important; --lwt-toolbar-field-focus: rgb(36,44,59) !important;
} }

View file

@ -31,9 +31,9 @@ linux_gtk_window_control_patch.css
/* Mac specific. You should set that font-smoothing pref to true if you are on any platform where window controls are on left */ /* Mac specific. You should set that font-smoothing pref to true if you are on any platform where window controls are on left */
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){ @supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
@media not (-moz-os-version: windows-win10){ @media not (-moz-os-version: windows-win10){
:root{ --uc-titlebar-padding: 0px !important } :root{ --uc-titlebar-padding: 0px !important }
} }
.titlebar-buttonbox-container{ left:0; right: unset; } .titlebar-buttonbox-container{ left:0; right: unset; }
} }
:root[uidensity="compact"] .titlebar-buttonbox-container{ height: 32px } :root[uidensity="compact"] .titlebar-buttonbox-container{ height: 32px }

View file

@ -10,21 +10,21 @@ See the above repository for updates as well as full license text. */
#TabsToolbar > .titlebar-spacer{ display: -moz-box !important; } #TabsToolbar > .titlebar-spacer{ display: -moz-box !important; }
#toolbar-menubar{ #toolbar-menubar{
--uc-menubar-height: 36px; --uc-menubar-height: 36px;
position: fixed; position: fixed;
display: block; display: block;
width: 100vw; width: 100vw;
height: var(--uc-menubar-height); height: var(--uc-menubar-height);
margin-top: calc(8px - var(--uc-menubar-height)); margin-top: calc(8px - var(--uc-menubar-height));
transition: margin-top 150ms linear !important; transition: margin-top 150ms linear !important;
-moz-window-dragging: no-drag; -moz-window-dragging: no-drag;
z-index:4; z-index:4;
} }
#menubar-items{ display: block; float: left; } #menubar-items{ display: block; float: left; }
#toolbar-menubar:hover{ #toolbar-menubar:hover{
background-color: var(--toolbar-bgcolor) !important; background-color: var(--toolbar-bgcolor) !important;
margin-top: 0px; margin-top: 0px;
z-index: 6 z-index: 6
} }

View file

@ -53,7 +53,7 @@ checkbox[disabled] > .checkbox-check{ fill: graytext !important; }
button{ button{
-moz-appearance: none !important; -moz-appearance: none !important;
color: inherit !important; color: inherit !important;
background-color: rgba(127,127,127,0.1) !important; background-color: rgba(127,127,127,0.1) !important;
border: 1px solid graytext; border: 1px solid graytext;
} }

View file

@ -7,7 +7,7 @@ Meaning, if theme text is light then the statuspanel uses dark background and li
*/ */
#statuspanel-label:-moz-lwtheme-brighttext{ #statuspanel-label:-moz-lwtheme-brighttext{
background-color: rgb(50,50,52) !important; background-color: rgb(50,50,52) !important;
color: rgb(187,187,189) !important; color: rgb(187,187,189) !important;
border-color: grey !important; border-color: grey !important;
} }

View file

@ -35,7 +35,7 @@ Window controls will be all wrong without it
#toolbar-menubar:not([inactive]){ z-index: 2 } #toolbar-menubar:not([inactive]){ z-index: 2 }
#toolbar-menubar[inactive] > #menubar-items { #toolbar-menubar[inactive] > #menubar-items {
opacity: 0; opacity: 0;
pointer-events: none; pointer-events: none;
margin-left: var(--uc-window-drag-space-width,0px) margin-left: var(--uc-window-drag-space-width,0px)
} }

View file

@ -3,9 +3,9 @@ See the above repository for updates as well as full license text. */
/* Makes menubar to appear in tabs toolbar pushing tabs to the side */ /* Makes menubar to appear in tabs toolbar pushing tabs to the side */
#toolbar-menubar:not([inactive]) ~ #TabsToolbar{ #toolbar-menubar:not([inactive]) ~ #TabsToolbar{
margin-left:300px !important; margin-left:300px !important;
margin-top: -26px !important; margin-top: -26px !important;
} }
:root[sizemode="maximized"] #toolbar-menubar:not([inactive]) ~ #TabsToolbar{ :root[sizemode="maximized"] #toolbar-menubar:not([inactive]) ~ #TabsToolbar{
margin-top: -28px !important; margin-top: -28px !important;
} }

View file

@ -4,8 +4,8 @@ See the above repository for updates as well as full license text. */
/* Use with navbar_tabs_oneliner.css */ /* Use with navbar_tabs_oneliner.css */
#toolbar-menubar:not([inactive]) ~ #TabsToolbar{ #toolbar-menubar:not([inactive]) ~ #TabsToolbar{
margin-left:calc(var(--uc-navigationbar-width) + 300px ) !important; margin-left:calc(var(--uc-navigationbar-width) + 300px ) !important;
margin-top: calc(0px - var(--uc-toolbar-height)) !important; margin-top: calc(0px - var(--uc-toolbar-height)) !important;
padding-left: 0px !important; padding-left: 0px !important;
} }
#toolbar-menubar:not([inactive]){ #toolbar-menubar:not([inactive]){

View file

@ -11,8 +11,8 @@ urlbar_full_width.css is VERY MUCH recommended for Firefox 71+ because of new ur
/* Modify these to change relative widths or default height */ /* Modify these to change relative widths or default height */
#navigator-toolbox{ #navigator-toolbox{
--uc-navigationbar-width: 40vw; --uc-navigationbar-width: 40vw;
--uc-toolbar-height: 40px; --uc-toolbar-height: 40px;
} }
/* Override for other densities */ /* Override for other densities */
:root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 32px; } :root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 32px; }
@ -40,7 +40,7 @@ urlbar_full_width.css is VERY MUCH recommended for Firefox 71+ because of new ur
.titlebar-spacer[type="pre-tabs"]{ display: none } .titlebar-spacer[type="pre-tabs"]{ display: none }
#navigator-toolbox > #nav-bar{ #navigator-toolbox > #nav-bar{
margin-right:calc(100vw - var(--uc-navigationbar-width)); margin-right:calc(100vw - var(--uc-navigationbar-width));
margin-top: calc(0px - var(--uc-toolbar-height)); margin-top: calc(0px - var(--uc-toolbar-height));
} }

View file

@ -32,9 +32,9 @@ See the above repository for updates as well as full license text. */
z-index: 3; z-index: 3;
} }
:root[sessionrestored] #nav-bar:focus-within{ :root[sessionrestored] #nav-bar:focus-within{
transform: rotateX(0deg); transform: rotateX(0deg);
opacity: 1; opacity: 1;
transition-delay: 0ms, 0ms !important; transition-delay: 0ms, 0ms !important;
} }
/* This enables compatibility with autohide_bookmarks_toolbar.css */ /* This enables compatibility with autohide_bookmarks_toolbar.css */

View file

@ -42,9 +42,9 @@ As a workaround, the -moz-element background image is removed somewhat often whi
/* Hide the status ovelay when urlbar is hovered */ /* Hide the status ovelay when urlbar is hovered */
#urlbar:hover .urlbar-input-box::after, #urlbar:hover .urlbar-input-box::after,
#urlbar[focused] .urlbar-input-box::after{ #urlbar[focused] .urlbar-input-box::after{
visibility: hidden; visibility: hidden;
/* Remove the image to get rid of -moz-element() related problems */ /* Remove the image to get rid of -moz-element() related problems */
background-image: none !important background-image: none !important
} }
:root[uidensity="compact"] #urlbar .urlbar-input-box::after{ background-position-y: 1px } :root[uidensity="compact"] #urlbar .urlbar-input-box::after{ background-position-y: 1px }

View file

@ -14,10 +14,10 @@ See the above repository for updates as well as full license text. */
#alltabs-popup .arrowscrollbox-scrollbox, #alltabs-popup .arrowscrollbox-scrollbox,
menupopup:not(#BMB_bookmarksPopup), menupopup:not(#BMB_bookmarksPopup),
.textbox-contextmenu{ .textbox-contextmenu{
border: 3px solid #434850 !important; border: 3px solid #434850 !important;
background: var(--uc-dark-bkgnd-color) !important; background: var(--uc-dark-bkgnd-color) !important;
border-radius: 5px !important; border-radius: 5px !important;
color: var(--uc-text-color) !important; color: var(--uc-text-color) !important;
} }
/* bookmarks menu is different from others */ /* bookmarks menu is different from others */
@ -29,7 +29,7 @@ menupopup:not(#BMB_bookmarksPopup),
menupopup, menupopup,
menuitem, menuitem,
menu{ menu{
-moz-appearance: none !important; -moz-appearance: none !important;
} }
menupopup{ menupopup{
@ -39,7 +39,7 @@ menupopup{
menuitem, menuitem,
menu{ menu{
min-height:24px !important; min-height:24px !important;
color: var(--uc-text-color) !important; color: var(--uc-text-color) !important;
} }
@ -117,7 +117,7 @@ panelview toolbarbutton.subviewbutton .toolbarbutton-text,
} }
#PopupAutoCompleteRichResult .ac-emphasize-text.ac-emphasize-text-title{ #PopupAutoCompleteRichResult .ac-emphasize-text.ac-emphasize-text-title{
color: var(--uc-border-color) !important; color: var(--uc-border-color) !important;
} }
#editBookmarkPanel textbox, #editBookmarkPanel textbox,

View file

@ -9,38 +9,38 @@ See the above repository for updates as well as full license text. */
#sidebar-box{ --toolbar-non-lwt-bgcolor: var(--uc-light-bkgnd-color) } #sidebar-box{ --toolbar-non-lwt-bgcolor: var(--uc-light-bkgnd-color) }
#sidebar-search-container #search-box{ #sidebar-search-container #search-box{
-moz-appearance:none !important; -moz-appearance:none !important;
background-color: var(--uc-dark-bkgnd-color) !important; background-color: var(--uc-dark-bkgnd-color) !important;
border: none !important; border: none !important;
color: var(--uc-text-color) !important; color: var(--uc-text-color) !important;
} }
#history-panel, #history-panel,
#bookmarksPanel, #bookmarksPanel,
#sidebar-header{ #sidebar-header{
background-color: var(--uc-light-bkgnd-color) !important; background-color: var(--uc-light-bkgnd-color) !important;
color: var(--uc-text-color) !important; color: var(--uc-text-color) !important;
border-top: none !important; border-top: none !important;
border-bottom:none !important; border-bottom:none !important;
scrollbar-color: rgb(210,210,210) var(--uc-light-bkgnd-color) !important; scrollbar-color: rgb(210,210,210) var(--uc-light-bkgnd-color) !important;
} }
.sidebar-placesTreechildren, .sidebar-placesTreechildren,
#sidebar-box, #sidebar-box,
#sidebar-header{ #sidebar-header{
color: var(--uc-text-color) !important; color: var(--uc-text-color) !important;
} }
.sidebar-placesTreechildren::-moz-tree-cell{ .sidebar-placesTreechildren::-moz-tree-cell{
outline:none; outline:none;
border-radius:0px; border-radius:0px;
background-image:none; background-image:none;
} }
.sidebar-placesTreechildren::-moz-tree-cell(selected){ .sidebar-placesTreechildren::-moz-tree-cell(selected){
background-color: var(--uc-border-color) !important; background-color: var(--uc-border-color) !important;
} }
.sidebar-placesTreechildren::-moz-tree-cell(hover){ .sidebar-placesTreechildren::-moz-tree-cell(hover){
background-color: var(--uc-active-color) !important; background-color: var(--uc-active-color) !important;
} }

View file

@ -18,8 +18,8 @@ See the above repository for updates as well as full license text. */
#browser-bottombox, #browser-bottombox,
#customization-container, #customization-container,
findbar{ findbar{
background-color: var(--uc-light-bkgnd-color) !important; background-color: var(--uc-light-bkgnd-color) !important;
color: var(--uc-text-color) !important; color: var(--uc-text-color) !important;
} }
findbar{ background-image: none !important; } findbar{ background-image: none !important; }
@ -47,7 +47,7 @@ findbar{ background-image: none !important; }
#urlbar{ border-color: transparent !important; } #urlbar{ border-color: transparent !important; }
#urlbar[focused]{ #urlbar[focused]{
border-color: var(--uc-border-color) !important; border-color: var(--uc-border-color) !important;
} }
#urlbar .urlbar-icon:hover{ #urlbar .urlbar-icon:hover{

View file

@ -6,10 +6,10 @@ See the above repository for updates as well as full license text. */
/* Firefox 70+ */ /* Firefox 70+ */
#urlbar-container{ #urlbar-container{
transform: translateY(0); transform: translateY(0);
position: relative; position: relative;
z-index: 10; z-index: 10;
padding-block: 3px !important; padding-block: 3px !important;
padding-inline: 0px !important; padding-inline: 0px !important;
margin-inline: 5px !important; margin-inline: 5px !important;
} }

View file

@ -24,7 +24,7 @@ See the above repository for updates as well as full license text. */
/* Use this pref to check Mac OS where window controls are on left */ /* Use this pref to check Mac OS where window controls are on left */
/* This pref defaults to true on Mac and doesn't actually do anything on other platforms. So if your system has window controls on LEFT side you can set the pref to true */ /* This pref defaults to true on Mac and doesn't actually do anything on other platforms. So if your system has window controls on LEFT side you can set the pref to true */
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){ @supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
:root{ --uc-window-control-width: 72px; } :root{ --uc-window-control-width: 72px; }
:root[tabsintitlebar="true"]:not([inFullscreen]) #nav-bar{ :root[tabsintitlebar="true"]:not([inFullscreen]) #nav-bar{
border-inline-width: calc(var(--uc-window-control-width,0px) + var(--uc-window-drag-space-width,0px)) var(--uc-window-drag-space-width,0px) border-inline-width: calc(var(--uc-window-control-width,0px) + var(--uc-window-drag-space-width,0px)) var(--uc-window-drag-space-width,0px)
} }

View file

@ -8,18 +8,18 @@ See the above repository for updates as well as full license text. */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@-moz-document url("about:addons"){ @-moz-document url("about:addons"){
#list-view{ overflow: auto } #list-view{ overflow: auto }
/* Test for Firefox > 66 */ /* Test for Firefox > 66 */
@supports (inset-block:auto){ @supports (inset-block:auto){
#addon-list{ #addon-list{
display: grid; display: grid;
grid-template-areas: "a a"; grid-template-areas: "a a";
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
grid-auto-rows: min-content; grid-auto-rows: min-content;
overflow: hidden !important; overflow: hidden !important;
padding-bottom: 80px; /* increase this value if addons list content get cut */ padding-bottom: 80px; /* increase this value if addons list content get cut */
} }
} }
/* Test for Firefox < 66 */ /* Test for Firefox < 66 */
@supports not (inset-block:auto){ @supports not (inset-block:auto){
#addon-list > scrollbox > .scrollbox-innerbox{ #addon-list > scrollbox > .scrollbox-innerbox{
display: grid; display: grid;

View file

@ -21,11 +21,11 @@
/* Apply your custom modifications after imports */ /* Apply your custom modifications after imports */
:root{ :root{
--toolbar-bgcolor: rgb(36,44,59) !important; --toolbar-bgcolor: rgb(36,44,59) !important;
--uc-menu-bkgnd: var(--toolbar-bgcolor); --uc-menu-bkgnd: var(--toolbar-bgcolor);
--arrowpanel-background: var(--toolbar-bgcolor) !important; --arrowpanel-background: var(--toolbar-bgcolor) !important;
--autocomplete-popup-background: var(--toolbar-bgcolor) !important; --autocomplete-popup-background: var(--toolbar-bgcolor) !important;
--uc-menu-disabled: rgb(90,90,90) !important; --uc-menu-disabled: rgb(90,90,90) !important;
--lwt-toolbar-field-focus: rgb(36,44,59) !important; --lwt-toolbar-field-focus: rgb(36,44,59) !important;
} }