Spaces:
Sleeping
Sleeping
File size: 21,147 Bytes
9253c67 a58aedd 9253c67 a58aedd 848c8a3 9253c67 64cc758 e5f540d 4885a3b 9253c67 64cc758 9253c67 64cc758 9253c67 64cc758 848c8a3 64cc758 9253c67 848c8a3 9253c67 848c8a3 64cc758 9253c67 64cc758 9253c67 a58aedd 9253c67 a58aedd 9253c67 a58aedd 9253c67 64cc758 9253c67 a58aedd 9253c67 64cc758 9253c67 64cc758 9253c67 64cc758 9253c67 64cc758 549ff1c 9253c67 549ff1c a58aedd 549ff1c 9253c67 549ff1c 9253c67 fa58ff0 9253c67 549ff1c 9253c67 a58aedd fa58ff0 4589936 549ff1c 9253c67 549ff1c 9253c67 549ff1c 9253c67 fa58ff0 549ff1c 9253c67 549ff1c 9253c67 a58aedd 549ff1c 9253c67 a58aedd 9253c67 a58aedd 9253c67 84fd744 9253c67 fd574db 9253c67 a58aedd 549ff1c 9253c67 549ff1c a58aedd 9253c67 549ff1c 9253c67 a58aedd 9253c67 84fd744 9253c67 a58aedd 9253c67 a58aedd 84fd744 a58aedd 9253c67 fd574db 9253c67 a58aedd 9253c67 a58aedd 9253c67 fd574db 9253c67 a58aedd 9253c67 a58aedd 20f0fcc 9253c67 87fce1c 9253c67 87fce1c 9253c67 87fce1c 7a80c0b 9253c67 7a80c0b 9253c67 7a80c0b 9253c67 7a80c0b 9253c67 a58aedd 13b3852 a58aedd 9253c67 3c60617 9253c67 a58aedd 9253c67 a58aedd 9253c67 fa58ff0 9253c67 a58aedd 9253c67 a58aedd 9253c67 a58aedd 9253c67 87fce1c 9253c67 a58aedd 9253c67 3c60617 9253c67 a58aedd 9253c67 a58aedd 9253c67 a58aedd 9253c67 a58aedd 9253c67 a58aedd 9253c67 a58aedd 9253c67 a58aedd 9253c67 a58aedd fa58ff0 a58aedd f47cede fa58ff0 f47cede fa58ff0 f47cede fa58ff0 a58aedd fa58ff0 9253c67 a58aedd 9253c67 a58aedd 9253c67 a58aedd 9253c67 84fd744 9253c67 fa58ff0 3c60617 fa58ff0 3c60617 9253c67 3c60617 848c8a3 3c60617 fd574db | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 | /* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
CRRA Design System β styles.css
Palette : off-white #eae9d8 red #ff5f4d green-dark #298231
green #55c95b green-light #92ef9b yellow #d9e210
brown-grey #665d5b grey #a0a0a0
Font : Segoe UI, sans-serif
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
/* ββ 1. Variables ββββββββββββββββββββββββββββββββββββββββββββ */
:root {
--off-white: #eae9d8;
--red: #ff5f4d;
--green-dark: #298231;
--green: #55c95b;
--green-light: #92ef9b;
--yellow: #d9e210;
--white: #ffffff;
--brown-grey: #665d5b;
--grey: #a0a0a0;
--black: #000000;
--font: 'Segoe UI', system-ui, -apple-system, sans-serif;
--btn-height: clamp(52px, 3.125vw, 74px);
--btn-padding: 0 clamp(20px, 2vw, 42px);
--btn-clip: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
--btn-fs: clamp(13px, 0.8vw, 18px);
}
/* ββ 2. Global font ββββββββββββββββββββββββββββββββββββββββββ */
/* span and div are excluded β too broad and breaks Material icon fonts */
html, body,
.stApp, .main, .block-container,
p, label, li,
h1, h2, h3, h4, h5, h6,
input, textarea, select,
.stMarkdown, .stAlert,
[data-testid="stWidgetLabel"] {
font-family: var(--font) !important;
}
/* ββ 3. Page bottom padding (avoids "stuck" feel on Hugging Face) ββ */
.block-container {
padding-bottom: 6rem !important;
}
/* ββ 3b. Sidebar βββββββββββββββββββββββββββββββββββββββββββββ */
.stSidebar {
background: var(--off-white) !important;
}
/* Default width β no !important so Streamlit's drag-to-resize JS can override it */
section[data-testid="stSidebar"] {
width: 350px;
}
/* ββ 4. Markdown headings (st.markdown "### β¦") ββββββββββββββ */
.stMarkdown h1 {
font-weight: 700;
font-style: italic;
color: var(--black);
line-height: 1.2em;
}
.stMarkdown h2 {
font-weight: 700;
font-style: italic;
color: var(--brown-grey);
line-height: 1.2em;
}
.stMarkdown h3 {
font-weight: 600;
color: var(--black);
line-height: 1.3em;
}
.stMarkdown h4 {
font-weight: 600;
color: var(--brown-grey);
}
/* ββ 5. Custom typography classes ββββββββββββββββββββββββββββ */
h1.custom-title {
font-size: 60px;
font-style: italic;
line-height: 0.95em;
}
.crra-hl-toolkit{
background: linear-gradient(90deg, var(--yellow) 0%, var(--green-light) 99%);
-webkit-text-fill-color: transparent;
padding-right: 6px;
background-clip: text;
}
.crra-hl {
background: linear-gradient(90deg, var(--yellow) 0%, var(--green-light) 100%);
-webkit-text-fill-color: transparent;
background-clip: text;
font-size: 2.0vw !important;
}
.crra-heading {
font-weight: 700;
font-style: italic;
font-size: clamp(32px, 2.5vw, 55px) !important;
line-height: 1.25em;
margin: 0;
padding: 0;
}
.crra-sub-heading {
font-weight: 700;
font-style: italic;
font-size: clamp(25px, 2vw, 32px) !important;
line-height: 1.25em;
color: var(--brown-grey) !important;
margin-bottom: 15px;
margin-top: 30px !important;
}
.crra-sub-sub-heading {
font-weight: 600;
font-style: italic;
font-size: clamp(20px, 1.5vw, 30px) !important;
line-height: 1.25em;
color: var(--grey) !important;
margin-bottom: 15px;
margin-top: 20px !important;
}
.crra-group-name {
font-weight: 600;
font-style: italic;
font-size: clamp(20px, 1.5vw, 30px) !important;
line-height: 1.25em;
}
.dialog-title {
font-weight: 600;
font-size: clamp(20px, 1vw, 30px) !important;
line-height: 1.25em;
margin-bottom: 15px;
margin-top: 10px !important;
}
.caption {
color: var(--grey);
font-size: 0.88rem !important;
font-style: italic;
letter-spacing: 0.05rem;
}
.caption-input {
font-style: italic;
letter-spacing: 0.05rem;
}
.custom-corps {
font-size: 18px;
}
.custom-corps-light {
color: var(--grey);
font-style: italic;
font-weight: 400;
font-size: 0.875rem;
}
.objective_title {
color: var(--red);
font-size: 14px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.094444em;
margin: 0 0 8px 0;
}
.text_with_border {
border-left: 3px solid var(--red);
padding-left: 16px;
font-size: 18px !important;
}
/* ββ 6. Colorful bar divider βββββββββββββββββββββββββββββββββ */
.et_pb_module {
margin-bottom: 30px;
}
/* ββ 7. Alerts βββββββββββββββββββββββββββββββββββββββββββββββ */
[data-testid="stAlert"],
[data-testid="stAlert"] > div,
[data-testid="stAlert"] > div > div {
border-radius: 0px !important;
/* clip-path: polygon(1% 0, 100% 0, 99% 100%, 0 100%); */
clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%)
}
[data-testid="stAlert"] p {
font-style: italic;
font-size: 0.95rem;
line-height: 1.5;
letter-spacing: 0.01em;
padding-left: 1rem;
padding-right: 1rem;
}
[data-testid="stAlert"] ul {
font-style: italic;
font-size: 0.95rem;
line-height: 1.5;
letter-spacing: 0.01em;
padding-left: 1rem;
padding-right: 1rem;
}
/* Special warning box (tab1) */
.st-key-warning_resources [data-testid="stAlert"] {
clip-path: polygon(1.5% 0, 100% 0, 98.5% 100%, 0 100%);
}
.st-key-warning_resources p {
font-style: italic;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.01em;
}
.st-key-warning_resources span,
[data-testid="stAlert"] span {
/* font-style: italic; */
padding-left: 1rem;
}
/* ββ 8. Metrics ββββββββββββββββββββββββββββββββββββββββββββββ */
[data-testid="metric-container"] {
background-color: var(--off-white);
padding: 16px 20px;
clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
[data-testid="stMetricLabel"] p {
font-weight: 600 !important;
text-transform: uppercase !important;
letter-spacing: 0.08em !important;
font-size: 0.72rem !important;
color: var(--brown-grey) !important;
}
[data-testid="stMetricValue"] {
font-weight: 700 !important;
color: var(--green-dark) !important;
}
/* ββ 9. Buttons ββββββββββββββββββββββββββββββββββββββββββββββ */
/* Shared button text style */
[class*="edit_batch_"] [data-testid="stBaseButton-secondary"] p,
.st-key-btn-reset button p,
[class*="btn-reset-"] button p,
.st-key-btn-load button p,
.st-key-btn-load-resources button p,
[class*="btn-new-"] button p,
[class*="st-key-download_button_"] button p,
[data-testid="stDownloadButton"] button p,
[data-testid="stBaseButton-primary"] p,
.st-key-btn-cancel button p {
font-weight: 700 !important;
font-size: var(--btn-fs);
letter-spacing: 0.094444em;
text-transform: uppercase;
line-height: 1.2;
text-decoration: none;
}
/* Reset β red */
.st-key-btn-reset button,
[class*="btn-reset-"] button,
[data-testid="stBaseButton-primary"] {
border: none !important;
border-radius: 0px;
color: var(--white);
background: var(--red);
height: var(--btn-height);
padding: var(--btn-padding);
clip-path: var(--btn-clip);
transition: background 0.25s ease;
}
.st-key-btn-reset button:hover,
[class*="btn-reset-"] button:hover,
[data-testid="stBaseButton-primary"]:hover {
background: #e5503f;
color: var(--white);
}
/* Load β green-dark */
.st-key-btn-load button,
.st-key-btn-load-resources button {
border: none !important;
border-radius: 0px;
color: var(--off-white);
background: var(--green-dark);
height: var(--btn-height);
padding: var(--btn-padding);
clip-path: var(--btn-clip);
transition: background 0.25s ease;
}
.st-key-btn-load button:hover,
.st-key-btn-load-resources button:hover {
background: #01740f;
color: var(--off-white);
}
/* New β off-white / red text */
[class*="btn-new-"] button,
[class*="edit_batch_"] [data-testid="stBaseButton-secondary"],
.st-key-btn-cancel button{
border: none !important;
border-radius: 0px;
color: var(--red);
background: var(--off-white);
height: var(--btn-height);
padding: var(--btn-padding);
clip-path: var(--btn-clip);
transition: background 0.25s ease;
}
[class*="edit_batch_"] [data-testid="stBaseButton-secondary"]:hover,
[class*="btn-new-"] button:hover,
.st-key-btn-cancel button:hover {
background: #d8d7c4;
color: var(--red);
}
/* Download β off-white / green-dark text β covers all download buttons */
[class*="st-key-download_button_"] button,
[data-testid="stDownloadButton"] button {
border: none !important;
border-radius: 0px;
color: var(--green-dark);
background: var(--off-white);
height: var(--btn-height);
padding: var(--btn-padding);
clip-path: var(--btn-clip);
transition: background 0.25s ease, color 0.25s ease;
}
[class*="st-key-download_button_"] button:hover,
[data-testid="stDownloadButton"] button:hover {
background: #d8d7c4;
color: var(--green-dark);
}
/* Fixed "Next tab" navigation button */
[class*="st-key-btn-nav-next"] {
position: fixed;
bottom: 1.5rem;
right: 2rem;
z-index: 999;
}
[class*="st-key-btn-nav-next"] button {
background: var(--green-dark) !important;
color: var(--white) !important;
clip-path: none !important;
border-radius: 6px !important;
border: none !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.25) !important;
height: auto !important;
padding: 0.55rem 1.2rem !important;
font-weight: 700 !important;
font-size: clamp(12px, 0.8vw, 15px) !important;
letter-spacing: 0.06em !important;
text-transform: uppercase !important;
transition: background 0.2s ease, box-shadow 0.2s ease !important;
}
[class*="st-key-btn-nav-next"] button:hover {
background: #01740f !important;
box-shadow: 0 4px 14px rgba(0,0,0,0.35) !important;
}
/* Add resource β green-light background */
[class*="btn-add-resource-"] button {
border: none !important;
border-radius: 0px;
color: var(--green-dark);
background: var(--green-light);
height: var(--btn-height);
padding: var(--btn-padding);
clip-path: var(--btn-clip);
transition: background 0.25s ease;
}
[class*="btn-add-resource-"] button p {
font-weight: 700 !important;
font-size: var(--btn-fs);
letter-spacing: 0.094444em;
text-transform: uppercase;
}
[class*="btn-add-resource-"] button:hover {
background: var(--green);
}
/* Simple text button */
[class*="simple-btn-"] button {
color: var(--red);
}
[class*="simple-btn-"] button p {
text-transform: uppercase;
font-weight: bold;
}
[class*="simple-btn-"] button:hover {
color: #e5503f;
font-style: italic;
}
/* Run optimisation β CTA principal */
.st-key-btn-run-optimisation button {
border: none !important;
border-radius: 0px;
background: var(--green-dark) !important;
color: var(--off-white) !important;
clip-path: var(--btn-clip);
height: clamp(64px, 3vw, 90px) !important;
padding: 0 clamp(28px, 3vw, 56px) !important;
transition: background 0.25s ease, transform 0.15s ease;
box-shadow: 4px 4px 0px var(--green);
}
.st-key-btn-run-optimisation button:hover {
background: #01740f !important;
color: var(--off-white) !important;
transform: translate(-2px, -2px);
box-shadow: 6px 6px 0px var(--green);
}
.st-key-btn-run-optimisation button:active {
transform: translate(0px, 0px);
box-shadow: 2px 2px 0px var(--green);
}
.st-key-btn-run-optimisation button p {
font-weight: 700 !important;
font-size: clamp(15px, 1vw, 20px) !important;
letter-spacing: 0.12em !important;
text-transform: uppercase !important;
}
.st-key-btn-deactivate-all,
.st-key-btn-activate-all
{
margin-top: 10px;
}
/* ββ 10. Form elements ββββββββββββββββββββββββββββββββββββββββ */
/* Input / number labels */
[data-testid="stTextInput"] label p,
[data-testid="stNumberInput"] label p,
[data-testid="stTextArea"] label p,
[data-testid="stSelectbox"] label p,
[data-testid="stMultiSelect"] label p,
[data-testid="stSlider"] label p,
[class="crra-resource-name"] {
font-weight: 600 !important;
color: var(--brown-grey) !important;
font-size: 0.85rem !important;
text-transform: uppercase !important;
letter-spacing: 0.06em !important;
}
/* [data-testid="stRadio"] label p, */
[data-testid="stCheckbox"] label p{
font-weight: 600 !important;
font-size: 1rem !important;
text-transform: uppercase !important;
}
/* Text & number input fields */
[data-testid="stNumberInputContainer"] {
background-color: var(--off-white);
}
/* Text area */
[data-testid="stTextArea"] textarea {
border-radius: 0px !important;
border-color: var(--grey) !important;
}
[data-testid="stTextArea"] textarea:focus {
border-color: var(--green-dark) !important;
box-shadow: none !important;
}
/* Select box */
[data-baseweb="select"] {
font-family: var(--font) !important;
font-size: 16px;
}
[data-baseweb="select"] > div {
border: none !important;
}
[data-baseweb="select"] > div:focus-within {
border-bottom-color: var(--green-dark) !important;
box-shadow: none !important;
}
/* Radio value text */
[data-testid="stRadio"] p {
font-size: 0.9rem;
}
/* Slider help text */
[class*="slider_"] p,
[class*="manual_"] p,
[class="crra-resource-name"],
[data-testid="stSlider"] p {
font-style: italic;
color: var(--grey);
}
/* Tab2 constraint toggles */
[class*="st-key-toggle_type_"] p {
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1.25px;
color: var(--brown-grey);
}
[class*="cap_type_"] p,
[class*="cap_"] p {
font-family: var(--font);
}
/* ββ 11. Expanders ββββββββββββββββββββββββββββββββββββββββββββ */
section[data-testid="stExpander"] {
border-radius: 0px !important;
border: 1px solid rgba(0, 0, 0, 0.08);
}
section[data-testid="stExpander"] summary {
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 0.83rem;
}
section[data-testid="stExpander"] summary p {
font-weight: 600;
text-transform: uppercase;
}
/* ββ 12. File uploaders βββββββββββββββββββββββββββββββββββββββ */
[class*="resource_uploader_"] p,
[class*="inputs_loader_"] p,
[class*="scenario_loader_"] p,
.st-key-comparison_loader p {
color: var(--grey);
font-style: italic;
}
[data-testid="stFileUploaderDropzone"]{
align-items: center;
flex-direction: row-reverse;
}
[class*="resource_uploader_"] [data-testid="stBaseButton-secondary"],
[class*="inputs_loader_"] [data-testid="stBaseButton-secondary"],
[class*="scenario_loader_"] [data-testid="stBaseButton-secondary"],
.st-key-comparison_loader [data-testid="stBaseButton-secondary"] {
color: var(--green-dark) !important;
border: none !important;
border-radius: 0.5rem;
}
[class*="resource_uploader_"] [data-testid="stBaseButton-secondary"]:hover,
[class*="inputs_loader_"] [data-testid="stBaseButton-secondary"]:hover,
[class*="scenario_loader_"] [data-testid="stBaseButton-secondary"]:hover,
.st-key-comparison_loader [data-testid="stBaseButton-secondary"]:hover {
background-color: var(--green-light);
}
[class*="resource_uploader_"] [data-testid="stBaseButton-secondary"] p,
[class*="inputs_loader_"] [data-testid="stBaseButton-secondary"] p ,
[class*="scenario_loader_"] [data-testid="stBaseButton-secondary"] p,
.st-key-comparison_loader [data-testid="stBaseButton-secondary"] p {
color: var(--green-dark) !important;
font-weight: 700 !important;
text-transform: uppercase;
font-style: normal;
border: none !important;
}
/* ββ 13. Custom HTML tables βββββββββββββββββββββββββββββββββββ */
.cdr-table, .cdr-table-res, .resources-summary {
width: 100%;
border-collapse: separate;
border-spacing: 0;
border-radius: 10px;
overflow: hidden;
}
.cdr-table thead th,
.cdr-table-res thead th,
.resources-summary thead th {
background-color: var(--green);
color: var(--white);
font-weight: bold;
padding: 8px 12px;
text-align: center;
}
.cdr-table tbody th,
.cdr-table-res tbody th,
.resources-summary tbody th {
text-align: center;
color: var(--grey);
font-weight: 100;
}
.cdr-table tbody td:nth-child(3) {
text-align: right;
}
.cdr-table-res tbody,
.resources-summary tbody {
text-align: center;
}
.cdr-table tbody tr:hover,
.cdr-table-res tbody tr:hover,
.resources-summary tbody tr:hover {
background-color: #f5f5f5;
}
/* ββ 14. Tab1 dialogs βββββββββββββββββββββββββββββββββββββββββ */
[class*="_dlg_edit_existing_"] p {
color: var(--red);
font-weight: bold;
font-style: italic;
}
[class*="_dlg_existing_enable_"] p,
[class*="label-input-"] p {
font-family: var(--font);
}
/* ββ 15. Select (crra-select variant) βββββββββββββββββββββββββ */
[class*="crra-select"] [data-baseweb="select"],
.st-key-crra-select p {
font-size: 16px;
}
[class*="crra-select"] p {
font-style: italic;
font-weight: bold;
}
/* ββ 16. Button container layout ββββββββββββββββββββββββββββββ */
.st-key-container-btn,
.st-key-container-btn-resources{
display: flex;
flex-direction: row;
gap: 1.125%;
}
[class*="st-key-container-button"] {
display: flex;
flex-direction: row-reverse;
gap: 1.125%;
justify-content: flex-start;
}
/* ββ 17. Scrollbar ββββββββββββββββββββββββββββββββββββββββββββ */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: var(--off-white);
border-radius: 3px;
}
::-webkit-scrollbar-thumb {
background: var(--grey);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--brown-grey);
}
/* ββ 18. Welcome page titles βββββββββββββββββββββββββββββββββββ */
h3.wt {
font-weight: 700 !important;
font-size: clamp(13px, 3vw, 20px) !important;
text-transform: uppercase;
letter-spacing: 0.12em;
margin: 28px 0 10px 0 !important;
padding: 6px 0 6px 14px;
border-left: 4px solid;
line-height: 1.3;
font-style: normal !important;
}
h3.wt-1 { color: #124216 !important; border-left-color: #124216; }
h3.wt-2 { color: var(--green-dark) !important; border-left-color: var(--green-dark); }
h3.wt-3 { color: var(--green) !important; border-left-color: var(--green); }
h3.wt-4 { color: var(--green-light) !important; border-left-color: var(--green-light); }
p.wt-cta {
font-weight: 600 !important;
margin-top: 28px !important;
font-style: italic !important;
}
/* ββ 19. Tabs ββββββββββββββββββββββββββββββββββββββββββββββββββ */
[data-baseweb="tab-list"] {
gap: 4px;
border-bottom: 2px solid var(--off-white);
padding-bottom: 0;
}
[data-baseweb="tab"] {
padding: 10px 20px;
font-size: 0.875rem;
font-weight: 600;
letter-spacing: 0.02em;
border-radius: 6px 6px 0 0;
background-color: var(--off-white);
color: var(--brown-grey);
border: none;
transition: background-color 0.15s ease, color 0.15s ease;
}
[data-baseweb="tab"]:hover {
background-color: #e8e8e8;
color: var(--black);
}
[aria-selected="true"][data-baseweb="tab"] {
background-color: var(--black);
color: var(--white);
}
[data-baseweb="tab-highlight"] {
display: none;
}
[data-baseweb="tab-border"] {
display: none;
} |