| 1 |
/* ========================================= |
| 2 |
1. IMPORTS & BASICS |
| 3 |
========================================= */ |
| 4 |
@import "wp-gmap-style-media-query.css"; |
| 5 |
|
| 6 |
#wp-gmap-edit * { |
| 7 |
box-sizing: border-box; |
| 8 |
} |
| 9 |
|
| 10 |
.hidden { |
| 11 |
display: none; |
| 12 |
} |
| 13 |
|
| 14 |
/* Helper Columns */ |
| 15 |
.wgm-col-full { |
| 16 |
width: 100%; |
| 17 |
height: auto; |
| 18 |
} |
| 19 |
.col-half { |
| 20 |
flex-basis: 49%; |
| 21 |
height: auto; |
| 22 |
display: flex; |
| 23 |
} |
| 24 |
.col-one-third { |
| 25 |
width: 32%; |
| 26 |
height: auto; |
| 27 |
} |
| 28 |
.col-one-fourth { |
| 29 |
width: 25%; |
| 30 |
height: auto; |
| 31 |
} |
| 32 |
.wgm_mb_15 { |
| 33 |
margin-bottom: 15px; |
| 34 |
} |
| 35 |
|
| 36 |
/* ========================================= |
| 37 |
2. HEADER CONNECTION |
| 38 |
========================================= */ |
| 39 |
.gmap_header_section { |
| 40 |
width: 100%; |
| 41 |
float: left; |
| 42 |
} |
| 43 |
|
| 44 |
.gmap_header_section_left { |
| 45 |
width: 78%; |
| 46 |
float: left; |
| 47 |
} |
| 48 |
|
| 49 |
.gmap_header_section_right { |
| 50 |
max-width: 21%; |
| 51 |
float: right; |
| 52 |
padding-right: 1%; |
| 53 |
} |
| 54 |
|
| 55 |
.gmap_get_pro_version { |
| 56 |
float: left; |
| 57 |
padding: 2px 9px; |
| 58 |
height: auto !important; |
| 59 |
font-weight: bold; |
| 60 |
margin: 5px 5px 0 0 !important; |
| 61 |
color: var(--wgm-primary-dark) !important; |
| 62 |
} |
| 63 |
|
| 64 |
/* ========================================= |
| 65 |
3. NAVIGATION TABS (MAIN) |
| 66 |
========================================= */ |
| 67 |
ul#wp-gmap-nav { |
| 68 |
list-style-type: none; |
| 69 |
padding: 0; |
| 70 |
margin: 0; |
| 71 |
} |
| 72 |
|
| 73 |
ul#wp-gmap-nav li { |
| 74 |
display: inline-block; |
| 75 |
background-color: var(--wgm-primary); |
| 76 |
border-bottom: solid 5px var(--wgm-primary-dark); |
| 77 |
color: var(--wgm-white); |
| 78 |
cursor: pointer; |
| 79 |
} |
| 80 |
|
| 81 |
ul#wp-gmap-nav li:hover, |
| 82 |
ul#wp-gmap-nav .active { |
| 83 |
background-color: var(--wgm-primary-dark); |
| 84 |
} |
| 85 |
|
| 86 |
ul#wp-gmap-nav li a { |
| 87 |
color: white; |
| 88 |
text-decoration: none; |
| 89 |
display: block; |
| 90 |
padding: 5px 8px; |
| 91 |
font-weight: bold; |
| 92 |
} |
| 93 |
|
| 94 |
/* Settings Menu (Sidebar style) */ |
| 95 |
.wgm-settings-menu { |
| 96 |
border-left: 1px #e0dddd solid; |
| 97 |
} |
| 98 |
|
| 99 |
.wgm-settings-menu ul { |
| 100 |
margin: 0; |
| 101 |
padding: 0; |
| 102 |
} |
| 103 |
|
| 104 |
.wgm-settings-menu ul li { |
| 105 |
display: inline-block; |
| 106 |
margin-bottom: 0; |
| 107 |
} |
| 108 |
|
| 109 |
.wgm-settings-menu ul li.active a { |
| 110 |
background-color: var(--wgm-white); |
| 111 |
border-top: 2px solid var(--wgm-primary); |
| 112 |
} |
| 113 |
|
| 114 |
.wgm-settings-menu ul li a:focus { |
| 115 |
box-shadow: none; |
| 116 |
} |
| 117 |
|
| 118 |
.wgm-settings-menu ul li a, |
| 119 |
.wgm-settings-menu ul li span { |
| 120 |
padding: 15px 20px; |
| 121 |
background-color: var(--wgm-bg-light); |
| 122 |
color: var(--wgm-text-secondary); |
| 123 |
font-size: 14px; |
| 124 |
font-weight: 600; |
| 125 |
text-decoration: none; |
| 126 |
border-top: 2px solid var(--wgm-bg-light); |
| 127 |
display: block; |
| 128 |
} |
| 129 |
|
| 130 |
/* ========================================= |
| 131 |
4. EDIT MAP TABS (INTERNAL) |
| 132 |
========================================= */ |
| 133 |
#wp-gmap-tabs { |
| 134 |
padding: 1%; |
| 135 |
float: left; |
| 136 |
width: 98%; |
| 137 |
} |
| 138 |
|
| 139 |
#wp-gmap-tabs .active { |
| 140 |
display: block; |
| 141 |
} |
| 142 |
|
| 143 |
.wgm_wpgmap_tab { |
| 144 |
width: 100%; |
| 145 |
background-color: transparent !important; |
| 146 |
float: left; |
| 147 |
height: auto !important; |
| 148 |
border-bottom: 1px solid var(--wgm-border-color); |
| 149 |
margin-bottom: 25px; |
| 150 |
} |
| 151 |
|
| 152 |
ul.wgm_wpgmap_tab { |
| 153 |
padding: 0; |
| 154 |
margin: 0; |
| 155 |
height: auto !important; |
| 156 |
display: flex; |
| 157 |
} |
| 158 |
|
| 159 |
.wgm_wpgmap_tab li { |
| 160 |
display: block !important; |
| 161 |
padding: 12px 24px !important; |
| 162 |
float: none !important; |
| 163 |
background-color: transparent !important; |
| 164 |
border: none !important; |
| 165 |
border-bottom: 2px solid transparent !important; |
| 166 |
cursor: pointer; |
| 167 |
color: var(--wgm-text-secondary); |
| 168 |
font-weight: 600; |
| 169 |
font-size: 14px; |
| 170 |
transition: all 0.3s ease; |
| 171 |
margin-bottom: -1px; |
| 172 |
} |
| 173 |
|
| 174 |
.wgm_wpgmap_tab li:hover { |
| 175 |
color: var(--wgm-primary); |
| 176 |
} |
| 177 |
|
| 178 |
.wgm_wpgmap_tab li.active { |
| 179 |
color: var(--wgm-primary) !important; |
| 180 |
border-bottom: 2px solid var(--wgm-primary) !important; |
| 181 |
} |
| 182 |
|
| 183 |
/* ========================================= |
| 184 |
5. MAP PROPERTIES & SETTINGS LAYOUT |
| 185 |
========================================= */ |
| 186 |
.wp-gmap-properties-outer { |
| 187 |
width: 49%; |
| 188 |
float: left; |
| 189 |
} |
| 190 |
|
| 191 |
.wp-gmap-properties, |
| 192 |
.wp-gmap-other-properties { |
| 193 |
width: 100%; |
| 194 |
padding: 20px !important; |
| 195 |
background-color: var(--wgm-white); |
| 196 |
float: left; |
| 197 |
border-radius: 6px; |
| 198 |
} |
| 199 |
|
| 200 |
.gmap_properties { |
| 201 |
width: 100%; |
| 202 |
padding: 0; |
| 203 |
border-spacing: 0; |
| 204 |
} |
| 205 |
|
| 206 |
.gmap_properties tr td { |
| 207 |
padding: 8px 0; |
| 208 |
} |
| 209 |
|
| 210 |
.gmap_properties tr .regular-text { |
| 211 |
width: 100% !important; |
| 212 |
max-width: 100% !important; |
| 213 |
} |
| 214 |
|
| 215 |
/* Map List */ |
| 216 |
.wp-gmap-list { |
| 217 |
padding: 1%; |
| 218 |
float: left; |
| 219 |
width: 97%; |
| 220 |
} |
| 221 |
|
| 222 |
.wp-gmap-single { |
| 223 |
padding: 0.2% 1%; |
| 224 |
float: left; |
| 225 |
width: 97%; |
| 226 |
border: 1px var(--wgm-border-color) solid; |
| 227 |
margin: 7px 0; |
| 228 |
background-color: var(--wgm-bg-light); |
| 229 |
} |
| 230 |
|
| 231 |
.wp-gmap-single-left { |
| 232 |
width: 80%; |
| 233 |
float: left; |
| 234 |
} |
| 235 |
|
| 236 |
.wp-gmap-single-title { |
| 237 |
font-size: 18px; |
| 238 |
font-weight: 600; |
| 239 |
padding: 5px 0; |
| 240 |
} |
| 241 |
|
| 242 |
.wp-gmap-single-action { |
| 243 |
width: 20%; |
| 244 |
padding: 13px 0; |
| 245 |
float: left; |
| 246 |
text-align: right; |
| 247 |
} |
| 248 |
|
| 249 |
.wgm-map-list .wgm-map-item label { |
| 250 |
display: block; |
| 251 |
} |
| 252 |
.wgm-map-list .wgm-map-item input[type="checkbox"] { |
| 253 |
vertical-align: middle; |
| 254 |
} |
| 255 |
|
| 256 |
/* ========================================= |
| 257 |
6. MAP PREVIEW & CONTROLS |
| 258 |
========================================= */ |
| 259 |
.wp-gmap-preview { |
| 260 |
width: 50%; |
| 261 |
background-color: var(--wgm-bg-light); |
| 262 |
margin-left: 1%; |
| 263 |
float: left; |
| 264 |
} |
| 265 |
|
| 266 |
.wp-gmap-preview .wgm_controls { |
| 267 |
margin-top: 10px; |
| 268 |
border: 1px solid transparent; |
| 269 |
border-radius: 2px 0 0 2px; |
| 270 |
box-sizing: border-box; |
| 271 |
-moz-box-sizing: border-box; |
| 272 |
height: 39px; |
| 273 |
outline: none; |
| 274 |
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); |
| 275 |
} |
| 276 |
|
| 277 |
.wp-gmap-preview #wgm_pac_input { |
| 278 |
background-color: var(--wgm-white); |
| 279 |
font-family: var(--wgm-font-family); |
| 280 |
font-size: 15px; |
| 281 |
font-weight: 300; |
| 282 |
margin-left: 12px; |
| 283 |
padding: 0 11px 0 13px; |
| 284 |
text-overflow: ellipsis; |
| 285 |
width: 400px; |
| 286 |
} |
| 287 |
|
| 288 |
.wp-gmap-preview #wgm_pac_input:focus { |
| 289 |
border-color: var(--wgm-secondary); |
| 290 |
} |
| 291 |
|
| 292 |
.pac-container { |
| 293 |
font-family: Roboto; |
| 294 |
z-index: 99999; |
| 295 |
} |
| 296 |
|
| 297 |
#type-selector { |
| 298 |
color: var(--wgm-white); |
| 299 |
background-color: var(--wgm-secondary); |
| 300 |
padding: 5px 11px 0 11px; |
| 301 |
} |
| 302 |
|
| 303 |
#type-selector label { |
| 304 |
font-family: Roboto; |
| 305 |
font-size: 13px; |
| 306 |
font-weight: 300; |
| 307 |
} |
| 308 |
|
| 309 |
#target { |
| 310 |
width: 345px; |
| 311 |
} |
| 312 |
|
| 313 |
#gmap_container_inner { |
| 314 |
background-color: var(--wgm-white); |
| 315 |
float: left; |
| 316 |
width: 100%; |
| 317 |
border: 1px var(--wgm-border-color) solid; |
| 318 |
margin-top: 5px; |
| 319 |
} |
| 320 |
|
| 321 |
.popup-content { |
| 322 |
position: relative; |
| 323 |
width: 60%; |
| 324 |
} |
| 325 |
|
| 326 |
/* ========================================= |
| 327 |
7. FORM ELEMENTS (SWITCHES, BUTTONS, INPUTS) |
| 328 |
========================================= */ |
| 329 |
/* Switches */ |
| 330 |
.wgm_switch { |
| 331 |
position: relative; |
| 332 |
display: inline-block; |
| 333 |
width: 42px; |
| 334 |
height: 24px; |
| 335 |
} |
| 336 |
|
| 337 |
.wgm_switch input { |
| 338 |
position: absolute; |
| 339 |
opacity: 0; |
| 340 |
width: 100%; |
| 341 |
height: 100%; |
| 342 |
margin: 0; |
| 343 |
cursor: pointer; |
| 344 |
z-index: 2; |
| 345 |
} |
| 346 |
|
| 347 |
.wgm_slider { |
| 348 |
position: absolute; |
| 349 |
cursor: pointer; |
| 350 |
top: 0; |
| 351 |
left: 0; |
| 352 |
right: 0; |
| 353 |
bottom: 0; |
| 354 |
background-color: #ccc; |
| 355 |
transition: all 0.3s ease; |
| 356 |
} |
| 357 |
|
| 358 |
.wgm_slider.round { |
| 359 |
border-radius: 24px; |
| 360 |
} |
| 361 |
.wgm_slider.round:before { |
| 362 |
border-radius: 50%; |
| 363 |
} |
| 364 |
|
| 365 |
.wgm_slider:before { |
| 366 |
position: absolute; |
| 367 |
content: ""; |
| 368 |
height: 18px; |
| 369 |
width: 18px; |
| 370 |
left: 3px; |
| 371 |
bottom: 3px; |
| 372 |
background-color: white; |
| 373 |
transition: all 0.3s ease; |
| 374 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); |
| 375 |
} |
| 376 |
|
| 377 |
.wgm_switch input:checked + .wgm_slider { |
| 378 |
background-color: #2196f3; |
| 379 |
} |
| 380 |
.wgm_switch input:focus + .wgm_slider { |
| 381 |
box-shadow: 0 0 1px #2196f3; |
| 382 |
} |
| 383 |
.wgm_switch input:checked + .wgm_slider:before { |
| 384 |
transform: translateX(18px); |
| 385 |
} |
| 386 |
.wgm_switch input:disabled + .wgm_slider { |
| 387 |
opacity: 0.5; |
| 388 |
cursor: not-allowed; |
| 389 |
} |
| 390 |
|
| 391 |
/* Buttons */ |
| 392 |
.button.wgm_btn { |
| 393 |
background-color: #24a97f; |
| 394 |
color: #fff; |
| 395 |
padding: 8px 12px; |
| 396 |
border: none; |
| 397 |
box-shadow: none; |
| 398 |
font-size: 14px; |
| 399 |
height: auto; |
| 400 |
text-transform: uppercase; |
| 401 |
text-shadow: none; |
| 402 |
letter-spacing: 0.05em; |
| 403 |
text-align: center; |
| 404 |
} |
| 405 |
|
| 406 |
.button.wgm_btn:hover, |
| 407 |
.button.wgm_btn:focus { |
| 408 |
background-color: #0c8a62 !important; |
| 409 |
color: #fff; |
| 410 |
} |
| 411 |
|
| 412 |
.wgm_save_btn_wrap { |
| 413 |
margin: 30px 0 20px; |
| 414 |
} |
| 415 |
|
| 416 |
.wgm_btn, |
| 417 |
.wgm_lng_custom_script_settings .button-primary { |
| 418 |
border-radius: 3px; |
| 419 |
background-image: -moz-linear-gradient(-169deg, #5b9dd9 0%, #007cba 100%); |
| 420 |
background-image: -webkit-linear-gradient(-169deg, #5b9dd9 0%, #007cba 100%); |
| 421 |
background-image: -ms-linear-gradient(-169deg, #5b9dd9 0%, #007cba 100%); |
| 422 |
width: 160px; |
| 423 |
height: 50px; |
| 424 |
transition: all 300ms ease-in-out; |
| 425 |
} |
| 426 |
|
| 427 |
.wgm_btn:hover, |
| 428 |
.wgm_btn:focus { |
| 429 |
background-color: #0c8a62 !important; |
| 430 |
} |
| 431 |
|
| 432 |
/* Custom CSS/JS Areas */ |
| 433 |
#wpgmap_custom_js, |
| 434 |
#wpgmap_custom_css { |
| 435 |
background: var(--wgm-bg-dark); |
| 436 |
color: var(--wgm-white) !important; |
| 437 |
padding: 20px 25px; |
| 438 |
border-radius: var(--wgm-radius-sm); |
| 439 |
max-width: 100%; |
| 440 |
min-height: 250px; |
| 441 |
} |
| 442 |
|
| 443 |
/* Fieldset Spacing */ |
| 444 |
.wgm-fieldset-spacing label, |
| 445 |
.wgm-fieldset-spacing .wgm-label, |
| 446 |
.wgm-fieldset-spacing .wgm-checkbox, |
| 447 |
.wgm-fieldset-spacing .wgm-toggle-row, |
| 448 |
.wgm-fieldset-spacing .wgm-select, |
| 449 |
.wgm-fieldset-spacing .wgm-container-controls { |
| 450 |
display: block; |
| 451 |
margin-bottom: 8px; |
| 452 |
} |
| 453 |
.wgm-fieldset-spacing legend { |
| 454 |
margin-bottom: 6px; |
| 455 |
} |
| 456 |
|
| 457 |
/* Control Settings Rows */ |
| 458 |
.wgm-control-setting-row { |
| 459 |
margin-bottom: 15px; |
| 460 |
background: #f9f9f9; |
| 461 |
padding: 12px; |
| 462 |
border-radius: 6px; |
| 463 |
border: 1px solid #e5e5e5; |
| 464 |
transition: background-color 0.2s ease; |
| 465 |
} |
| 466 |
.wgm-control-setting-row:hover { |
| 467 |
background: #f2f2f2; |
| 468 |
} |
| 469 |
.wgm-control-main { |
| 470 |
display: flex; |
| 471 |
align-items: center; |
| 472 |
justify-content: space-between; |
| 473 |
margin-bottom: 10px; |
| 474 |
} |
| 475 |
.wgm-control-title { |
| 476 |
font-weight: 600; |
| 477 |
color: #333; |
| 478 |
} |
| 479 |
.wgm-control-sub { |
| 480 |
display: flex; |
| 481 |
align-items: center; |
| 482 |
justify-content: space-between; |
| 483 |
padding-top: 8px; |
| 484 |
border-top: 1px dashed #ddd; |
| 485 |
} |
| 486 |
.wgm-control-sub-label { |
| 487 |
font-size: 12px; |
| 488 |
color: #666; |
| 489 |
font-weight: 500; |
| 490 |
} |
| 491 |
.wgm-control-setting-row select { |
| 492 |
width: 160px; |
| 493 |
font-size: 13px; |
| 494 |
height: 30px; |
| 495 |
line-height: 1; |
| 496 |
} |
| 497 |
|
| 498 |
/* Toggle Header */ |
| 499 |
.wgm-toggle-header:hover { |
| 500 |
background-color: #f0f0f0; |
| 501 |
} |
| 502 |
.wgm-toggle-header .dashicons { |
| 503 |
transition: transform 0.3s ease; |
| 504 |
transform: rotate(0deg); |
| 505 |
} |
| 506 |
.wgm-toggle-header.active .dashicons { |
| 507 |
transform: rotate(-180deg); |
| 508 |
} |
| 509 |
|
| 510 |
/* ========================================= |
| 511 |
8. MARKERS & LISTING |
| 512 |
========================================= */ |
| 513 |
.wgm_gmap_marker_list { |
| 514 |
width: 100%; |
| 515 |
border: 1px var(--wgm-border-light) solid; |
| 516 |
background-color: var(--wgm-bg-light); |
| 517 |
float: left; |
| 518 |
} |
| 519 |
|
| 520 |
.wgm_gmap_marker_list th { |
| 521 |
text-align: left; |
| 522 |
} |
| 523 |
|
| 524 |
.wgm_gmap_markers { |
| 525 |
float: left; |
| 526 |
width: 100%; |
| 527 |
} |
| 528 |
.wgm_gmap_markers table { |
| 529 |
border: none; |
| 530 |
padding: 0; |
| 531 |
} |
| 532 |
|
| 533 |
.wgm_marker_cancel { |
| 534 |
background: var(--wgm-error) !important; |
| 535 |
border-color: var(--wgm-error) !important; |
| 536 |
} |
| 537 |
.wgm_marker_cancel:hover { |
| 538 |
background-color: #bb2d3b !important; |
| 539 |
border-color: #bb2d3b !important; |
| 540 |
} |
| 541 |
|
| 542 |
.add_new_marker_form input[type="text"] { |
| 543 |
width: 100%; |
| 544 |
} |
| 545 |
|
| 546 |
.wgm_gmap_embed_marker_icons { |
| 547 |
padding: 0 !important; |
| 548 |
margin: 0 !important; |
| 549 |
} |
| 550 |
.wgm_gmap_embed_marker_icons li { |
| 551 |
display: inline; |
| 552 |
padding: 2px; |
| 553 |
margin: 5px; |
| 554 |
border: 1px gray solid; |
| 555 |
width: 50px; |
| 556 |
height: 50px; |
| 557 |
float: left; |
| 558 |
text-align: center; |
| 559 |
cursor: pointer; |
| 560 |
} |
| 561 |
|
| 562 |
.wgm_marker_create_hints { |
| 563 |
height: 59px; |
| 564 |
background-color: white; |
| 565 |
width: 97%; |
| 566 |
box-shadow: 0 0 5px #d0d0d0; |
| 567 |
margin-top: 10px; |
| 568 |
padding: 5px 0 5px 5px; |
| 569 |
display: none; |
| 570 |
} |
| 571 |
.wgm_marker_create_hints ul { |
| 572 |
line-height: 10px; |
| 573 |
list-style: decimal; |
| 574 |
padding-left: 18px; |
| 575 |
} |
| 576 |
.wgm_marker_create_hints ul li b { |
| 577 |
font-style: italic; |
| 578 |
color: blue; |
| 579 |
} |
| 580 |
|
| 581 |
/* Marker Guide */ |
| 582 |
.wgm_marker_quick_guide { |
| 583 |
background-color: #f0f6fb; |
| 584 |
border: 1px solid #dce6f0; |
| 585 |
border-radius: 8px; |
| 586 |
padding: 15px; |
| 587 |
margin-top: 20px; |
| 588 |
width: 98%; |
| 589 |
box-sizing: border-box; |
| 590 |
clear: both; |
| 591 |
} |
| 592 |
.wgm_guide_header { |
| 593 |
display: flex; |
| 594 |
align-items: center; |
| 595 |
gap: 8px; |
| 596 |
margin-bottom: 12px; |
| 597 |
border-bottom: 1px solid #dce6f0; |
| 598 |
padding-bottom: 8px; |
| 599 |
} |
| 600 |
.wgm_guide_header .dashicons { |
| 601 |
color: var(--wgm-primary); |
| 602 |
font-size: 20px; |
| 603 |
width: 20px; |
| 604 |
height: 20px; |
| 605 |
} |
| 606 |
.wgm_guide_header h3 { |
| 607 |
margin: 0; |
| 608 |
font-size: 15px; |
| 609 |
font-weight: 600; |
| 610 |
color: #2c3338; |
| 611 |
} |
| 612 |
.wgm_guide_steps { |
| 613 |
display: flex; |
| 614 |
justify-content: space-between; |
| 615 |
gap: 15px; |
| 616 |
flex-wrap: wrap; |
| 617 |
} |
| 618 |
.wgm_guide_step { |
| 619 |
flex: 1; |
| 620 |
min-width: 200px; |
| 621 |
display: flex; |
| 622 |
gap: 12px; |
| 623 |
background: #fff; |
| 624 |
padding: 10px; |
| 625 |
border-radius: 6px; |
| 626 |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); |
| 627 |
} |
| 628 |
.wgm_step_icon { |
| 629 |
background: #e7f0f7; |
| 630 |
border-radius: 50%; |
| 631 |
width: 32px; |
| 632 |
height: 32px; |
| 633 |
display: flex; |
| 634 |
align-items: center; |
| 635 |
justify-content: center; |
| 636 |
flex-shrink: 0; |
| 637 |
} |
| 638 |
.wgm_step_icon .dashicons { |
| 639 |
color: var(--wgm-primary); |
| 640 |
font-size: 18px; |
| 641 |
width: 18px; |
| 642 |
height: 18px; |
| 643 |
} |
| 644 |
.wgm_step_text strong { |
| 645 |
display: block; |
| 646 |
font-size: 13px; |
| 647 |
margin-bottom: 4px; |
| 648 |
color: #1d2327; |
| 649 |
} |
| 650 |
.wgm_step_text p { |
| 651 |
margin: 0; |
| 652 |
font-size: 12px; |
| 653 |
line-height: 1.4; |
| 654 |
color: #646970; |
| 655 |
} |
| 656 |
@media (max-width: 600px) { |
| 657 |
.wgm_guide_steps { |
| 658 |
flex-direction: column; |
| 659 |
} |
| 660 |
} |
| 661 |
|
| 662 |
/* Listing Styles Carousel */ |
| 663 |
.wgm-style-carousel { |
| 664 |
position: relative; |
| 665 |
margin-top: 6px; |
| 666 |
} |
| 667 |
.wgm-style-viewport { |
| 668 |
overflow: hidden; |
| 669 |
width: 100%; |
| 670 |
} |
| 671 |
.wgm-style-track { |
| 672 |
display: flex; |
| 673 |
gap: 10px; |
| 674 |
transition: transform 300ms ease; |
| 675 |
will-change: transform; |
| 676 |
padding: 6px 2px; |
| 677 |
box-sizing: border-box; |
| 678 |
} |
| 679 |
.wgm-style-card { |
| 680 |
position: relative; |
| 681 |
cursor: pointer; |
| 682 |
border: 1px solid #e1e1e1; |
| 683 |
border-radius: 6px; |
| 684 |
overflow: hidden; |
| 685 |
padding: 6px; |
| 686 |
background: #fff; |
| 687 |
width: 150px; |
| 688 |
box-sizing: border-box; |
| 689 |
flex: 0 0 auto; |
| 690 |
} |
| 691 |
.wgm-style-card input[type="radio"] { |
| 692 |
position: absolute; |
| 693 |
left: -9999px; |
| 694 |
} |
| 695 |
.wgm-style-thumb img { |
| 696 |
display: block; |
| 697 |
width: 138px; |
| 698 |
height: 92px; |
| 699 |
object-fit: cover; |
| 700 |
border-radius: 4px; |
| 701 |
} |
| 702 |
.wgm-style-info { |
| 703 |
display: flex; |
| 704 |
align-items: center; |
| 705 |
justify-content: space-between; |
| 706 |
margin-top: 6px; |
| 707 |
font-size: 13px; |
| 708 |
} |
| 709 |
.wgm-style-selected-dot { |
| 710 |
width: 18px; |
| 711 |
height: 18px; |
| 712 |
border-radius: 50%; |
| 713 |
border: 2px solid #ccc; |
| 714 |
background: #fff; |
| 715 |
display: inline-block; |
| 716 |
box-sizing: border-box; |
| 717 |
} |
| 718 |
.wgm-style-card[aria-checked="true"] { |
| 719 |
border-color: #008dff; |
| 720 |
box-shadow: 0 0 0 4px rgba(0, 141, 255, 0.08); |
| 721 |
} |
| 722 |
.wgm-style-card[aria-checked="true"] .wgm-style-selected-dot { |
| 723 |
background: #008dff; |
| 724 |
border-color: #006fcc; |
| 725 |
} |
| 726 |
.wgm-style-carousel .wgm-carousel-btn { |
| 727 |
position: absolute; |
| 728 |
top: 50%; |
| 729 |
transform: translateY(-50%); |
| 730 |
background: rgba(0, 0, 0, 0.6); |
| 731 |
color: #fff; |
| 732 |
border: none; |
| 733 |
width: 32px; |
| 734 |
height: 32px; |
| 735 |
border-radius: 50%; |
| 736 |
display: flex; |
| 737 |
align-items: center; |
| 738 |
justify-content: center; |
| 739 |
cursor: pointer; |
| 740 |
} |
| 741 |
.wgm-style-carousel .wgm-carousel-prev { |
| 742 |
left: -12px; |
| 743 |
} |
| 744 |
.wgm-style-carousel .wgm-carousel-next { |
| 745 |
right: -12px; |
| 746 |
} |
| 747 |
.wgm-carousel-btn[disabled] { |
| 748 |
opacity: 0.35; |
| 749 |
cursor: default; |
| 750 |
} |
| 751 |
|
| 752 |
/* Placement Selector */ |
| 753 |
.wgm-placement-grid { |
| 754 |
display: grid; |
| 755 |
grid-template-columns: repeat(4, 1fr); |
| 756 |
gap: 5px; |
| 757 |
margin-top: 8px; |
| 758 |
} |
| 759 |
.wgm-placement-btn { |
| 760 |
display: flex; |
| 761 |
flex-direction: column; |
| 762 |
align-items: center; |
| 763 |
justify-content: center; |
| 764 |
padding: 6px 4px; |
| 765 |
border: 1px solid #e1e1e1; |
| 766 |
border-radius: 8px; |
| 767 |
background: #fff; |
| 768 |
cursor: pointer; |
| 769 |
transition: all 0.2s ease; |
| 770 |
text-align: center; |
| 771 |
gap: 3px; |
| 772 |
color: #555; |
| 773 |
font-size: 10px; |
| 774 |
font-weight: 500; |
| 775 |
} |
| 776 |
.wgm-placement-btn i { |
| 777 |
font-size: 13px; |
| 778 |
color: #888; |
| 779 |
} |
| 780 |
.wgm-placement-btn:hover { |
| 781 |
border-color: #008dff; |
| 782 |
background: #f0f8ff; |
| 783 |
} |
| 784 |
.wgm-placement-btn.active { |
| 785 |
border-color: #008dff; |
| 786 |
background: #008dff; |
| 787 |
color: #fff; |
| 788 |
box-shadow: 0 4px 12px rgba(0, 141, 255, 0.2); |
| 789 |
} |
| 790 |
.wgm-placement-btn.active i { |
| 791 |
color: #fff; |
| 792 |
} |
| 793 |
|
| 794 |
/* ========================================= |
| 795 |
9. CATEGORIES MANAGEMENT UI |
| 796 |
========================================= */ |
| 797 |
.wgm-categories-page { |
| 798 |
padding: 10px !important; |
| 799 |
} |
| 800 |
.wgm-categories-container { |
| 801 |
display: flex; |
| 802 |
gap: 15px; |
| 803 |
margin-top: 10px; |
| 804 |
} |
| 805 |
.wgm-category-postbox { |
| 806 |
border: 1px solid var(--wgm-border-color); |
| 807 |
border-radius: var(--wgm-radius-md); |
| 808 |
box-shadow: var(--wgm-shadow-sm); |
| 809 |
margin-bottom: 0 !important; |
| 810 |
position: relative; |
| 811 |
overflow: hidden; |
| 812 |
} |
| 813 |
.wgm-locked-feature { |
| 814 |
filter: grayscale(1); |
| 815 |
pointer-events: none; |
| 816 |
user-select: none; |
| 817 |
opacity: 1; |
| 818 |
} |
| 819 |
.wgm-lock-overlay { |
| 820 |
transition: var(--wgm-transition-fast); |
| 821 |
} |
| 822 |
.wgm-lock-overlay:hover { |
| 823 |
background: rgba(255, 255, 255, 0.6) !important; |
| 824 |
} |
| 825 |
.wgm-category-postbox .postbox-header { |
| 826 |
padding: 8px 12px !important; |
| 827 |
border-bottom: 1px solid var(--wgm-border-light); |
| 828 |
background: transparent; |
| 829 |
} |
| 830 |
.wgm-category-postbox .hndle { |
| 831 |
margin: 0 !important; |
| 832 |
padding: 0 !important; |
| 833 |
font-size: 14px !important; |
| 834 |
font-weight: 600 !important; |
| 835 |
border: none !important; |
| 836 |
} |
| 837 |
.wgm-category-inside { |
| 838 |
padding: 12px !important; |
| 839 |
} |
| 840 |
.wgm-category-inside .wgm-field-group { |
| 841 |
margin-bottom: 10px; |
| 842 |
} |
| 843 |
.wgm-category-inside label { |
| 844 |
display: block; |
| 845 |
margin-bottom: 2px; |
| 846 |
font-size: 13px; |
| 847 |
color: var(--wgm-text-primary); |
| 848 |
} |
| 849 |
.wgm-category-inside input[type="text"], |
| 850 |
.wgm-category-inside select { |
| 851 |
box-sizing: border-box; |
| 852 |
height: 32px; |
| 853 |
padding: 0 8px; |
| 854 |
font-size: 13px; |
| 855 |
border: 1px solid var(--wgm-border-color); |
| 856 |
border-radius: var(--wgm-radius-sm); |
| 857 |
box-shadow: none; |
| 858 |
transition: var(--wgm-transition-fast); |
| 859 |
} |
| 860 |
.wgm-category-inside input[type="text"]:focus, |
| 861 |
.wgm-category-inside select:focus { |
| 862 |
border-color: var(--wgm-primary); |
| 863 |
box-shadow: 0 0 0 1px var(--wgm-primary); |
| 864 |
outline: none; |
| 865 |
} |
| 866 |
.wgm-icon-picker-wrap { |
| 867 |
display: flex; |
| 868 |
align-items: center; |
| 869 |
gap: 10px; |
| 870 |
margin-top: 2px; |
| 871 |
} |
| 872 |
.wgm-icon-actions { |
| 873 |
display: flex; |
| 874 |
flex-wrap: wrap; |
| 875 |
gap: 5px; |
| 876 |
} |
| 877 |
.wgm-form-actions { |
| 878 |
display: flex; |
| 879 |
align-items: center; |
| 880 |
gap: 8px; |
| 881 |
margin-top: 15px; |
| 882 |
padding-top: 12px; |
| 883 |
border-top: 1px solid var(--wgm-border-light); |
| 884 |
} |
| 885 |
#wgm-categories-table_wrapper .dataTables_length select { |
| 886 |
width: 60px !important; |
| 887 |
padding: 0 20px 0 8px !important; |
| 888 |
height: 32px !important; |
| 889 |
line-height: 32px !important; |
| 890 |
margin: 0 5px !important; |
| 891 |
vertical-align: middle !important; |
| 892 |
} |
| 893 |
#wgm-categories-table thead th { |
| 894 |
background-color: var(--wgm-bg-light); |
| 895 |
border-bottom: 2px solid var(--wgm-border-color); |
| 896 |
padding: 8px 10px; |
| 897 |
font-weight: 600; |
| 898 |
text-align: left; |
| 899 |
font-size: 13px; |
| 900 |
} |
| 901 |
#wgm-categories-table tbody td { |
| 902 |
padding: 8px 10px; |
| 903 |
vertical-align: middle; |
| 904 |
border-bottom: 1px solid var(--wgm-border-light); |
| 905 |
font-size: 13px; |
| 906 |
} |
| 907 |
#wgm-categories-table td:nth-child(1), |
| 908 |
#wgm-categories-table td:nth-child(2) { |
| 909 |
text-align: center; |
| 910 |
} |
| 911 |
.wgm-edit-category, |
| 912 |
.wgm-delete-category { |
| 913 |
padding: 3px 8px !important; |
| 914 |
font-size: 11px !important; |
| 915 |
margin-right: 3px !important; |
| 916 |
} |
| 917 |
@media (max-width: 960px) { |
| 918 |
.wgm-categories-container { |
| 919 |
flex-direction: column !important; |
| 920 |
} |
| 921 |
.wgm-category-form-col { |
| 922 |
flex: 1 1 100% !important; |
| 923 |
max-width: 100% !important; |
| 924 |
} |
| 925 |
} |
| 926 |
|
| 927 |
/* ========================================= |
| 928 |
10. BANNERS, NOTICES & SUPPORT |
| 929 |
========================================= */ |
| 930 |
/* Pro Banner */ |
| 931 |
.wgm-upgrade-banner { |
| 932 |
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important; |
| 933 |
color: #ffffff !important; |
| 934 |
padding: 18px 25px !important; |
| 935 |
border-radius: 12px !important; |
| 936 |
margin: 20px 0 !important; |
| 937 |
box-shadow: 0 6px 15px rgba(118, 75, 162, 0.25) !important; |
| 938 |
display: flex !important; |
| 939 |
align-items: center !important; |
| 940 |
gap: 20px !important; |
| 941 |
position: relative !important; |
| 942 |
overflow: hidden !important; |
| 943 |
border: 1px solid rgba(255, 255, 255, 0.1) !important; |
| 944 |
} |
| 945 |
.wgm-upgrade-banner::before { |
| 946 |
content: ""; |
| 947 |
position: absolute; |
| 948 |
top: -50%; |
| 949 |
left: -20%; |
| 950 |
width: 140%; |
| 951 |
height: 200%; |
| 952 |
background: radial-gradient( |
| 953 |
circle, |
| 954 |
rgba(255, 255, 255, 0.1) 0%, |
| 955 |
transparent 70% |
| 956 |
); |
| 957 |
pointer-events: none; |
| 958 |
} |
| 959 |
.wgm-upgrade-banner-icon { |
| 960 |
background: rgba(255, 255, 255, 0.2); |
| 961 |
width: 48px; |
| 962 |
height: 48px; |
| 963 |
border-radius: 10px; |
| 964 |
display: flex; |
| 965 |
align-items: center; |
| 966 |
justify-content: center; |
| 967 |
flex-shrink: 0; |
| 968 |
backdrop-filter: blur(4px); |
| 969 |
} |
| 970 |
.wgm-upgrade-banner-icon .dashicons { |
| 971 |
font-size: 28px; |
| 972 |
width: 28px; |
| 973 |
height: 28px; |
| 974 |
color: #ffd700; |
| 975 |
} |
| 976 |
.wgm-upgrade-banner-content { |
| 977 |
flex: 1; |
| 978 |
} |
| 979 |
.wgm-upgrade-banner-content p { |
| 980 |
margin: 0 !important; |
| 981 |
font-size: 15px !important; |
| 982 |
line-height: 1.5 !important; |
| 983 |
font-weight: 500 !important; |
| 984 |
color: #ffffff !important; |
| 985 |
} |
| 986 |
.wgm-upgrade-banner-content p b { |
| 987 |
color: #ffd700 !important; |
| 988 |
} |
| 989 |
.wgm-upgrade-banner-btn { |
| 990 |
background: #ffffff !important; |
| 991 |
color: #667eea !important; |
| 992 |
padding: 10px 22px !important; |
| 993 |
font-weight: 700 !important; |
| 994 |
border-radius: 8px !important; |
| 995 |
text-decoration: none !important; |
| 996 |
font-size: 14px !important; |
| 997 |
transition: all 0.3s ease !important; |
| 998 |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important; |
| 999 |
border: none !important; |
| 1000 |
white-space: nowrap !important; |
| 1001 |
display: inline-block !important; |
| 1002 |
} |
| 1003 |
.wgm-upgrade-banner-btn:hover { |
| 1004 |
background: #f8f9fa !important; |
| 1005 |
transform: translateY(-2px) !important; |
| 1006 |
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2) !important; |
| 1007 |
color: #764ba2 !important; |
| 1008 |
} |
| 1009 |
@media screen and (max-width: 768px) { |
| 1010 |
.wgm-upgrade-banner { |
| 1011 |
flex-direction: column !important; |
| 1012 |
text-align: center !important; |
| 1013 |
padding: 25px 20px !important; |
| 1014 |
gap: 15px !important; |
| 1015 |
} |
| 1016 |
.wgm-upgrade-banner-icon { |
| 1017 |
margin: 0 auto !important; |
| 1018 |
} |
| 1019 |
.wgm-upgrade-banner-btn { |
| 1020 |
width: 100% !important; |
| 1021 |
box-sizing: border-box !important; |
| 1022 |
} |
| 1023 |
} |
| 1024 |
|
| 1025 |
/* Premium Notices */ |
| 1026 |
.wpgmap_premium_notice_title { |
| 1027 |
color: #0073aa; |
| 1028 |
font-size: 2em; |
| 1029 |
margin: 0.67em 0; |
| 1030 |
display: block; |
| 1031 |
font-weight: 600; |
| 1032 |
text-align: center; |
| 1033 |
} |
| 1034 |
.wpgmap_premium_notice_button { |
| 1035 |
background-color: #0073aa; |
| 1036 |
color: white; |
| 1037 |
padding: 15px; |
| 1038 |
font-size: 20px; |
| 1039 |
font-weight: bold; |
| 1040 |
text-align: center; |
| 1041 |
text-decoration: none; |
| 1042 |
border-radius: 12px; |
| 1043 |
box-shadow: 0 0 14px grey; |
| 1044 |
} |
| 1045 |
.wpgmap_pro_version_title { |
| 1046 |
color: #0073aa; |
| 1047 |
font-size: 2em; |
| 1048 |
margin: 0.67em 0; |
| 1049 |
display: block; |
| 1050 |
font-weight: 600; |
| 1051 |
padding-left: 55px; |
| 1052 |
} |
| 1053 |
.wpgmap_features_list { |
| 1054 |
padding-left: 51px; |
| 1055 |
} |
| 1056 |
|
| 1057 |
/* Pro Label */ |
| 1058 |
.wgm-pro-label { |
| 1059 |
margin-left: 5px; |
| 1060 |
margin-right: 5px; |
| 1061 |
font-size: 10px; |
| 1062 |
color: #ffffff; |
| 1063 |
text-transform: uppercase; |
| 1064 |
text-align: center; |
| 1065 |
position: relative; |
| 1066 |
top: -6px; |
| 1067 |
line-height: 1; |
| 1068 |
padding: 3px 6px; |
| 1069 |
border-radius: 2px; |
| 1070 |
background-image: -moz-linear-gradient( |
| 1071 |
-122deg, |
| 1072 |
rgb(91 211 160) 0%, |
| 1073 |
rgb(54 214 146) 100% |
| 1074 |
); |
| 1075 |
background-image: -webkit-linear-gradient( |
| 1076 |
-122deg, |
| 1077 |
rgb(91 211 160) 0%, |
| 1078 |
rgb(54 214 146) 100% |
| 1079 |
); |
| 1080 |
} |
| 1081 |
|
| 1082 |
/* Support Dashboard Blocks (Legacy Support UI) */ |
| 1083 |
.wgm_admin_support_wrapper { |
| 1084 |
width: 100%; |
| 1085 |
display: flex; |
| 1086 |
margin-top: 5px; |
| 1087 |
} |
| 1088 |
.wgm_admin_support_wrapper .wgm_admin_block { |
| 1089 |
flex-basis: 100%; |
| 1090 |
margin: 0 0.2%; |
| 1091 |
background-color: white; |
| 1092 |
box-shadow: 0 0 5px #e8e8e8; |
| 1093 |
border: 1px solid #ece8e8; |
| 1094 |
} |
| 1095 |
.wgm_admin_block_header { |
| 1096 |
display: flex; |
| 1097 |
align-content: center; |
| 1098 |
align-items: center; |
| 1099 |
padding: 10px 0 0 10px; |
| 1100 |
} |
| 1101 |
.wgm_admin_block_header_icon { |
| 1102 |
height: 40px; |
| 1103 |
width: 40px; |
| 1104 |
background: #f3edff; |
| 1105 |
padding: 10px; |
| 1106 |
box-sizing: border-box; |
| 1107 |
border-radius: 50%; |
| 1108 |
text-align: center; |
| 1109 |
color: #32c896; |
| 1110 |
font-size: 18px; |
| 1111 |
} |
| 1112 |
.wgm_admin_title { |
| 1113 |
margin: 0.7em 0 1em; |
| 1114 |
padding: 0 0 0 5px; |
| 1115 |
font-size: 18px; |
| 1116 |
font-weight: 600; |
| 1117 |
text-overflow: ellipsis; |
| 1118 |
white-space: nowrap; |
| 1119 |
color: #333333; |
| 1120 |
} |
| 1121 |
.wgm_admin_block_content { |
| 1122 |
overflow: hidden; |
| 1123 |
position: relative; |
| 1124 |
padding: 0 15px 12px 15px; |
| 1125 |
} |
| 1126 |
.wgm_admin_block_content .wgm_button { |
| 1127 |
font-size: 13px; |
| 1128 |
border-radius: 3px; |
| 1129 |
background-image: -webkit-linear-gradient( |
| 1130 |
-169deg, |
| 1131 |
rgb(104 204 176) 0%, |
| 1132 |
rgb(28 204 139) 100% |
| 1133 |
); |
| 1134 |
background-image: -ms-linear-gradient( |
| 1135 |
-169deg, |
| 1136 |
rgb(104 204 176) 0%, |
| 1137 |
rgb(28 204 139) 100% |
| 1138 |
); |
| 1139 |
box-shadow: 0 14px 15px 0 rgba(0, 5, 41, 0.08); |
| 1140 |
color: #fff; |
| 1141 |
display: inline-block; |
| 1142 |
padding: 8px 8px; |
| 1143 |
text-decoration: none; |
| 1144 |
line-height: 1; |
| 1145 |
transition: all 0.3s; |
| 1146 |
} |
| 1147 |
.wgm_admin_support_wrapper p { |
| 1148 |
font-size: 13px; |
| 1149 |
color: #707070; |
| 1150 |
margin: 0 0 20px 0; |
| 1151 |
line-height: 21px; |
| 1152 |
} |
| 1153 |
.wgm_admin_block_content .wgm_gmap_instructions { |
| 1154 |
padding: 0 0 12px 19px; |
| 1155 |
} |
| 1156 |
.wgm_admin_block_content .wgm_gmap_instructions ul li a { |
| 1157 |
text-decoration: none; |
| 1158 |
} |
| 1159 |
.wgm_admin_block_content .wgm_gmap_instructions ul li a i, |
| 1160 |
.wgm_faq_item i { |
| 1161 |
margin-right: 8px; |
| 1162 |
} |
| 1163 |
.wgm_admin_block_content .wgm_gmap_instructions ul li { |
| 1164 |
background-color: #e0e0e040; |
| 1165 |
padding: 4px 0 4px 6px; |
| 1166 |
border-left: 2px solid #5eccac; |
| 1167 |
margin: 9px 0; |
| 1168 |
} |
| 1169 |
|
| 1170 |
.swal2-title { |
| 1171 |
line-height: normal; |
| 1172 |
} |
| 1173 |
|
| 1174 |
/* Datatables */ |
| 1175 |
#wgm_all_maps .dataTables_wrapper .dataTables_length select, |
| 1176 |
#wp-gmap-new .dataTables_wrapper .dataTables_length select, |
| 1177 |
#wp-gmap-edit .dataTables_wrapper .dataTables_length select { |
| 1178 |
width: 50px !important; |
| 1179 |
padding: 0 0 0 5px !important; |
| 1180 |
} |
| 1181 |
#wgm_all_maps .dataTables_wrapper .dataTables_filter input, |
| 1182 |
#wp-gmap-new .dataTables_wrapper .dataTables_filter input, |
| 1183 |
#wp-gmap-edit .dataTables_wrapper .dataTables_filter input { |
| 1184 |
padding: 0 0 0 5px !important; |
| 1185 |
} |
| 1186 |
|
| 1187 |
/* Link Areas */ |
| 1188 |
.gmap_embed_create_new_link_area { |
| 1189 |
width: 40%; |
| 1190 |
margin: 30px auto; |
| 1191 |
} |
| 1192 |
.gmap_embed_create_new_link_area a { |
| 1193 |
padding: 9px; |
| 1194 |
margin-left: 100px; |
| 1195 |
border-radius: 5px; |
| 1196 |
background-color: #0073aa; |
| 1197 |
color: white; |
| 1198 |
text-decoration: none; |
| 1199 |
font-weight: bold; |
| 1200 |
font-size: 14px; |
| 1201 |
} |
| 1202 |
.wpgmapembed_get_api_key, |
| 1203 |
.wpgmap_lng_custom_script_settings { |
| 1204 |
padding: 10px; |
| 1205 |
} |
| 1206 |
|