Last active
August 29, 2020 06:59
-
-
Save iiiGerardoiii/6cf2725006ddb0d640217f2ad250805b to your computer and use it in GitHub Desktop.
Firefox chrome folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_bookmarks_toolbar.css made available under Mozilla Public License v. 2.0 | |
See the above repository for updates as well as full license text. */ | |
#PersonalToolbar{ | |
--uc-bm-height: 21px; /* Might need to adjust if the toolbar has other buttons */ | |
--uc-bm-padding: 4px; /* Vertical padding to be applied to bookmarks */ | |
--uc-autohide-toolbar-delay: 600ms; /* The toolbar is hidden after 0.6s */ | |
/* 0deg = "show" ; 90deg = "hide" ; Set the following to control when bookmarks are shown */ | |
--uc-autohide-toolbar-focus-rotation: 0deg; /* urlbar is focused */ | |
--uc-autohide-toolbar-hover-rotation: 90deg; /* cursor is over the toolbar area */ | |
} | |
:root[uidensity="compact"] #PersonalToolbar{ --uc-bm-padding: 1px } | |
:root[uidensity="touch"] #PersonalToolbar{ --uc-bm-padding: 7px } | |
#PersonalToolbar:not([customizing]){ | |
position: relative; | |
margin-bottom: calc(0px - var(--uc-bm-height) - 2 * var(--uc-bm-padding)); | |
transform: rotateX(90deg); | |
transform-origin: top; | |
transition: transform 135ms linear var(--uc-autohide-toolbar-delay) !important; | |
z-index: 1; | |
} | |
#PlacesToolbarItems > .bookmark-item{ padding-block: var(--uc-bm-padding) !important; } | |
#nav-bar:focus-within + #PersonalToolbar{ | |
transition-delay: 100ms !important; | |
transform: rotateX(var(--uc-autohide-toolbar-focus-rotation,0)); | |
} | |
#navigator-toolbox:hover > #PersonalToolbar{ | |
transition-delay: 100ms !important; | |
transform: rotateX(var(--uc-autohide-toolbar-hover-rotation,0)); | |
} | |
#navigator-toolbox:hover > #nav-bar:focus-within + #PersonalToolbar { | |
transform: rotateX(0); | |
} | |
/* Uncomment to enable compatibility for multi-row_bookmarks.css */ | |
/* This would break buttons placed in the toolbar but that is likely not happening if you are using multi-row setup */ | |
/* | |
#PersonalToolbar:not([customizing]){ | |
position: fixed; | |
display: block; | |
margin-bottom: 0px !important; | |
} | |
*/ | |
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/compact_urlbar_megabar.css made available under Mozilla Public License v. 2.0 | |
See the above repository for updates as well as full license text. */ | |
/* Make urlbar appear more compact */ | |
#urlbar[breakout]{ | |
margin-inline-start: 0px !important; | |
width: 100% !important; | |
left: 0 !important; | |
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important; | |
} | |
#urlbar[breakout]:not([open]){ bottom: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important; } | |
.urlbarView{ margin-inline: 0 !important; width: auto !important; } | |
.urlbarView-row{ padding: 0 2px !important; } | |
.urlbarView-row-inner{ padding-inline-start: 4px !important; } | |
#urlbar-background{ animation: none !important; } | |
#urlbar-input-container{ padding: 0 !important; height: 100% !important; } | |
#identity-box{ padding-block: var(--urlbar-icon-padding) } | |
.urlbarView > .search-one-offs:not([hidden]){ padding-block: 0px !important; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document regexp("about:(newtab|home)") { | |
body { | |
background-color: #222 !important; | |
overflow-y:hidden!important; | |
color: #BABABB!important; | |
} | |
.prefs-pane-button button{ | |
fill: rgba(255, 255, 255, 0.6)!important; | |
} | |
.prefs-pane-button button:hover{ | |
background-color:#222!important; | |
fill: rgba(255, 255, 255, 0.3)!important; | |
} | |
#onboarding-overlay-button { | |
display: none!important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment