anonymous12321 commited on
Commit
bd17615
·
verified ·
1 Parent(s): 30e6c5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -2,7 +2,7 @@
2
  # -*- coding: utf-8 -*-
3
  """
4
  🪶 Council Matters Classifier – PT
5
- Dark modern Gradio interface with compact, fixed-width arrow buttons.
6
  """
7
 
8
  import gradio as gr
@@ -192,8 +192,8 @@ button:hover { background-color: #00aaff !important; }
192
  position: relative;
193
  }
194
  .arrow-btn {
195
- width: 25px; /* largura fixa */
196
- height: 25px; /* altura fixa */
197
  font-size: 12px;
198
  padding: 0;
199
  background: none;
@@ -205,9 +205,9 @@ button:hover { background-color: #00aaff !important; }
205
  .arrow-btn:hover { color: #ffffff; transform: scale(1.3); }
206
  .use-btn { background-color:#66b3ff !important; color:#000 !important; font-weight:600 !important; border-radius:6px !important; padding:3px 8px !important; margin-left:5px;}
207
  .use-btn:hover { background-color:#99ccff !important; }
208
- .suggestion-box .prev-btn { position: absolute; left: 5px; top: 50%; transform: translateY(-50%); }
209
- .suggestion-box .next-btn { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); }
210
- .suggestion-box .suggestion-text { width: 100%; text-align: center; padding: 0 40px; border:none; background:none; color:#eee; font-weight:500; }
211
  """
212
 
213
  # ---------------- Gradio UI ----------------
 
2
  # -*- coding: utf-8 -*-
3
  """
4
  🪶 Council Matters Classifier – PT
5
+ Dark modern Gradio interface with compact arrow buttons on top of suggestion box.
6
  """
7
 
8
  import gradio as gr
 
192
  position: relative;
193
  }
194
  .arrow-btn {
195
+ width: 25px;
196
+ height: 25px;
197
  font-size: 12px;
198
  padding: 0;
199
  background: none;
 
205
  .arrow-btn:hover { color: #ffffff; transform: scale(1.3); }
206
  .use-btn { background-color:#66b3ff !important; color:#000 !important; font-weight:600 !important; border-radius:6px !important; padding:3px 8px !important; margin-left:5px;}
207
  .use-btn:hover { background-color:#99ccff !important; }
208
+ .suggestion-box .prev-btn { position: absolute; top: 5px; left: 5px; }
209
+ .suggestion-box .next-btn { position: absolute; top: 5px; right: 5px; }
210
+ .suggestion-box .suggestion-text { width: 100%; text-align: center; border:none; background:none; color:#eee; font-weight:500; padding-top:8px; }
211
  """
212
 
213
  # ---------------- Gradio UI ----------------