Spaces:
Sleeping
Sleeping
Update style.css
Browse files
style.css
CHANGED
|
@@ -220,13 +220,13 @@ button.gr-button.card {
|
|
| 220 |
|
| 221 |
/* =====================================================
|
| 222 |
MEDDELANDE (Textbox)
|
| 223 |
-
=====================================================
|
| 224 |
.message-box,
|
| 225 |
.message-box .form,
|
| 226 |
.message-box .wrap,
|
| 227 |
.message-box.gr-box {
|
| 228 |
background: #ffffff !important;
|
| 229 |
-
/* border: none !important;
|
| 230 |
color: #000000 !important;
|
| 231 |
background-color: #ffffff !important;
|
| 232 |
box-shadow: none !important;
|
|
@@ -235,7 +235,7 @@ button.gr-button.card {
|
|
| 235 |
.message-box .form *{
|
| 236 |
--border-color-primary: #ffffff !important;
|
| 237 |
background: #ffffff !important;
|
| 238 |
-
/* border: none !important;
|
| 239 |
}
|
| 240 |
|
| 241 |
.message-box{
|
|
@@ -247,12 +247,12 @@ button.gr-button.card {
|
|
| 247 |
background: #ffffff !important;
|
| 248 |
}
|
| 249 |
|
| 250 |
-
/* Ta bort Textbox-label
|
| 251 |
.message-box label {
|
| 252 |
display: none !important;
|
| 253 |
}
|
| 254 |
|
| 255 |
-
/* Själva textarea
|
| 256 |
.message-box textarea {
|
| 257 |
background-color: #ffffff !important;
|
| 258 |
color: #000000 !important;
|
|
@@ -260,10 +260,10 @@ button.gr-button.card {
|
|
| 260 |
/*
|
| 261 |
border: 2px solid #1e5bd7 !important;
|
| 262 |
border-radius: 10px !important;
|
| 263 |
-
|
| 264 |
font-size: 15px;
|
| 265 |
min-height: 220px;
|
| 266 |
-
padding: 12px; /* ← AVGÖRANDE
|
| 267 |
resize: none;
|
| 268 |
|
| 269 |
--background-fill-primary: #ffffff !important;
|
|
@@ -271,23 +271,69 @@ button.gr-button.card {
|
|
| 271 |
--body-background-fill: #ffffff !important;
|
| 272 |
}
|
| 273 |
|
| 274 |
-
/* Placeholder
|
| 275 |
.message-box textarea::placeholder {
|
| 276 |
color: #6b6b6b !important;
|
| 277 |
opacity: 1 !important;
|
| 278 |
}
|
| 279 |
|
| 280 |
-
/* Tvinga textfärg även när värde sätts via JS
|
| 281 |
.message-box textarea,
|
| 282 |
.message-box textarea:focus,
|
| 283 |
.message-box textarea:active {
|
| 284 |
color: #000000 !important;
|
| 285 |
-
-webkit-text-fill-color: #000000 !important; /* KRITISKT för Chromium
|
| 286 |
}
|
| 287 |
|
| 288 |
.messagebox.block {
|
| 289 |
background: #ffffff !important;
|
| 290 |
color: #000000 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 291 |
}
|
| 292 |
|
| 293 |
/* =====================================================
|
|
|
|
| 220 |
|
| 221 |
/* =====================================================
|
| 222 |
MEDDELANDE (Textbox)
|
| 223 |
+
=====================================================
|
| 224 |
.message-box,
|
| 225 |
.message-box .form,
|
| 226 |
.message-box .wrap,
|
| 227 |
.message-box.gr-box {
|
| 228 |
background: #ffffff !important;
|
| 229 |
+
/* border: none !important;
|
| 230 |
color: #000000 !important;
|
| 231 |
background-color: #ffffff !important;
|
| 232 |
box-shadow: none !important;
|
|
|
|
| 235 |
.message-box .form *{
|
| 236 |
--border-color-primary: #ffffff !important;
|
| 237 |
background: #ffffff !important;
|
| 238 |
+
/* border: none !important;
|
| 239 |
}
|
| 240 |
|
| 241 |
.message-box{
|
|
|
|
| 247 |
background: #ffffff !important;
|
| 248 |
}
|
| 249 |
|
| 250 |
+
/* Ta bort Textbox-label
|
| 251 |
.message-box label {
|
| 252 |
display: none !important;
|
| 253 |
}
|
| 254 |
|
| 255 |
+
/* Själva textarea
|
| 256 |
.message-box textarea {
|
| 257 |
background-color: #ffffff !important;
|
| 258 |
color: #000000 !important;
|
|
|
|
| 260 |
/*
|
| 261 |
border: 2px solid #1e5bd7 !important;
|
| 262 |
border-radius: 10px !important;
|
| 263 |
+
|
| 264 |
font-size: 15px;
|
| 265 |
min-height: 220px;
|
| 266 |
+
padding: 12px; /* ← AVGÖRANDE
|
| 267 |
resize: none;
|
| 268 |
|
| 269 |
--background-fill-primary: #ffffff !important;
|
|
|
|
| 271 |
--body-background-fill: #ffffff !important;
|
| 272 |
}
|
| 273 |
|
| 274 |
+
/* Placeholder
|
| 275 |
.message-box textarea::placeholder {
|
| 276 |
color: #6b6b6b !important;
|
| 277 |
opacity: 1 !important;
|
| 278 |
}
|
| 279 |
|
| 280 |
+
/* Tvinga textfärg även när värde sätts via JS
|
| 281 |
.message-box textarea,
|
| 282 |
.message-box textarea:focus,
|
| 283 |
.message-box textarea:active {
|
| 284 |
color: #000000 !important;
|
| 285 |
+
-webkit-text-fill-color: #000000 !important; /* KRITISKT för Chromium
|
| 286 |
}
|
| 287 |
|
| 288 |
.messagebox.block {
|
| 289 |
background: #ffffff !important;
|
| 290 |
color: #000000 !important;
|
| 291 |
+
}*/
|
| 292 |
+
|
| 293 |
+
/* =====================================================
|
| 294 |
+
MEDDELANDE (Textbox) – STABIL LÖSNING
|
| 295 |
+
===================================================== */
|
| 296 |
+
|
| 297 |
+
/* Yttre container */
|
| 298 |
+
.message-box {
|
| 299 |
+
background: #ffffff !important;
|
| 300 |
+
border: 2px solid #1e5bd7 !important;
|
| 301 |
+
border-radius: 16px !important;
|
| 302 |
+
padding: 0 !important;
|
| 303 |
+
min-height: 220px;
|
| 304 |
+
}
|
| 305 |
+
|
| 306 |
+
/* Ta bort Gradio-inre effekter */
|
| 307 |
+
.message-box .wrap,
|
| 308 |
+
.message-box.gr-box {
|
| 309 |
+
background: transparent !important;
|
| 310 |
+
border: none !important;
|
| 311 |
+
box-shadow: none !important;
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
+
/* Själva textarea – ALL text ritas här */
|
| 315 |
+
.message-box textarea {
|
| 316 |
+
width: 100% !important;
|
| 317 |
+
min-height: 220px;
|
| 318 |
+
padding: 14px !important;
|
| 319 |
+
|
| 320 |
+
background-color: #ffffff !important;
|
| 321 |
+
color: #000000 !important;
|
| 322 |
+
|
| 323 |
+
border: none !important;
|
| 324 |
+
outline: none !important;
|
| 325 |
+
resize: none;
|
| 326 |
+
|
| 327 |
+
font-size: 15px;
|
| 328 |
+
line-height: 1.4;
|
| 329 |
+
|
| 330 |
+
-webkit-text-fill-color: #000000 !important;
|
| 331 |
+
}
|
| 332 |
+
|
| 333 |
+
/* Placeholder */
|
| 334 |
+
.message-box textarea::placeholder {
|
| 335 |
+
color: #6b6b6b !important;
|
| 336 |
+
opacity: 1 !important;
|
| 337 |
}
|
| 338 |
|
| 339 |
/* =====================================================
|