aboutsummaryrefslogtreecommitdiff
path: root/app/assets/sass/_modal.scss
blob: 19d4bfc50452b749d7c30ff68f4667fb4a43b97e (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
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
    opacity: 0.7;
}

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

   .modal-dialog {
      position: relative;
      transform: translate(0);
      margin: 30px 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 3px 9px rgba(0,0,0,.5);
         display: block;

         .modal-body {
            padding: $padding-sm;
         }

         .modal-footer {
            text-align: right;

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