vittore commited on
Commit
b64f780
1 Parent(s): ffe8ab1

Add illusion_style module

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. illusion_style.py +10 -0
app.py CHANGED
@@ -18,7 +18,7 @@ from diffusers import (
18
  import tempfile
19
  import time
20
  from share_btn import community_icon_html, loading_icon_html, share_js
21
- #import user_history
22
  from illusion_style import css
23
 
24
 
 
18
  import tempfile
19
  import time
20
  from share_btn import community_icon_html, loading_icon_html, share_js
21
+ import user_history
22
  from illusion_style import css
23
 
24
 
illusion_style.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ css='''
2
+ #share-btn-container {padding-left: 0.5rem !important; padding-right: 0.5rem !important; background-color: #000000; justify-content: center; align-items: center; border-radius: 9999px !important; max-width: 13rem; margin-left: auto;}
3
+ div#share-btn-container > div {flex-direction: row;background: black;align-items: center}
4
+ #share-btn-container:hover {background-color: #060606}
5
+ #share-btn {all: initial; color: #ffffff;font-weight: 600; cursor:pointer; font-family: 'IBM Plex Sans', sans-serif; margin-left: 0.5rem !important; padding-top: 0.5rem !important; padding-bottom: 0.5rem !important;right:0;}
6
+ #share-btn * {all: unset}
7
+ #share-btn-container div:nth-child(-n+2){width: auto !important;min-height: 0px !important;}
8
+ #share-btn-container .wrap {display: none !important}
9
+ #share-btn-container.hidden {display: none!important}
10
+ '''