PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
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 13.7.2 13.8.3 13.9.2 14.0.1 All 504 releases
jetpack / modules / comments / subscription-modal-on-comment / subscription-modal.css

subscription-modal.css in Jetpack – WP Security, Backup, Speed, & Growth 16.3-a.1, at modules/comments/subscription-modal-on-comment/subscription-modal.css

69 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .jetpack-subscription-modal {
2 visibility: hidden;
3 position: fixed;
4 z-index: 50000;
5 left: 0;
6 top: 0;
7 width: 100%;
8 height: 100%;
9 overflow: auto;
10 opacity: 0;
11 transition: visibility 0s, opacity 0.5s ease;
12 display: flex;
13 justify-content: space-evenly;
14 align-content: center;
15 flex-wrap: wrap;
16 }
17
18 .jetpack-subscription-modal.open {
19 opacity: 1;
20 background-color: rgba(0, 0, 0, 0.3);
21 visibility: visible;
22 }
23
24 .jetpack-subscription-modal__modal-content {
25 text-align: center;
26 background-color: #fefefe;
27 width: 100%;
28 max-width: 650px;
29 box-sizing: border-box;
30 transition: visibility 0s, opacity 0.3s linear;
31 opacity: 0;
32 display: flex;
33 flex-direction: column;
34 gap: 5px;
35 justify-content: center;
36 }
37
38 .jetpack-subscription-modal.open .jetpack-subscription-modal__modal-content {
39 opacity: 1;
40 top: 0;
41 visibility: visible;
42 }
43
44 /* Hide the modal content when iframe is present */
45 .jetpack-subscription-modal.has-iframe .jetpack-subscription-modal__modal-content {
46 background: transparent;
47 }
48
49 .jetpack-subscription-modal.has-iframe .jetpack-subscription-modal__modal-content-form {
50 visibility: hidden;
51 opacity: 0;
52 }
53
54 /*
55 * These text-wrap properties still have limited browser
56 * support, but based on feedback still adding them for when
57 * they are supported.
58 */
59 .jetpack-subscription-modal__modal-content p {
60 text-wrap: pretty;
61 }
62
63 @media screen and (max-width: 640px) {
64
65 .jetpack-subscription-modal__modal-content {
66 width: 94%;
67 }
68 }
69