images
1 year ago
Inspector.tsx
1 year ago
Selector.tsx
7 months ago
index.tsx
1 year ago
reactSelectStyles.ts
1 year ago
styles.scss
1 year ago
styles.scss
59 lines
| 1 | |
| 2 | .givewp-campaign-selector { |
| 3 | display: flex; |
| 4 | flex-direction: column; |
| 5 | gap: 20px; |
| 6 | padding: 40px 24px; |
| 7 | border: 1px solid #e5e7eb; |
| 8 | border-radius: 5px; |
| 9 | box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05); |
| 10 | |
| 11 | &__label { |
| 12 | padding-bottom: 16px; |
| 13 | } |
| 14 | |
| 15 | &__select { |
| 16 | input[type='text']='text']:focus { |
| 17 | border-color: transparent; |
| 18 | box-shadow: 0 0 0 1px transparent; |
| 19 | outline: 2px solid transparent; |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | &__logo { |
| 24 | align-self: center; |
| 25 | } |
| 26 | |
| 27 | &__open { |
| 28 | color: #fff; |
| 29 | background: #2271b1; |
| 30 | padding: 0.5rem 1rem; |
| 31 | cursor: pointer; |
| 32 | border: none; |
| 33 | border-radius: 5px; |
| 34 | } |
| 35 | |
| 36 | &__submit { |
| 37 | width: 100%; |
| 38 | background-color: #27ae60; |
| 39 | color: #fff; |
| 40 | padding: 1rem; |
| 41 | border-radius: 5px; |
| 42 | font-weight: bold; |
| 43 | text-align: center; |
| 44 | outline: none; |
| 45 | border: 0; |
| 46 | transition: 0.2s; |
| 47 | |
| 48 | &:disabled { |
| 49 | background-color: #f3f4f6; |
| 50 | color: #9ca0af; |
| 51 | } |
| 52 | |
| 53 | &:hover:not(:disabled) { |
| 54 | cursor: pointer; |
| 55 | filter: brightness(1.2); |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 |