-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy path_modal.scss
86 lines (75 loc) · 1.38 KB
/
_modal.scss
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.modal-backdrop {
position: fixed;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
z-index: 1040;
background-color: #000;
opacity: 0.8;
display: none;
}
.modal {
position: fixed;
top: 0px;
width: 100%;
height: 100%;
z-index: 1050;
overflow: auto;
display: none;
color: #222;
}
.modal-outer-container {
display: table;
width: 100%;
height: 100%;
}
.modal-middle-container {
display: table-cell;
vertical-align: middle;
}
.modal-inner-container {
max-width: 710px;
margin: 0px auto;
background-color: #FFF;
border: 1px solid rgba(0, 0, 0, 0.3);
box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.3);
background-clip: padding-box;
}
.modal-header,
.modal-body .clearfix {
border-bottom: 1px solid #DDD;
}
.modal-header h3 {
padding: 3px 10px;
}
.modal-header .close {
float: right;
font-size: 20px;
margin: -2px 5px 0px;
text-decoration: none;
color: #B4B4B4;
cursor: pointer;
}
.modal-body {
padding: 3px 10px;
.btn {
display: block;
background: $ots_blue;
padding: 3px 5px;
float: left;
color: white;
line-height: 28px;
text-align: center;
margin: 1%;
width: 23%;
.ots_icon {
display: inline-block;
margin-bottom: -10px;
}
}
}
body.show-modal .modal-backdrop,
body.show-modal .modal {
display: block;
}