HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/just-litigate/wp-content/uploads/elementor-widget/class-pxl-showcase.php
<?php

class PxlShowcase_Widget extends Pxltheme_Core_Widget_Base{
    protected $name = 'pxl_showcase';
    protected $title = 'Case Showcase';
    protected $icon = 'eicon-parallax';
    protected $categories = array( 'pxltheme-core' );
    protected $params = '{"sections":[{"name":"section_layout","label":"Layout","tab":"layout","controls":[{"name":"layout","label":"Templates","type":"layoutcontrol","default":"1","options":{"1":{"label":"Layout 1","image":"https:\/\/justlitigate.co.uk\/wp-content\/themes\/lawna\/elements\/assets\/img\/pxl_showcase\/layout1.jpg"},"2":{"label":"Layout 2","image":"https:\/\/justlitigate.co.uk\/wp-content\/themes\/lawna\/elements\/assets\/img\/pxl_showcase\/layout2.jpg"}}}]},{"name":"section_content","label":"Content","tab":"content","controls":[{"name":"image","label":"Image","type":"media"},{"name":"img_size","label":"Image Size","type":"text","description":"Enter image size - Example: \"thumbnail\", \"medium\", \"large\", \"full\" or other sizes defined by theme. Alternatively enter size in pixels Example: 200x100 - Width x Height."},{"name":"title","label":"Title","type":"textarea","description":"Create Typewriter text width shortcode: [typewriter text=\"Text1, Text2\"], Highlight text with shortcode: [highlight text=\"Text\"] and Highlight image with shortcode: [highlight_image id_image=\"123\"]"},{"name":"btn_text","label":"Button Text 1","type":"text"},{"name":"btn_link","label":"Button Link 1","type":"url","label_block":true},{"name":"btn_text_2","label":"Button Text 2","type":"text"},{"name":"btn_link_2","label":"Button Link 2","type":"url","label_block":true},{"name":"btn_text_3","label":"Button Text 3","type":"text"},{"name":"btn_link_3","label":"Button Link 3","type":"url","label_block":true},{"name":"coming_soon","label":"Coming Soon","type":"switcher"}]},{"name":"section_style","label":"Style","tab":"style","controls":[{"name":"box_shadow_inner","label":"Box Shadow","type":"box-shadow","control_type":"group","selector":"{{WRAPPER}} .pxl-showcase .pxl-item--inner"},{"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":"title_controls","control_type":"tab","tabs":[{"name":"title_normal","label":"Normal","type":"tab","controls":[{"name":"heading_general","label":"GENERAL","type":"heading","separator":"before"},{"name":"border_inner","label":"Border","type":"border","control_type":"group","selector":"{{WRAPPER}} .pxl-showcase .pxl-item--inner"},{"name":"heading_title_normal","label":"TITLE","type":"heading","separator":"before"},{"name":"title_color","label":"Title Color","type":"color","selectors":{"{{WRAPPER}} .pxl-showcase .pxl-item--title span":"color: {{VALUE}};"}},{"name":"title_typography","label":"Title Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-showcase .pxl-item--title span"},{"name":"heading_title_highlight","label":"HIGHLIGHT","type":"heading","separator":"before"},{"name":"title_highlight_color","label":"Highlight Color","type":"color","selectors":{"{{WRAPPER}} .pxl-showcase .pxl-item--title .pxl-title--highlight":"color: {{VALUE}};"}},{"name":"title_highlight_typography","label":"Highlight Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-showcase .pxl-item--title .pxl-title--highlight"},{"name":"heading_background","label":"BACKGROUND","type":"heading","separator":"before"},{"name":"bg_color","label":"Background Color","type":"background","control_type":"group","selector":"{{WRAPPER}} .pxl-showcase .pxl-item--inner::before"},{"name":"heading_button","label":"BUTTON","type":"heading","separator":"before"},{"name":"button__text_color","label":"Button Text","type":"color","selectors":{"{{WRAPPER}} .pxl-showcase .pxl-item--readmore a":"color: {{VALUE}};","{{WRAPPER}} .pxl-showcase .pxl-item--readmore svg path":"stroke: {{VALUE}};"}},{"name":"button_color","label":"Button Color","type":"color","selectors":{"{{WRAPPER}} .pxl-showcase .btn-readmore-1 a":"background: {{VALUE}};"}},{"name":"button_color_2","label":"Button 2 Color","type":"color","selectors":{"{{WRAPPER}} .pxl-showcase .btn-readmore-2 a":"background: {{VALUE}};"}}]},{"name":"title_hover","label":"Hover","type":"tab","controls":[{"name":"heading_general_hv","label":"GENERAL","type":"heading","separator":"before"},{"name":"border_inner_hv","label":"Border","type":"border","control_type":"group","selector":"{{WRAPPER}} .pxl-showcase .pxl-item--inner:hover"},{"name":"heading_title_hover","label":"TITLE","type":"heading","separator":"before"},{"name":"title_color_hv","label":"Title Color","type":"color","selectors":{"{{WRAPPER}} .pxl-showcase:hover .pxl-item--title span":"color: {{VALUE}};","{{WRAPPER}} .pxl-showcase .pxl-item--title span::before,{{WRAPPER}} .pxl-showcase .pxl-item--title span::after":"background-color: {{VALUE}};"}},{"name":"heading_title_highlight_hv","label":"HIGHLIGHT","type":"heading","separator":"before"},{"name":"title_highlight_color_hv","label":"Highlight Color","type":"color","selectors":{"{{WRAPPER}} .pxl-showcase .pxl-item--title:hover .pxl-title--highlight":"color: {{VALUE}};"}},{"name":"title_highlight_typography_hv","label":"Highlight Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-showcase .pxl-item--title:hover .pxl-title--highlight"},{"name":"heading_background_hv","label":"BACKGROUND","type":"heading","separator":"before"},{"name":"bg_color_hv","label":"Background Color","type":"background","control_type":"group","selector":"{{WRAPPER}} .pxl-showcase .pxl-item--inner::after"},{"name":"heading_button_hv","label":"BUTTON","type":"heading","separator":"before"},{"name":"button_color_hv","label":"Button Color","type":"color","selectors":{"{{WRAPPER}} .pxl-showcase .btn-readmore-1:hover a":"background: {{VALUE}};"}},{"name":"button_color_hv_2","label":"Button 2 Color","type":"color","selectors":{"{{WRAPPER}} .pxl-showcase .btn-readmore-2:hover a":"background: {{VALUE}};"}}]}]}]},{"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 skewInTop":"skewInTop","wow skewInBottom":"skewInBottom","wow RotatingY":"RotatingY","wow PXLfadeInUp":"PXLfadeInUp","fadeInPopup":"fadeInPopup","img_effect1":"Effect 1","img_effect2":"Effect 2","img_effect3":"Effect 3"},"default":""},{"name":"pxl_animate_delay","label":"Animate Delay","type":"text","default":"0","description":"Enter number. Default 0ms"}]}]}';
    protected $styles = array(  );
    protected $scripts = array(  );
}