Changeset 3374374
- Timestamp:
- 10/07/2025 12:26:11 PM (6 months ago)
- Location:
- the-pack-addon/trunk
- Files:
-
- 3 edited
-
assets/css/shortcode.css (modified) (1 diff)
-
includes/extension/inc/translate.php (modified) (1 diff)
-
includes/helper-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
the-pack-addon/trunk/assets/css/shortcode.css
r3373509 r3374374 2049 2049 } 2050 2050 2051 /**/2052 .tp_anim_border_yes>.elementor-widget-container {2053 --borderWidth: 15px;2054 }2055 .tp_anim_border_yes>.elementor-widget-container:after {2056 content: '';2057 position: absolute;2058 top: calc(-1 * var(--borderWidth));2059 left: calc(-1 * var(--borderWidth));2060 height: calc(100% + var(--borderWidth) * 2);2061 width: calc(100% + var(--borderWidth) * 2);2062 z-index: -1;2063 animation: animatedgradient 3s ease alternate infinite;2064 background-size: 300% 300%;2065 }2066 2067 @keyframes animatedgradient {2068 0% {2069 background-position: 0% 50%;2070 }2071 50% {2072 background-position: 100% 50%;2073 }2074 100% {2075 background-position: 0% 50%;2076 }2077 }2078 2051 2079 2052 /*Blob*/ -
the-pack-addon/trunk/includes/extension/inc/translate.php
r3368757 r3374374 309 309 'prefix_class' => 'tphovmove', 310 310 ] 311 ); 312 313 $element->end_controls_section(); 314 315 $element->start_controls_section( 316 'section_tp_anim_brd', 317 [ 318 'label' => esc_html__('Animated border', 'the-pack-addon'), 319 'tab' => Controls_Manager::TAB_STYLE, 320 ] 321 ); 322 323 $element->add_control( 324 'tp_en_anbd', 325 [ 326 'label' => esc_html__('Enable animated border', 'the-pack-addon'), 327 'type' => Controls_Manager::SWITCHER, 328 'prefix_class' => 'tp_anim_border_', 329 ] 330 ); 331 332 $element->add_control( 333 'tp_en_anbd_cl', 334 [ 335 'label' => esc_html__('Gradient color', 'the-pack-addon'), 336 'type' => Controls_Manager::TEXTAREA, 337 'selectors' => [ 338 '{{WRAPPER}}.tp_anim_border_yes>.elementor-widget-container:after' => 'background-image: linear-gradient(60deg,{{VALUE}});', 339 ], 340 ] 341 ); 342 343 $element->add_control( 344 'tp_en_anbd_cldr', 345 [ 346 'label' => esc_html__('Border radius' , 'the-pack-addon'), 347 'type' => Controls_Manager::SLIDER, 348 'selectors' => [ 349 '{{WRAPPER}} .main-head i' => 'border-radius:{{SIZE}}{{UNIT}};', 350 ], 351 352 ] 353 ); 311 ); 354 312 355 313 $element->end_controls_section(); -
the-pack-addon/trunk/includes/helper-functions.php
r3373509 r3374374 1442 1442 1443 1443 $wb->add_control( 1444 'db clr',1444 'dbtclr', 1445 1445 [ 1446 1446 'label' => esc_html__('Border color', 'the-pack-addon'),
Note: See TracChangeset
for help on using the changeset viewer.