forked from CalderaWP/caldera-modals
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodals.css
More file actions
127 lines (117 loc) · 2.43 KB
/
Copy pathmodals.css
File metadata and controls
127 lines (117 loc) · 2.43 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.calmodal-modal-wrap .spinner.loading {
background-position: center center;
display: inline-block;
float: none;
height: auto;
position: absolute;
width: auto;
}
/* MODALS */
html.has-calmodal-modal{
overflow: hidden;
}
body{
overflow-y: scroll;
}
.calmodal-backdrop {
background: rgba(0,0,0,0.3);
bottom: 0;
display: block;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 100100;
}
.calmodal-modal-wrap {
background-color: #FFFFFF;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
display: block;
position: relative;
margin: 0 auto;
z-index: 100105;
}
.calmodal-modal-title {
border-bottom: 1px solid #EFEFEF;
}
.calmodal-modal-closer {
color: #808080;
float: right;
font-size: 32px;
text-decoration: none;
line-height: 0;
border: 0;
}
.calmodal-modal-closer:hover {
background-color: rgba(0,0,0,.1);
}
.calmodal-modal-title > h3 {
font-weight: 400;
margin: 0;
padding: 12px 40px 12px 12px;
clear: none;
}
.calmodal-modal-body {
-moz-box-sizing: border-box; /* Firefox 1, probably can drop this */
-webkit-box-sizing: border-box; /* Safari 3-4, also probably droppable */
box-sizing: border-box; /* Everything else */
overflow: auto;
}
.calmodal-modal-body.has-buttons{
bottom: 53px;
}
.calmodal-modal-footer {
background: none repeat scroll 0 0 #EFEFEF;
border-top: 1px solid #E0E0E0;
}
@media (max-width: 600px) {
/* Small Screens */
.calmodal-modal-wrap.calmodal-front-modal-wrap{
bottom: 0;
display: block;
left: 0;
margin: 0 !important;
overflow: auto;
padding: 0 !important;
top: 0;
width: 100% !important;
}
}
/* EXPERIMENTAL TABS */
.calmodal-modal-wrap .navtabs {
background-color: #f1f1f1;
border-right: 1px solid #dfdfdf;
bottom: 0;
box-sizing: padding-box;
float: left;
left: 0;
margin: 0;
padding: 12px 0 0;
overflow: auto;
overflow-x: hidden;
white-space: nowrap;
position: absolute;
top: 0;
width: 150px;
}
.calmodal-modal-wrap .navtabs > li{
margin: 0;
}
.calmodal-modal-wrap .navtabs > li:hover{
background-color: #dfdfdf;
}
.calmodal-modal-wrap .navtabs > li a {
color: rgb(175, 175, 0);
display: block;
padding: 8px 12px;
text-decoration: none;
text-overflow: ellipsis;
overflow: hidden;
}
.calmodal-modal-body.has-tabs {
margin-left: 150px;
}
.calmodal-modal-wrap .navtabs > li.selected > a {
background: none repeat scroll 0 0 rgb(175, 175, 0);
color: #fff !important;
}