Summary Files Commits Branches @commit @diff @stats
path: root / src / modals.less
blob: 7b28b69e6c319b0194df6e166402973f04254774 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Modals
.modal {
  display: block;
  text-align: left;
  margin: 0;
  padding: 0;
  border-radius: .3rem;
  background-color: #fff;
  z-index: 999;
  .shadow;
  .centered;

  .modal-header {
    padding: 1.5rem;

    .modal-title {
      margin: 0;
      font-size: 1.5rem;
    }
  }
  .modal-body {
    position: relative;
    padding: 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
  }
  .modal-footer {
    padding: 1.5rem;
    text-align: right;
  }
}
@media screen and (min-width: 640px) {
  .modal {
    width: 64rem;
  }
}
@media screen and (min-width: 320px) {
  .modal {
    &.modal-sm {
      width: 32rem;
    }
  }
}