aboutsummaryrefslogtreecommitdiff
path: root/app/assets/sass/_modal.scss
blob: b7efaff6263766b0b938a0ccb358f86bc5892e63 (plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
    opacity: 0.1;
}

.modal {
   position: fixed;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 1050;
   transition: all 1s;

   .modal-dialog {
      position: relative;
      transform: translate(0);
      margin: 100px auto;
      width: 500px;
      opacity: 1;

      .modal-content {
         padding: 30px;
         position: relative;
         background-color: #fff;
         background-clip: padding-box;
         border: 1px solid #999;
         border: 1px solid rgba(0,0,0,.2);
         border-radius: 6px;
         outline: 0;
         box-shadow: 0 2px 2px rgba(0,0,0,.5);
         display: block;

         .modal-body {
            padding: $padding-sm;
            margin-bottom: $padding-xl;
            text-align: left;
            line-height: 1.5;
         }

         .modal-footer {
            text-align: right;

            button {
               margin-left: $padding-sm;
            }
         }
      }
   }
}