Advertisement
Guest User

user.css

a guest
Dec 18th, 2022
1,010
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.83 KB | Source Code | 0 0
  1. /* user.css
  2. Custom Dark theme for Stable Diffusion WebUI alpha-v1.01
  3. Original Style.css Edit
  4.  
  5. /*================================================ */
  6. /* Changes */
  7. /*================================================ */
  8.  
  9. /*css hide Gradio animations*/
  10.  
  11. .dark .wrap .m-12 svg, .dark .wrap .z-20 svg, .dark .meta-text-center, .dark .meta-text {
  12.     display:none !important;
  13. }
  14. .dark .wrap .m-12::before, .dark .wrap .z-20::before {
  15.     content:"Loading..." !important;
  16. }
  17.  
  18. /*Gradio Progrees bar color change*/
  19.  
  20. .dark .progress-bar {
  21.     background-color: #ff205f !important;
  22. }
  23.  
  24. /* Import font */
  25.  
  26. @font-face {
  27.     font-family: 'Source Code Pro', monospace !important;
  28.     src: url('SourceCodePro-Regular.otf') !important;
  29. }
  30.  
  31. .dark fieldset span.text-gray-500, .dark .gr-block.gr-box span.text-gray-500, .dark label.block span{
  32.    border: 1px solid #ff205f75!important;
  33. }
  34.  
  35. .dark .dark\:bg-gray-900, .dark, .dark .gr-button-primary, .dark .dark\:text-gray-200, .dark .text-gray-700, .dark .text-gray-800, .dark .text-gray-900, .dark .\!text-gray-700, .dark .\!text-gray-800 {
  36.     color: #a7abb1 !important;
  37. }
  38.  
  39. .dark .gr-input {
  40.     font-family: 'Source Code Pro', monospace !important;
  41.     font: 'Source Code Pro' !important;
  42.     color: #65f6ae !important;
  43. }
  44.  
  45. .dark .gr-input::selection, .dark .gr-input:focus, .dark .gr-input:hover  {
  46.     color: white !important;
  47.     background-color: #ff205f75 !important;
  48. }
  49.  
  50. .dark, .dark .gr-button, .dark .bg-white, .dark .gr-panel, .gr-button-lg, .gr-box, .dark .dark\:bg-gray-700, .dark .dark\:bg-gray-950,
  51.  .dark fieldset span.text-gray-500, .dark .gr-block.gr-box span.text-gray-500,
  52.  .dark label.block span {
  53.     background-color: #000000 !important;
  54. }
  55.  
  56. .dark .gr-radio, gr-check-radio gr-checkbox, .dark .gr-button-lg, .dark .gr-box, .dark .rounded-lg, .dark div.svelte-10ogue4 > :last-child, .dark div.svelte-10ogue4 > :first-child, rounded-t-lg {
  57.     border-radius: 0px !important;
  58. }
  59.  
  60. .dark .gr-input-label, .dark .gr-button {
  61.     background-image:  none !important;
  62. }
  63.  
  64. .dark .gr-check-radio:checked, .dark gr-check-radio gr-checkbox {
  65.     background-color: #ff205f !important;
  66. }
  67.  
  68. #txt2img_gallery, #img2img_gallery {
  69.     border-width: 1px !important;
  70.     border-radius: 0 !important;
  71.     background-image: url('file=logo.png') !important;
  72.     background-size: cover !important;
  73.     background-position: center center !important;
  74.     background-repeat: no-repeat !important;
  75. }  
  76.  
  77. #modelmerger_merge, #deforum_generate, #depthmap_generate, #vxa_gen_btn {
  78.     border-color: #ff205f !important;
  79. }
  80.  
  81. #txt2img_generate:after, #img2img_generate:after, #extras_generate:after {
  82.     background-image: text !important;
  83. }
  84.  
  85. #txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip {
  86.     background:  #333 !important;
  87. }
  88.  
  89. #txt2img_gallery svg, #img2img_gallery svg {
  90.     display: none !important;
  91. }
  92.  
  93. /* Generation progress bar Color */
  94.  
  95. .dark .progressDiv .progress {
  96.     font-family: 'Source Code Pro', monospace !important;
  97.     font: 'Source Code Pro'!important;
  98.     width: 0% !important;
  99.     height: 20px !important;
  100.     background: #ff205f !important;
  101.     color: white !important;
  102.     font-weight: bold !important;
  103.     line-height: 20px !important;
  104.     padding: 0 8px 0 0 !important;
  105.     text-align: right !important;
  106.     border-radius: 7px !important;
  107. }
  108.  
  109. .dark .gr-button-primary  {
  110.     font-family: 'Source Code Pro', monospace !important;
  111.     font: 'Source Code Pro' !important;
  112.     border-color: #ff205f !important;
  113.     border-width: 3px !important;
  114.     background-image: url('file=logo.png') !important;
  115.     background-size: cover !important;
  116.     background-position: center center !important;
  117.     background-repeat: no-repeat !important;
  118. }
  119.  
  120. .dark .gr-button-primary:hover  {
  121.     border-color: #ff205f !important;
  122.     border-width: 3px !important;
  123.     background-color: #ff205f75 !important;
  124. }
  125.  
  126. .dark .gr-button-secondary {
  127.     font-family: 'Source Code Pro', monospace !important;
  128.     font: 'Source Code Pro' !important;
  129.     border-color: #ff205f75 !important;
  130.     border-width: 1px !important;
  131. }
  132.  
  133. .dark .gr-button-secondary:hover {
  134.     border-color: #ff205f75 !important;
  135.     border-width: 1px !important;
  136.     background-color: #ff205f75 !important;
  137. }
  138.  
  139. /* gradio 3.4.1 stuff for editable scrollbar values */
  140. .dark .gr-box > div > div > input.gr-text-input{
  141.     position: absolute !important;
  142.     right: 0.5em !important;
  143.     top: -0.6em !important;
  144.     z-index: 200 !important;
  145.     width: 8em !important;
  146.     border-color: #ff205f75 !important;
  147.     border-width: 1px !important;
  148. }
  149.  
  150. #gallery_item {
  151.     border-width: 1px !important;
  152.     border-radius: 0 !important;
  153.     background-image: url('file=logo.png') !important;
  154.     background-size: cover !important;
  155.     background-position: center center !important;
  156.     background-repeat: no-repeat !important;
  157. }
  158.  
  159. .dark .gallery-item.svelte-1g9btlg.svelte-1g9btlg {
  160.     --tw-ring-color: #ff205f !important;
  161. }
  162.  
  163. .dark .dark\:bg-gray-900 {
  164.     background-image: url('file=logo.png') !important;
  165.     background-size: cover !important;
  166.     background-position: center center !important;
  167.     background-repeat: no-repeat !important;
  168.     --tw-bg-opacity: 1 !important;
  169.     background-color: rgb(10, 10, 10) !important;
  170. }
  171.  
  172. #context-menu {
  173.     font-family: 'Source Code Pro', monospace !important;
  174.     font: 'Source Code Pro'!important;
  175.     border: 2px solid #ff205f75 !important;
  176.     border-radius: 1px !important;
  177.     box-shadow: 1px 1px 2px #ff205f75 !important;
  178. }
  179.  
  180. .context-menu-items a:hover {
  181.     background: #ff205f75 !important;
  182. }
  183.  
  184. #txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip {
  185.     background: rgb(10, 10, 10) !important;
  186. }
  187.  
  188. #txt2img_interrupt:hover, #img2img_interrupt:hover, #txt2img_skip:hover, #img2img_skip:hover {
  189.     background: #ff205f !important;
  190. }
  191.  
  192.  
Tags: user.css
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement