PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3
Jetpack – WP Security, Backup, Speed, & Growth v16.3
16.3 16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 All 508 releases
← All changes | modules/subscriptions/subscribe-modal/subscribe-modal.css +58 -0 16.2-beta → 16.3 View file →
@@ -1,0 +1,58 @@
1 +body.jetpack-subscribe-modal-open {
2 + overflow: hidden;
3 +}
4 +
5 +.jetpack-subscribe-modal {
6 + visibility: hidden;
7 + position: fixed;
8 + z-index: 50000; /* Same as WP.com Action bar */
9 + left: 0;
10 + top: 0;
11 + width: 100%;
12 + height: 100%;
13 + overflow: auto;
14 + background-color: transparent;
15 + transition: all 0.4s;
16 +}
17 +
18 +.jetpack-subscribe-modal.open {
19 + background-color: rgba(0, 0, 0, 0.3);
20 + visibility: visible;
21 +}
22 +
23 +.jetpack-subscribe-modal__modal-content {
24 + position: relative;
25 + visibility: hidden;
26 + overflow: hidden;
27 + top: 100%;
28 + background-color: #fefefe;
29 + margin: 15% auto;
30 + width: 100%;
31 + max-width: 600px;
32 + border-radius: 10px;
33 + box-sizing: border-box;
34 + transition: all 0.4s;
35 + text-wrap: balance;
36 +}
37 +
38 +.jetpack-subscribe-modal.open .jetpack-subscribe-modal__modal-content {
39 + top: 0;
40 + visibility: visible;
41 +}
42 +
43 +/*
44 + * These text-wrap properties still have limited browser
45 + * support, but based on feedback still adding them for when
46 + * they are supported.
47 + */
48 +.jetpack-subscribe-modal__modal-content p {
49 + text-wrap: balance;
50 + text-wrap: pretty;
51 +}
52 +
53 +@media screen and (max-width: 640px) {
54 +
55 + .jetpack-subscribe-modal__modal-content {
56 + width: 94%;
57 + }
58 +}