forked from jakiestfu/Submodal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.submodal.css
More file actions
39 lines (37 loc) · 983 Bytes
/
bootstrap.submodal.css
File metadata and controls
39 lines (37 loc) · 983 Bytes
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
.sub-modal{
position: absolute;
top: 0;
left: 60%;
width: 80%;
border-top: none;
-webkit-border-top-left-radius: 0;
-moz-border-top-left-radius: 0;
border-top-left-radius: 0;
-webkit-border-top-right-radius: 0;
-moz-border-top-right-radius: 0;
border-top-right-radius: 0;
background: -webkit-linear-gradient(rgba(0,0,0,0.12),rgba(0,0,0,0) 4px);
background: -moz-linear-gradient(rgba(0,0,0,0.12),rgba(0,0,0,0) 4px);
background: -ms-linear-gradient(rgba(0,0,0,0.12),rgba(0,0,0,0) 4px);
background: -o-linear-gradient(rgba(0,0,0,0.12),rgba(0,0,0,0) 4px);
background: linear-gradient(rgba(0,0,0,0.12),rgba(0,0,0,0) 4px);
background-color: #fff;
}
.sub-modal .modal-header{
display: none;
}
.sub-modal-backdrop{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.modal-header{
border-color: #ccc;
}
@media (max-width:767px){
.sub-modal{
left: 10%;
}
}