PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 4.16.6
GiveWP – Donation Plugin and Fundraising Platform v4.16.6
4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 2.32.0 2.33.0 2.33.1 2.33.2 2.33.3 2.33.4 2.33.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.9.0 2.9.1 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.10.0 3.11.0 3.12.0 3.12.1 3.12.2 3.12.3 3.13.0 3.14.0 3.14.1 3.14.2 3.15.0 3.15.1 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.17.0 3.17.1 3.17.2 3.18.0 3.19.0 3.19.1 3.19.2 3.19.3 3.19.4 3.2.0 3.2.1 3.2.2 3.20.0 3.21.0 3.21.1 3.22.0 3.22.1 3.22.2 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.6.0 3.6.1 3.6.2 3.7.0 3.8.0 3.9.0 4.0.0 4.1.0 4.1.1 4.10.0 4.10.1 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.14.5 4.14.6 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.1 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 trunk 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.2 2.11.3 2.12.0 2.12.1 2.12.2 2.12.3 2.13.0 2.13.1 2.13.2 2.13.3 2.13.4 2.14.0 2.15.0 2.16.0 2.16.1 2.17.0 2.17.1 2.17.3 2.18.0 2.18.1 2.19.1 2.19.2 2.19.3 2.19.4 2.19.5 2.19.6 2.19.7 2.19.8 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.20.0 2.20.1 2.20.2 2.21.0 2.21.1 2.21.2 2.21.3 2.21.4 2.22.0 2.22.1 2.22.2 2.22.3 2.23.0 2.23.1 2.23.2 2.24.0 2.24.1 2.24.2 2.25.0 2.25.1 2.25.2 2.25.3 2.26.0 2.27.0 2.27.1 2.27.2 2.27.3 2.28.0 2.29.0 2.29.1 2.29.2
give / src / Promotions / InPluginUpsells / resources / css / stellarwp-sales-banner.scss
give / src / Promotions / InPluginUpsells / resources / css Last commit date
stellarwp-sales-banner.scss 2 years ago
stellarwp-sales-banner.scss
208 lines
1 .give_forms_page_give-reports .give-sale-banners-container, .givewp-sale-banners-container {
2 /* Box-sizing reset */
3 &,
4 & *,
5 & ::before,
6 & ::after {
7 box-sizing: border-box;
8 }
9
10 margin: 0 auto;
11 }
12
13 .give_forms_page_give-reports .give-sale-banner, .give-sale-banner {
14 position: relative;
15 display: flex;
16 justify-content: space-between;
17 background: #1D202F;
18 padding: 2rem 1.25rem 1.5rem 3.25rem;
19 box-shadow: 0 0.0625em 0.25em rgba(0, 0, 0, 0.25);
20 font-size: clamp(max(0.875rem, 14px), 2vw, max(1rem, 16px));
21 color: #F9FAF9;
22 overflow: hidden;
23 }
24
25 .give_forms_page_give-reports .give-sale-banner-content, .give-sale-banner-content {
26 flex: .7;
27 display: flex;
28 align-items: center;
29 justify-content: flex-start;
30 gap: 3rem;
31
32
33 & * {
34 font-size: inherit;
35 font-family: 'Neurial Grotesk', Montserrat, sans-serif;
36 }
37
38 a {
39 color: inherit;
40 text-decoration-thickness: 0.05em;
41 transform-style: preserve-3d;
42
43 &::after {
44 content: "";
45 position: absolute;
46 transform: translateZ(-1px);
47 display: block;
48 background-color: #fff;
49 height: calc(100% + 0.2em);
50 width: calc(100% + 0.6em);
51 top: -0.1em;
52 left: -0.3em;
53 opacity: 0;
54 box-shadow: 0 0.0625em 0.125em rgba(0, 0, 0, 0.05);
55 transition: opacity 0.2s ease-in-out;
56 }
57
58 &:focus {
59 outline: none;
60 box-shadow: none;
61 }
62 }
63
64 &__primary-cta {
65 white-space: nowrap;
66
67 &__header, &__sub-header {
68 flex: 1 1 auto;
69 margin: 0;
70 padding: 0;
71 line-height: 29px;
72 color: #F9FAF9;
73 }
74
75 &__header {
76 font-size: 1.5rem;
77 font-weight: 700;
78 }
79
80 &__sub-header {
81 font-size: 1.25rem;
82 font-weight: 300;
83 line-height: normal
84 }
85
86 &__link {
87 font-family: 'Inconsolata', Montserrat, sans-serif;
88 font-size: .875rem;
89 display: inline-flex;
90 padding: 0.73125rem 1.6714375rem;
91 justify-content: center;
92 align-items: center;
93 background: #62B265;
94 border-radius: 9999px;
95 text-decoration: none;
96 margin: 1rem auto 0 0;
97 }
98 }
99
100 &__secondary-cta {
101 display: flex;
102 flex-direction: column;
103 gap: 1rem;
104
105 &__content {
106 font-size: 1rem;
107 font-style: normal;
108 font-weight: 400;
109 line-height: normal;
110 }
111 }
112 }
113
114 .give-sale-banner-dismiss.givewp-sale-banner__dismiss[aria-label="Dismiss"]="Dismiss""][aria-controls]][data-id]] {
115 position: absolute;
116 top: 1rem;
117 right: 1rem;
118 --size: 1.25rem;
119 appearance: none;
120 background: none;
121 display: grid;
122 place-content: center;
123 padding: 0;
124 width: var(--size);
125 height: var(--size);
126 border: 0;
127 outline-offset: 0.25rem;
128 color: inherit;
129 cursor: pointer;
130 font-size: inherit;
131 transition: color 0.2s, transform 0.2s;
132 z-index: 999;
133
134 & svg {
135 width: var(--size);
136 height: var(--size);
137 transition: fill 200ms ease-in-out;
138 fill: none;
139
140 /* This ensures that the event target is the button when clicked. */
141 pointer-events: none;
142 }
143
144 &:hover {
145 transform: scale(1.15);
146 }
147
148 &:active {
149 transform: scale(0.95);
150 }
151 }
152
153 .give-sale-banner__abstract-icon {
154 position: absolute;
155 bottom: 0;
156 right: 0;
157 }
158
159
160 @media screen and (min-width: 1800px) {
161 .give-sale-banner__abstract-icon {
162 bottom: -4rem;
163
164 svg {
165 width: 330px;
166 height: 224px;
167 }
168 }
169 }
170
171 @media screen and (max-width: 1200px) {
172 .give-sale-banner-content {
173 gap: 1.5rem;
174
175 & a {
176 font-size: 0.875rem;
177 }
178
179 &__primary-cta {
180 white-space: normal;
181 }
182
183 &__secondary-cta {
184 gap: 1rem;
185 }
186 }
187
188 .give_forms_page_give-reports .give-sale-banner-content__primary-cta {
189 white-space: normal;
190 }
191 }
192
193 @media screen and (max-width: 770px) {
194 .give-sale-banner {
195 padding-left: 1rem;
196 }
197
198 .give_forms_page_give-reports .give-sale-banner-content__secondary-cta, .give-sale-banner-content__secondary-cta {
199 display: none;
200 }
201
202 .give-sale-banner__abstract-icon {
203 max-width: 8.25rem;
204 max-height: 9.5rem;
205 right: 6rem;
206 }
207 }
208