helmfridsson commited on
Commit
d269564
·
verified ·
1 Parent(s): 0174c8a

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +30 -0
style.css CHANGED
@@ -355,6 +355,36 @@ label.container.show_textbox_border {
355
  box-shadow: none !important;
356
  }
357
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
358
  /* =====================================================
359
  SVAR
360
  ===================================================== */
 
355
  box-shadow: none !important;
356
  }
357
 
358
+ /* ===============================
359
+ TA BORT FOCUS-RUTA I TEXTAREA
360
+ =============================== */
361
+
362
+ /* Browser focus */
363
+ .message-box textarea:focus,
364
+ .message-box textarea:focus-visible,
365
+ .message-box textarea:active {
366
+ outline: none !important;
367
+ box-shadow: none !important;
368
+ }
369
+
370
+ /* Gradio / Svelte focus-layer */
371
+ .message-box textarea::after,
372
+ .message-box textarea::before {
373
+ display: none !important;
374
+ }
375
+
376
+ /* Om Gradio lägger focus på wrapper */
377
+ .message-box .wrap:focus,
378
+ .message-box .wrap:focus-within {
379
+ outline: none !important;
380
+ box-shadow: none !important;
381
+ border-color: #1e5bd7 !important; /* behåll din blå ram */
382
+ }
383
+
384
+ /* Safari / Chromium specialfall */
385
+ .message-box textarea {
386
+ -webkit-tap-highlight-color: #ffffff !important;
387
+
388
  /* =====================================================
389
  SVAR
390
  ===================================================== */