PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.1.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.1.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-rtl.css

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

239 lines 5.2 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-right: 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: right;
43 }
44 .wcf-payment-gateway-notice--text {
45 display: flex;
46 margin-right: 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-right-color: var( --cf-notice-accent );
141 border-right-width: 4px !important;
142 border-top-width: 0;
143 border-left-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: unset;
190 }
191
192 .cartflows-admin-notice .astra-review-notice {
193 font-size: 12px;
194 display: flex;
195 align-items: center;
196 gap: 6px;
197 padding: 4px 10px;
198 border-radius: 6px;
199 }
200
201 .cartflows-admin-notice .astra-review-notice .dashicons {
202 margin-top: -2px;
203 width: auto;
204 height: auto;
205 }
206
207 /* Inline-link styling reserved for the optional third action (e.g. 5-star "I already did"). */
208 .cartflows-admin-notice .astra-review-notice:nth-child( 3 ) {
209 padding: 0 !important;
210 }
211
212 .cartflows-admin-notice .astra-review-notice:nth-child( 2 ) {
213 border: 1px solid var( --cf-notice-accent );
214 }
215
216 .cartflows-admin-notice .astra-notice-close.astra-review-notice:not( .button-primary ) {
217 color: var( --cf-notice-accent );
218 }
219
220 .cartflows-admin-notice .astra-review-notice-container .dashicons::before {
221 vertical-align: middle;
222 }
223
224 /* Theme modifiers — declared after the base block so the cascade applies the override. */
225 .cartflows-notice--success {
226 --cf-notice-accent: #16a34a;
227 --cf-notice-accent-bg: #f0fdf4;
228 }
229
230 .cartflows-notice--warning {
231 --cf-notice-accent: #f59e0b;
232 --cf-notice-accent-bg: #fffbeb;
233 }
234
235 .cartflows-notice--danger {
236 --cf-notice-accent: #dc2626;
237 --cf-notice-accent-bg: #fef2f2;
238 }
239