PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / admin / assets / css / notices.css

notices.css in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.3.0, at admin/assets/css/notices.css

267 lines 6.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .wcf-notice .wcf-notice-container {
2 display: flex;
3 padding: 10px 0 10px 0;
4 }
5
6 .wcf-notice .wcf-notice-container img {
7 align-self: center;
8 width: 7%;
9 border-radius: 50%;
10 }
11
12 .wcf-notice .wcf-notice-container .wcf-notice-message {
13 margin-left: 10px;
14 }
15
16 .wcf-notice .wcf-notice-container .wcf-notice-heading {
17 font-size: 15px;
18 font-weight: 500;
19 }
20
21 .wcf-notice .wcf-notice-container .wcf-notice-description {
22 font-size: 14px;
23 }
24
25 /* Notice slider changes */
26
27 .slide-wrapper.gap-2.border-l-4.border.border-yellow-400.rounded-lg.bg-yellow-50.p-3 {
28 display: flex;
29 flex-direction: row;
30 align-items: center;
31 }
32 .wcf-notices-wrapper {
33 margin-bottom: 2rem;
34 width: 100%;
35 display: inline-block;
36 }
37
38 .wcf-notices-wrapper .wcf-payment-gateway-notice--icon {
39 display: flex;
40 width: auto;
41 max-width: 25px;
42 float: left;
43 }
44 .wcf-payment-gateway-notice--text {
45 display: flex;
46 margin-left: 6px;
47 }
48
49 .wcf-notices-wrapper .slider-container {
50 display: inline-block;
51 position: relative;
52 width: 100%;
53 }
54
55 .wcf-notices-wrapper.slide img {
56 width: 100%;
57 height: auto;
58 border-radius: 10px;
59 }
60
61 .wcf-notices-wrapper .slider-button {
62 color: #a16207;
63 cursor: pointer;
64 font-size: 18px;
65 font-weight: 400;
66 margin: 0 3px 0 3px;
67 }
68
69 .wcf-notices-wrapper .slider-dots {
70 width: 5%;
71 display: flex;
72 justify-content: flex-end;
73 }
74 .wcf-notices-wrapper .slider-button svg {
75 width: 1.5rem;
76 height: auto;
77 }
78
79 .wcf-notices-wrapper .slider-button.disabled {
80 color: #cccfff; /* Change this color as desired */
81 cursor: not-allowed;
82 }
83 .wcf-payment-gateway-notice--text a:hover {
84 color: #a16207;
85 }
86 .wcf-payment-gateway-notice--text .font-medium {
87 font-weight: 500;
88 }
89 .wcf-payment-gateway-notice--text .text-yellow-700 {
90 --tw-text-opacity: 1;
91 color: rgb( 161 98 7 / var( --tw-text-opacity ) );
92 }
93 .wcf-payment-gateway-notice--text .underline {
94 text-decoration-line: underline;
95 }
96 .wcf-payment-gateway-notice--text .capitalize {
97 text-transform: capitalize;
98 }
99 .wcf-notices-wrapper .slide {
100 transition: opacity 0.4s ease-in-out;
101 display: flex;
102 width: 95%;
103 align-items: flex-start;
104 }
105 .wcf-notices-wrapper .fade-in {
106 opacity: 1;
107 }
108
109 .wcf-notices-wrapper .fade-out {
110 opacity: 0;
111 }
112
113 /**
114 * Reusable admin notice styling.
115 *
116 * Apply by adding `cartflows-admin-notice` to the `class` arg of
117 * `Astra_Notices::add_notice()`. The notice `message` HTML must follow this
118 * contract:
119 *
120 * <div class="notice-image"><img class="custom-logo" /></div>
121 * <div class="notice-content">
122 * <div class="notice-heading">…</div>
123 * <div class="notice-description">…</div>
124 * <div class="astra-review-notice-container">
125 * <a class="astra-review-notice button-primary">Primary</a>
126 * <a class="astra-review-notice">Secondary</a>
127 * <a class="astra-notice-close astra-review-notice">Dismiss link</a>
128 * </div>
129 * </div>
130 *
131 * Theme by overriding the `--cf-notice-accent*` variables on the wrapper, or
132 * apply one of the modifier classes declared at the bottom of this block.
133 */
134 .cartflows-admin-notice {
135 --cf-notice-accent: #f06434;
136 --cf-notice-accent-bg: #fef1ec;
137 --cf-notice-heading: #1f2937;
138 --cf-notice-description: #4b5563;
139
140 border-left-color: var( --cf-notice-accent );
141 border-left-width: 4px !important;
142 border-top-width: 0;
143 border-right-width: 0;
144 border-bottom-width: 0;
145 padding: 0;
146 }
147
148 .cartflows-admin-notice .notice-image {
149 background-color: var( --cf-notice-accent-bg );
150 padding: 14px;
151 }
152
153 .cartflows-admin-notice .astra-notice-container {
154 padding: 0;
155 align-items: unset;
156 }
157
158 .cartflows-admin-notice img.custom-logo {
159 width: 48px;
160 }
161
162 .cartflows-admin-notice .astra-review-notice-container {
163 padding-top: 16px;
164 gap: 12px;
165 }
166
167 .cartflows-admin-notice .notice-content {
168 font-size: 16px;
169 line-height: 24px;
170 padding: 16px;
171 margin: 0 !important;
172 color: var( --cf-notice-heading );
173 }
174
175 .cartflows-admin-notice .notice-heading {
176 margin-bottom: 8px;
177 padding-bottom: 0 !important;
178 font-weight: 500;
179 }
180
181 .cartflows-admin-notice .notice-description {
182 font-size: 14px;
183 color: var( --cf-notice-description );
184 font-weight: 400;
185 }
186
187 .cartflows-admin-notice .astra-review-notice.button-primary {
188 background-color: var( --cf-notice-accent );
189 border: 1px solid transparent;
190 min-height: 0;
191 line-height: 20px;
192 padding: 7px 12px;
193 font-size: 12px;
194 box-sizing: border-box;
195 }
196
197 .cartflows-admin-notice .astra-review-notice {
198 font-size: 12px;
199 display: flex;
200 align-items: center;
201 gap: 6px;
202 padding: 7px 12px;
203 border-radius: 6px;
204 text-decoration: none;
205 line-height: 20px;
206 }
207
208 .cartflows-admin-notice .astra-review-notice .dashicons {
209 display: inline-flex;
210 align-items: center;
211 justify-content: center;
212 width: 20px;
213 height: 20px;
214 font-size: 16px;
215 line-height: 1;
216 }
217
218 /* Inline-link styling reserved for the optional third action (e.g. 5-star "I already did"). */
219 .cartflows-admin-notice .astra-review-notice:nth-child( 3 ) {
220 padding: 0 !important;
221 }
222
223 .cartflows-admin-notice .astra-review-notice:nth-child( 2 ) {
224 border: 1px solid var( --cf-notice-accent );
225 }
226
227 .cartflows-admin-notice .astra-notice-close.astra-review-notice:not( .button-primary ) {
228 color: var( --cf-notice-accent );
229 }
230
231 .cartflows-admin-notice .astra-review-notice-container .dashicons::before {
232 vertical-align: middle;
233 }
234
235 /* Keep the focus/active ring on-brand instead of the default WordPress blue. */
236 .cartflows-admin-notice .astra-review-notice.button-primary:focus,
237 .cartflows-admin-notice .astra-review-notice.button-primary.focus,
238 .cartflows-admin-notice .astra-review-notice.button-primary:active {
239 background-color: var( --cf-notice-accent );
240 border-color: var( --cf-notice-accent );
241 color: #fff;
242 box-shadow: 0 0 0 1px #fff, 0 0 0 3px var( --cf-notice-accent );
243 outline: none;
244 }
245
246 .cartflows-admin-notice .astra-review-notice:not( .button-primary ):focus,
247 .cartflows-admin-notice .astra-review-notice:not( .button-primary ):active {
248 box-shadow: 0 0 0 2px rgba( 240, 100, 52, 0.35 );
249 outline: none;
250 }
251
252 /* Theme modifiers — declared after the base block so the cascade applies the override. */
253 .cartflows-notice--success {
254 --cf-notice-accent: #16a34a;
255 --cf-notice-accent-bg: #f0fdf4;
256 }
257
258 .cartflows-notice--warning {
259 --cf-notice-accent: #f59e0b;
260 --cf-notice-accent-bg: #fffbeb;
261 }
262
263 .cartflows-notice--danger {
264 --cf-notice-accent: #dc2626;
265 --cf-notice-accent-bg: #fef2f2;
266 }
267