_modals.scss 956 字节
Newer Older
C
codecalm 已提交
1
.modal-content {
C
codecalm 已提交
2 3 4 5 6 7 8 9 10 11 12 13 14
  .close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1rem;
    width: $modal-header-height;
    height: $modal-header-height;
    margin: 0;
    padding: 0;
    z-index: 10;
  }
}

C
codecalm 已提交
15
.modal-body {
C
modals  
codecalm 已提交
16 17 18 19 20 21 22 23 24
  @include scrollbar;

  .modal-title {
    margin-bottom: 1rem;
  }

  & + & {
    border-top: 1px solid $border-color-light;
  }
C
chomik 已提交
25 26
}

C
codecalm 已提交
27
.modal-header {
C
modals  
codecalm 已提交
28 29 30
  align-items: center;
  min-height: $modal-header-height;
  background: $modal-header-bg;
C
codecalm 已提交
31
  padding: 0 $modal-header-height 0 $modal-inner-padding;
C
codecalm 已提交
32 33 34 35 36 37 38 39 40 41
}

.modal-title {
  font-size: $h3-font-size;
  font-weight: $headings-font-weight;
  color: $headings-color;
  line-height: (24/18);
}

.modal-footer {
C
modals  
codecalm 已提交
42 43 44 45 46
  @if $modal-footer-border-width == 0 {
    padding-top: 0;
  } @else {
    padding-top: .75rem;
  }
C
codecalm 已提交
47

C
modals  
codecalm 已提交
48
  padding-bottom: .75rem;
C
codecalm 已提交
49 50 51 52
}

.modal-blur {
  backdrop-filter: blur($modal-backdrop-blur);
C
chomik 已提交
53
}
C
modals  
codecalm 已提交
54 55 56 57 58

.modal-full-width {
  max-width: none;
  margin: 0 $modal-dialog-margin;
}