Skip to content

pixai.art - personal tweaks, cleaner UI by j0n4t

Details

Authorj0n4t

LicenseNo License

Categorypixai.art

Created

Updated

Size2.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Personal edits for a cleaner simple usage

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           pixai.art/generator/image
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Personal edits for a cleaner simple usage
@author         Me
==/UserStyle== */

@-moz-document url-prefix("https://pixai.art/generator/image") {
  /* reorder some settings */
  [id$="content-Settings"] > :nth-child(5) {  /* size */
    order: -4 !important;
  }
  
  [id$="content-Settings"] > :nth-child(3) { /* model */
    order: -3 !important;
  }
    
  [id$="content-Settings"] > :nth-child(4) { /* lora */
    order: -2 !important;
  }
  
  [id$="content-Settings"] > :nth-child(9) { /* advanced */
    order: -1 !important;
  }
  
  /* titles and fillers */
  [id$="content-Settings"] > :nth-child(5) > :nth-last-child(2),
  [id$="content-Settings"] > :nth-child(3) > :nth-last-child(2),
  [id$="content-Settings"] > :nth-child(3) > :nth-last-child(1) > :nth-last-child(2),
  [id$="content-Settings"] > :nth-child(4) > :nth-last-child(2),
  [id$="content-Settings"] > :nth-child(4) > :nth-last-child(1) > :nth-last-child(2) {
    display: none !important;
  }
  
    
  [id$="content-Settings"] > :last-child { /* notes - reset */
    display: none !important;
  }
  
/* tabs above prompt */ 
  main > .\@container > :first-child { 
    display: none !important;
  }

  main > .\@container > :last-child > :last-child { /* generate button and priority tick */
    flex: 1 !important;
  }
  
  main > .\@container > :last-child > :last-child > :last-child  { /* generate button and priority tick */
    flex-direction: column;
  }
  
  /* bye annoying booster button */
  main > .\@container > :last-child > :first-child {
    display: none !important;
  }
}

@-moz-document domain("pixai.art") {
  /* bye boring gen bar */
  .py-4.msm\:py-8,
  /* bye annoying xmas things */
/*   img[alt="PixAI Logo"],
  .msm\:-mx-6.mmd\:-mx-12.mmd\:-mt-12.mmd\:rounded-t-lg,
  .sticky.top-0.z-20 > :first-child,
  .fixed.bottom-24.right-6.gap-8, */
  [data-testid="SnowfallCanvas"] {
    display: none !important;
  }
}

Reviews

No reviews yet.