modal.css in Search & Replace Everything by WPCode – Find and Replace Media, Text, Links, and More 1.0.7, at src/admin/modal.css
| 1 | .wsrw-modal-overlay { |
| 2 | background: rgba(0, 0, 0, 0.3); |
| 3 | bottom: 0; |
| 4 | display: none; |
| 5 | left: 0; |
| 6 | position: fixed; |
| 7 | right: 0; |
| 8 | top: 0; |
| 9 | z-index: 1000; |
| 10 | |
| 11 | .admin-bar & { |
| 12 | top: 32px; |
| 13 | } |
| 14 | |
| 15 | .wsrw-show-modal & { |
| 16 | display: block; |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | .wsrw-modal { |
| 21 | background: #fff; |
| 22 | border: 1px solid var(--wsrw-border-color); |
| 23 | border-radius: 8px; |
| 24 | display: none; |
| 25 | left: 50%; |
| 26 | max-width: 80%; |
| 27 | padding: 25px; |
| 28 | position: fixed; |
| 29 | top: 50%; |
| 30 | transform: translate(-50%, -50%); |
| 31 | width: 100%; |
| 32 | z-index: 1050; |
| 33 | max-height: 90%; |
| 34 | |
| 35 | .wsrw-show-modal & { |
| 36 | display: block; |
| 37 | } |
| 38 | |
| 39 | @media screen and (min-width: 783px) { |
| 40 | margin-left: 18px; |
| 41 | } |
| 42 | |
| 43 | @media screen and (min-width: 961px) { |
| 44 | margin-left: 80px; |
| 45 | |
| 46 | .folded & { |
| 47 | margin-left: 18px; |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | .wsrw-modal-header { |
| 52 | padding-bottom: 25px; |
| 53 | |
| 54 | h2 { |
| 55 | margin: 0; |
| 56 | } |
| 57 | |
| 58 | .wsrw-close-modal { |
| 59 | float: right; |
| 60 | } |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | .wsrw-modal-buttons { |
| 65 | margin-top: 25px; |
| 66 | } |
| 67 | |
| 68 | .wsrw-no-close { |
| 69 | .wsrw-close-modal { |
| 70 | display: none; |
| 71 | } |
| 72 | } |
| 73 |