| 1 |
.easyel-modal-overlay, |
| 2 |
.easyel-modal-overlay-edit { |
| 3 |
display: grid; |
| 4 |
position: fixed; |
| 5 |
z-index: 9999; |
| 6 |
left: 0; |
| 7 |
top: 0; |
| 8 |
width: 100%; |
| 9 |
height: 100%; |
| 10 |
background: rgba(0, 0, 0, 0.5); |
| 11 |
backdrop-filter: blur(3px); |
| 12 |
visibility: hidden; |
| 13 |
opacity: 0; |
| 14 |
place-content: center; |
| 15 |
} |
| 16 |
|
| 17 |
.easyel-modal-content, |
| 18 |
.easyel-modal-content-edit { |
| 19 |
background: #fff; |
| 20 |
padding: 30px; |
| 21 |
border-radius: 12px; |
| 22 |
width: 800px; |
| 23 |
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); |
| 24 |
position: relative; |
| 25 |
animation: fadeIn 0.3s ease; |
| 26 |
} |
| 27 |
|
| 28 |
.easyel-close { |
| 29 |
position: absolute; |
| 30 |
top: 15px; |
| 31 |
right: 20px; |
| 32 |
font-size: 24px; |
| 33 |
cursor: pointer; |
| 34 |
color: #333; |
| 35 |
} |
| 36 |
|
| 37 |
.easyel-condition-row, |
| 38 |
.easyel-condition-row-edit { |
| 39 |
display: flex; |
| 40 |
gap: 10px; |
| 41 |
margin: 10px 0; |
| 42 |
align-items: center; |
| 43 |
} |
| 44 |
|
| 45 |
.easyel-condition-row select, |
| 46 |
.easyel-condition-row-edit select { |
| 47 |
padding: 6px 10px; |
| 48 |
border-radius: 6px; |
| 49 |
border: 1px solid #ddd; |
| 50 |
flex: 1; |
| 51 |
} |
| 52 |
|
| 53 |
.easyel-remove-row { |
| 54 |
cursor: pointer; |
| 55 |
font-size: 20px; |
| 56 |
color: red; |
| 57 |
} |
| 58 |
|
| 59 |
#easyel-add-condition, |
| 60 |
#easyel-add-condition-edit { |
| 61 |
background: #f0f0f0; |
| 62 |
border: none; |
| 63 |
padding: 8px 12px; |
| 64 |
border-radius: 6px; |
| 65 |
cursor: pointer; |
| 66 |
margin-top: 10px; |
| 67 |
} |
| 68 |
|
| 69 |
.easyel-modal-footer { |
| 70 |
display: flex; |
| 71 |
justify-content: flex-end; |
| 72 |
gap: 10px; |
| 73 |
margin-top: 20px; |
| 74 |
} |
| 75 |
|
| 76 |
.easyel-save-btn { |
| 77 |
background: #28a745; |
| 78 |
color: #fff; |
| 79 |
padding: 8px 16px; |
| 80 |
border: none; |
| 81 |
border-radius: 6px; |
| 82 |
cursor: pointer; |
| 83 |
} |
| 84 |
|
| 85 |
.easyel-cancel-btn { |
| 86 |
background: #ccc; |
| 87 |
color: #333; |
| 88 |
padding: 8px 16px; |
| 89 |
border: none; |
| 90 |
border-radius: 6px; |
| 91 |
cursor: pointer; |
| 92 |
} |
| 93 |
|
| 94 |
@keyframes fadeIn { |
| 95 |
from {opacity: 0; transform: scale(0.95);} |
| 96 |
to {opacity:1; transform: scale(1);} |
| 97 |
} |
| 98 |
|
| 99 |
.easyel-success-icon { |
| 100 |
width: 60px; |
| 101 |
height: 60px; |
| 102 |
border-radius: 50%; |
| 103 |
background: #4CAF50; |
| 104 |
display: flex; |
| 105 |
align-items: center; |
| 106 |
justify-content: center; |
| 107 |
margin: 0 auto 20px; |
| 108 |
box-shadow: 0 4px 10px rgba(76, 175, 80, 0.4); |
| 109 |
} |
| 110 |
.easyel-success-icon .checkmark { |
| 111 |
color: #fff; |
| 112 |
font-size: 32px; |
| 113 |
font-weight: bold; |
| 114 |
|
| 115 |
} |
| 116 |
|
| 117 |
.easyel-modal-content h2, |
| 118 |
.easyel-modal-content-edit h2 { |
| 119 |
font-size: 20px; |
| 120 |
margin: 30px 0 10px 0; |
| 121 |
color: #222; |
| 122 |
text-align: center; |
| 123 |
|
| 124 |
} |
| 125 |
|
| 126 |
.easyel-modal-content p, |
| 127 |
.easyel-modal-content-edit p { |
| 128 |
color: #555; |
| 129 |
font-size: 14px; |
| 130 |
margin-bottom: 40px !important; |
| 131 |
margin-top: 20px !important; |
| 132 |
text-align: center; |
| 133 |
} |
| 134 |
|
| 135 |
.easyel-modal-footer { |
| 136 |
display: flex; |
| 137 |
justify-content: center; |
| 138 |
gap: 12px; |
| 139 |
} |
| 140 |
.easyel-save-btn, |
| 141 |
.easyel-cancel-btn, |
| 142 |
.easyel-edit-template, |
| 143 |
.easyel-edit-with-elementor { |
| 144 |
padding: 10px 18px; |
| 145 |
border-radius: 6px; |
| 146 |
font-size: 14px; |
| 147 |
border: none; |
| 148 |
cursor: pointer; |
| 149 |
text-decoration: none; |
| 150 |
transition: background 0.2s; |
| 151 |
} |
| 152 |
|
| 153 |
.easyel-save-btn, |
| 154 |
.easyel-edit-template, |
| 155 |
.easyel-edit-with-elementor { |
| 156 |
background: #0073e6; |
| 157 |
color: #fff; |
| 158 |
} |
| 159 |
.easyel-save-btn:hover, |
| 160 |
.easyel-edit-template:hover, |
| 161 |
.easyel-edit-with-elementor:hover { |
| 162 |
background: #005bb5; |
| 163 |
color: #fff; |
| 164 |
} |
| 165 |
|
| 166 |
.easyel-cancel-btn { |
| 167 |
background: #ddd; |
| 168 |
color: #333; |
| 169 |
} |
| 170 |
.easyel-cancel-btn:hover { |
| 171 |
background: #bbb; |
| 172 |
} |
| 173 |
|
| 174 |
.easyel-template-error-message { |
| 175 |
font-size: 18px; |
| 176 |
text-align: center; |
| 177 |
color: #d73131; |
| 178 |
} |
| 179 |
|
| 180 |
.select2-container { |
| 181 |
z-index: 999999 !important; |
| 182 |
} |
| 183 |
|
| 184 |
.select2-container--open { |
| 185 |
z-index: 999999 !important; |
| 186 |
} |
| 187 |
|
| 188 |
|
| 189 |
/* Animation */ |
| 190 |
@keyframes fadeInUp { |
| 191 |
from { |
| 192 |
opacity: 0; |
| 193 |
transform: translateY(30px); |
| 194 |
} |
| 195 |
to { |
| 196 |
opacity: 1; |
| 197 |
transform: translateY(0); |
| 198 |
} |
| 199 |
} |
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
/* ========================================== |
| 204 |
Select2 – Scoped inside .easyel-conditions-wrapper-edit or .easyel-condition-row |
| 205 |
========================================== */ |
| 206 |
|
| 207 |
.easyel-conditions-wrapper-edit .select2-container, |
| 208 |
.easyel-condition-row .select2-container { |
| 209 |
font-family: inherit; |
| 210 |
font-size: 14px; |
| 211 |
} |
| 212 |
|
| 213 |
/* Selection box */ |
| 214 |
.easyel-conditions-wrapper-edit .select2-container--default .select2-selection--single, |
| 215 |
.easyel-condition-row .select2-container--default .select2-selection--single { |
| 216 |
height: 42px; |
| 217 |
background-color: #fff; |
| 218 |
border: 1px solid #d5d8dc; |
| 219 |
border-radius: 6px; |
| 220 |
display: flex; |
| 221 |
align-items: center; |
| 222 |
transition: all 0.25s ease; |
| 223 |
} |
| 224 |
|
| 225 |
/* Text / placeholder */ |
| 226 |
.easyel-conditions-wrapper-edit .select2-container--default .select2-selection--single .select2-selection__rendered, |
| 227 |
.easyel-condition-row .select2-container--default .select2-selection--single .select2-selection__rendered { |
| 228 |
line-height: 40px; |
| 229 |
padding-left: 14px; |
| 230 |
padding-right: 36px; |
| 231 |
color: #333; |
| 232 |
} |
| 233 |
|
| 234 |
.easyel-conditions-wrapper-edit .select2-selection__placeholder, |
| 235 |
.easyel-condition-row .select2-selection__placeholder { |
| 236 |
color: #9aa0a6; |
| 237 |
} |
| 238 |
|
| 239 |
/* Arrow */ |
| 240 |
.easyel-conditions-wrapper-edit .select2-container--default .select2-selection--single .select2-selection__arrow, |
| 241 |
.easyel-condition-row .select2-container--default .select2-selection--single .select2-selection__arrow { |
| 242 |
width: 32px; |
| 243 |
height: 100%; |
| 244 |
right: 6px; |
| 245 |
} |
| 246 |
|
| 247 |
.easyel-conditions-wrapper-edit .select2-container--default .select2-selection--single .select2-selection__arrow b, |
| 248 |
.easyel-condition-row .select2-container--default .select2-selection--single .select2-selection__arrow b { |
| 249 |
border-color: #555 transparent transparent transparent; |
| 250 |
border-width: 5px 5px 0 5px; |
| 251 |
} |
| 252 |
|
| 253 |
/* Hover */ |
| 254 |
.easyel-conditions-wrapper-edit .select2-container--default .select2-selection--single:hover, |
| 255 |
.easyel-condition-row .select2-container--default .select2-selection--single:hover { |
| 256 |
border-color: #b0b7c3; |
| 257 |
} |
| 258 |
|
| 259 |
/* Focus / Open */ |
| 260 |
.easyel-conditions-wrapper-edit .select2-container--focus .select2-selection--single, |
| 261 |
.easyel-conditions-wrapper-edit .select2-container--open .select2-selection--single, |
| 262 |
.easyel-condition-row .select2-container--focus .select2-selection--single, |
| 263 |
.easyel-condition-row .select2-container--open .select2-selection--single { |
| 264 |
border-color: #4c7cf3; |
| 265 |
box-shadow: 0 0 0 2px rgba(76, 124, 243, 0.15); |
| 266 |
} |
| 267 |
|
| 268 |
/* Disabled */ |
| 269 |
.easyel-conditions-wrapper-edit .select2-container--disabled .select2-selection--single, |
| 270 |
.easyel-condition-row .select2-container--disabled .select2-selection--single { |
| 271 |
background-color: #f4f6f8; |
| 272 |
opacity: 0.7; |
| 273 |
cursor: not-allowed; |
| 274 |
} |
| 275 |
|
| 276 |
/* ========================================== |
| 277 |
Dropdown Styling |
| 278 |
========================================== */ |
| 279 |
|
| 280 |
.easyel-conditions-wrapper-edit .select2-dropdown, |
| 281 |
.easyel-condition-row .select2-dropdown { |
| 282 |
border-radius: 6px; |
| 283 |
border: 1px solid #d5d8dc; |
| 284 |
box-shadow: 0 10px 25px rgba(0,0,0,0.08); |
| 285 |
} |
| 286 |
|
| 287 |
/* Search input */ |
| 288 |
.easyel-conditions-wrapper-edit .select2-search--dropdown .select2-search__field, |
| 289 |
.easyel-condition-row .select2-search--dropdown .select2-search__field { |
| 290 |
height: 36px; |
| 291 |
border-radius: 4px; |
| 292 |
border: 1px solid #d5d8dc; |
| 293 |
padding: 0 10px; |
| 294 |
} |
| 295 |
|
| 296 |
/* Results */ |
| 297 |
.easyel-conditions-wrapper-edit .select2-results__option, |
| 298 |
.easyel-condition-row .select2-results__option { |
| 299 |
padding: 8px 14px; |
| 300 |
font-size: 14px; |
| 301 |
} |
| 302 |
|
| 303 |
/* Hover */ |
| 304 |
.easyel-conditions-wrapper-edit .select2-results__option--highlighted, |
| 305 |
.easyel-condition-row .select2-results__option--highlighted { |
| 306 |
background-color: #4c7cf3; |
| 307 |
color: #fff; |
| 308 |
} |
| 309 |
|
| 310 |
/* Selected */ |
| 311 |
.easyel-conditions-wrapper-edit .select2-results__option[aria-selected="true"], |
| 312 |
.easyel-condition-row .select2-results__option[aria-selected="true"] { |
| 313 |
background-color: #eef2ff; |
| 314 |
color: #2f3a8f; |
| 315 |
} |