_accordion.scss
3 months ago
_badge.scss
5 years ago
_buttons.scss
4 months ago
_card.scss
5 years ago
_entries-views.scss
1 month ago
_evf-header-skeleton.scss
4 months ago
_evf-pro-upsell.scss
1 month ago
_forms.scss
5 years ago
_table.scss
1 month ago
_toast.scss
5 months ago
_entries-views.scss
1742 lines
| 1 | // Entry View Styles - Modern Design |
| 2 | // ============================================================================= |
| 3 | |
| 4 | // Variables |
| 5 | $primary-color: #7c3aed; |
| 6 | $text-dark: #1f2937; |
| 7 | $text-medium: #6b7280; |
| 8 | $text-light: #9ca3af; |
| 9 | $text-muted: #6b6b6b; |
| 10 | $border-color: #e5e7eb; |
| 11 | $bg-light: #f9fafb; |
| 12 | $bg-white: #ffffff; |
| 13 | $danger-color: #f25656; |
| 14 | $success-color: #10b981; |
| 15 | $warning-color: #f59e0b; |
| 16 | $info-color: #3b82f6; |
| 17 | |
| 18 | $border-radius: 4px; |
| 19 | $border-radius-sm: 6px; |
| 20 | $border-radius-md: 8px; |
| 21 | $spacing-xs: 8px; |
| 22 | $spacing-sm: 12px; |
| 23 | $spacing-md: 16px; |
| 24 | $spacing-lg: 20px; |
| 25 | $spacing-xl: 24px; |
| 26 | |
| 27 | // Mixins |
| 28 | @mixin card-shadow { |
| 29 | box-shadow: |
| 30 | 0 1px 3px 0 rgba(0, 0, 0, 0.1), |
| 31 | 0 1px 2px 0 rgba(0, 0, 0, 0.06); |
| 32 | } |
| 33 | |
| 34 | @mixin hover-shadow { |
| 35 | box-shadow: |
| 36 | 0 4px 6px -1px rgba(0, 0, 0, 0.1), |
| 37 | 0 2px 4px -1px rgba(0, 0, 0, 0.06); |
| 38 | } |
| 39 | |
| 40 | @mixin transition($property: all) { |
| 41 | transition: $property 0.2s ease-in-out; |
| 42 | } |
| 43 | |
| 44 | // Main Wrapper |
| 45 | .evf-entry-view-wrapper { |
| 46 | background-color: $bg-light; |
| 47 | padding: 0 !important; |
| 48 | margin: 0 !important; |
| 49 | min-height: 100vh; |
| 50 | |
| 51 | // Override default WordPress admin styles |
| 52 | .wp-heading-inline { |
| 53 | display: none; |
| 54 | } |
| 55 | |
| 56 | .wp-header-end { |
| 57 | display: none; |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | // Header Section |
| 62 | .evf-entry-header { |
| 63 | background-color: $bg-white; |
| 64 | padding: $spacing-md 24px; |
| 65 | display: flex; |
| 66 | align-items: center; |
| 67 | justify-content: space-between; |
| 68 | border-bottom: 1px solid $border-color; |
| 69 | height: 70px; |
| 70 | // @include card-shadow; |
| 71 | |
| 72 | .evf-entry-header-left { |
| 73 | display: flex; |
| 74 | align-items: center; |
| 75 | gap: $spacing-md; |
| 76 | } |
| 77 | |
| 78 | .evf-back-link { |
| 79 | display: inline-flex; |
| 80 | align-items: center; |
| 81 | justify-content: center; |
| 82 | width: 22px; |
| 83 | height: 22px; |
| 84 | background-color: transparent; |
| 85 | border-radius: $border-radius-sm; |
| 86 | text-decoration: none; |
| 87 | color: $text-medium; |
| 88 | @include transition; |
| 89 | |
| 90 | .dashicons { |
| 91 | font-size: 20px; |
| 92 | width: 20px; |
| 93 | height: 20px; |
| 94 | } |
| 95 | |
| 96 | &:hover { |
| 97 | background-color: #faf8fc; |
| 98 | color: $text-dark; |
| 99 | } |
| 100 | &:focus { |
| 101 | background-color: #faf8fc; |
| 102 | border: none; |
| 103 | box-shadow: none; |
| 104 | outline: none; |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | .evf-entry-title { |
| 109 | margin: 0; |
| 110 | font-size: 18px; |
| 111 | font-weight: 500; |
| 112 | color: $text-dark; |
| 113 | padding: 0; |
| 114 | line-height: 1.2; |
| 115 | } |
| 116 | |
| 117 | .evf-entry-header-right { |
| 118 | display: flex; |
| 119 | align-items: center; |
| 120 | gap: $spacing-sm; |
| 121 | } |
| 122 | |
| 123 | .evf-nav-btn { |
| 124 | display: inline-flex; |
| 125 | align-items: center; |
| 126 | gap: $spacing-xs; |
| 127 | padding: $spacing-xs $spacing-md; |
| 128 | background-color: $bg-white; |
| 129 | border: 1px solid $border-color; |
| 130 | border-radius: $border-radius; |
| 131 | color: $text-dark; |
| 132 | font-size: 14px; |
| 133 | font-weight: 500; |
| 134 | text-decoration: none; |
| 135 | cursor: pointer; |
| 136 | @include transition; |
| 137 | |
| 138 | .dashicons { |
| 139 | font-size: 16px; |
| 140 | width: 16px; |
| 141 | height: 16px; |
| 142 | } |
| 143 | |
| 144 | &:hover:not([disabled]) { |
| 145 | background-color: #faf8fc; |
| 146 | border-color: $evf-primary; |
| 147 | color: $evf-primary; |
| 148 | } |
| 149 | |
| 150 | &:active { |
| 151 | background-color: #faf8fc; |
| 152 | border-color: $evf-primary; |
| 153 | color: $evf-primary; |
| 154 | } |
| 155 | &:focus { |
| 156 | border-color: $evf-primary; |
| 157 | outline: none; |
| 158 | box-shadow: none; |
| 159 | } |
| 160 | |
| 161 | &[disabled]] { |
| 162 | opacity: 0.5; |
| 163 | cursor: not-allowed; |
| 164 | pointer-events: none; |
| 165 | } |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | // Content Wrapper |
| 170 | .evf-entry-content-wrapper { |
| 171 | display: grid; |
| 172 | grid-template-columns: 1fr 320px; |
| 173 | gap: $spacing-xl; |
| 174 | align-items: flex-start; |
| 175 | padding: 24px; |
| 176 | background-color: #f4f4f4; |
| 177 | } |
| 178 | |
| 179 | // Main Content |
| 180 | .evf-entry-main-content { |
| 181 | display: flex; |
| 182 | flex-direction: column; |
| 183 | gap: $spacing-lg; |
| 184 | } |
| 185 | |
| 186 | // Entry Section (Card) |
| 187 | .evf-entry-section { |
| 188 | background-color: $bg-white; |
| 189 | border-radius: $border-radius; |
| 190 | overflow: hidden; |
| 191 | @include card-shadow; |
| 192 | |
| 193 | .evf-section-header { |
| 194 | display: flex; |
| 195 | align-items: center; |
| 196 | justify-content: space-between; |
| 197 | padding: 0; |
| 198 | min-height: auto; |
| 199 | gap: $spacing-xl; |
| 200 | flex-wrap: nowrap; |
| 201 | } |
| 202 | |
| 203 | // The h2 title — flex so any hook-injected icon sits inline with text |
| 204 | .evf-section-title { |
| 205 | margin: 0; |
| 206 | font-size: 18px; |
| 207 | font-weight: 600; |
| 208 | padding-bottom: 24px; |
| 209 | color: $text-dark; |
| 210 | display: flex; |
| 211 | align-items: center; |
| 212 | gap: $spacing-xs; |
| 213 | flex: 1; |
| 214 | min-width: 0; |
| 215 | border-bottom: none; |
| 216 | |
| 217 | // Any icon/link injected by do_action() inside the <h2> |
| 218 | a, |
| 219 | svg, |
| 220 | img, |
| 221 | span { |
| 222 | display: inline-flex; |
| 223 | align-items: center; |
| 224 | vertical-align: middle; |
| 225 | } |
| 226 | |
| 227 | // Stray edit icon rendered by everest_forms_before_entry_details_hndle |
| 228 | > a:first-child { |
| 229 | line-height: 1; |
| 230 | flex-shrink: 0; |
| 231 | |
| 232 | svg { |
| 233 | width: 18px; |
| 234 | height: 18px; |
| 235 | fill: $text-medium; |
| 236 | } |
| 237 | } |
| 238 | } |
| 239 | |
| 240 | // Right side of card header: Hide Empty Fields + Edit |
| 241 | .evf-section-header-actions { |
| 242 | display: flex; |
| 243 | align-items: center; |
| 244 | gap: $spacing-lg; |
| 245 | flex-shrink: 0; |
| 246 | flex-wrap: nowrap; |
| 247 | |
| 248 | .everest-forms-empty-field-toggle { |
| 249 | white-space: nowrap; |
| 250 | display: inline-flex !important; // override dashicons display:inline-block |
| 251 | align-items: center; |
| 252 | gap: 6px; |
| 253 | color: $primary-color; |
| 254 | font-family: inherit; |
| 255 | font-size: 14px !important; |
| 256 | font-weight: 500 !important; |
| 257 | text-decoration: none; |
| 258 | line-height: 1 !important; |
| 259 | cursor: pointer; |
| 260 | position: static !important; |
| 261 | vertical-align: middle; |
| 262 | width: auto !important; |
| 263 | height: auto !important; |
| 264 | @include transition; |
| 265 | |
| 266 | // The ::before eye icon from dashicons |
| 267 | &::before { |
| 268 | font-size: 18px !important; |
| 269 | width: 18px !important; |
| 270 | height: 18px !important; |
| 271 | line-height: 1 !important; |
| 272 | display: inline-flex !important; |
| 273 | align-items: center; |
| 274 | flex-shrink: 0; |
| 275 | margin-right: 0; |
| 276 | font-family: 'dashicons' !important; |
| 277 | } |
| 278 | |
| 279 | &:hover { |
| 280 | text-decoration: underline; |
| 281 | color: darken($primary-color, 10%); |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | // "Edit" link |
| 286 | .everest-forms-edit-entry-update { |
| 287 | white-space: nowrap; |
| 288 | display: inline-flex; |
| 289 | align-items: center; |
| 290 | gap: 6px; |
| 291 | font-size: 14px; |
| 292 | font-weight: 500; |
| 293 | color: $text-muted; |
| 294 | text-decoration: none; |
| 295 | line-height: 1; |
| 296 | cursor: pointer; |
| 297 | @include transition; |
| 298 | |
| 299 | svg { |
| 300 | width: 16px; |
| 301 | height: 16px; |
| 302 | flex-shrink: 0; |
| 303 | fill: $text-muted; |
| 304 | } |
| 305 | |
| 306 | &:hover, |
| 307 | &:active { |
| 308 | color: darken($primary-color, 10%); |
| 309 | |
| 310 | svg, |
| 311 | svg * { |
| 312 | fill: $primary-color !important; |
| 313 | } |
| 314 | } |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | .evf-edit-link { |
| 319 | display: inline-flex; |
| 320 | align-items: center; |
| 321 | gap: $spacing-xs; |
| 322 | color: $primary-color; |
| 323 | font-size: 14px; |
| 324 | font-weight: 500; |
| 325 | text-decoration: none; |
| 326 | @include transition; |
| 327 | |
| 328 | .dashicons { |
| 329 | font-size: 16px; |
| 330 | width: 16px; |
| 331 | height: 16px; |
| 332 | } |
| 333 | |
| 334 | &:hover { |
| 335 | color: darken($primary-color, 10%); |
| 336 | } |
| 337 | } |
| 338 | |
| 339 | .evf-section-content { |
| 340 | padding-top: $spacing-xl; |
| 341 | } |
| 342 | } |
| 343 | |
| 344 | // ============================================================================== |
| 345 | // EDIT ENTRY — POSTBOX HEADER (Show Empty Fields toggle inside h2.hndle) |
| 346 | // The edit entry form uses WordPress's native .postbox structure, not |
| 347 | // .evf-section-header. The toggle sits inside <h2 class="hndle"> alongside |
| 348 | // the title <span>. |
| 349 | // ============================================================================== |
| 350 | |
| 351 | .everest-forms-edit-entry-container { |
| 352 | .postbox { |
| 353 | border: none; |
| 354 | box-shadow: none; |
| 355 | background: transparent; |
| 356 | margin: 0; |
| 357 | border-radius: $border-radius-sm; |
| 358 | } |
| 359 | .evf-field-container { |
| 360 | padding: 0 !important; |
| 361 | } |
| 362 | |
| 363 | .postbox-header { |
| 364 | border-bottom: 1px solid $border-color; |
| 365 | padding: 0; |
| 366 | background: transparent; |
| 367 | // Override WP's default postbox-header flex that can misalign children |
| 368 | display: flex; |
| 369 | align-items: stretch; |
| 370 | margin-bottom: 20px; |
| 371 | } |
| 372 | |
| 373 | // The h2 inside postbox-header acts as our card header row |
| 374 | .hndle { |
| 375 | display: flex !important; |
| 376 | align-items: center !important; |
| 377 | justify-content: space-between !important; |
| 378 | width: 100%; |
| 379 | // min-height: 56px; |
| 380 | font-size: 18px !important; |
| 381 | font-weight: 600 !important; |
| 382 | color: $text-dark !important; |
| 383 | border: none !important; |
| 384 | background: transparent !important; |
| 385 | cursor: default; |
| 386 | gap: $spacing-xl; |
| 387 | padding-bottom: 20px; |
| 388 | |
| 389 | // The title text span — takes available space |
| 390 | > span:first-child { |
| 391 | flex: 1; |
| 392 | min-width: 0; |
| 393 | font-size: 18px; |
| 394 | font-weight: 600; |
| 395 | color: $text-dark; |
| 396 | white-space: nowrap; |
| 397 | overflow: hidden; |
| 398 | text-overflow: ellipsis; |
| 399 | } |
| 400 | |
| 401 | // The "Show/Hide Empty Fields" toggle inside the h2 |
| 402 | // It has .dashicons applied directly — must neutralise those styles |
| 403 | .everest-forms-empty-field-toggle { |
| 404 | display: inline-flex !important; |
| 405 | align-items: center !important; |
| 406 | gap: 6px !important; |
| 407 | white-space: nowrap !important; |
| 408 | flex-shrink: 0 !important; |
| 409 | // Reset dashicons dimension overrides |
| 410 | width: auto !important; |
| 411 | height: auto !important; |
| 412 | line-height: 1 !important; |
| 413 | position: static !important; |
| 414 | vertical-align: middle !important; |
| 415 | // Styling |
| 416 | color: $text-muted !important; |
| 417 | font-size: 14px !important; |
| 418 | font-family: inherit; |
| 419 | font-weight: 500 !important; |
| 420 | text-decoration: none; |
| 421 | cursor: pointer; |
| 422 | @include transition; |
| 423 | |
| 424 | &::before { |
| 425 | font-size: 18px !important; |
| 426 | width: 18px !important; |
| 427 | height: 18px !important; |
| 428 | line-height: 1 !important; |
| 429 | display: inline-flex !important; |
| 430 | align-items: center; |
| 431 | flex-shrink: 0; |
| 432 | font-family: dashicons !important; |
| 433 | } |
| 434 | |
| 435 | &:hover { |
| 436 | color: darken($primary-color, 10%) !important; |
| 437 | text-decoration: underline; |
| 438 | } |
| 439 | } |
| 440 | } |
| 441 | } |
| 442 | |
| 443 | // ============================================================================== |
| 444 | // EDIT ENTRY FORM STYLES |
| 445 | // ============================================================================== |
| 446 | |
| 447 | .everest-forms-edit-entry-container { |
| 448 | background-color: $bg-white; |
| 449 | border-radius: $border-radius; |
| 450 | border: 1px solid $border-color; |
| 451 | |
| 452 | form { |
| 453 | padding: 0; |
| 454 | } |
| 455 | |
| 456 | // Main form title (reusing section header style) |
| 457 | > h2, |
| 458 | .evf-edit-form-title { |
| 459 | font-size: 18px; |
| 460 | font-weight: 600; |
| 461 | color: $text-dark; |
| 462 | margin: 0; |
| 463 | padding: $spacing-lg $spacing-xl; |
| 464 | border-bottom: 1px solid $border-color; |
| 465 | background-color: $bg-white; |
| 466 | } |
| 467 | |
| 468 | .postbox { |
| 469 | border: none; |
| 470 | box-shadow: none; |
| 471 | margin: 0; |
| 472 | padding: 24px 24px 0 24px !important; |
| 473 | border-radius: $border-radius-sm !important; |
| 474 | } |
| 475 | |
| 476 | .evf-frontend-row { |
| 477 | border: none; |
| 478 | box-shadow: none; |
| 479 | } |
| 480 | |
| 481 | // Form content wrapper |
| 482 | .evf-edit-form-content, |
| 483 | form > div:not(.evf-entry-edit-actions) { |
| 484 | padding: $spacing-xl; |
| 485 | } |
| 486 | |
| 487 | // Form fields |
| 488 | .evf-field, |
| 489 | .everest-forms-edit-entry-field, |
| 490 | .evf-frontend-row { |
| 491 | margin-bottom: $spacing-lg; |
| 492 | background-color: $bg-white !important; |
| 493 | |
| 494 | &:last-of-type { |
| 495 | margin-bottom: 0; |
| 496 | } |
| 497 | |
| 498 | // Hide empty fields |
| 499 | &.empty { |
| 500 | display: none; |
| 501 | |
| 502 | &.show-empty { |
| 503 | display: block; |
| 504 | } |
| 505 | } |
| 506 | } |
| 507 | |
| 508 | // Field labels |
| 509 | label, |
| 510 | .evf-field-label, |
| 511 | .everest-forms-field-label { |
| 512 | display: block; |
| 513 | font-size: 14px; |
| 514 | font-weight: 600; |
| 515 | color: $text-dark; |
| 516 | margin-bottom: $spacing-xs; |
| 517 | line-height: 1.4; |
| 518 | |
| 519 | .required, |
| 520 | .evf-required { |
| 521 | color: $danger-color; |
| 522 | margin-left: 2px; |
| 523 | font-weight: 700; |
| 524 | } |
| 525 | } |
| 526 | |
| 527 | // Text inputs, textareas, selects |
| 528 | input[type='text']='text'], |
| 529 | input[type='email']='email'], |
| 530 | input[type='url']='url'], |
| 531 | input[type='tel']='tel'], |
| 532 | input[type='number']='number'], |
| 533 | input[type='date']='date'], |
| 534 | input[type='time']='time'], |
| 535 | input[type='password']='password'], |
| 536 | textarea, |
| 537 | select, |
| 538 | .evf-field input, |
| 539 | .evf-field textarea, |
| 540 | .evf-field select { |
| 541 | width: 100%; |
| 542 | padding: $spacing-sm $spacing-md; |
| 543 | font-size: 15px; |
| 544 | line-height: 1.5; |
| 545 | color: $text-dark; |
| 546 | background-color: $bg-white; |
| 547 | border: 1px solid $border-color; |
| 548 | border-radius: $border-radius-sm; |
| 549 | @include transition(border-color); |
| 550 | box-shadow: none; |
| 551 | |
| 552 | &:hover { |
| 553 | border-color: darken($border-color, 5%); |
| 554 | } |
| 555 | |
| 556 | &:focus { |
| 557 | outline: none; |
| 558 | border-color: $primary-color; |
| 559 | box-shadow: 0 0 0 3px rgba($primary-color, 0.1); |
| 560 | } |
| 561 | |
| 562 | &::placeholder { |
| 563 | color: $text-light; |
| 564 | } |
| 565 | |
| 566 | &:disabled, |
| 567 | &[readonly]] { |
| 568 | background-color: $bg-light; |
| 569 | cursor: not-allowed; |
| 570 | opacity: 0.7; |
| 571 | } |
| 572 | } |
| 573 | |
| 574 | textarea { |
| 575 | min-height: 100px; |
| 576 | resize: vertical; |
| 577 | font-family: inherit; |
| 578 | } |
| 579 | |
| 580 | select { |
| 581 | cursor: pointer; |
| 582 | appearance: none; |
| 583 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E"); |
| 584 | background-repeat: no-repeat; |
| 585 | background-position: right $spacing-sm center; |
| 586 | padding-right: $spacing-xl; |
| 587 | } |
| 588 | |
| 589 | // Checkboxes and Radio buttons styling |
| 590 | .evf-field-checkbox, |
| 591 | .evf-field-radio, |
| 592 | .evf-field-payment-checkbox, |
| 593 | .evf-field-payment-multiple { |
| 594 | .evf-field-label { |
| 595 | margin-bottom: $spacing-sm; |
| 596 | } |
| 597 | |
| 598 | ul { |
| 599 | list-style: none; |
| 600 | margin: 0; |
| 601 | padding: 0; |
| 602 | } |
| 603 | |
| 604 | li { |
| 605 | margin-bottom: $spacing-sm; |
| 606 | |
| 607 | &:last-child { |
| 608 | margin-bottom: 0; |
| 609 | } |
| 610 | } |
| 611 | } |
| 612 | |
| 613 | input[type='checkbox']='checkbox'], |
| 614 | input[type='radio']='radio'] { |
| 615 | width: 18px; |
| 616 | height: 18px; |
| 617 | margin-right: $spacing-xs; |
| 618 | cursor: pointer; |
| 619 | flex-shrink: 0; |
| 620 | border: 1px solid $border-color; |
| 621 | @include transition; |
| 622 | |
| 623 | &:hover { |
| 624 | border-color: $primary-color; |
| 625 | } |
| 626 | |
| 627 | &:focus { |
| 628 | outline: none; |
| 629 | box-shadow: 0 0 0 3px rgba($primary-color, 0.1); |
| 630 | } |
| 631 | |
| 632 | &:checked { |
| 633 | background-color: $primary-color; |
| 634 | border-color: $primary-color; |
| 635 | } |
| 636 | } |
| 637 | |
| 638 | input[type='radio']='radio'] { |
| 639 | border-radius: 50%; |
| 640 | } |
| 641 | |
| 642 | .evf-field-choice, |
| 643 | .everest-forms-field-label-inline { |
| 644 | display: flex; |
| 645 | align-items: flex-start; |
| 646 | padding: $spacing-xs 0; |
| 647 | |
| 648 | label { |
| 649 | margin: 0; |
| 650 | font-weight: 400; |
| 651 | cursor: pointer; |
| 652 | line-height: 1.5; |
| 653 | padding-top: 1px; |
| 654 | } |
| 655 | } |
| 656 | |
| 657 | // File upload |
| 658 | input[type='file']='file'] { |
| 659 | width: 100%; |
| 660 | padding: $spacing-sm; |
| 661 | font-size: 14px; |
| 662 | border: 2px dashed $border-color; |
| 663 | border-radius: $border-radius-sm; |
| 664 | background-color: $bg-light; |
| 665 | cursor: pointer; |
| 666 | @include transition; |
| 667 | |
| 668 | &:hover { |
| 669 | border-color: darken($border-color, 15%); |
| 670 | background-color: darken($bg-light, 2%); |
| 671 | } |
| 672 | |
| 673 | &:focus { |
| 674 | outline: none; |
| 675 | border-color: $primary-color; |
| 676 | background-color: rgba($primary-color, 0.02); |
| 677 | } |
| 678 | } |
| 679 | |
| 680 | // Field descriptions / help text |
| 681 | .evf-field-description, |
| 682 | .description, |
| 683 | .everest-forms-field-description { |
| 684 | font-size: 13px; |
| 685 | color: $text-medium; |
| 686 | margin-top: $spacing-xs; |
| 687 | line-height: 1.5; |
| 688 | font-style: italic; |
| 689 | } |
| 690 | |
| 691 | // Error messages |
| 692 | .evf-error, |
| 693 | .everest-forms-error { |
| 694 | font-size: 13px; |
| 695 | color: $danger-color; |
| 696 | margin-top: $spacing-xs; |
| 697 | display: flex; |
| 698 | align-items: center; |
| 699 | gap: 4px; |
| 700 | |
| 701 | &::before { |
| 702 | content: '⚠'; |
| 703 | font-size: 14px; |
| 704 | } |
| 705 | } |
| 706 | |
| 707 | // Required field message |
| 708 | .required-field-message, |
| 709 | .evf-required-notice { |
| 710 | font-size: 13px; |
| 711 | color: $text-medium; |
| 712 | font-style: italic; |
| 713 | margin-top: $spacing-lg; |
| 714 | padding-top: $spacing-md; |
| 715 | border-top: 1px solid $border-color; |
| 716 | display: flex; |
| 717 | align-items: center; |
| 718 | gap: $spacing-xs; |
| 719 | |
| 720 | &::before { |
| 721 | content: '*'; |
| 722 | color: $danger-color; |
| 723 | font-size: 16px; |
| 724 | font-weight: 700; |
| 725 | } |
| 726 | } |
| 727 | |
| 728 | // Field rows with grid layout |
| 729 | .evf-field-row-2, |
| 730 | .evf-field-row-3 { |
| 731 | display: grid; |
| 732 | gap: $spacing-lg; |
| 733 | } |
| 734 | |
| 735 | .evf-field-row-2 { |
| 736 | grid-template-columns: 1fr 1fr; |
| 737 | } |
| 738 | |
| 739 | .evf-field-row-3 { |
| 740 | grid-template-columns: 1fr 1fr 1fr; |
| 741 | } |
| 742 | } |
| 743 | |
| 744 | // Inline edit footer (Cancel + Save inside main card) |
| 745 | .evf-entry-edit-actions { |
| 746 | margin: 0; |
| 747 | padding: 0 $spacing-xl $spacing-xl 0; |
| 748 | display: flex; |
| 749 | justify-content: flex-end; |
| 750 | |
| 751 | #publishing-action, |
| 752 | .evf-edit-actions-wrapper { |
| 753 | margin: 0; |
| 754 | padding: 0; |
| 755 | border: none; |
| 756 | display: flex; |
| 757 | align-items: center; |
| 758 | gap: $spacing-md; |
| 759 | |
| 760 | .button-primary { |
| 761 | min-height: 36px; |
| 762 | padding: 0 20px; |
| 763 | border-radius: 4px; |
| 764 | font-size: 14px; |
| 765 | line-height: 24px; |
| 766 | font-weight: 500; |
| 767 | box-shadow: none; |
| 768 | text-shadow: none; |
| 769 | background-color: #7545bb; |
| 770 | cursor: pointer; |
| 771 | @include transition; |
| 772 | } |
| 773 | |
| 774 | // Cancel – subtle button |
| 775 | .button-secondary, |
| 776 | .everest-forms-edit-entry-cancel { |
| 777 | background: none !important; |
| 778 | border: none !important; |
| 779 | color: $text-muted; |
| 780 | font-size: 14px; |
| 781 | |
| 782 | &:hover { |
| 783 | background-color: none; |
| 784 | border-color: none; |
| 785 | } |
| 786 | } |
| 787 | |
| 788 | // Save – purple primary |
| 789 | .button-primary, |
| 790 | .everest-forms-edit-entry-update, |
| 791 | input[type='submit']='submit'] { |
| 792 | background-color: $primary-color; |
| 793 | border: 1px solid $primary-color; |
| 794 | color: #ffffff; |
| 795 | |
| 796 | &:hover { |
| 797 | background-color: darken($primary-color, 8%); |
| 798 | border-color: darken($primary-color, 8%); |
| 799 | } |
| 800 | |
| 801 | &:focus { |
| 802 | outline: none; |
| 803 | box-shadow: 0 0 0 3px rgba($primary-color, 0.2); |
| 804 | } |
| 805 | } |
| 806 | } |
| 807 | } |
| 808 | |
| 809 | // Field Rows (VIEW mode) |
| 810 | .evf-field-row { |
| 811 | margin-bottom: $spacing-lg; |
| 812 | |
| 813 | &:last-child { |
| 814 | margin-bottom: 0; |
| 815 | } |
| 816 | |
| 817 | &.evf-field-empty { |
| 818 | display: none; |
| 819 | |
| 820 | &.show-empty { |
| 821 | display: block; |
| 822 | } |
| 823 | } |
| 824 | } |
| 825 | |
| 826 | .evf-field-label { |
| 827 | font-size: 14px; |
| 828 | font-family: inherit; |
| 829 | font-weight: 400; |
| 830 | color: $text-medium; |
| 831 | margin-bottom: $spacing-xs; |
| 832 | text-transform: capitalize; |
| 833 | } |
| 834 | |
| 835 | .evf-field-value { |
| 836 | font-size: 15px; |
| 837 | color: $text-dark; |
| 838 | line-height: 1.6; |
| 839 | background-color: $bg-light; |
| 840 | padding: $spacing-sm $spacing-md; |
| 841 | border-radius: $border-radius-sm; |
| 842 | border: 1px solid $border-color; |
| 843 | |
| 844 | .evf-empty-value { |
| 845 | color: $text-light; |
| 846 | font-style: italic; |
| 847 | } |
| 848 | } |
| 849 | |
| 850 | // Answer Badges |
| 851 | .evf-answer-badge { |
| 852 | display: inline-block; |
| 853 | padding: 4px $spacing-sm; |
| 854 | border-radius: $border-radius-sm; |
| 855 | font-size: 13px; |
| 856 | font-weight: 500; |
| 857 | margin-right: $spacing-xs; |
| 858 | margin-bottom: $spacing-xs; |
| 859 | |
| 860 | &.evf-answer-correct, |
| 861 | &.correct_answer { |
| 862 | background-color: #d1fae5; |
| 863 | color: #065f46; |
| 864 | } |
| 865 | |
| 866 | &.evf-answer-wrong, |
| 867 | &.wrong_answer { |
| 868 | background-color: #fee2e2; |
| 869 | color: #991b1b; |
| 870 | } |
| 871 | } |
| 872 | |
| 873 | // Entry Details Table |
| 874 | .evf-details-table-wrapper { |
| 875 | overflow-x: auto; |
| 876 | border-radius: $border-radius-sm; |
| 877 | border: 1px solid $border-color; |
| 878 | } |
| 879 | |
| 880 | .evf-details-table { |
| 881 | width: 100%; |
| 882 | border-collapse: collapse; |
| 883 | font-size: 14px; |
| 884 | border: none !important; |
| 885 | |
| 886 | thead { |
| 887 | background-color: $bg-light; |
| 888 | |
| 889 | th { |
| 890 | padding: $spacing-sm $spacing-md; |
| 891 | text-align: left; |
| 892 | font-weight: 600; |
| 893 | color: $text-medium; |
| 894 | border-bottom: 1px solid $border-color; |
| 895 | background-color: $bg-white; |
| 896 | } |
| 897 | } |
| 898 | |
| 899 | tbody { |
| 900 | tr { |
| 901 | border-bottom: 1px solid $border-color; |
| 902 | |
| 903 | &:last-child { |
| 904 | border-bottom: none; |
| 905 | background: #faf8fc; |
| 906 | } |
| 907 | |
| 908 | &:hover { |
| 909 | background-color: lighten($bg-light, 2%); |
| 910 | } |
| 911 | } |
| 912 | |
| 913 | td { |
| 914 | padding: $spacing-md; |
| 915 | color: $text-dark; |
| 916 | } |
| 917 | } |
| 918 | } |
| 919 | |
| 920 | // Status Badge |
| 921 | .evf-status-badge { |
| 922 | display: inline-block; |
| 923 | padding: 4px $spacing-sm; |
| 924 | border-radius: 12px; |
| 925 | font-size: 12px; |
| 926 | font-weight: 600; |
| 927 | text-transform: uppercase; |
| 928 | letter-spacing: 0.5px; |
| 929 | |
| 930 | &.evf-status-completed { |
| 931 | background-color: #d1fae5; |
| 932 | color: #065f46; |
| 933 | } |
| 934 | |
| 935 | &.evf-status-pending { |
| 936 | background-color: #fef3c7; |
| 937 | color: #92400e; |
| 938 | } |
| 939 | |
| 940 | &.evf-status-denied { |
| 941 | background-color: #fee2e2; |
| 942 | color: #991b1b; |
| 943 | } |
| 944 | |
| 945 | &.evf-status-publish { |
| 946 | color: #2271b1; |
| 947 | font-size: 13px; |
| 948 | padding: 0; |
| 949 | text-transform: capitalize; |
| 950 | letter-spacing: 0; |
| 951 | } |
| 952 | } |
| 953 | |
| 954 | // Referer Link |
| 955 | .evf-referer-link { |
| 956 | color: $primary-color; |
| 957 | text-decoration: none; |
| 958 | font-weight: 500; |
| 959 | @include transition; |
| 960 | |
| 961 | &:hover { |
| 962 | text-decoration: underline; |
| 963 | } |
| 964 | } |
| 965 | |
| 966 | // Sidebar |
| 967 | .evf-entry-sidebar { |
| 968 | position: sticky; |
| 969 | top: $spacing-lg; |
| 970 | } |
| 971 | |
| 972 | // Actions Section |
| 973 | .evf-actions-section { |
| 974 | .evf-section-content { |
| 975 | padding: $spacing-md; |
| 976 | } |
| 977 | } |
| 978 | |
| 979 | .evf-actions-list { |
| 980 | list-style: none; |
| 981 | margin: 0; |
| 982 | padding: 0; |
| 983 | } |
| 984 | |
| 985 | .evf-action-item { |
| 986 | margin-bottom: 2px; |
| 987 | |
| 988 | &:last-child { |
| 989 | margin-bottom: 0; |
| 990 | } |
| 991 | } |
| 992 | |
| 993 | .evf-action-link { |
| 994 | display: flex; |
| 995 | align-items: center; |
| 996 | gap: $spacing-sm; |
| 997 | padding: $spacing-sm; |
| 998 | border-radius: $border-radius-sm; |
| 999 | color: $text-dark; |
| 1000 | text-decoration: none; |
| 1001 | font-size: 14px; |
| 1002 | font-weight: 500; |
| 1003 | @include transition; |
| 1004 | |
| 1005 | .dashicons { |
| 1006 | font-size: 18px; |
| 1007 | width: 18px; |
| 1008 | height: 18px; |
| 1009 | color: $text-medium; |
| 1010 | } |
| 1011 | |
| 1012 | .evf-action-text { |
| 1013 | flex: 1; |
| 1014 | } |
| 1015 | |
| 1016 | &:hover { |
| 1017 | background-color: $bg-light; |
| 1018 | |
| 1019 | .dashicons { |
| 1020 | color: $primary-color; |
| 1021 | } |
| 1022 | } |
| 1023 | |
| 1024 | &.evf-action-delete { |
| 1025 | color: $danger-color; |
| 1026 | |
| 1027 | .dashicons { |
| 1028 | color: $danger-color; |
| 1029 | } |
| 1030 | |
| 1031 | &:hover { |
| 1032 | background-color: #fef2f2; |
| 1033 | } |
| 1034 | } |
| 1035 | } |
| 1036 | |
| 1037 | // No Fields Message |
| 1038 | .evf-no-fields { |
| 1039 | color: $text-light; |
| 1040 | font-style: italic; |
| 1041 | text-align: center; |
| 1042 | padding: $spacing-xl 0; |
| 1043 | } |
| 1044 | |
| 1045 | .evf-entry-sidebar .stuffbox, |
| 1046 | #everest-forms-entry-payment, |
| 1047 | #everest-forms-entry-actions, |
| 1048 | #everest-forms-entry-subscription, |
| 1049 | .evf-entry-sidebar > div { |
| 1050 | background-color: $bg-white; |
| 1051 | border-radius: $border-radius-md; |
| 1052 | overflow: hidden; |
| 1053 | margin-bottom: $spacing-lg; |
| 1054 | border: 1px solid $border-color; |
| 1055 | box-shadow: none !important; |
| 1056 | padding: $spacing-xl; |
| 1057 | |
| 1058 | &:last-child { |
| 1059 | margin-bottom: 0; |
| 1060 | } |
| 1061 | |
| 1062 | .evf-entry-actions-header, |
| 1063 | .evf-section-header-actions { |
| 1064 | margin: 0; |
| 1065 | // padding: $spacing-md $spacing-lg; |
| 1066 | font-size: 16px; |
| 1067 | font-weight: 600; |
| 1068 | color: $text-dark; |
| 1069 | border-bottom: 1px solid $border-color; |
| 1070 | background: transparent; |
| 1071 | padding-bottom: $spacing-lg; |
| 1072 | margin-bottom: $spacing-xl; |
| 1073 | } |
| 1074 | |
| 1075 | .inside { |
| 1076 | margin: 0; |
| 1077 | } |
| 1078 | } |
| 1079 | |
| 1080 | // Payment Details Section |
| 1081 | .everest-forms-entry-payment-meta { |
| 1082 | p { |
| 1083 | margin: 0 0 $spacing-sm 0; |
| 1084 | font-size: 14px; |
| 1085 | color: $text-dark; |
| 1086 | line-height: 1.6; |
| 1087 | |
| 1088 | &:last-child { |
| 1089 | margin-bottom: 0; |
| 1090 | } |
| 1091 | } |
| 1092 | |
| 1093 | strong { |
| 1094 | font-weight: 600; |
| 1095 | color: $text-dark; |
| 1096 | } |
| 1097 | |
| 1098 | a { |
| 1099 | color: $primary-color; |
| 1100 | text-decoration: none; |
| 1101 | @include transition; |
| 1102 | |
| 1103 | &:hover { |
| 1104 | text-decoration: underline; |
| 1105 | } |
| 1106 | } |
| 1107 | } |
| 1108 | |
| 1109 | // Quiz Scores Section |
| 1110 | .evf-entry-sidebar .stuffbox .inside .everest-forms-entry-details-meta { |
| 1111 | padding: 0; |
| 1112 | |
| 1113 | p { |
| 1114 | margin: 0 0 $spacing-sm 0; |
| 1115 | padding: 0 0 0 10px; |
| 1116 | font-size: 14px; |
| 1117 | color: $text-dark; |
| 1118 | |
| 1119 | &:last-child { |
| 1120 | margin-bottom: 0; |
| 1121 | } |
| 1122 | } |
| 1123 | |
| 1124 | strong { |
| 1125 | font-weight: 600; |
| 1126 | color: $primary-color; |
| 1127 | } |
| 1128 | } |
| 1129 | |
| 1130 | // Entry Actions Section |
| 1131 | .everest-forms-entry-actions-meta { |
| 1132 | padding: 0; |
| 1133 | |
| 1134 | p { |
| 1135 | margin: 0 0 4px 0; |
| 1136 | |
| 1137 | &:last-child { |
| 1138 | margin-bottom: 0; |
| 1139 | } |
| 1140 | |
| 1141 | a { |
| 1142 | svg { |
| 1143 | width: 18px; |
| 1144 | height: 18px; |
| 1145 | fill: $text-muted; |
| 1146 | } |
| 1147 | // svg:hover { |
| 1148 | // fill:red; |
| 1149 | // } |
| 1150 | } |
| 1151 | } |
| 1152 | |
| 1153 | a, |
| 1154 | .everest-forms-print-entry { |
| 1155 | display: flex; |
| 1156 | align-items: center; |
| 1157 | gap: $spacing-sm; |
| 1158 | padding: 10px $spacing-sm; |
| 1159 | border-radius: $border-radius-sm; |
| 1160 | color: $text-dark; |
| 1161 | text-decoration: none; |
| 1162 | font-size: 14px; |
| 1163 | font-family: inherit; |
| 1164 | font-weight: 400; |
| 1165 | @include transition; |
| 1166 | |
| 1167 | .dashicons { |
| 1168 | font-size: 18px; |
| 1169 | width: 18px; |
| 1170 | height: 18px; |
| 1171 | color: $text-medium; |
| 1172 | flex-shrink: 0; |
| 1173 | } |
| 1174 | |
| 1175 | &:hover { |
| 1176 | background-color: #faf8fc; |
| 1177 | color: $primary-color; |
| 1178 | |
| 1179 | svg, |
| 1180 | svg * { |
| 1181 | fill: $primary-color !important; |
| 1182 | } |
| 1183 | |
| 1184 | .dashicons { |
| 1185 | color: $primary-color; |
| 1186 | } |
| 1187 | } |
| 1188 | &:focus { |
| 1189 | box-shadow: none; |
| 1190 | outline: none; |
| 1191 | } |
| 1192 | } |
| 1193 | |
| 1194 | // Delete Entry Action - Red Styling |
| 1195 | .everest-forms-entry-delete a, |
| 1196 | p.everest-forms-entry-delete a { |
| 1197 | color: $danger-color; |
| 1198 | font-weight: 400; |
| 1199 | |
| 1200 | .dashicons { |
| 1201 | color: transparent; |
| 1202 | } |
| 1203 | |
| 1204 | &:hover { |
| 1205 | background-color: #fff4f4; |
| 1206 | color: darken($danger-color, 10%); |
| 1207 | |
| 1208 | .dashicons { |
| 1209 | color: transparent; |
| 1210 | } |
| 1211 | } |
| 1212 | } |
| 1213 | } |
| 1214 | |
| 1215 | .everest-forms-print-entry { |
| 1216 | cursor: pointer; |
| 1217 | } |
| 1218 | |
| 1219 | // Subscription Details Section |
| 1220 | .everest-forms-entry-subscription-meta { |
| 1221 | p { |
| 1222 | margin: 0 0 $spacing-sm 0; |
| 1223 | font-size: 14px; |
| 1224 | color: $text-dark; |
| 1225 | |
| 1226 | &:last-child { |
| 1227 | margin-bottom: 0; |
| 1228 | } |
| 1229 | } |
| 1230 | |
| 1231 | strong { |
| 1232 | font-weight: 600; |
| 1233 | } |
| 1234 | |
| 1235 | a { |
| 1236 | color: $primary-color; |
| 1237 | text-decoration: none; |
| 1238 | @include transition; |
| 1239 | |
| 1240 | &:hover { |
| 1241 | text-decoration: underline; |
| 1242 | } |
| 1243 | } |
| 1244 | } |
| 1245 | |
| 1246 | // Edit/Update Buttons in Sidebar (old meta-box style) |
| 1247 | #major-publishing-actions { |
| 1248 | padding: $spacing-md 0 0 0; |
| 1249 | margin: $spacing-md 0 0 0; |
| 1250 | border-top: 1px solid $border-color; |
| 1251 | } |
| 1252 | |
| 1253 | // scoped to sidebar only |
| 1254 | .evf-entry-sidebar #publishing-action { |
| 1255 | margin-bottom: $spacing-sm; |
| 1256 | |
| 1257 | .button { |
| 1258 | width: 100%; |
| 1259 | justify-content: center; |
| 1260 | padding: 10px $spacing-md; |
| 1261 | font-size: 14px; |
| 1262 | font-weight: 500; |
| 1263 | border-radius: $border-radius-sm; |
| 1264 | @include transition; |
| 1265 | |
| 1266 | &.button-primary { |
| 1267 | background-color: $primary-color; |
| 1268 | border-color: $primary-color; |
| 1269 | color: #ffffff; |
| 1270 | |
| 1271 | &:hover { |
| 1272 | background-color: darken($primary-color, 10%); |
| 1273 | border-color: darken($primary-color, 10%); |
| 1274 | } |
| 1275 | } |
| 1276 | |
| 1277 | &.button-secondary { |
| 1278 | margin-top: $spacing-xs; |
| 1279 | } |
| 1280 | } |
| 1281 | } |
| 1282 | |
| 1283 | #delete-action { |
| 1284 | float: none; |
| 1285 | text-align: left; |
| 1286 | padding-top: $spacing-sm; |
| 1287 | margin-top: $spacing-sm; |
| 1288 | border-top: 1px solid $border-color; |
| 1289 | |
| 1290 | .submitdelete { |
| 1291 | color: $danger-color; |
| 1292 | text-decoration: none; |
| 1293 | font-size: 14px; |
| 1294 | @include transition; |
| 1295 | |
| 1296 | &:hover { |
| 1297 | text-decoration: underline; |
| 1298 | color: darken($danger-color, 10%); |
| 1299 | } |
| 1300 | } |
| 1301 | } |
| 1302 | |
| 1303 | // Entry Meta Section (for compatibility) |
| 1304 | #everest-forms-entry-details.evf-entry-meta-section { |
| 1305 | display: block !important; |
| 1306 | } |
| 1307 | |
| 1308 | .everest-forms-entry-details-meta { |
| 1309 | p { |
| 1310 | display: flex; |
| 1311 | align-items: flex-start; |
| 1312 | gap: 10px; |
| 1313 | margin: 0 0 14px 0; |
| 1314 | font-size: 14px; |
| 1315 | |
| 1316 | &:last-child { |
| 1317 | margin-bottom: 0; |
| 1318 | } |
| 1319 | } |
| 1320 | |
| 1321 | .dashicons { |
| 1322 | color: $text-medium; |
| 1323 | margin-top: 2px; |
| 1324 | flex-shrink: 0; |
| 1325 | } |
| 1326 | |
| 1327 | strong { |
| 1328 | font-weight: 500; |
| 1329 | color: $text-dark; |
| 1330 | } |
| 1331 | |
| 1332 | a { |
| 1333 | color: $primary-color; |
| 1334 | text-decoration: none; |
| 1335 | @include transition; |
| 1336 | |
| 1337 | &:hover { |
| 1338 | text-decoration: underline; |
| 1339 | } |
| 1340 | } |
| 1341 | } |
| 1342 | |
| 1343 | // Toggle Empty Fields Link (global, outside card context) |
| 1344 | .evf-toggle-empty { |
| 1345 | margin: 0; |
| 1346 | } |
| 1347 | .everest-forms-empty-field-toggle { |
| 1348 | white-space: nowrap; |
| 1349 | display: inline-flex; |
| 1350 | align-items: flex-start; |
| 1351 | gap: 6px; |
| 1352 | color: $primary-color; |
| 1353 | text-decoration: none; |
| 1354 | font-size: 14px !important; |
| 1355 | font-weight: 500 !important; |
| 1356 | cursor: pointer; |
| 1357 | @include transition; |
| 1358 | |
| 1359 | .dashicons { |
| 1360 | color: transparent; |
| 1361 | } |
| 1362 | |
| 1363 | &:hover { |
| 1364 | text-decoration: underline; |
| 1365 | color: darken($primary-color, 10%); |
| 1366 | } |
| 1367 | &:focus { |
| 1368 | box-shadow: none; |
| 1369 | outline: none; |
| 1370 | } |
| 1371 | } |
| 1372 | |
| 1373 | // Notices |
| 1374 | .evf-entry-view-wrapper .notice, |
| 1375 | .evf-entry-view-wrapper .updated { |
| 1376 | background-color: $bg-white; |
| 1377 | border-left: 4px solid $success-color; |
| 1378 | border-radius: $border-radius-sm; |
| 1379 | padding: $spacing-sm $spacing-md; |
| 1380 | margin: 0 0 $spacing-lg 0; |
| 1381 | box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); |
| 1382 | |
| 1383 | p { |
| 1384 | margin: 0; |
| 1385 | font-size: 14px; |
| 1386 | color: $text-dark; |
| 1387 | } |
| 1388 | } |
| 1389 | |
| 1390 | // Field Row Variations for Old Template Compatibility |
| 1391 | .everest-forms-entry-field.field-name, |
| 1392 | .everest-forms-entry-field.field-value { |
| 1393 | padding: 0; |
| 1394 | background: none; |
| 1395 | border: none; |
| 1396 | |
| 1397 | th, |
| 1398 | td { |
| 1399 | padding: $spacing-sm 0; |
| 1400 | border: none; |
| 1401 | background: none; |
| 1402 | } |
| 1403 | } |
| 1404 | |
| 1405 | // Answer Badges - Additional Compatibility |
| 1406 | .list.correct_answer, |
| 1407 | .evf-answer-badge.correct_answer { |
| 1408 | background-color: #d1fae5; |
| 1409 | color: #065f46; |
| 1410 | } |
| 1411 | |
| 1412 | .list.wrong_answer, |
| 1413 | .evf-answer-badge.wrong_answer { |
| 1414 | background-color: #fee2e2; |
| 1415 | color: #991b1b; |
| 1416 | } |
| 1417 | |
| 1418 | .list:not(.correct_answer):not(.wrong_answer):not(.evf-answer-badge) { |
| 1419 | display: inline-block; |
| 1420 | padding: 4px $spacing-sm; |
| 1421 | background-color: #f3f4f6; |
| 1422 | color: $text-dark; |
| 1423 | border-radius: $border-radius-sm; |
| 1424 | margin-right: $spacing-xs; |
| 1425 | margin-bottom: $spacing-xs; |
| 1426 | font-size: 13px; |
| 1427 | } |
| 1428 | |
| 1429 | .evf-entry-main-content .stuffbox { |
| 1430 | background-color: $bg-white; |
| 1431 | border-radius: $border-radius-md; |
| 1432 | overflow: hidden; |
| 1433 | border: 1px solid $border-color; |
| 1434 | box-shadow: none; |
| 1435 | padding: $spacing-xl; |
| 1436 | margin: 0; |
| 1437 | |
| 1438 | h2 { |
| 1439 | margin: 0; |
| 1440 | padding-bottom: $spacing-lg; |
| 1441 | font-size: 18px; |
| 1442 | font-weight: 600; |
| 1443 | color: $text-dark; |
| 1444 | border-bottom: none; |
| 1445 | background: transparent; |
| 1446 | } |
| 1447 | |
| 1448 | .inside { |
| 1449 | // padding-top: $spacing-xl; |
| 1450 | margin: 0; |
| 1451 | border-top: 1px solid $border-color; |
| 1452 | } |
| 1453 | } |
| 1454 | |
| 1455 | // Delete Entry Button |
| 1456 | #everest-forms-delete-entry { |
| 1457 | margin-top: $spacing-lg; |
| 1458 | } |
| 1459 | |
| 1460 | .evf-delete-entry-link { |
| 1461 | display: flex; |
| 1462 | align-items: center; |
| 1463 | justify-content: center; |
| 1464 | gap: 10px; |
| 1465 | padding: $spacing-sm $spacing-lg; |
| 1466 | background-color: $bg-white; |
| 1467 | border: 2px solid $danger-color; |
| 1468 | border-radius: $border-radius-sm; |
| 1469 | color: $danger-color; |
| 1470 | text-decoration: none; |
| 1471 | font-size: 14px; |
| 1472 | font-weight: 600; |
| 1473 | @include transition; |
| 1474 | width: 100%; |
| 1475 | text-align: center; |
| 1476 | |
| 1477 | .dashicons { |
| 1478 | font-size: 18px; |
| 1479 | width: 18px; |
| 1480 | height: 18px; |
| 1481 | } |
| 1482 | |
| 1483 | &:hover { |
| 1484 | background-color: $danger-color; |
| 1485 | color: #ffffff; |
| 1486 | text-decoration: none; |
| 1487 | } |
| 1488 | |
| 1489 | &:focus { |
| 1490 | outline: 2px solid $danger-color; |
| 1491 | outline-offset: 2px; |
| 1492 | } |
| 1493 | } |
| 1494 | |
| 1495 | // Edit Entry Button (old sidebar meta box) |
| 1496 | #everest-forms-edit-entry-action .inside { |
| 1497 | padding: $spacing-md $spacing-lg; |
| 1498 | } |
| 1499 | |
| 1500 | .evf-edit-action-wrapper { |
| 1501 | #publishing-action { |
| 1502 | margin: 0; |
| 1503 | padding: 0; |
| 1504 | border: none; |
| 1505 | |
| 1506 | .button { |
| 1507 | width: 100%; |
| 1508 | justify-content: center; |
| 1509 | padding: $spacing-sm $spacing-lg; |
| 1510 | font-size: 14px; |
| 1511 | font-weight: 600; |
| 1512 | border-radius: $border-radius-sm; |
| 1513 | @include transition; |
| 1514 | |
| 1515 | &.button-primary { |
| 1516 | background-color: $primary-color; |
| 1517 | border-color: $primary-color; |
| 1518 | color: #ffffff; |
| 1519 | box-shadow: none; |
| 1520 | text-shadow: none; |
| 1521 | |
| 1522 | &:hover { |
| 1523 | background-color: darken($primary-color, 10%); |
| 1524 | border-color: darken($primary-color, 10%); |
| 1525 | } |
| 1526 | } |
| 1527 | |
| 1528 | &.button-secondary { |
| 1529 | margin-top: 10px; |
| 1530 | border-color: $border-color; |
| 1531 | color: $text-dark; |
| 1532 | |
| 1533 | &:hover { |
| 1534 | background-color: $bg-light; |
| 1535 | border-color: darken($border-color, 10%); |
| 1536 | } |
| 1537 | } |
| 1538 | } |
| 1539 | } |
| 1540 | } |
| 1541 | |
| 1542 | // Responsive Design |
| 1543 | @media screen and (max-width: 1200px) { |
| 1544 | .evf-entry-content-wrapper { |
| 1545 | grid-template-columns: 1fr; |
| 1546 | } |
| 1547 | |
| 1548 | .evf-entry-sidebar { |
| 1549 | position: static; |
| 1550 | } |
| 1551 | |
| 1552 | .everest-forms-edit-entry-container { |
| 1553 | .evf-field-row-2, |
| 1554 | .evf-field-row-3 { |
| 1555 | grid-template-columns: 1fr; |
| 1556 | } |
| 1557 | } |
| 1558 | } |
| 1559 | |
| 1560 | @media screen and (max-width: 768px) { |
| 1561 | .evf-entry-view-wrapper { |
| 1562 | padding: $spacing-sm; |
| 1563 | margin: 0; |
| 1564 | } |
| 1565 | |
| 1566 | .evf-entry-header { |
| 1567 | flex-direction: column; |
| 1568 | align-items: flex-start; |
| 1569 | gap: $spacing-md; |
| 1570 | |
| 1571 | .evf-entry-header-right { |
| 1572 | width: 100%; |
| 1573 | justify-content: flex-end; |
| 1574 | } |
| 1575 | } |
| 1576 | |
| 1577 | .evf-entry-section { |
| 1578 | .evf-section-header { |
| 1579 | flex-direction: column; |
| 1580 | align-items: flex-start; |
| 1581 | gap: $spacing-sm; |
| 1582 | min-height: auto; |
| 1583 | padding: $spacing-md $spacing-lg; |
| 1584 | |
| 1585 | .evf-section-header-actions { |
| 1586 | width: 100%; |
| 1587 | justify-content: flex-start; |
| 1588 | } |
| 1589 | } |
| 1590 | |
| 1591 | .evf-section-content { |
| 1592 | padding-top: $spacing-md; |
| 1593 | } |
| 1594 | } |
| 1595 | |
| 1596 | .evf-entry-edit-actions { |
| 1597 | padding: $spacing-md; |
| 1598 | flex-direction: column-reverse; |
| 1599 | |
| 1600 | #publishing-action, |
| 1601 | .evf-edit-actions-wrapper { |
| 1602 | width: 100%; |
| 1603 | flex-direction: column-reverse; |
| 1604 | |
| 1605 | .button { |
| 1606 | width: 100%; |
| 1607 | } |
| 1608 | } |
| 1609 | } |
| 1610 | |
| 1611 | .everest-forms-edit-entry-container { |
| 1612 | form > div:not(.evf-entry-edit-actions) { |
| 1613 | padding: $spacing-md 0 $spacing-md $spacing-md; |
| 1614 | } |
| 1615 | |
| 1616 | > h2, |
| 1617 | .evf-edit-form-title { |
| 1618 | padding: $spacing-md; |
| 1619 | } |
| 1620 | } |
| 1621 | |
| 1622 | .evf-details-table-wrapper { |
| 1623 | font-size: 13px; |
| 1624 | } |
| 1625 | |
| 1626 | .evf-details-table { |
| 1627 | thead th, |
| 1628 | tbody td { |
| 1629 | padding: $spacing-xs $spacing-sm; |
| 1630 | } |
| 1631 | } |
| 1632 | } |
| 1633 | |
| 1634 | @media screen and (max-width: 480px) { |
| 1635 | .evf-entry-header { |
| 1636 | .evf-entry-title { |
| 1637 | font-size: 18px; |
| 1638 | } |
| 1639 | |
| 1640 | .evf-nav-btn { |
| 1641 | font-size: 13px; |
| 1642 | padding: $spacing-xs $spacing-sm; |
| 1643 | |
| 1644 | .dashicons { |
| 1645 | font-size: 14px; |
| 1646 | width: 14px; |
| 1647 | height: 14px; |
| 1648 | } |
| 1649 | } |
| 1650 | } |
| 1651 | |
| 1652 | .evf-field-label, |
| 1653 | .everest-forms-edit-entry-container label { |
| 1654 | font-size: 13px; |
| 1655 | } |
| 1656 | |
| 1657 | .evf-field-value, |
| 1658 | .everest-forms-edit-entry-container input, |
| 1659 | .everest-forms-edit-entry-container textarea, |
| 1660 | .everest-forms-edit-entry-container select { |
| 1661 | font-size: 14px; |
| 1662 | padding: $spacing-xs $spacing-sm; |
| 1663 | } |
| 1664 | } |
| 1665 | .everest-forms-entry-delete { |
| 1666 | span.dashicons.dashicons-trash { |
| 1667 | &::before { |
| 1668 | width: 18px; |
| 1669 | height: 18px; |
| 1670 | display: block; |
| 1671 | background-size: contain; |
| 1672 | color: none !important; |
| 1673 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 17v-6a1 1 0 1 1 2 0v6a1 1 0 1 1-2 0m4 0v-6a1 1 0 1 1 2 0v6a1 1 0 1 1-2 0'/%3E%3Cpath d='M4 20V6a1 1 0 0 1 2 0v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6a1 1 0 1 1 2 0v14a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3'/%3E%3Cpath d='M21 5a1 1 0 1 1 0 2H3a1 1 0 0 1 0-2z'/%3E%3Cpath d='M15 6V4a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v2a1 1 0 0 1-2 0V4a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v2a1 1 0 1 1-2 0'/%3E%3C/svg%3E"); |
| 1674 | background-repeat: none; |
| 1675 | filter: brightness(0) saturate(100%) invert(58%) sepia(92%) |
| 1676 | saturate(5900%) hue-rotate(330deg) brightness(98%) contrast(95%); |
| 1677 | } |
| 1678 | } |
| 1679 | } |
| 1680 | #everest-forms-entry-payment { |
| 1681 | h2 { |
| 1682 | margin: 0 !important; |
| 1683 | font-size: 16px !important; |
| 1684 | font-weight: 600 !important; |
| 1685 | color: #1f2937 !important; |
| 1686 | border-bottom: 1px solid #e5e7eb !important; |
| 1687 | background: none; |
| 1688 | padding-bottom: 20px !important; |
| 1689 | margin-bottom: 24px !important; |
| 1690 | } |
| 1691 | } |
| 1692 | td.column-payment_status { |
| 1693 | text-align: left; |
| 1694 | } |
| 1695 | |
| 1696 | td.column-payment_status > span.payment_status { |
| 1697 | display: inline-flex; |
| 1698 | align-items: center; |
| 1699 | gap: 4px; |
| 1700 | border-radius: 20px; |
| 1701 | padding: 5px 12px; |
| 1702 | font-size: 12px !important; |
| 1703 | font-weight: 600 !important; |
| 1704 | white-space: nowrap; |
| 1705 | letter-spacing: 0.3x; |
| 1706 | |
| 1707 | &.failed { |
| 1708 | color: #dc3545; |
| 1709 | border: 1px solid #dc3545; |
| 1710 | background: #faf5f5; |
| 1711 | } |
| 1712 | |
| 1713 | &.pending { |
| 1714 | color: #ff9800; |
| 1715 | border: 1px solid #ff9800; |
| 1716 | background: #fffaf5; |
| 1717 | } |
| 1718 | |
| 1719 | &.complete { |
| 1720 | color: #28a745; |
| 1721 | border: 1px solid #28a745; |
| 1722 | background: #fbfffc; |
| 1723 | } |
| 1724 | |
| 1725 | &.cancelled, |
| 1726 | &.canceled, |
| 1727 | &.cancled { |
| 1728 | color: #7e7d77; |
| 1729 | border: 1px solid #7e7d77; |
| 1730 | background: #fbfbfa; |
| 1731 | } |
| 1732 | } |
| 1733 | |
| 1734 | .payment_status img { |
| 1735 | display: none !important; |
| 1736 | } |
| 1737 | |
| 1738 | td.column-payment_status > span.payment_status::before { |
| 1739 | content: none !important; |
| 1740 | display: none !important; |
| 1741 | } |
| 1742 |