| 1 |
/* WP VR — Create Tour Modal (listing page) */ |
| 2 |
|
| 3 |
.wpvr-ctm-overlay { |
| 4 |
position: fixed; |
| 5 |
inset: 0; |
| 6 |
background: rgba(0, 0, 0, .55); |
| 7 |
z-index: 100100; |
| 8 |
display: flex; |
| 9 |
align-items: center; |
| 10 |
justify-content: center; |
| 11 |
animation: wpvr-ctm-fade .15s ease; |
| 12 |
} |
| 13 |
|
| 14 |
@keyframes wpvr-ctm-fade { |
| 15 |
from { opacity: 0; } |
| 16 |
to { opacity: 1; } |
| 17 |
} |
| 18 |
|
| 19 |
.wpvr-ctm { |
| 20 |
background: #fff; |
| 21 |
border-radius: 8px; |
| 22 |
width: 640px; |
| 23 |
max-width: calc(100vw - 40px); |
| 24 |
box-shadow: 0 8px 32px rgba(0, 0, 0, .18); |
| 25 |
animation: wpvr-ctm-scale .15s ease; |
| 26 |
overflow: hidden; |
| 27 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 28 |
} |
| 29 |
|
| 30 |
@keyframes wpvr-ctm-scale { |
| 31 |
from { transform: scale(.96); opacity: 0; } |
| 32 |
to { transform: scale(1); opacity: 1; } |
| 33 |
} |
| 34 |
|
| 35 |
/* Header */ |
| 36 |
.wpvr-ctm__header { |
| 37 |
display: flex; |
| 38 |
align-items: flex-start; |
| 39 |
justify-content: space-between; |
| 40 |
padding: 20px 24px 16px; |
| 41 |
border-bottom: 1px solid #e6e6e6; |
| 42 |
} |
| 43 |
.wpvr-ctm__title { |
| 44 |
font-size: 18px; |
| 45 |
font-weight: 600; |
| 46 |
color: #1e1e1e; |
| 47 |
margin: 0; |
| 48 |
line-height: 1.3; |
| 49 |
} |
| 50 |
.wpvr-ctm__subtitle { |
| 51 |
font-size: 13px; |
| 52 |
color: #757575; |
| 53 |
margin: 4px 0 0; |
| 54 |
} |
| 55 |
.wpvr-ctm__close { |
| 56 |
background: none; |
| 57 |
border: none; |
| 58 |
color: #757575; |
| 59 |
font-size: 22px; |
| 60 |
line-height: 1; |
| 61 |
cursor: pointer; |
| 62 |
padding: 2px 6px; |
| 63 |
border-radius: 4px; |
| 64 |
transition: color .15s; |
| 65 |
flex-shrink: 0; |
| 66 |
} |
| 67 |
.wpvr-ctm__close:hover { color: #1e1e1e; } |
| 68 |
|
| 69 |
/* Body */ |
| 70 |
.wpvr-ctm__body { |
| 71 |
padding: 20px 24px; |
| 72 |
} |
| 73 |
.wpvr-ctm__field { |
| 74 |
margin-bottom: 20px; |
| 75 |
} |
| 76 |
.wpvr-ctm__field:last-child { |
| 77 |
margin-bottom: 0; |
| 78 |
} |
| 79 |
.wpvr-ctm__label { |
| 80 |
display: block; |
| 81 |
font-size: 13px; |
| 82 |
font-weight: 600; |
| 83 |
color: #3c434a; |
| 84 |
margin-bottom: 8px; |
| 85 |
} |
| 86 |
.wpvr-ctm__required { |
| 87 |
color: #d63638; |
| 88 |
margin-left: 2px; |
| 89 |
} |
| 90 |
.wpvr-ctm__input { |
| 91 |
width: 100%; |
| 92 |
box-sizing: border-box; |
| 93 |
height: 40px; |
| 94 |
padding: 0 12px; |
| 95 |
border: 1px solid #dcdcde; |
| 96 |
border-radius: 4px; |
| 97 |
font-size: 14px; |
| 98 |
color: #1e1e1e; |
| 99 |
background: #fff; |
| 100 |
outline: none; |
| 101 |
transition: border-color .15s, box-shadow .15s; |
| 102 |
} |
| 103 |
.wpvr-ctm__input:focus { |
| 104 |
border-color: #3F04FE; |
| 105 |
box-shadow: 0 0 0 1px #3F04FE; |
| 106 |
} |
| 107 |
.wpvr-ctm__input--error { |
| 108 |
border-color: #d63638; |
| 109 |
} |
| 110 |
.wpvr-ctm__error { |
| 111 |
display: block; |
| 112 |
font-size: 12px; |
| 113 |
color: #d63638; |
| 114 |
margin-top: 4px; |
| 115 |
} |
| 116 |
|
| 117 |
/* Cards */ |
| 118 |
.wpvr-ctm__cards { |
| 119 |
display: grid; |
| 120 |
grid-template-columns: repeat(3, 1fr); |
| 121 |
grid-auto-rows: 1fr; |
| 122 |
align-items: stretch; |
| 123 |
gap: 12px; |
| 124 |
} |
| 125 |
.wpvr-ctm__card { |
| 126 |
position: relative; |
| 127 |
display: flex; |
| 128 |
flex-direction: column; |
| 129 |
align-items: center; |
| 130 |
padding: 20px 14px 16px; |
| 131 |
border: 2px solid #dcdcde; |
| 132 |
border-radius: 8px; |
| 133 |
background: #f6f7f7; |
| 134 |
cursor: pointer; |
| 135 |
text-align: center; |
| 136 |
gap: 8px; |
| 137 |
transition: border-color .15s, background .15s; |
| 138 |
font-family: inherit; |
| 139 |
width: 100%; |
| 140 |
box-sizing: border-box; |
| 141 |
} |
| 142 |
.wpvr-ctm__card:hover:not([disabled]) { |
| 143 |
border-color: #3F04FE; |
| 144 |
background: #fff; |
| 145 |
} |
| 146 |
.wpvr-ctm__card--selected { |
| 147 |
border-color: #3F04FE; |
| 148 |
background: rgba(63, 4, 254, .06); |
| 149 |
} |
| 150 |
.wpvr-ctm__card[disabled] { |
| 151 |
opacity: .55; |
| 152 |
cursor: not-allowed; |
| 153 |
} |
| 154 |
.wpvr-ctm__card .is-pro { |
| 155 |
position: absolute; |
| 156 |
top: 8px; |
| 157 |
right: 8px; |
| 158 |
z-index: 1; |
| 159 |
box-sizing: border-box; |
| 160 |
display: flex; |
| 161 |
align-items: center; |
| 162 |
justify-content: center; |
| 163 |
width: 30px; |
| 164 |
height: 17px; |
| 165 |
padding: 0; |
| 166 |
color: #fff; |
| 167 |
font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; |
| 168 |
font-size: 12px; |
| 169 |
font-weight: 600; |
| 170 |
line-height: 17px; |
| 171 |
text-transform: none; |
| 172 |
background: #00b4ff; |
| 173 |
border-radius: 7px 7px 7px 0; |
| 174 |
} |
| 175 |
.wpvr-ctm__card-icon { |
| 176 |
width: 48px; |
| 177 |
height: 48px; |
| 178 |
flex-shrink: 0; |
| 179 |
display: block; |
| 180 |
} |
| 181 |
.wpvr-ctm__card-title { |
| 182 |
font-size: 13px; |
| 183 |
font-weight: 600; |
| 184 |
color: #1e1e1e; |
| 185 |
line-height: 1.3; |
| 186 |
} |
| 187 |
.wpvr-ctm__card-desc { |
| 188 |
font-size: 11px; |
| 189 |
color: #757575; |
| 190 |
line-height: 1.45; |
| 191 |
flex: 1; |
| 192 |
} |
| 193 |
.wpvr-ctm__card-radio { |
| 194 |
width: 16px; |
| 195 |
height: 16px; |
| 196 |
border-radius: 50%; |
| 197 |
border: 2px solid #dcdcde; |
| 198 |
background: #fff; |
| 199 |
flex-shrink: 0; |
| 200 |
transition: border-color .15s, background .15s, box-shadow .15s; |
| 201 |
} |
| 202 |
.wpvr-ctm__card-radio--checked { |
| 203 |
border-color: #3F04FE; |
| 204 |
background: #3F04FE; |
| 205 |
box-shadow: inset 0 0 0 3px #fff; |
| 206 |
} |
| 207 |
|
| 208 |
/* Footer */ |
| 209 |
.wpvr-ctm__footer { |
| 210 |
display: flex; |
| 211 |
justify-content: flex-end; |
| 212 |
gap: 8px; |
| 213 |
padding: 16px 24px; |
| 214 |
background: #f6f7f7; |
| 215 |
border-top: 1px solid #e6e6e6; |
| 216 |
} |
| 217 |
.wpvr-ctm__btn { |
| 218 |
display: inline-flex; |
| 219 |
align-items: center; |
| 220 |
justify-content: center; |
| 221 |
height: 36px; |
| 222 |
padding: 0 18px; |
| 223 |
border-radius: 4px; |
| 224 |
font-size: 13px; |
| 225 |
font-weight: 600; |
| 226 |
cursor: pointer; |
| 227 |
border: 1px solid transparent; |
| 228 |
transition: background .15s, opacity .15s; |
| 229 |
font-family: inherit; |
| 230 |
} |
| 231 |
.wpvr-ctm__btn--primary { |
| 232 |
background: #3F04FE; |
| 233 |
color: #fff; |
| 234 |
border-color: #3F04FE; |
| 235 |
} |
| 236 |
.wpvr-ctm__btn--primary:hover:not([disabled]) { |
| 237 |
background: #3200CC; |
| 238 |
border-color: #3200CC; |
| 239 |
} |
| 240 |
.wpvr-ctm__btn--primary[disabled] { |
| 241 |
opacity: .6; |
| 242 |
cursor: not-allowed; |
| 243 |
} |
| 244 |
.wpvr-ctm__btn--secondary { |
| 245 |
background: #fff; |
| 246 |
color: #1e1e1e; |
| 247 |
border-color: #dcdcde; |
| 248 |
} |
| 249 |
.wpvr-ctm__btn--secondary:hover { |
| 250 |
background: #f6f7f7; |
| 251 |
} |
| 252 |
|