give
/
src
/
Campaigns
/
Blocks
/
CampaignComments
/
resources
/
shared
/
components
/
CommentCard
/
styles.scss
give
/
src
/
Campaigns
/
Blocks
/
CampaignComments
/
resources
/
shared
/
components
/
CommentCard
Last commit date
index.tsx
1 year ago
styles.scss
1 year ago
styles.scss
66 lines
| 1 | .givewp-campaign-comment-block-card { |
| 2 | display: flex; |
| 3 | gap: var(--givewp-spacing-3); |
| 4 | padding: var(--givewp-spacing-4) 0; |
| 5 | |
| 6 | &__avatar { |
| 7 | display: flex; |
| 8 | align-items: center; |
| 9 | justify-content: center; |
| 10 | width: 40px; |
| 11 | height: 40px; |
| 12 | border-radius: 50%; |
| 13 | |
| 14 | img { |
| 15 | display: flex; |
| 16 | align-items: center; |
| 17 | justify-content: center; |
| 18 | min-width: 40px; |
| 19 | width: 100%; |
| 20 | height: auto; |
| 21 | border-radius: 50%; |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | &__donor-name { |
| 26 | margin: 0; |
| 27 | font-size: 1rem; |
| 28 | font-weight: 600; |
| 29 | line-height: 1.5; |
| 30 | text-align: left; |
| 31 | color: var(--givewp-neutral-700); |
| 32 | } |
| 33 | |
| 34 | &__details { |
| 35 | display: flex; |
| 36 | gap: var(--givewp-spacing-2); |
| 37 | align-items: center; |
| 38 | height: auto; |
| 39 | margin: 2px 0 var(--givewp-spacing-3) 0; |
| 40 | font-size: 0.875rem; |
| 41 | font-weight: 500; |
| 42 | line-height: 1.43; |
| 43 | text-align: left; |
| 44 | color: var(--givewp-neutral-400); |
| 45 | } |
| 46 | |
| 47 | &__comment { |
| 48 | margin: 0; |
| 49 | font-size: 1rem; |
| 50 | line-height: 1.5; |
| 51 | text-align: left; |
| 52 | color: var(--givewp-neutral-700); |
| 53 | } |
| 54 | |
| 55 | &__read-more { |
| 56 | font-size: 0.875rem; |
| 57 | padding: 0; |
| 58 | background: none; |
| 59 | color: var(--givewp-blue-500); |
| 60 | line-height: 1.43; |
| 61 | border: none; |
| 62 | outline: none; |
| 63 | cursor: pointer; |
| 64 | } |
| 65 | } |
| 66 |