give
/
src
/
Subscriptions
/
resources
/
admin
/
components
/
SubscriptionDetailsPage
/
Tabs
/
Overview
/
SubscriptionAnnualProjection
/
styles.module.scss
give
/
src
/
Subscriptions
/
resources
/
admin
/
components
/
SubscriptionDetailsPage
/
Tabs
/
Overview
/
SubscriptionAnnualProjection
Last commit date
index.tsx
10 months ago
styles.module.scss
10 months ago
utils.ts
8 months ago
styles.module.scss
70 lines
| 1 | .goalProgressChart { |
| 2 | display: flex; |
| 3 | flex-direction: column; |
| 4 | align-items: flex-start; |
| 5 | |
| 6 | > header { |
| 7 | margin-bottom: 0; |
| 8 | } |
| 9 | } |
| 10 | |
| 11 | /** |
| 12 | * The size of the chart is relative to the container. |
| 13 | * To get close to the design, |
| 14 | * the size is balanced at flex 3/2 |
| 15 | * and the margins use negative values to control padding. |
| 16 | */ |
| 17 | .chartContainer { |
| 18 | display: flex; |
| 19 | align-items: center; |
| 20 | gap: 24px; |
| 21 | |
| 22 | transform: translateX(-50px); |
| 23 | width: calc(100% + 50px); |
| 24 | } |
| 25 | |
| 26 | .goalDetails { |
| 27 | display: flex; |
| 28 | flex-direction: column; |
| 29 | align-items: flex-start; |
| 30 | justify-content: center; |
| 31 | gap: .25rem; |
| 32 | } |
| 33 | |
| 34 | .detailsLabel { |
| 35 | font-size: 14px; |
| 36 | font-weight: normal; |
| 37 | line-height: 1.43; |
| 38 | color: #1f2937; |
| 39 | } |
| 40 | |
| 41 | .detailsAmount { |
| 42 | font-size: 18px; |
| 43 | font-weight: 600; |
| 44 | line-height: 1.56; |
| 45 | color: #2d802f; |
| 46 | } |
| 47 | |
| 48 | .goal { |
| 49 | font-size: 14px; |
| 50 | font-weight: 400; |
| 51 | line-height: 20px; |
| 52 | margin-bottom: 4px; |
| 53 | color: #1F2937; |
| 54 | } |
| 55 | |
| 56 | .amount { |
| 57 | color: #2D802F; |
| 58 | font-size: 18px; |
| 59 | font-weight: 600; |
| 60 | margin-bottom: 2px; |
| 61 | line-height: 28px; |
| 62 | } |
| 63 | |
| 64 | .goalType { |
| 65 | font-size: 12px; |
| 66 | font-weight: 400; |
| 67 | line-height: 18px; |
| 68 | color: #4b5563; |
| 69 | } |
| 70 |