-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsmodal.css
134 lines (118 loc) · 2.1 KB
/
jsmodal.css
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
128
129
130
131
132
/*Modal Dialog*/
.jsmodal {
padding: 24px;
position: fixed;
font-size: 13px;
background-color: #FFFFFF;
color: #333;
border-radius: 4px;
box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
z-index: 99999;
display: none;
}
.jsmodal {
top: 50%;
left: 50%;
margin-top: -185px;
margin-left: -210px;
width: 420px;
min-height: 100px;
}
.jsmodal__screen{
opacity: .5;
position: fixed;
display: block;
width : 100%;
height: 100%;
background-color: #000;
top: 0;
left: 0;
z-index: 99998;
}
.jsmodal__header {
margin: -24px -24px 24px;
padding: 15px 20px;
border-radius: 4px 4px 0 0;
border-bottom: 1px solid #EDEDED;
background-color: #f9f9f9;
font-weight: bold;
}
.jsmodal__header h1 {
line-height: 1;
letter-spacing: 0.15em;
margin: 0;
color: #3F3F3F;
font-size: 16px;
}
.jsmodal__body {
padding-bottom: 24px;
}
.jsmodal__formRow {
margin-bottom: 12px;
}
.jsmodal__formLabel {
display: block;
float: left;
width: 60px;
font-weight: bold;
position: relative;
top: 4px;
}
.jsmodal__formContent {
margin-left: 70px;
}
.jsmodal__formInput {
width: 100%;
border-radius: 3px;
padding-left: 8px;
padding-right: 8px;
}
.jsmodal__formInput:focus {
border-color: rgb(23,113,138);
box-shadow: 0 0 3px 0 rgba(23,113,138, .3);
}
.jsmodal__formTextarea {
width: 100%;
padding: 4px;
border-radius: 3px;
}
.jsmodal__formTextarea:focus {
border-color: rgb(23,113,138);
box-shadow: 0 0 3px 0 rgba(23,113,138, .3);
}
.jsmodal__footer {
border-top: 1px solid #e6e6e6;
padding-top: 14px;
margin-left: -24px;
margin-right: -24px;
margin-bottom: -10px;
}
.jsmodal__btnList {
text-align: right;
padding-right: 16px;
}
.jsmodal__btn {
min-width: 50px;
padding: 6px 16px;
margin-left: 8px;
border-radius: 3px;
outline: 0;
text-align: center;
white-space: nowrap;
display: inline-block;
vertical-align: middle;
position: relative;
border: none;
box-shadow: none;
background: #fff;
}
.jsmodal__btn:hover {
background: #f6f6f6;
}
.jsmodal__btn--positive {
background-color: rgb(23,113,138);
color: #fff;
}
.jsmodal__btn--positive:hover {
background: rgba(23,113,138, .8);
}