give
/
src
/
Promotions
/
WelcomeBanner
/
resources
/
js
/
app
/
components
/
Sections
/
styles.scss
give
/
src
/
Promotions
/
WelcomeBanner
/
resources
/
js
/
app
/
components
/
Sections
Last commit date
LeftContentSection.tsx
1 year ago
RightContentSection.tsx
2 years ago
styles.scss
2 years ago
styles.scss
72 lines
| 1 | .givewp-welcome-banner-left-content { |
| 2 | flex: .55; |
| 3 | display: flex; |
| 4 | flex-direction: column; |
| 5 | align-items: flex-start; |
| 6 | justify-content: space-between; |
| 7 | gap: var(--givewp-spacing-9); |
| 8 | align-self: stretch; |
| 9 | } |
| 10 | |
| 11 | .givewp-welcome-banner-right-content { |
| 12 | flex: 1; |
| 13 | display: flex; |
| 14 | flex-direction: column; |
| 15 | align-self: stretch; |
| 16 | |
| 17 | |
| 18 | > h2 { |
| 19 | font-size: 1rem; |
| 20 | font-weight: bold; |
| 21 | line-height: 1.4; |
| 22 | margin: 0 0 .5rem 0; |
| 23 | letter-spacing: normal; |
| 24 | text-align: left; |
| 25 | } |
| 26 | |
| 27 | &__media-container { |
| 28 | flex: 1; |
| 29 | display: flex; |
| 30 | justify-content: space-between; |
| 31 | gap: 1.375rem; |
| 32 | height: 100%; |
| 33 | } |
| 34 | |
| 35 | // copied from wp built-in .menu-counter |
| 36 | .givewp-beta-icon { |
| 37 | display: inline-block; |
| 38 | vertical-align: top; |
| 39 | box-sizing: border-box; |
| 40 | margin: 1px 0 -1px 2px; |
| 41 | padding: 0 5px; |
| 42 | min-width: 18px; |
| 43 | height: 18px; |
| 44 | border-radius: 9px; |
| 45 | background-color: #F29718; |
| 46 | color: #fff; |
| 47 | font-size: 11px; |
| 48 | line-height: 1.6; |
| 49 | text-align: center; |
| 50 | z-index: 26; |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | @media (max-width: 1280px) { |
| 55 | .givewp-welcome-banner-left-content { |
| 56 | flex: 1; |
| 57 | flex-direction: row; |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | @media (max-width: 1140px) { |
| 62 | .givewp-welcome-banner-left-content { |
| 63 | flex-direction: column; |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | @media (max-width: 750px) { |
| 68 | .givewp-welcome-banner-right-content__media-container { |
| 69 | flex-direction: column; |
| 70 | } |
| 71 | } |
| 72 |