Changeset 2418233
- Timestamp:
- 11/13/2020 08:30:09 PM (5 years ago)
- Location:
- osm-map-elementor
- Files:
-
- 34 added
- 2 edited
-
tags/1.0.0/LICENSE.txt (added)
-
tags/1.0.0/README.md (added)
-
tags/1.0.0/assets (added)
-
tags/1.0.0/assets/css (added)
-
tags/1.0.0/assets/css/admin.css (added)
-
tags/1.0.0/assets/css/mapbox-gl.css (added)
-
tags/1.0.0/assets/js (added)
-
tags/1.0.0/assets/js/mapbox-gl.js (added)
-
tags/1.0.0/assets/js/mapbox-gl.js.map (added)
-
tags/1.0.0/assets/js/osm-map-controls.js (added)
-
tags/1.0.0/assets/leaflet (added)
-
tags/1.0.0/assets/leaflet/images (added)
-
tags/1.0.0/assets/leaflet/images/layers-2x.png (added)
-
tags/1.0.0/assets/leaflet/images/layers.png (added)
-
tags/1.0.0/assets/leaflet/images/marker-icon-2x.png (added)
-
tags/1.0.0/assets/leaflet/images/marker-icon.png (added)
-
tags/1.0.0/assets/leaflet/images/marker-shadow.png (added)
-
tags/1.0.0/assets/leaflet/leaflet-mapbox-gl.js (added)
-
tags/1.0.0/assets/leaflet/leaflet-src.esm.js (added)
-
tags/1.0.0/assets/leaflet/leaflet-src.esm.js.map (added)
-
tags/1.0.0/assets/leaflet/leaflet-src.js (added)
-
tags/1.0.0/assets/leaflet/leaflet-src.js.map (added)
-
tags/1.0.0/assets/leaflet/leaflet.css (added)
-
tags/1.0.0/assets/leaflet/leaflet.js (added)
-
tags/1.0.0/assets/leaflet/leaflet.js.map (added)
-
tags/1.0.0/assets/screenshot-1.jpg (added)
-
tags/1.0.0/assets/screenshot-2.jpg (added)
-
tags/1.0.0/assets/screenshot-3.jpg (added)
-
tags/1.0.0/assets/screenshot-4.jpg (added)
-
tags/1.0.0/assets/screenshot-5.jpg (added)
-
tags/1.0.0/constants.php (added)
-
tags/1.0.0/osm-map-elementor.php (added)
-
tags/1.0.0/osm-map.php (added)
-
tags/1.0.0/readme.txt (added)
-
trunk/osm-map.php (modified) (13 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
osm-map-elementor/trunk/osm-map.php
r2384677 r2418233 432 432 'type' => \Elementor\Controls_Manager::COLOR, 433 433 'global' => [ 434 'default' => Global_Colors::COLOR_ PRIMARY,435 ], 436 'selectors' => [ 437 '{{WRAPPER}} .marker-title ' => 'color: {{VALUE}};',434 'default' => Global_Colors::COLOR_SECONDARY, 435 ], 436 'selectors' => [ 437 '{{WRAPPER}} .marker-title .elementor-heading-title' => 'color: {{VALUE}};', 438 438 ], 439 439 ] … … 443 443 \Elementor\Group_Control_Typography::get_type(), 444 444 [ 445 'name' => 't ypography',445 'name' => 'title_typography', 446 446 'global' => [ 447 447 'default' => Global_Typography::TYPOGRAPHY_PRIMARY, 448 448 ], 449 'selector' => '{{WRAPPER}} .marker-title ',449 'selector' => '{{WRAPPER}} .marker-title .elementor-heading-title', 450 450 ] 451 451 ); … … 454 454 \Elementor\Group_Control_Text_Shadow::get_type(), 455 455 [ 456 'name' => 'text_shadow', 457 'selector' => '{{WRAPPER}} .marker-title', 456 'name' => 'title_text_shadow', 457 'selector' => '{{WRAPPER}} .marker-title .elementor-heading-title', 458 ] 459 ); 460 461 $this->add_responsive_control( 462 'title_padding', 463 [ 464 'label' => __('Padding', self::$slug), 465 'type' => \Elementor\Controls_Manager::DIMENSIONS, 466 'size_units' => ['px', 'em', '%'], 467 'selectors' => [ 468 '{{WRAPPER}} .marker-title .elementor-heading-title' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 469 ], 470 'separator' => 'before', 471 ] 472 ); 473 474 $this->add_responsive_control( 475 'title_margin', 476 [ 477 'label' => __('Margin', self::$slug), 478 'type' => \Elementor\Controls_Manager::DIMENSIONS, 479 'size_units' => ['px', 'em', '%'], 480 'default' => [ 481 'top' => 0, 482 'right' => 0, 483 'bottom' => 0, 484 'left' => 0, 485 'unit' => 'px' 486 ], 487 'selectors' => [ 488 '{{WRAPPER}} .marker-title .elementor-heading-title' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 489 ], 490 'separator' => 'before', 458 491 ] 459 492 ); … … 504 537 'label' => __('Text Color', self::$slug), 505 538 'type' => \Elementor\Controls_Manager::COLOR, 506 'default' => '',507 539 'selectors' => [ 508 540 '{{WRAPPER}} .marker-content .marker-description' => 'color: {{VALUE}};', … … 594 626 'label' => __('Text Color', self::$slug), 595 627 'type' => \Elementor\Controls_Manager::COLOR, 596 'default' => '', 628 'global' => [ 629 'default' => Global_Colors::COLOR_SECONDARY 630 ], 597 631 'selectors' => [ 598 632 '{{WRAPPER}} .elementor-button' => 'fill: {{VALUE}}; color: {{VALUE}};', … … 602 636 603 637 $this->add_control( 604 'b ackground_color',638 'button_background_color', 605 639 [ 606 640 'label' => __('Background Color', self::$slug), 607 641 'type' => \Elementor\Controls_Manager::COLOR, 608 642 'global' => [ 609 'default' => Global_Colors::COLOR_ ACCENT,643 'default' => Global_Colors::COLOR_PRIMARY, 610 644 ], 611 645 'selectors' => [ … … 625 659 626 660 $this->add_control( 627 ' hover_color',661 'button_hover_color', 628 662 [ 629 663 'label' => __('Text Color', self::$slug), … … 662 696 663 697 $this->add_control( 664 ' hover_animation',698 'button_hover_animation', 665 699 [ 666 700 'label' => __('Hover Animation', self::$slug), … … 676 710 \Elementor\Group_Control_Border::get_type(), 677 711 [ 678 'name' => 'b order',712 'name' => 'button_border', 679 713 'selector' => '{{WRAPPER}} .elementor-button', 680 714 'separator' => 'before', … … 683 717 684 718 $this->add_control( 685 'b order_radius',719 'button_border_radius', 686 720 [ 687 721 'label' => __('Border Radius', self::$slug), … … 703 737 704 738 $this->add_responsive_control( 705 ' text_padding',739 'button_text_padding', 706 740 [ 707 741 'label' => __('Padding', self::$slug), … … 821 855 // add marker title 822 856 if (this.marker.marker_title) { 823 tooltipContent += `<div class="marker-title"> ${this.marker.marker_title}</div>`;857 tooltipContent += `<div class="marker-title"><h5 class="elementor-heading-title elementor-size-default">${this.marker.marker_title}</h5></div>`; 824 858 } 825 859 … … 834 868 // add marker button 835 869 if (this.marker.show_button === 'yes' && this.marker.button_text) { 836 tooltipContent += `<div class="marker-button"><a class="elementor-button" target="_blank" href='${this.marker.button_url}'>${this.marker.button_text}</a></div>`; 870 tooltipContent += `<div class="marker-button"> 871 <a class="elementor-button elementor-button-link" target="_blank" href='${this.marker.button_url}' role="button"> 872 <span class="elementor-button-content-wrapper"> 873 <span class="elementor-button-text"> 874 ${this.marker.button_text} 875 </span> 876 </span> 877 </a> 878 </div>`; 837 879 } 838 880 -
osm-map-elementor/trunk/readme.txt
r2384663 r2418233 1 1 === OSM Map Widget for Elementor === 2 2 Plugin Name: OSM Map Widget for Elementor 3 Version: 1.0. 23 Version: 1.0.3 4 4 Author: ACT Innovate, James Arama, Alex Hooten 5 5 Author URI: https://github.com/flopperj/osm-map-elementor … … 8 8 Tested up to: 5.5.1 9 9 Requires PHP: 5.6 10 Stable tag: 1.0. 110 Stable tag: 1.0.3 11 11 License: GPLv3 12 12 License URI: https://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset
for help on using the changeset viewer.