_modals.scss 583 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * General: Modals
  3. * ----------------------
  4. */
  5. // Overlay
  6. .modal-dialog {
  7. .overlay {
  8. display: block;
  9. position: absolute;
  10. z-index: ($zindex-modal + 2);
  11. background: rgba(255, 255, 255, 0.7);
  12. top: 0;
  13. left: 0;
  14. width: 100%;
  15. height: 100%;
  16. }
  17. }
  18. // BG Color Variations Fixes
  19. .modal-content {
  20. &.bg-warning {
  21. .modal-header,
  22. .modal-footer {
  23. border-color: $gray-800;
  24. }
  25. }
  26. }
  27. .modal-content {
  28. &.bg-primary,
  29. &.bg-secondary,
  30. &.bg-info,
  31. &.bg-danger,
  32. &.bg-success, {
  33. .close{
  34. color: $white;
  35. }
  36. }
  37. }