Yntec commited on
Commit
8763bc6
1 Parent(s): 4c3ad44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +28 -3
app.py CHANGED
@@ -77,9 +77,34 @@ with gr.Blocks(css=css) as myface:
77
  with gr.Column(scale=100):
78
  magic1=gr.Textbox(label="Your Prompt", lines=4)
79
  gr.HTML("""<style> .gr-button {
80
- color: white !important;
81
- border-color: #ffffff !important;
82
- background-image: linear-gradient(#000000, #660099) !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  }</style>""")
84
  run=gr.Button("Generate Image")
85
  with gr.Row():
 
77
  with gr.Column(scale=100):
78
  magic1=gr.Textbox(label="Your Prompt", lines=4)
79
  gr.HTML("""<style> .gr-button {
80
+ cursor:pointer;
81
+ margin-left:5px;
82
+ margin-bottom:15px;
83
+ text-shadow:0 -2px 0 darken($color,20%),0 1px 1px lighten($color,20%) ;
84
+ box-sizing:border-box;
85
+ font-size:2em;
86
+ font-family: Helvetica, Arial, Sans-Serif;
87
+ text-decoration:none;
88
+ font-weight:bold;
89
+ color:$text-color;
90
+ &:visited {
91
+ color:$text-color;
92
+ }
93
+ height:$height+px;
94
+ line-height:$height+px;
95
+ padding: 0 (($height/2)+px);
96
+ display:inline-block;
97
+ width:auto;
98
+ background: linear-gradient(to bottom,
99
+ saturate(lighten($color,15%),35%) 0%,
100
+ saturate(lighten($color,12%),15%) 26%,
101
+ $color 100%);
102
+ border-radius:5px;
103
+ border-top:1px solid lighten($color,22%);
104
+ border-bottom:1px solid lighten($color,20%);
105
+ top:0;
106
+ transition:all ($button-speed + s) $timing-function;
107
+ position:relative;
108
  }</style>""")
109
  run=gr.Button("Generate Image")
110
  with gr.Row():