Guest User

userContent.css For Firefox about:newtab

a guest
Nov 19th, 2017
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.59 KB | None | 0 0
  1. /*
  2. This CSS is meant for the about:newtab display that was before firefox 57.
  3.  
  4. In firefox url bar :
  5. about:config
  6. browser.newtabpage.activity-stream.enabled > false
  7.  
  8. Open Firefox and press ALT to show the top menu, then click on Help → Troubleshooting Information
  9. Click the Show Folder button beside the Profile Folder entry
  10. Create a folder named "Chrome" in the directory that opens
  11. In the chrome folder create a css file with the name userContent.css
  12. Copy the following code to userContent.css
  13. (explanation from superuser.com by Rauf)
  14. */
  15.  
  16. @-moz-document url("about:newtab") {
  17.  
  18.     /* Background */
  19.     body {
  20.         background-color: #232323 !important;
  21.     }
  22.  
  23.     /* Title */
  24.     .newtab-title {
  25.         background-color: #393939 !important;
  26.         color: rgba(255, 255, 255, 0.8) !important;
  27.         border: 1px solid #232323 !important;
  28.     }
  29.  
  30.     /* Site block */
  31.     .newtab-site {
  32.         box-shadow: 0 2px 4px #050505 !important;
  33.     }
  34.  
  35.     /* Search icon */
  36.     #newtab-search-icon {
  37.         background-color: #353535 !important;
  38.     }
  39.  
  40.     /* Search field */
  41.     #newtab-search-text {
  42.         background-color: #474747 !important;
  43.         color: #dedede !important;
  44.     }
  45.    
  46.     /* Preferences button */
  47.     #newtab-customize-button {
  48.         fill: rgba(149, 149, 149, 0.6) !important;
  49.     }
  50.    
  51.     /* Firefox button */
  52.     /* Background */
  53.     #onboarding-overlay {
  54.         background: rgba(27, 27, 27, 0.9) !important;
  55.     }
  56.     /* Window background */
  57.     #onboarding-overlay.onboarding-opened > #onboarding-overlay-dialog {
  58.         background: #2c2c2c !important;
  59.     }
  60.     /* Text color */
  61.     #onboarding-overlay.onboarding-opened > #onboarding-overlay-dialog {
  62.         color: #cecece !important;
  63.     }
  64. }
Add Comment
Please, Sign In to add comment