Last active
May 12, 2024 00:49
-
-
Save MagicalBlob/d1f26d6dd6e9bffd124c84557cccb0cf to your computer and use it in GitHub Desktop.
My Firefox userChrome.css & userContent.css
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
/* Move Find Bar position. Based on: https://pastebin.com/sucmEx7N */ | |
.browserContainer > findbar { | |
/* Position the Find Bar above the page */ | |
order: -1 !important; | |
/* Move Find Bar border from top to bottom */ | |
border-top: none !important; | |
border-bottom: 1px solid hsl(240, 5%, 5%) !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
/* ACTIVITY STREAM */ | |
@-moz-document url(about:home), url(about:newtab) | |
{ | |
/* Round Top Sites tiles */ | |
.activity-stream .top-site-outer .tile, .activity-stream .top-site-outer .top-site-icon, .activity-stream .top-site-outer .letter-fallback { | |
border-radius: 25% !important; | |
} | |
/* Fit Top Sites icons to wrapper */ | |
.activity-stream .top-site-outer:not(.add-button) .tile .icon-wrapper { | |
width: 100% !important; | |
height: 100% !important; | |
} | |
/* Remove shadow from placeholder tile */ | |
.activity-stream .top-site-outer.placeholder .tile { | |
box-shadow: none !important; | |
} | |
/* Remove background from placeholder tile */ | |
.activity-stream .top-site-outer.placeholder.add-button .tile { | |
background-color: transparent !important; | |
} | |
/* Remove title from placeholder tile */ | |
.activity-stream .top-site-outer.placeholder.add-button .title { | |
opacity: 0; | |
} | |
/* Lower the Top Sites context menu to the inside of the inner container */ | |
.activity-stream .top-site-outer .context-menu-button { | |
top: 0px !important; | |
} | |
/* Hide pinned icon on Top Sites */ | |
.activity-stream .icon.icon-pin-small { | |
display: none !important; | |
} | |
/* Change Top Sites title weight */ | |
.activity-stream .title.pinned span { | |
font-weight: bold; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice. This fixed up my top sites. Probably should embed it within
@-moz-document url(about:newtab) { ... }
https://developer.mozilla.org/en-US/docs/Web/CSS/Mozilla_Extensions#at-rules