PluginProbe
Comments Extra Fields For Post,Pages and CPT / 4.7
Comments Extra Fields For Post,Pages and CPT v4.7
trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 2.2 2.3 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 5.0 5.1 5.2
wp-comment-fields / css / wpcomment-modal.css

wpcomment-modal.css in Comments Extra Fields For Post,Pages and CPT 4.7, at css/wpcomment-modal.css

325 lines 6.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*
2 * wpcomment_modal - v1.1.1
3 * Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
4 * http://vodkabears.github.io/remodal/
5 *
6 * Made by Ilya Makarov
7 * Under MIT License
8 */
9
10 /* ==========================================================================
11 wpcomment_modal's necessary styles
12 ========================================================================== */
13
14 html.wpcomment_modal-is-locked {
15 overflow: hidden;
16 -ms-touch-action: none;
17 touch-action: none;
18 }
19 .wpcomment_modal,
20 [data-wpcomment_modal-id] {
21 display: none;
22 }
23 .wpcomment_modal-overlay {
24 position: fixed;
25 z-index: 9999;
26 top: -5000px;
27 right: -5000px;
28 bottom: -5000px;
29 left: -5000px;
30 display: none;
31 }
32 .wpcomment_modal-wrapper {
33 position: fixed;
34 z-index: 10000;
35 top: 0;
36 right: 0;
37 bottom: 0;
38 left: 0;
39 display: none;
40 overflow: auto;
41 text-align: center;
42 -webkit-overflow-scrolling: touch;
43 }
44 .wpcomment_modal-wrapper:after {
45 display: inline-block;
46 height: 100%;
47 margin-left: -0.05em;
48 content: "";
49 }
50 .wpcomment_modal-overlay,
51 .wpcomment_modal-wrapper {
52 -webkit-backface-visibility: hidden;
53 backface-visibility: hidden;
54 }
55 .wpcomment_modal {
56 position: relative;
57 outline: none;
58 -webkit-text-size-adjust: 100%;
59 -ms-text-size-adjust: 100%;
60 text-size-adjust: 100%;
61 }
62 .wpcomment_modal-is-initialized {
63 display: inline-block;
64 }
65
66 /*Default Theme Style*/
67 .wpcomment_modal-bg.wpcomment_modal-is-opening,
68 .wpcomment_modal-bg.wpcomment_modal-is-opened {
69 -webkit-filter: blur(3px);
70 filter: blur(3px);
71 }
72 .wpcomment_modal-overlay {
73 background: rgba(43, 46, 56, 0.9);
74 }
75 .wpcomment_modal-overlay.wpcomment_modal-is-opening,
76 .wpcomment_modal-overlay.wpcomment_modal-is-closing {
77 -webkit-animation-duration: 0.3s;
78 animation-duration: 0.3s;
79 -webkit-animation-fill-mode: forwards;
80 animation-fill-mode: forwards;
81 }
82 .wpcomment_modal-overlay.wpcomment_modal-is-opening {
83 -webkit-animation-name: wpcomment_modal-overlay-opening-keyframes;
84 animation-name: wpcomment_modal-overlay-opening-keyframes;
85 }
86 .wpcomment_modal-overlay.wpcomment_modal-is-closing {
87 -webkit-animation-name: wpcomment_modal-overlay-closing-keyframes;
88 animation-name: wpcomment_modal-overlay-closing-keyframes;
89 }
90 .wpcomment_modal-wrapper {
91 padding: 10px 10px 0;
92 }
93 .wpcomment_modal {
94 box-sizing: border-box;
95 width: 100%;
96 margin-bottom: 10px;
97 padding: 35px;
98 -webkit-transform: translate3d(0, 0, 0);
99 transform: translate3d(0, 0, 0);
100 color: #2b2e38;
101 background: #fff;
102 }
103 .wpcomment_modal.wpcomment_modal-is-opening,
104 .wpcomment_modal.wpcomment_modal-is-closing {
105 -webkit-animation-duration: 0.3s;
106 animation-duration: 0.3s;
107 -webkit-animation-fill-mode: forwards;
108 animation-fill-mode: forwards;
109 }
110 .wpcomment_modal.wpcomment_modal-is-opening {
111 -webkit-animation-name: wpcomment_modal-opening-keyframes;
112 animation-name: wpcomment_modal-opening-keyframes;
113 }
114 .wpcomment_modal.wpcomment_modal-is-closing {
115 -webkit-animation-name: wpcomment_modal-closing-keyframes;
116 animation-name: wpcomment_modal-closing-keyframes;
117 }
118 .wpcomment_modal,
119 .wpcomment_modal-wrapper:after {
120 vertical-align: middle;
121 }
122 .wpcomment_modal-close {
123 position: absolute;
124 top: 0;
125 left: 0;
126 display: block;
127 overflow: visible;
128 width: 35px;
129 height: 35px;
130 margin: 0;
131 padding: 0;
132 cursor: pointer;
133 -webkit-transition: color 0.2s;
134 transition: color 0.2s;
135 text-decoration: none;
136 color: #95979c;
137 border: 0;
138 outline: 0;
139 background: transparent;
140 }
141 .wpcomment_modal-close:hover,
142 .wpcomment_modal-close:focus {
143 color: #2b2e38;
144 }
145 .wpcomment_modal-close:before {
146 font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
147 font-size: 25px;
148 line-height: 35px;
149 position: absolute;
150 top: 0;
151 left: 0;
152 display: block;
153 width: 35px;
154 content: "\00d7";
155 text-align: center;
156 }
157 .wpcomment_modal-confirm,
158 .wpcomment_modal-cancel {
159 font: inherit;
160 display: inline-block;
161 overflow: visible;
162 min-width: 110px;
163 margin: 0;
164 padding: 12px 0;
165 cursor: pointer;
166 -webkit-transition: background 0.2s;
167 transition: background 0.2s;
168 text-align: center;
169 vertical-align: middle;
170 text-decoration: none;
171 border: 0;
172 outline: 0;
173 }
174 .wpcomment_modal-confirm {
175 color: #fff;
176 background: #81c784;
177 }
178 .wpcomment_modal-confirm:hover,
179 .wpcomment_modal-confirm:focus {
180 background: #66bb6a;
181 }
182 .wpcomment_modal-cancel {
183 color: #fff;
184 background: #e57373;
185 }
186 .wpcomment_modal-cancel:hover,
187 .wpcomment_modal-cancel:focus {
188 background: #ef5350;
189 }
190 .wpcomment_modal-confirm::-moz-focus-inner,
191 .wpcomment_modal-cancel::-moz-focus-inner,
192 .wpcomment_modal-close::-moz-focus-inner {
193 padding: 0;
194 border: 0;
195 }
196
197 /* Keyframes
198 ** ==========================
199 */
200 @-webkit-keyframes wpcomment_modal-opening-keyframes {
201 from {
202 -webkit-transform: scale(1.05);
203 transform: scale(1.05);
204
205 opacity: 0;
206 }
207 to {
208 -webkit-transform: none;
209 transform: none;
210
211 opacity: 1;
212
213 -webkit-filter: blur(0);
214 filter: blur(0);
215 }
216 }
217
218 @keyframes wpcomment_modal-opening-keyframes {
219 from {
220 -webkit-transform: scale(1.05);
221 transform: scale(1.05);
222
223 opacity: 0;
224 }
225 to {
226 -webkit-transform: none;
227 transform: none;
228
229 opacity: 1;
230
231 -webkit-filter: blur(0);
232 filter: blur(0);
233 }
234 }
235
236 @-webkit-keyframes wpcomment_modal-closing-keyframes {
237 from {
238 -webkit-transform: scale(1);
239 transform: scale(1);
240
241 opacity: 1;
242 }
243 to {
244 -webkit-transform: scale(0.95);
245 transform: scale(0.95);
246
247 opacity: 0;
248
249 -webkit-filter: blur(0);
250 filter: blur(0);
251 }
252 }
253
254 @keyframes wpcomment_modal-closing-keyframes {
255 from {
256 -webkit-transform: scale(1);
257 transform: scale(1);
258
259 opacity: 1;
260 }
261 to {
262 -webkit-transform: scale(0.95);
263 transform: scale(0.95);
264
265 opacity: 0;
266
267 -webkit-filter: blur(0);
268 filter: blur(0);
269 }
270 }
271
272 @-webkit-keyframes wpcomment_modal-overlay-opening-keyframes {
273 from {
274 opacity: 0;
275 }
276 to {
277 opacity: 1;
278 }
279 }
280
281 @keyframes wpcomment_modal-overlay-opening-keyframes {
282 from {
283 opacity: 0;
284 }
285 to {
286 opacity: 1;
287 }
288 }
289
290 @-webkit-keyframes wpcomment_modal-overlay-closing-keyframes {
291 from {
292 opacity: 1;
293 }
294 to {
295 opacity: 0;
296 }
297 }
298
299 @keyframes wpcomment_modal-overlay-closing-keyframes {
300 from {
301 opacity: 1;
302 }
303 to {
304 opacity: 0;
305 }
306 }
307
308 /* Media queries
309 ** ========================
310 */
311 @media only screen and (min-width: 641px) {
312 .wpcomment_modal {
313 max-width: 700px;
314 }
315 }
316
317 /* IE8
318 ** ========================
319 */
320 .lt-ie9 .wpcomment_modal-overlay {
321 background: #2b2e38;
322 }
323 .lt-ie9 .wpcomment_modal {
324 width: 700px;
325 }