| 1 |
.wpvr-image-resize-modal { |
| 2 |
position: fixed; |
| 3 |
inset: 0; |
| 4 |
z-index: 160000; |
| 5 |
display: flex; |
| 6 |
align-items: center; |
| 7 |
justify-content: center; |
| 8 |
box-sizing: border-box; |
| 9 |
padding: 20px; |
| 10 |
background: rgba(51, 51, 51, 0.4); |
| 11 |
} |
| 12 |
|
| 13 |
.wpvr-image-resize-modal .pano-error-wrapper { |
| 14 |
width: 100%; |
| 15 |
max-width: 605px; |
| 16 |
overflow: hidden; |
| 17 |
border-left: 5px solid #faac14; |
| 18 |
border-radius: 5px; |
| 19 |
background: #fff; |
| 20 |
box-shadow: 0 1px 34px rgba(0, 0, 0, 0.08); |
| 21 |
animation: wpvr-bounce 0.3s; |
| 22 |
} |
| 23 |
|
| 24 |
.wpvr-image-resize-modal .pano-error-body { |
| 25 |
position: relative; |
| 26 |
padding: 40px; |
| 27 |
text-align: center; |
| 28 |
} |
| 29 |
|
| 30 |
.wpvr-image-resize-modal .pano-warning { |
| 31 |
display: block; |
| 32 |
margin-bottom: 15px; |
| 33 |
} |
| 34 |
|
| 35 |
.wpvr-image-resize-modal .pano-error-title, |
| 36 |
.wpvr-image-resize-modal .pano-error-message p { |
| 37 |
padding: 0; |
| 38 |
margin: 0; |
| 39 |
} |
| 40 |
|
| 41 |
.wpvr-image-resize-modal .pano-error-title { |
| 42 |
color: #39393f; |
| 43 |
font-size: 18px; |
| 44 |
font-weight: 700; |
| 45 |
} |
| 46 |
|
| 47 |
.wpvr-image-resize-modal .pano-error-message p { |
| 48 |
margin-top: 3px; |
| 49 |
color: #868693; |
| 50 |
font-size: 16px; |
| 51 |
line-height: 1.45; |
| 52 |
} |
| 53 |
|
| 54 |
.wpvr-image-resize-modal__close { |
| 55 |
position: absolute; |
| 56 |
top: 12px; |
| 57 |
right: 15px; |
| 58 |
padding: 0; |
| 59 |
border: 0; |
| 60 |
background: transparent; |
| 61 |
color: #a8a7be; |
| 62 |
font-size: 28px; |
| 63 |
line-height: 1; |
| 64 |
cursor: pointer; |
| 65 |
} |
| 66 |
|
| 67 |
.wpvr-image-resize-modal__options { |
| 68 |
display: inline-flex; |
| 69 |
flex-direction: column; |
| 70 |
gap: 10px; |
| 71 |
margin-top: 22px; |
| 72 |
text-align: left; |
| 73 |
} |
| 74 |
|
| 75 |
.wpvr-image-resize-modal__options:empty { |
| 76 |
display: none; |
| 77 |
} |
| 78 |
|
| 79 |
.wpvr-image-resize-modal__options label { |
| 80 |
display: flex; |
| 81 |
align-items: flex-start; |
| 82 |
gap: 8px; |
| 83 |
color: #39393f; |
| 84 |
font-size: 14px; |
| 85 |
line-height: 1.4; |
| 86 |
cursor: pointer; |
| 87 |
} |
| 88 |
|
| 89 |
.wpvr-image-resize-modal__options input { |
| 90 |
flex: 0 0 auto; |
| 91 |
margin: 1px 0 0; |
| 92 |
} |
| 93 |
|
| 94 |
.wpvr-image-resize-modal__setting input { |
| 95 |
position: absolute; |
| 96 |
opacity: 0; |
| 97 |
} |
| 98 |
|
| 99 |
.wpvr-image-resize-modal__toggle { |
| 100 |
position: relative; |
| 101 |
flex: 0 0 36px; |
| 102 |
width: 36px; |
| 103 |
height: 20px; |
| 104 |
border-radius: 10px; |
| 105 |
background: #c7c7cf; |
| 106 |
transition: background 0.2s ease; |
| 107 |
} |
| 108 |
|
| 109 |
.wpvr-image-resize-modal__toggle::before { |
| 110 |
position: absolute; |
| 111 |
top: 3px; |
| 112 |
left: 3px; |
| 113 |
width: 14px; |
| 114 |
height: 14px; |
| 115 |
border-radius: 50%; |
| 116 |
background: #fff; |
| 117 |
content: ''; |
| 118 |
transition: transform 0.2s ease; |
| 119 |
} |
| 120 |
|
| 121 |
.wpvr-image-resize-modal__setting input:checked + .wpvr-image-resize-modal__toggle { |
| 122 |
background: #004efa; |
| 123 |
} |
| 124 |
|
| 125 |
.wpvr-image-resize-modal__setting input:checked + .wpvr-image-resize-modal__toggle::before { |
| 126 |
transform: translateX(16px); |
| 127 |
} |
| 128 |
|
| 129 |
.wpvr-image-resize-modal__setting input:focus-visible + .wpvr-image-resize-modal__toggle { |
| 130 |
outline: 2px solid #004efa; |
| 131 |
outline-offset: 2px; |
| 132 |
} |
| 133 |
|
| 134 |
.wpvr-image-resize-modal p.wpvr-image-resize-modal__note { |
| 135 |
max-width: 390px; |
| 136 |
margin: 8px 0 0 44px; |
| 137 |
padding: 0; |
| 138 |
color: #868693; |
| 139 |
font-size: 13px; |
| 140 |
line-height: 1.4; |
| 141 |
} |
| 142 |
|
| 143 |
.wpvr-image-resize-modal button:focus-visible, |
| 144 |
.wpvr-image-resize-modal input:focus-visible { |
| 145 |
outline: 2px solid #004efa; |
| 146 |
outline-offset: 2px; |
| 147 |
} |
| 148 |
|
| 149 |
@media screen and (max-width: 600px) { |
| 150 |
.wpvr-image-resize-modal .pano-error-body { |
| 151 |
padding: 36px 22px 28px; |
| 152 |
} |
| 153 |
|
| 154 |
} |
| 155 |
|
| 156 |
@keyframes wpvr-bounce { |
| 157 |
0% { transform: scale(.7); } |
| 158 |
45% { transform: scale(1.05); } |
| 159 |
80% { transform: scale(.95); } |
| 160 |
100% { transform: scale(1); } |
| 161 |
} |
| 162 |
|