FineWine

@-moz-document url-prefix("about:")

Jun 15th, 2026 (edited)
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.79 KB | Software | 0 0
  1. /***********************************************
  2. Firefox userContent.css about:# pages.
  3. With help from: Ben Haube and TraditionalTie4831
  4. LAST MODIFIED 02/07/2026
  5. ***********************************************/
  6.  
  7. @-moz-document url(about:addons),
  8.                url(about:config),
  9.                url(about:profiles),
  10.                url(about:preferences),
  11.                url(about:support),
  12.                url(about:translations#src=detect) {
  13.    
  14.     :root {
  15.         --rainbow: linear-gradient(45deg, red 0%, orange 16.66%, yellow 33.33%, green 50%, blue 66.66%, indigo 83.33%, violet 100%) !important;
  16.     }
  17.  
  18.     input[type="search"],
  19.     #about-config-search[type="search"] {
  20.         outline: none !important;
  21.         border-color: transparent !important;
  22.         border-width: 2px !important;
  23.         background:
  24.             linear-gradient(
  25.                 var(--input-text-background-color),
  26.                 var(--input-text-background-color)
  27.             ) padding-box,
  28.             var(--rainbow) border-box !important;
  29.     }
  30.    
  31.     .action-box,
  32.     .label-wrapper,
  33.     table,
  34.     tr,
  35.     td,
  36.     #about-translations-source-section,
  37.     #about-translations-target-section,
  38.     .about-translations-select,    
  39.     .select-wrapper {
  40.         background:
  41.             linear-gradient(
  42.                 var(--background-color-box),
  43.                 var(--background-color-box)
  44.             ) padding-box,
  45.             var(--rainbow) border-box !important;
  46.         border-color: transparent !important;
  47.         border-width: 1px !important;
  48.     }
  49. }
  50.  
  51. @-moz-document url(about:addons),
  52.                url(about:preferences) {
  53.     .card,
  54.     .action-box,
  55.     hr,
  56.     moz-card,
  57.     .article.moz-card {
  58.         background:
  59.             linear-gradient(
  60.                 var(--background-color-box),
  61.                 var(--background-color-box)
  62.             ) padding-box,
  63.             var(--rainbow) border-box !important;
  64.         border-color: transparent !important;
  65.         border-width: 2px !important;
  66.     }
  67. }
Advertisement
Add Comment
Please, Sign In to add comment