styles.scss
61 lines
| 1 | #givewp-reports-widget .givewp-reports-widget-banner { |
| 2 | display: flex; |
| 3 | flex-direction: column; |
| 4 | align-items: flex-start; |
| 5 | justify-content: space-between; |
| 6 | padding: 1rem 2rem 1.5rem; |
| 7 | min-height: 8rem; |
| 8 | background: #1D202F; |
| 9 | color: #ffffff; |
| 10 | |
| 11 | &__header { |
| 12 | &__main { |
| 13 | font-size: 1.5rem; |
| 14 | color: #fff4f2; |
| 15 | font-weight: 700; |
| 16 | line-height: 1; |
| 17 | } |
| 18 | |
| 19 | &__secondary { |
| 20 | font-size: 1.25rem; |
| 21 | color: #fff4f2; |
| 22 | font-weight: 500; |
| 23 | line-height: normal; |
| 24 | padding: 0; |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | &__cta { |
| 29 | font-family: 'Inconsolata', Montserrat, sans-serif;; |
| 30 | margin-top: 1.125rem; |
| 31 | display: inline-flex; |
| 32 | padding: .5rem 1.5rem; |
| 33 | justify-content: center; |
| 34 | align-items: center; |
| 35 | background: #62B265; |
| 36 | color: #fff4f2; |
| 37 | font-weight: 600; |
| 38 | border-radius: 9999px; |
| 39 | border: none; |
| 40 | text-decoration: none; |
| 41 | } |
| 42 | |
| 43 | &__dismiss { |
| 44 | position: absolute; |
| 45 | top: .75rem; |
| 46 | right: .5rem; |
| 47 | background: none; |
| 48 | border: none; |
| 49 | cursor: pointer; |
| 50 | |
| 51 | &:hover { |
| 52 | transform: scale(1.15); |
| 53 | } |
| 54 | |
| 55 | &:active { |
| 56 | transform: scale(0.95); |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | |
| 61 |