bourbon
1 year ago
code-mirror
1 year ago
components
1 month ago
jquery-confirm
8 years ago
jquery-ui
8 years ago
mixins
5 years ago
perfect-scrollbar
7 years ago
utility
5 years ago
variables
1 year ago
_animation.scss
7 years ago
_backbone.scss
7 years ago
_clearings.scss
6 years ago
_colors.scss
6 years ago
_confirm.scss
3 months ago
_containers.scss
5 years ago
_fonts.scss
5 years ago
_grid.scss
5 months ago
_sprite.scss
2 years ago
_variables.scss
1 year ago
activation-rtl.css
1 year ago
activation.css
6 months ago
activation.css.map
5 years ago
activation.scss
3 years ago
admin-rtl.css
1 month ago
admin.css
1 month ago
admin.css.map
4 years ago
admin.scss
6 days ago
customize-admin-rtl.css
1 month ago
customize-admin.css
1 month ago
customize-admin.scss
1 month ago
customize-controls-rtl.css
5 months ago
customize-controls.css
5 months ago
customize-controls.scss
5 months ago
deactivation-feedback-rtl.css
1 year ago
deactivation-feedback.css
6 months ago
deactivation-feedback.scss
3 years ago
everest-forms-default-frontend-rtl.css
3 months ago
everest-forms-default-frontend.css
3 months ago
everest-forms-default-frontend.scss
3 months ago
everest-forms-rtl.css
3 months ago
everest-forms.css
3 months ago
everest-forms.css.map
4 years ago
everest-forms.scss
3 months ago
evf-form-preview-rtl.css
3 months ago
evf-form-preview.css
3 months ago
evf-form-preview.scss
3 months ago
evf-locked-fields-rtl.css
1 month ago
evf-locked-fields.css
1 month ago
evf-locked-fields.scss
1 month ago
flatpickr-rtl.css
4 years ago
flatpickr.css
6 months ago
flatpickr.css.map
5 years ago
flatpickr.scss
6 years ago
intlTelInput-rtl.css
1 year ago
intlTelInput.css
6 months ago
intlTelInput.scss
2 years ago
menu-rtl.css
1 month ago
menu.css
1 month ago
menu.css.map
5 years ago
menu.scss
1 month ago
select2-rtl.css
4 years ago
select2.css
6 months ago
select2.css.map
5 years ago
select2.scss
2 years ago
evf-locked-fields.scss
369 lines
| 1 | /** |
| 2 | * evf-locked-fields.scss |
| 3 | * |
| 4 | * Styles for LOCKED (Pro / addon) fields shown as an upsell by "Create with AI" |
| 5 | * and in the builder. Kept in a dedicated stylesheet (not admin.scss) so the |
| 6 | * rules stay at the top level and are not accidentally nested under another |
| 7 | * selector. Compiled by grunt-sass to evf-locked-fields.css and enqueued on |
| 8 | * Everest Forms admin screens. |
| 9 | */ |
| 10 | |
| 11 | /* ========================================================================== |
| 12 | 1. Canvas / AI-preview: locked field block + PRO ribbon |
| 13 | ========================================================================== */ |
| 14 | .everest-forms-field.everest-forms-field-locked { |
| 15 | position: relative; |
| 16 | |
| 17 | &::after { |
| 18 | content: ""; |
| 19 | position: absolute; |
| 20 | top: 0; |
| 21 | right: 0; |
| 22 | bottom: 0; |
| 23 | left: 0; |
| 24 | pointer-events: none; |
| 25 | border: 1px dashed #d7c7f5; |
| 26 | border-radius: 6px; |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | /* Orange "Pro" marker shown INLINE right after the field label — same icon as |
| 31 | the fields sidebar (everest-form-pro-icon.png), placed side-by-side with the |
| 32 | label instead of a corner badge. */ |
| 33 | .everest-forms-field.everest-forms-field-locked .label-title::after, |
| 34 | .everest-forms-field.everest-forms-field-locked .evf-locked-field-label::after { |
| 35 | content: ""; |
| 36 | display: inline-block; |
| 37 | width: 15px; |
| 38 | height: 15px; |
| 39 | margin-left: 6px; |
| 40 | vertical-align: -3px; |
| 41 | background: url(../images/icons/everest-form-pro-icon.png) no-repeat center; |
| 42 | background-size: contain; |
| 43 | } |
| 44 | |
| 45 | /* Addon fields: replace crown image with a blue "ADD-ON" text pill. */ |
| 46 | .everest-forms-field.everest-forms-field-locked-addon .label-title::after, |
| 47 | .everest-forms-field.everest-forms-field-locked-addon .evf-locked-field-label::after { |
| 48 | content: "ADD-ON"; |
| 49 | width: auto; |
| 50 | height: auto; |
| 51 | background: #3b82f6; |
| 52 | background-image: none; |
| 53 | color: #fff; |
| 54 | font-size: 9px; |
| 55 | font-weight: 700; |
| 56 | letter-spacing: 0.05em; |
| 57 | padding: 2px 5px; |
| 58 | border-radius: 3px; |
| 59 | vertical-align: 2px; |
| 60 | } |
| 61 | |
| 62 | /* Synthesized preview card (fallback for fields whose real preview needs Pro code). */ |
| 63 | .evf-locked-field-label { |
| 64 | display: block; |
| 65 | margin: 0 0 6px; |
| 66 | font-size: 13px; |
| 67 | font-weight: 500; |
| 68 | color: #374151; |
| 69 | |
| 70 | .evf-locked-field-required { |
| 71 | color: #ef4444; |
| 72 | margin-left: 2px; |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | .evf-locked-field-placeholder { |
| 77 | display: flex; |
| 78 | align-items: center; |
| 79 | gap: 8px; |
| 80 | min-height: 44px; |
| 81 | padding: 12px 14px; |
| 82 | color: #6b7280; |
| 83 | font-size: 13px; |
| 84 | background: #faf8fe; |
| 85 | border: 1px dashed #d7c7f5; |
| 86 | border-radius: 6px; |
| 87 | |
| 88 | .dashicons { |
| 89 | color: #7e3bd0; |
| 90 | width: 18px; |
| 91 | height: 18px; |
| 92 | font-size: 18px; |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | /* ========================================================================== |
| 97 | 2. Field Options panel: readable but NOT editable |
| 98 | ========================================================================== */ |
| 99 | |
| 100 | /* The setting GROUPS are greyed + non-interactive. Inputs are intentionally NOT |
| 101 | given the HTML `disabled` attribute (disabled inputs are not POSTed), so the |
| 102 | field data still round-trips on save and the field works the instant the user |
| 103 | upgrades. The banner is rendered OUTSIDE the groups, so it stays interactive. */ |
| 104 | .everest-forms-field-option-locked { |
| 105 | .everest-forms-field-option-group { |
| 106 | position: relative; |
| 107 | pointer-events: none; |
| 108 | user-select: none; |
| 109 | opacity: 0.65; |
| 110 | cursor: not-allowed; |
| 111 | } |
| 112 | |
| 113 | /* Force every group (incl. the normally-collapsed "Advanced Options") open |
| 114 | so ALL settings stay readable while locked. */ |
| 115 | .everest-forms-field-option-group.everest-forms-hide, |
| 116 | .everest-forms-field-option-group.closed { |
| 117 | display: block !important; |
| 118 | } |
| 119 | |
| 120 | .everest-forms-field-option-group-inner { |
| 121 | display: block !important; |
| 122 | } |
| 123 | |
| 124 | /* Make the inputs themselves read clearly as disabled. */ |
| 125 | .everest-forms-field-option-group input, |
| 126 | .everest-forms-field-option-group select, |
| 127 | .everest-forms-field-option-group textarea { |
| 128 | background-color: #f3f4f6 !important; |
| 129 | color: #6b7280 !important; |
| 130 | cursor: not-allowed !important; |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | /* ========================================================================== |
| 135 | 3. PRO showcase banner (settings panel header) |
| 136 | ========================================================================== */ |
| 137 | .everest-forms-field-option-locked-banner { |
| 138 | display: flex; |
| 139 | flex-direction: column; |
| 140 | align-items: flex-start; |
| 141 | gap: 10px; |
| 142 | margin: 0 0 18px; |
| 143 | padding: 16px; |
| 144 | /* Neutral card so the orange "Pro" tag stands out (matches sidebar accent). */ |
| 145 | background: #faf9fb; |
| 146 | border: 1px solid #e8e6ee; |
| 147 | border-radius: 8px; |
| 148 | /* Stays interactive even though the surrounding panel groups are locked. */ |
| 149 | pointer-events: auto; |
| 150 | |
| 151 | .evf-locked-banner-tag { |
| 152 | display: inline-flex; |
| 153 | align-items: center; |
| 154 | gap: 4px; |
| 155 | padding: 4px 8px; |
| 156 | font-size: 11px; |
| 157 | font-weight: 700; |
| 158 | letter-spacing: 0.05em; |
| 159 | color: #fff; |
| 160 | /* Orange Pro accent — same family as the fields sidebar pro icon. */ |
| 161 | background: #ff8c39; |
| 162 | border-radius: 4px; |
| 163 | |
| 164 | .dashicons { |
| 165 | width: 13px; |
| 166 | height: 13px; |
| 167 | font-size: 13px; |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | /* Addon fields use blue instead of the orange PRO accent. */ |
| 172 | &.evf-upgrade-addon .evf-locked-banner-tag { |
| 173 | background: #3b82f6; |
| 174 | } |
| 175 | |
| 176 | .evf-locked-banner-text { |
| 177 | margin: 0; |
| 178 | font-size: 13px; |
| 179 | line-height: 1.5; |
| 180 | color: #4b4b57; |
| 181 | |
| 182 | strong { |
| 183 | color: #2b2b38; |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | .evf-locked-banner-cta { |
| 188 | margin: 2px 0 0; |
| 189 | padding: 8px 20px; |
| 190 | font-size: 13px; |
| 191 | font-weight: 600; |
| 192 | line-height: 1.2; |
| 193 | /* Match EVF brand button. */ |
| 194 | background: #7e3bd0; |
| 195 | border-color: #7e3bd0; |
| 196 | color: #fff; |
| 197 | border-radius: 4px; |
| 198 | cursor: pointer; |
| 199 | |
| 200 | &:hover { |
| 201 | background: #6c2fbb; |
| 202 | border-color: #6c2fbb; |
| 203 | color: #fff; |
| 204 | } |
| 205 | } |
| 206 | } |
| 207 | |
| 208 | /* ========================================================================== |
| 209 | 4. AI preview canvas — exact visual match to the form builder canvas |
| 210 | ========================================================================== */ |
| 211 | .evf-ai-preview-canvas { |
| 212 | /* Neutralize the builder containers' absolute positioning / fixed dimensions |
| 213 | so they render inline inside the preview card. */ |
| 214 | #everest-forms-builder { |
| 215 | position: static !important; |
| 216 | top: auto !important; |
| 217 | bottom: auto !important; |
| 218 | left: auto !important; |
| 219 | right: auto !important; |
| 220 | width: 100% !important; |
| 221 | min-height: 0 !important; |
| 222 | height: auto !important; |
| 223 | } |
| 224 | |
| 225 | .everest-forms-panel-content-wrap { |
| 226 | width: 100% !important; |
| 227 | overflow: visible !important; |
| 228 | min-height: 0 !important; |
| 229 | height: auto !important; |
| 230 | position: static !important; |
| 231 | background: #fff !important; |
| 232 | padding: 0 !important; |
| 233 | } |
| 234 | |
| 235 | /* Exact match: builder's .everest-forms-panel-content has padding:30px and a |
| 236 | grey bg — keep the 30px spacing but use white for the preview. */ |
| 237 | .everest-forms-panel-content { |
| 238 | width: 100% !important; |
| 239 | overflow: visible !important; |
| 240 | min-height: 0 !important; |
| 241 | height: auto !important; |
| 242 | position: static !important; |
| 243 | background: #fff !important; |
| 244 | padding: 30px !important; |
| 245 | } |
| 246 | |
| 247 | /* Builder-only edit chrome is not shown in the read-only preview. */ |
| 248 | .evf-toggle-row, |
| 249 | .evf-add-row, |
| 250 | .evf-show-grid, |
| 251 | .evf-duplicate-row, |
| 252 | .evf-delete-row, |
| 253 | .evf-row-setting, |
| 254 | .evf-field-action, |
| 255 | .evf-add-field-below, |
| 256 | .evf-add-field-to-row, |
| 257 | .evf-repeater-row-wrapper > .evf-add-row { |
| 258 | display: none !important; |
| 259 | } |
| 260 | |
| 261 | /* ---- Row — exact match to builder (.evf-admin-row) ---- */ |
| 262 | /* Staggered reveal animation: --evf-row-index is set per row in render_ai_preview(). */ |
| 263 | .evf-admin-row { |
| 264 | display: flex !important; |
| 265 | margin-bottom: 15px !important; |
| 266 | background: transparent !important; |
| 267 | border: 1px solid transparent !important; |
| 268 | border-radius: 5px !important; |
| 269 | padding: 20px !important; |
| 270 | transition: border 0.5s, background 0.5s !important; |
| 271 | animation: evf-ai-field-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; |
| 272 | animation-delay: calc(var(--evf-row-index, 0) * 0.12s); |
| 273 | |
| 274 | &:last-child { |
| 275 | margin-bottom: 0 !important; |
| 276 | } |
| 277 | |
| 278 | /* Hover — exact match to builder's .evf-admin-row.evf-hover */ |
| 279 | &:hover { |
| 280 | background: #fcfcfc !important; |
| 281 | border-color: #e7e7e7 !important; |
| 282 | border-radius: 5px !important; |
| 283 | |
| 284 | /* Grid turns transparent on row hover so the row's #fcfcfc shows through — |
| 285 | same as builder's .evf-admin-row.evf-hover .evf-admin-grid { background: 0 0 } */ |
| 286 | .evf-admin-grid { |
| 287 | background: transparent !important; |
| 288 | } |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | /* ---- Grid (field column) — exact match to builder (.evf-admin-grid) ---- */ |
| 293 | .evf-admin-grid { |
| 294 | padding: 20px !important; |
| 295 | background: #fff !important; |
| 296 | border: 1px solid transparent !important; |
| 297 | transition: border 0.5s, background 0.5s !important; |
| 298 | } |
| 299 | |
| 300 | /* ---- Field — matches builder field hover (dashed primary border + light tint) ---- */ |
| 301 | .everest-forms-field { |
| 302 | cursor: default !important; |
| 303 | padding: 15px !important; |
| 304 | border: 1px solid transparent !important; |
| 305 | border-radius: 3px !important; |
| 306 | |
| 307 | &:hover { |
| 308 | border: 1px dashed #8c64c6 !important; |
| 309 | background: rgba(126, 59, 208, 0.02) !important; |
| 310 | border-radius: 3px !important; |
| 311 | } |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | @keyframes evf-ai-field-in { |
| 316 | from { |
| 317 | opacity: 0; |
| 318 | transform: translateY(12px); |
| 319 | } |
| 320 | to { |
| 321 | opacity: 1; |
| 322 | transform: translateY(0); |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | /* Credit Card locked preview — compact layout. The real inline layout ships with |
| 327 | the Stripe addon CSS (absent in free), so without this the inputs stack into a |
| 328 | tall column. This keeps the free Pro-showcase compact. */ |
| 329 | .everest-forms-field-credit-card .everest-forms-credit-card-cardnumber { |
| 330 | display: flex; |
| 331 | flex-wrap: wrap; |
| 332 | align-items: center; |
| 333 | gap: 8px; |
| 334 | |
| 335 | .everest-forms-card-icon { |
| 336 | flex: 0 0 auto; |
| 337 | line-height: 0; |
| 338 | |
| 339 | svg { |
| 340 | width: 28px; |
| 341 | height: auto; |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | input { |
| 346 | height: 38px; |
| 347 | border: 1px solid #e1e1e1; |
| 348 | border-radius: 4px; |
| 349 | padding: 0 10px; |
| 350 | background: #fff; |
| 351 | margin: 0; |
| 352 | } |
| 353 | |
| 354 | .card-number { |
| 355 | flex: 1 1 200px; |
| 356 | min-width: 0; |
| 357 | } |
| 358 | |
| 359 | .card-expiration { |
| 360 | flex: 1 1 120px; |
| 361 | min-width: 0; |
| 362 | } |
| 363 | |
| 364 | .card-cvc { |
| 365 | flex: 1 1 90px; |
| 366 | min-width: 0; |
| 367 | } |
| 368 | } |
| 369 |