Summary Files Commits Branches @commit @diff @stats
path: root / src / modals.less
blob: 4ef3652905d2999f52fd8ab41adafb58226c050b (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
// 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;
    border-bottom: 1px solid @core-border-color;

    .modal-title {
      margin: 0;
    }
  }
  .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;
  }
}