Файловый менеджер - Редактировать - /home/adiggxhn/it-latam.com/wp-content/uploads/elementor-widget/class-pxl-button.php
Ðазад
<?php class PxlButton_Widget extends Pxltheme_Core_Widget_Base{ protected $name = 'pxl_button'; protected $title = 'Case Button'; protected $icon = 'eicon-button'; protected $categories = array( 'pxltheme-core' ); protected $params = '{"sections":[{"name":"section_content","label":"Content","tab":"content","controls":[{"name":"btn_style","label":"Type","type":"select","default":"btn-default","options":{"btn-default":"Default","btn-text-underline":"Text Underline","btn-cycle":"Cycle","btn-icon-box":"Icon Box"}},{"name":"text","label":"Text","type":"text","default":"Click Here"},{"name":"btn_action","label":"Action","type":"select","default":"pxl-atc-link","options":{"pxl-atc-link":"Link","pxl-atc-popup":"Popup"}},{"name":"link","label":"Link","type":"url","default":{"url":"#"},"condition":{"btn_action":["pxl-atc-link"]}},{"name":"popup_template","label":"Select Popup Template","type":"select","options":["None"],"default":"df","description":"Add new tab template: \"<a href=\"https:\/\/it-latam.com\/wp-admin\/edit.php?post_type=pxl-template\" target=\"_blank\">Click Here<\/a>\"","condition":{"btn_action":["pxl-atc-popup"]}},{"name":"align","label":"Alignment","type":"choose","control_type":"responsive","options":{"left":{"title":"Left","icon":"fa fa-align-left"},"center":{"title":"Center","icon":"fa fa-align-center"},"right":{"title":"Right","icon":"fa fa-align-right"},"justify":{"title":"Justified","icon":"fa fa-align-justify"}},"prefix_class":"elementor-align-","default":"","selectors":{"{{WRAPPER}} .pxl-button":"text-align: {{VALUE}}"}},{"name":"btn_icon","label":"Icon","type":"icons","label_block":true,"fa4compatibility":"icon"},{"name":"icon_align","label":"Icon Position","type":"select","default":"left","options":{"left":"Before","right":"After"}}]},{"name":"section_style_button","label":"Button Normal","tab":"style","controls":[{"name":"color","label":"Color","type":"color","selectors":{"{{WRAPPER}} .pxl-button .btn":"color: {{VALUE}};"}},{"name":"btn_divider_color","label":"Divider Color","type":"color","selectors":{"{{WRAPPER}} .pxl-button .btn .pxl--btn-text:before":"background-color: {{VALUE}};"},"condition":{"btn_style":["btn-text-underline"]}},{"name":"btn_bg_color","label":"Background Color","type":"color","selectors":{"{{WRAPPER}} .pxl-button .btn":"background: {{VALUE}};"},"condition":{"btn_style!":["btn-text-underline","btn-gradient-rotate","btn-gradient-horizontal","btn-gradient-horizontal2"]}},{"name":"btn_typography","label":"Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-button .btn"},{"name":"btn_box_shadow","label":"Box Shadow","type":"box-shadow","control_type":"group","selector":"{{WRAPPER}} .pxl-button .btn"},{"name":"border_type","label":"Border Type","type":"select","options":{"":"None","solid":"Solid","double":"Double","dotted":"Dotted","dashed":"Dashed","groove":"Groove"},"selectors":{"{{WRAPPER}} .pxl-button .btn":"border-style: {{VALUE}} !important;"},"condition":{"btn_style":["btn-default"]}},{"name":"border_width","label":"Border Width","type":"dimensions","selectors":{"{{WRAPPER}} .pxl-button .btn":"border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;"},"condition":{"border_type!":"","btn_style":["btn-default"]},"responsive":true},{"name":"border_color","label":"Border Color","type":"color","default":"","selectors":{"{{WRAPPER}} .pxl-button .btn":"border-color: {{VALUE}} !important;"},"condition":{"border_type!":"","btn_style":["btn-default"]}},{"name":"btn_border_radius","label":"Border Radius","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .pxl-button .btn":"border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"}},{"name":"btn_padding","label":"Padding","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .pxl-button .btn":"padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"},"control_type":"responsive"},{"name":"text_inner_margin","label":"Text Inner Margin","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .pxl-button .btn .pxl--btn-text":"margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"},"control_type":"responsive"},{"name":"btn_full_width","label":"Full Width","type":"select","options":{"btn-block-inline":"No","btn-block":"Yes"},"default":"btn-block-inline"}]},{"name":"section_style_button_hover","label":"Button Hover","tab":"style","controls":[{"name":"color_hover","label":"Color Hover","type":"color","selectors":{"{{WRAPPER}} .pxl-button .btn:hover, {{WRAPPER}} .pxl-button .btn:focus":"color: {{VALUE}};"}},{"name":"btn_bg_color_hover","label":"Background Color","type":"color","selectors":{"{{WRAPPER}} .pxl-button .btn:hover, {{WRAPPER}} .pxl-button .btn:focus":"background: {{VALUE}};"},"condition":{"btn_style!":["btn-text-underline","btn-gradient-rotate","btn-gradient-horizontal","btn-gradient-horizontal2"]}},{"name":"border_type_hover","label":"Border Type","type":"select","options":{"":"None","solid":"Solid","double":"Double","dotted":"Dotted","dashed":"Dashed","groove":"Groove"},"selectors":{"{{WRAPPER}} .pxl-button .btn:hover":"border-style: {{VALUE}} !important;"},"condition":{"btn_style":["btn-default"]}},{"name":"border_width_hover","label":"Border Width","type":"dimensions","selectors":{"{{WRAPPER}} .pxl-button .btn:hover":"border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;"},"condition":{"border_type_hover!":"","btn_style":["btn-default"]},"responsive":true},{"name":"border_color_hover","label":"Border Color","type":"color","default":"","selectors":{"{{WRAPPER}} .pxl-button .btn:hover":"border-color: {{VALUE}} !important;"},"condition":{"border_type_hover!":"","btn_style":["btn-default"]}},{"name":"btn_border_radius_hover","label":"Border Radius","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .pxl-button .btn:hover, {{WRAPPER}} .pxl-button .btn:focus":"border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"}},{"name":"btn_box_shadow_hover","label":"Box Shadow","type":"box-shadow","control_type":"group","selector":"{{WRAPPER}} .pxl-button .btn:hover, {{WRAPPER}} .pxl-button .btn:focus"},{"name":"btn_text_effect","label":"Text Effect","type":"select","default":"","options":{"":"Default","btn-text-nina":"Nina","btn-text-nanuk":"Nanuk","btn-text-parallax":"Parallax"}}]},{"name":"section_style_icon","label":"Icon","tab":"style","controls":[{"name":"icon_color","label":"Color","type":"color","selectors":{"{{WRAPPER}} .pxl-button .btn .pxl--btn-icon":"color: {{VALUE}};","{{WRAPPER}} .pxl-button .btn svg":"fill: {{VALUE}};"}},{"name":"icon_font_size","label":"Font Size","type":"slider","control_type":"responsive","size_units":["px"],"range":{"px":{"min":0,"max":300}},"selectors":{"{{WRAPPER}} .pxl-button .btn .pxl--btn-icon":"font-size: {{SIZE}}{{UNIT}};","{{WRAPPER}} .pxl-button .btn svg":"height: {{SIZE}}{{UNIT}};"}},{"name":"icon_space_left","label":"Icon Spacer","type":"slider","control_type":"responsive","size_units":["px"],"range":{"px":{"min":0,"max":300}},"default":{"size":9},"selectors":{"{{WRAPPER}} .pxl-button .pxl-icon--left .pxl--btn-icon":"margin-right: {{SIZE}}{{UNIT}};"},"condition":{"icon_align":["left"]}},{"name":"icon_space_right","label":"Icon Spacer","type":"slider","control_type":"responsive","size_units":["px"],"range":{"px":{"min":0,"max":300}},"default":{"size":9},"selectors":{"{{WRAPPER}} .pxl-button .pxl-icon--right .pxl--btn-icon":"margin-left: {{SIZE}}{{UNIT}};"},"condition":{"icon_align":["right"]}},{"name":"icon_box_color","label":"Box Color Main","type":"color","default":"","selectors":{"{{WRAPPER}} .btn.pxl-icon-active .pxl--btn-icon":"background-color: {{VALUE}};--gradient-color-from2: {{VALUE}};"}},{"name":"icon_box_color_gradient","label":"Box Color Gradient","type":"color","default":"","selectors":{"{{WRAPPER}} .btn.pxl-icon-active .pxl--btn-icon":"--gradient-color-to2: {{VALUE}};"}},{"name":"icon_box_width","label":"Box Width","type":"slider","size_units":["px"],"range":{"px":{"min":0,"max":300}},"selectors":{"{{WRAPPER}} .btn.pxl-icon-active .pxl--btn-icon":"width: {{SIZE}}{{UNIT}};"}},{"name":"icon_box_height","label":"Box Height","type":"slider","size_units":["px"],"range":{"px":{"min":0,"max":300}},"selectors":{"{{WRAPPER}} .btn.pxl-icon-active .pxl--btn-icon":"height: {{SIZE}}{{UNIT}};"}},{"name":"icon_border_radius","label":"Border Radius","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .btn.pxl-icon-active .pxl--btn-icon":"border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"}},{"name":"icon_margin","label":"Margin","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .btn.pxl-icon-active .pxl--btn-icon":"margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"},"control_type":"responsive"}]},{"name":"section_animation","label":"Animation","tab":"style","condition":[],"controls":[{"name":"pxl_animate","label":"Case Animate","type":"select","options":{"":"None","wow bounce":"bounce","wow flash":"flash","wow pulse":"pulse","wow rubberBand":"rubberBand","wow shake":"shake","wow swing":"swing","wow tada":"tada","wow wobble":"wobble","wow bounceIn":"bounceIn","wow bounceInDown":"bounceInDown","wow bounceInLeft":"bounceInLeft","wow bounceInRight":"bounceInRight","wow bounceInUp":"bounceInUp","wow bounceOut":"bounceOut","wow bounceOutDown":"bounceOutDown","wow bounceOutLeft":"bounceOutLeft","wow bounceOutRight":"bounceOutRight","wow bounceOutUp":"bounceOutUp","wow fadeIn":"fadeIn","wow fadeInDown":"fadeInDown","wow fadeInDownBig":"fadeInDownBig","wow fadeInLeft":"fadeInLeft","wow fadeInLeftBig":"fadeInLeftBig","wow fadeInRight":"fadeInRight","wow fadeInRightBig":"fadeInRightBig","wow fadeInUp":"fadeInUp","wow fadeInUpBig":"fadeInUpBig","wow fadeOut":"fadeOut","wow fadeOutDown":"fadeOutDown","wow fadeOutDownBig":"fadeOutDownBig","wow fadeOutLeft":"fadeOutLeft","wow fadeOutLeftBig":"fadeOutLeftBig","wow fadeOutRight":"fadeOutRight","wow fadeOutRightBig":"fadeOutRightBig","wow fadeOutUp":"fadeOutUp","wow fadeOutUpBig":"fadeOutUpBig","wow flip":"flip","wow flipCase":"flipCase","wow flipInX":"flipInX","wow flipInY":"flipInY","wow flipOutX":"flipOutX","wow flipOutY":"flipOutY","wow lightSpeedIn":"lightSpeedIn","wow lightSpeedOut":"lightSpeedOut","wow rotateIn":"rotateIn","wow rotateInDownLeft":"rotateInDownLeft","wow rotateInDownRight":"rotateInDownRight","wow rotateInUpLeft":"rotateInUpLeft","wow rotateInUpRight":"rotateInUpRight","wow rotateOut":"rotateOut","wow rotateOutDownLeft":"rotateOutDownLeft","wow rotateOutDownRight":"rotateOutDownRight","wow rotateOutUpLeft":"rotateOutUpLeft","wow rotateOutUpRight":"rotateOutUpRight","wow hinge":"hinge","wow rollIn":"rollIn","wow rollOut":"rollOut","wow zoomInSmall":"zoomInSmall","wow zoomIn":"zoomInBig","wow zoomOut":"zoomOut","wow skewIn":"skewInLeft","wow skewInRight":"skewInRight","wow skewInBottom":"skewInBottom","wow RotatingY":"RotatingY","wow PXLfadeInUp":"PXLfadeInUp","fadeInPopup":"fadeInPopup"},"default":""},{"name":"pxl_animate_delay","label":"Animate Delay","type":"text","default":"0","description":"Enter number. Default 0ms"}]}]}'; protected $styles = array( ); protected $scripts = array( ); }
| ver. 1.1 | |
.
| PHP 8.4.20 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0.31 |
proxy
|
phpinfo
|
ÐаÑтройка