give
/
src
/
Campaigns
/
resources
/
admin
/
components
/
CampaignDetailsPage
/
Components
/
TextareaControl
/
styles.scss
give
/
src
/
Campaigns
/
resources
/
admin
/
components
/
CampaignDetailsPage
/
Components
/
TextareaControl
Last commit date
index.tsx
1 year ago
styles.scss
1 year ago
styles.scss
46 lines
| 1 | .givewp-textarea-control { |
| 2 | align-items: center; |
| 3 | display: flex; |
| 4 | flex-wrap: wrap; |
| 5 | gap: 2px; |
| 6 | justify-content: space-between; |
| 7 | |
| 8 | &__textarea { |
| 9 | border-color: #9ca0af; |
| 10 | border-radius: 0.25rem; |
| 11 | color: var(--givewp-neutral-900); |
| 12 | display: block; |
| 13 | font-size: 1rem; |
| 14 | font-weight: 500; |
| 15 | line-height: 1.5; |
| 16 | padding: var(--givewp-spacing-3) var(--givewp-spacing-4); |
| 17 | width: 100%; |
| 18 | |
| 19 | &:disabled { |
| 20 | background-color: #f6f7f7; |
| 21 | box-shadow: none; |
| 22 | border-color: #9ca0af; |
| 23 | cursor: not-allowed; |
| 24 | opacity: 0.7; |
| 25 | text-shadow: 0 1px 0 #fff; |
| 26 | transform: none; |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | &__help, |
| 31 | &__counter { |
| 32 | font-size: 0.875rem; |
| 33 | line-height: 1.43; |
| 34 | margin: var(--givewp-spacing-1) 0 0; |
| 35 | } |
| 36 | |
| 37 | &__help { |
| 38 | color: var(--givewp-neutral-500); |
| 39 | } |
| 40 | |
| 41 | &__counter { |
| 42 | color: var(--givewp-neutral-700); |
| 43 | margin-left: auto; |
| 44 | } |
| 45 | } |
| 46 |