_modals.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .modal-content {
  2. .btn-close {
  3. position: absolute;
  4. top: 0;
  5. right: 0;
  6. width: $modal-header-height;
  7. height: $modal-header-height;
  8. margin: 0;
  9. padding: 0;
  10. z-index: 10;
  11. }
  12. }
  13. .modal-body {
  14. @include scrollbar;
  15. .modal-title {
  16. margin-bottom: 1rem;
  17. }
  18. & + & {
  19. border-top: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
  20. }
  21. }
  22. .modal-status {
  23. position: absolute;
  24. top: 0;
  25. left: 0;
  26. right: 0;
  27. height: $modal-status-size;
  28. background: var(--#{$prefix}secondary);
  29. border-radius: $modal-content-border-radius $modal-content-border-radius 0 0;
  30. }
  31. .modal-header {
  32. align-items: center;
  33. min-height: $modal-header-height;
  34. background: $modal-header-bg;
  35. padding: 0 $modal-header-height 0 $modal-inner-padding;
  36. }
  37. .modal-title {
  38. font-size: $h3-font-size;
  39. font-weight: $headings-font-weight;
  40. color: $headings-color;
  41. line-height: $line-height-base;
  42. }
  43. .modal-footer {
  44. @if $modal-footer-border-width == 0 {
  45. padding-top: 0;
  46. } @else {
  47. padding-top: .75rem;
  48. }
  49. padding-bottom: .75rem;
  50. }
  51. .modal-blur {
  52. backdrop-filter: blur($modal-backdrop-blur);
  53. }
  54. .modal-full-width {
  55. max-width: none;
  56. margin: 0 $modal-dialog-margin;
  57. }