← All changes
|
modules/comments/subscription-modal-on-comment/subscription-modal.css
+39
-39
13.8.3
→
16.3-a.7
View file →
| @@ -1,55 +1,55 @@ | ||
| 1 | 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; | |
| 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 | 16 | } |
| 17 | 17 | |
| 18 | 18 | .jetpack-subscription-modal.open { |
| 19 | - opacity: 1; | |
| 20 | - background-color: rgba(0,0,0,0.3); | |
| 21 | - visibility: visible; | |
| 19 | + opacity: 1; | |
| 20 | + background-color: rgba(0, 0, 0, 0.3); | |
| 21 | + visibility: visible; | |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 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; | |
| 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 | 36 | } |
| 37 | 37 | |
| 38 | 38 | .jetpack-subscription-modal.open .jetpack-subscription-modal__modal-content { |
| 39 | - opacity: 1; | |
| 40 | - top: 0; | |
| 41 | - visibility: visible; | |
| 39 | + opacity: 1; | |
| 40 | + top: 0; | |
| 41 | + visibility: visible; | |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /* Hide the modal content when iframe is present */ |
| 45 | 45 | .jetpack-subscription-modal.has-iframe .jetpack-subscription-modal__modal-content { |
| 46 | - background: transparent; | |
| 46 | + background: transparent; | |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | .jetpack-subscription-modal.has-iframe .jetpack-subscription-modal__modal-content-form { |
| 50 | - visibility: hidden; | |
| 51 | - opacity: 0; | |
| 50 | + visibility: hidden; | |
| 51 | + opacity: 0; | |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /* |
| 55 | 55 | * These text-wrap properties still have limited browser |
| @@ -56,13 +56,13 @@ | ||
| 56 | 56 | * support, but based on feedback still adding them for when |
| 57 | 57 | * they are supported. |
| 58 | 58 | */ |
| 59 | 59 | .jetpack-subscription-modal__modal-content p { |
| 60 | - text-wrap: pretty; | |
| 61 | - text-wrap: pretty; | |
| 60 | + text-wrap: pretty; | |
| 62 | 61 | } |
| 63 | 62 | |
| 64 | 63 | @media screen and (max-width: 640px) { |
| 65 | - .jetpack-subscription-modal__modal-content { | |
| 66 | - width: 94%; | |
| 67 | - } | |
| 64 | + | |
| 65 | + .jetpack-subscription-modal__modal-content { | |
| 66 | + width: 94%; | |
| 67 | + } | |
| 68 | 68 | } |