|
453 | 453 | } |
454 | 454 | } |
455 | 455 |
|
| 456 | +// Topics styles |
| 457 | +.topics-grid { |
| 458 | + display: grid; |
| 459 | + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); |
| 460 | + gap: $space-4; |
| 461 | + |
| 462 | + .topic-card { |
| 463 | + background: $white; |
| 464 | + border: 1px solid $gray-200; |
| 465 | + border-radius: $radius-md; |
| 466 | + padding: $space-4; |
| 467 | + transition: all 0.2s ease; |
| 468 | + |
| 469 | + &:hover { |
| 470 | + box-shadow: $shadow-md; |
| 471 | + border-color: $primary; |
| 472 | + } |
| 473 | + |
| 474 | + .topic-header { |
| 475 | + margin-bottom: $space-3; |
| 476 | + } |
| 477 | + |
| 478 | + .topic-title { |
| 479 | + font-size: $font-size-lg; |
| 480 | + font-weight: $font-weight-semibold; |
| 481 | + margin-bottom: $space-2; |
| 482 | + |
| 483 | + a { |
| 484 | + color: $gray-900; |
| 485 | + text-decoration: none; |
| 486 | + |
| 487 | + &:hover { |
| 488 | + color: $primary; |
| 489 | + } |
| 490 | + } |
| 491 | + } |
| 492 | + |
| 493 | + .topic-preview { |
| 494 | + .verse-preview { |
| 495 | + margin-top: $space-2; |
| 496 | + font-size: $font-size-sm; |
| 497 | + color: $gray-700; |
| 498 | + line-height: 1.6; |
| 499 | + |
| 500 | + .verse-ref-link { |
| 501 | + color: $primary; |
| 502 | + text-decoration: none; |
| 503 | + |
| 504 | + &:hover { |
| 505 | + text-decoration: underline; |
| 506 | + } |
| 507 | + } |
| 508 | + } |
| 509 | + } |
| 510 | + } |
| 511 | +} |
| 512 | + |
| 513 | +.topic-verses-list { |
| 514 | + .topic-verse-item { |
| 515 | + background: $white; |
| 516 | + border: 1px solid $gray-200; |
| 517 | + border-radius: $radius-md; |
| 518 | + padding: $space-4; |
| 519 | + margin-bottom: $space-4; |
| 520 | + transition: all 0.2s ease; |
| 521 | + |
| 522 | + &:hover { |
| 523 | + box-shadow: $shadow-sm; |
| 524 | + border-color: $primary; |
| 525 | + } |
| 526 | + |
| 527 | + .topic-verse-header { |
| 528 | + margin-bottom: $space-3; |
| 529 | + } |
| 530 | + |
| 531 | + .topic-verse-reference { |
| 532 | + font-size: $font-size-lg; |
| 533 | + margin-bottom: $space-2; |
| 534 | + } |
| 535 | + |
| 536 | + .topic-verse-meta { |
| 537 | + color: $gray-600; |
| 538 | + } |
| 539 | + |
| 540 | + .topic-verse-content-wrapper { |
| 541 | + display: flex; |
| 542 | + gap: $space-6; |
| 543 | + align-items: flex-start; |
| 544 | + |
| 545 | + @media (max-width: $breakpoint-md) { |
| 546 | + flex-direction: column; |
| 547 | + gap: $space-4; |
| 548 | + } |
| 549 | + } |
| 550 | + |
| 551 | + .topic-verse-text { |
| 552 | + flex: 1; |
| 553 | + color: $gray-800; |
| 554 | + line-height: 1.6; |
| 555 | + font-style: italic; |
| 556 | + min-width: 0; // Allows text to wrap properly |
| 557 | + } |
| 558 | + |
| 559 | + .topic-verse-explanation { |
| 560 | + flex: 1; |
| 561 | + background: $gray-50; |
| 562 | + border-left: 4px solid $primary; |
| 563 | + padding: $space-4; |
| 564 | + border-radius: $radius-sm; |
| 565 | + min-width: 0; // Allows content to wrap properly |
| 566 | + |
| 567 | + h4 { |
| 568 | + margin-bottom: $space-2; |
| 569 | + } |
| 570 | + } |
| 571 | + } |
| 572 | +} |
| 573 | + |
| 574 | +.topic-link { |
| 575 | + color: $primary; |
| 576 | + text-decoration: none; |
| 577 | + |
| 578 | + &:hover { |
| 579 | + text-decoration: underline; |
| 580 | + } |
| 581 | +} |
| 582 | + |
456 | 583 | .thread-verses { |
457 | 584 | .thread-verse-item { |
458 | 585 | display: flex; |
|
804 | 931 | } |
805 | 932 | } |
806 | 933 | } |
| 934 | + |
| 935 | + .verse-topics-section { |
| 936 | + margin-bottom: $space-3; |
| 937 | + font-size: $font-size-sm; |
| 938 | + |
| 939 | + .verse-topics-section-title { |
| 940 | + font-weight: $font-weight-semibold; |
| 941 | + color: $gray-700; |
| 942 | + margin-right: $space-2; |
| 943 | + } |
| 944 | + |
| 945 | + .topic-tag { |
| 946 | + color: $primary; |
| 947 | + font-weight: $font-weight-medium; |
| 948 | + |
| 949 | + &.topic-link { |
| 950 | + text-decoration: none; |
| 951 | + |
| 952 | + &:hover { |
| 953 | + text-decoration: underline; |
| 954 | + } |
| 955 | + } |
| 956 | + } |
| 957 | + } |
| 958 | + |
| 959 | + .verse-actions-section { |
| 960 | + font-size: $font-size-sm; |
| 961 | + } |
807 | 962 | } |
808 | 963 |
|
809 | 964 | // Verses list view styles |
|
0 commit comments