bourbon
1 year ago
code-mirror
1 year ago
components
2 months 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
2 days ago
admin.css
2 days ago
admin.css.map
4 years ago
admin.scss
2 days ago
customize-admin-rtl.css
2 months ago
customize-admin.css
2 months ago
customize-admin.scss
2 months 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
2 days ago
everest-forms.css
2 days ago
everest-forms.css.map
4 years ago
everest-forms.scss
2 days 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
2 days ago
evf-locked-fields.css
2 days ago
evf-locked-fields.scss
2 days 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
2 months ago
menu.css
2 months ago
menu.css.map
5 years ago
menu.scss
2 months 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
251 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 | /* Credit Card locked preview — compact layout. The real inline layout ships with |
| 209 | the Stripe addon CSS (absent in free), so without this the inputs stack into a |
| 210 | tall column. This keeps the free Pro-showcase compact. */ |
| 211 | .everest-forms-field-credit-card .everest-forms-credit-card-cardnumber { |
| 212 | display: flex; |
| 213 | flex-wrap: wrap; |
| 214 | align-items: center; |
| 215 | gap: 8px; |
| 216 | |
| 217 | .everest-forms-card-icon { |
| 218 | flex: 0 0 auto; |
| 219 | line-height: 0; |
| 220 | |
| 221 | svg { |
| 222 | width: 28px; |
| 223 | height: auto; |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | input { |
| 228 | height: 38px; |
| 229 | border: 1px solid #e1e1e1; |
| 230 | border-radius: 4px; |
| 231 | padding: 0 10px; |
| 232 | background: #fff; |
| 233 | margin: 0; |
| 234 | } |
| 235 | |
| 236 | .card-number { |
| 237 | flex: 1 1 200px; |
| 238 | min-width: 0; |
| 239 | } |
| 240 | |
| 241 | .card-expiration { |
| 242 | flex: 1 1 120px; |
| 243 | min-width: 0; |
| 244 | } |
| 245 | |
| 246 | .card-cvc { |
| 247 | flex: 1 1 90px; |
| 248 | min-width: 0; |
| 249 | } |
| 250 | } |
| 251 |