styles.module.scss
53 lines
| 1 | |
| 2 | .statusSelect { |
| 3 | --statusOptionColor: var(--givewp-grey-500); |
| 4 | position: relative; |
| 5 | |
| 6 | &::before { |
| 7 | background-color: var(--statusOptionColor); |
| 8 | border-radius: 50%; |
| 9 | content: ''; |
| 10 | display: inline-block; |
| 11 | height: 0.75rem; |
| 12 | left: var(--givewp-spacing-4); |
| 13 | pointer-events: none; |
| 14 | position: absolute; |
| 15 | top: 50%; |
| 16 | transform: translateY(-50%); |
| 17 | width: 0.75rem; |
| 18 | } |
| 19 | |
| 20 | &--pending, |
| 21 | &--processing { |
| 22 | --statusOptionColor: var(--givewp-blue-500); |
| 23 | } |
| 24 | |
| 25 | &--active, |
| 26 | &--publish { |
| 27 | --statusOptionColor: var(--givewp-green-500); |
| 28 | } |
| 29 | |
| 30 | &--completed { |
| 31 | --statusOptionColor: var(--givewp-emerald-500); |
| 32 | } |
| 33 | |
| 34 | &--expired, |
| 35 | &--cancelled, |
| 36 | &--failing, |
| 37 | &--failed, |
| 38 | &--cancelled, |
| 39 | &--revoked, |
| 40 | &--trashed { |
| 41 | --statusOptionColor: var(--givewp-red-500); |
| 42 | } |
| 43 | |
| 44 | select.statusSelectInput { |
| 45 | padding-left: calc(var(--givewp-spacing-6) + 0.75rem); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | .notice { |
| 50 | margin-top: var(--givewp-spacing-1); |
| 51 | transform: translateX(1px); |
| 52 | } |
| 53 |