| 1 |
.givewp-campaign-welcome-banner-background { |
| 2 |
position: relative; |
| 3 |
box-sizing: border-box; |
| 4 |
background-size: cover; |
| 5 |
padding: 28px 56px; |
| 6 |
border-radius: 8px; |
| 7 |
overflow: hidden; |
| 8 |
|
| 9 |
&::before { |
| 10 |
content: ""; |
| 11 |
position: absolute; |
| 12 |
top: 0; |
| 13 |
left: 0; |
| 14 |
right: 0; |
| 15 |
bottom: 0; |
| 16 |
background-image: linear-gradient(to right, #116239, #278455 32%, var(--givewp-emerald-600)); |
| 17 |
z-index: -1; |
| 18 |
} |
| 19 |
} |
| 20 |
|
| 21 |
.givewp-campaign-welcome-banner { |
| 22 |
display: flex; |
| 23 |
flex-direction: column; |
| 24 |
border-radius: 8px; |
| 25 |
|
| 26 |
&__actions { |
| 27 |
display: flex; |
| 28 |
justify-content: space-between; |
| 29 |
align-items: center; |
| 30 |
|
| 31 |
&__badge { |
| 32 |
display: flex; |
| 33 |
justify-content: center; |
| 34 |
align-items: center; |
| 35 |
gap: 4px; |
| 36 |
width: fit-content; |
| 37 |
margin-bottom: var(--givewp-spacing-4); |
| 38 |
padding: var(--givewp-spacing-1) var(--givewp-spacing-2); |
| 39 |
background: var(--givewp-yellow-400); |
| 40 |
color: var(--givewp-shades-black); |
| 41 |
border-radius: 12px; |
| 42 |
font-size: 12px; |
| 43 |
font-weight: bold; |
| 44 |
} |
| 45 |
|
| 46 |
&__dismiss { |
| 47 |
background: none; |
| 48 |
border: none; |
| 49 |
outline: none; |
| 50 |
cursor: pointer; |
| 51 |
} |
| 52 |
} |
| 53 |
|
| 54 |
&__title { |
| 55 |
margin: 0 0 var(--givewp-spacing-1) 0; |
| 56 |
font-size: 28px; |
| 57 |
font-weight: 800; |
| 58 |
color: var(--givewp-shades-white); |
| 59 |
line-height: 1.43; |
| 60 |
} |
| 61 |
|
| 62 |
&__description { |
| 63 |
margin: 0 0 24px 0; |
| 64 |
font-size: 18px; |
| 65 |
font-weight: 600; |
| 66 |
color: var(--givewp-shades-white); |
| 67 |
line-height: 1.536; |
| 68 |
} |
| 69 |
|
| 70 |
&__features { |
| 71 |
display: flex; |
| 72 |
gap: var(--givewp-spacing-10); |
| 73 |
|
| 74 |
&__group { |
| 75 |
display: flex; |
| 76 |
flex-direction: column; |
| 77 |
gap: var(--givewp-spacing-4); |
| 78 |
|
| 79 |
&__item { |
| 80 |
display: flex; |
| 81 |
gap: var(--givewp-spacing-2); |
| 82 |
color: var(--givewp-shades-white); |
| 83 |
font-size: 14px; |
| 84 |
line-height: 1.5; |
| 85 |
|
| 86 |
img { |
| 87 |
width: 24px; |
| 88 |
height: 24px; |
| 89 |
} |
| 90 |
|
| 91 |
span { |
| 92 |
font-size: 14px; |
| 93 |
color: var(--givewp-shades-white); |
| 94 |
} |
| 95 |
} |
| 96 |
} |
| 97 |
} |
| 98 |
|
| 99 |
&__cta-button { |
| 100 |
flex-grow: 0; |
| 101 |
display: flex; |
| 102 |
justify-content: center; |
| 103 |
align-items: center; |
| 104 |
gap: 8px; |
| 105 |
width: 324px; |
| 106 |
margin: var(--givewp-spacing-10) 0; |
| 107 |
padding: var(--givewp-spacing-3) var(--givewp-spacing-6); |
| 108 |
background: var(--givewp-orange-400); |
| 109 |
border-radius: var(--givewp-rounded-8); |
| 110 |
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1); |
| 111 |
color: var(--givewp-shades-white); |
| 112 |
cursor: pointer; |
| 113 |
text-decoration: none; |
| 114 |
|
| 115 |
span { |
| 116 |
color: var(--givewp-shades-white); |
| 117 |
font-size: 16px; |
| 118 |
font-weight: 600; |
| 119 |
text-align: center; |
| 120 |
line-height: 1.5; |
| 121 |
} |
| 122 |
|
| 123 |
&:hover { |
| 124 |
background: var(--givewp-orange-500); |
| 125 |
} |
| 126 |
} |
| 127 |
} |
| 128 |
|