AngelinaZanardi commited on
Commit
c6c1fa7
·
verified ·
1 Parent(s): 8253edb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -15
app.py CHANGED
@@ -130,22 +130,31 @@ demo = gr.Blocks()
130
  with demo:
131
  gr.HTML("""
132
  <style>
133
- /* General styles for the interface */
134
- .gr-button {
135
- background-color: #F44336 !important; /* Red background */
136
- color: white !important; /* White text */
137
- border: none !important;
138
- padding: 10px 20px !important;
139
- text-align: center !important;
140
- text-decoration: none !important;
141
- display: inline-block !important;
142
- font-size: 16px !important;
143
- margin: 4px 2px !important;
144
- cursor: pointer !important;
145
- border-radius: 4px !important;
146
  }
147
- .gr-button:hover {
148
- background-color: #B22222 !important; /* Darker red on hover */
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  }
150
  </style>
151
  """)
 
130
  with demo:
131
  gr.HTML("""
132
  <style>
133
+ /* Target Gradio buttons specifically */
134
+ button.primary-button {
135
+ background-color: #F44336; /* Green */
136
+ color: white;
137
+ border: none;
138
+ padding: 10px 20px;
139
+ font-size: 16px;
140
+ cursor: pointer;
141
+ border-radius: 5px;
 
 
 
 
142
  }
143
+ button.primary-button:hover {
144
+ background-color: #B22222; /* Darker green */
145
+ }
146
+
147
+ button.secondary-button {
148
+ background-color: #D3D3D3; /* Red */
149
+ color: white;
150
+ border: none;
151
+ padding: 10px 20px;
152
+ font-size: 16px;
153
+ cursor: pointer;
154
+ border-radius: 5px;
155
+ }
156
+ button.secondary-button:hover {
157
+ background-color: #808080; /* Darker red */
158
  }
159
  </style>
160
  """)