helmfridsson commited on
Commit
08e9939
·
verified ·
1 Parent(s): b9b6afb

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +41 -0
style.css CHANGED
@@ -40,6 +40,22 @@ h1, h2, h3, h4, p, span, label, li {
40
  user-select: none !important;
41
  }
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  /* Dölj zoom / download / share – men inte bilden */
44
  .brain-icon .image-toolbar,
45
  .brain-icon .toolbar,
@@ -204,6 +220,21 @@ button.gr-button.card {
204
  border: none !important;
205
  }
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  /* =====================================================
208
  MEDDELANDE (Textbox)
209
  ===================================================== */
@@ -216,6 +247,8 @@ button.gr-button.card {
216
  color: #000000 !important;
217
  background-color: #ffffff !important;
218
  box-shadow: none !important;
 
 
219
  }
220
  .message-box{
221
  border: 2px solid #1e5bd7 !important;
@@ -256,6 +289,14 @@ button.gr-button.card {
256
  opacity: 1 !important;
257
  }
258
 
 
 
 
 
 
 
 
 
259
  .messagebox.block {
260
  background: #ffffff !important;
261
  color: #000000 !important;
 
40
  user-select: none !important;
41
  }
42
 
43
+ /* Dölj ALLA image-controls (zoom / download / share) */
44
+ .brain-icon button,
45
+ .brain-icon [class*="toolbar"],
46
+ .brain-icon [class*="icon"],
47
+ .brain-icon [role="toolbar"],
48
+ .brain-icon [aria-label],
49
+ .brain-icon svg {
50
+ display: none !important;
51
+ }
52
+
53
+ /* Säkerställ att endast bilden visas */
54
+ .brain-icon img {
55
+ display: block !important;
56
+ margin: 0 auto;
57
+ }
58
+
59
  /* Dölj zoom / download / share – men inte bilden */
60
  .brain-icon .image-toolbar,
61
  .brain-icon .toolbar,
 
220
  border: none !important;
221
  }
222
 
223
+ /* Ta bort markeringsrutor / fokusramar helt */
224
+ .question-list .ag-cell-focus,
225
+ .question-list .ag-cell-focus:focus,
226
+ .question-list .ag-cell-focus:focus-visible,
227
+ .question-list .ag-row-focus,
228
+ .question-list .ag-row-focus * {
229
+ outline: none !important;
230
+ box-shadow: none !important;
231
+ }
232
+
233
+ /* Ta bort selection-outline */
234
+ .question-list .ag-cell::after {
235
+ display: none !important;
236
+ }
237
+
238
  /* =====================================================
239
  MEDDELANDE (Textbox)
240
  ===================================================== */
 
247
  color: #000000 !important;
248
  background-color: #ffffff !important;
249
  box-shadow: none !important;
250
+ --border-color-primary: #ffffff !important;
251
+ --block-border-color: #ffffff !important;
252
  }
253
  .message-box{
254
  border: 2px solid #1e5bd7 !important;
 
289
  opacity: 1 !important;
290
  }
291
 
292
+ /* Tvinga textfärg även när värde sätts via JS */
293
+ .message-box textarea,
294
+ .message-box textarea:focus,
295
+ .message-box textarea:active {
296
+ color: #000000 !important;
297
+ -webkit-text-fill-color: #000000 !important; /* KRITISKT för Chromium */
298
+ }
299
+
300
  .messagebox.block {
301
  background: #ffffff !important;
302
  color: #000000 !important;