PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 3.3.3
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v3.3.3
3.3.3 3.3.2 3.3.1 3.3.0 3.2.14 3.2.13 3.2.12 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 trunk 0.2.5.5 0.2.5.6 0.2.5.7 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 All 158 releases
← All changes | includes/Extensions/Elementor/CountdownWidget.php +52 -1 3.2.7 → 3.3.3 View file →
@@ -468,9 +468,9 @@
468 468 'default' => [ 'size' => 15 ],
469 469 'range' => [ 'px' => [ 'min' => 0, 'max' => 100 ] ],
470 470 'selectors' => [
471 471 '{{WRAPPER}} .nx-countdown-item > div' => 'margin-right:{{SIZE}}px; margin-left:{{SIZE}}px;',
472 - '{{WRAPPER}} .nx-countdown-container' => 'margin-right:-{{SIZE}}px; margin-left:-{{SIZE}}px;',
472 + '{{WRAPPER}} .nx-countdown-container' => 'margin-right:-{{SIZE}}px; margin-left:-{{SIZE}}px; --nx-countdown-box-spacing:{{SIZE}}px;',
473 473 ],
474 474 ]
475 475 );
476 476
@@ -549,8 +549,59 @@
549 549 Group_Control_Typography::get_type(),
550 550 [
551 551 'name' => 'nx_digits_typography',
552 552 'global' => [ 'default' => Global_Typography::TYPOGRAPHY_SECONDARY ],
553 + 'selector' => '{{WRAPPER}} .nx-countdown-digits',
554 + ]
555 + );
556 +
557 + $this->add_control(
558 + 'nx_digits_bg_color',
559 + [
560 + 'label' => esc_html__( 'Background Color', 'notificationx' ),
561 + 'type' => Controls_Manager::COLOR,
562 + 'selectors' => [
563 + '{{WRAPPER}} .nx-countdown-digits' => 'background-color: {{VALUE}};',
564 + ],
565 + ]
566 + );
567 +
568 + $this->add_responsive_control(
569 + 'nx_digits_padding',
570 + [
571 + 'label' => esc_html__( 'Padding', 'notificationx' ),
572 + 'type' => Controls_Manager::DIMENSIONS,
573 + 'size_units' => [ 'px', 'em', '%' ],
574 + 'selectors' => [
575 + '{{WRAPPER}} .nx-countdown-digits' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
576 + ],
577 + ]
578 + );
579 +
580 + $this->add_group_control(
581 + Group_Control_Border::get_type(),
582 + [
583 + 'name' => 'nx_digits_border',
584 + 'selector' => '{{WRAPPER}} .nx-countdown-digits',
585 + ]
586 + );
587 +
588 + $this->add_responsive_control(
589 + 'nx_digits_border_radius',
590 + [
591 + 'label' => esc_html__( 'Border Radius', 'notificationx' ),
592 + 'type' => Controls_Manager::DIMENSIONS,
593 + 'size_units' => [ 'px', '%' ],
594 + 'selectors' => [
595 + '{{WRAPPER}} .nx-countdown-digits' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
596 + ],
597 + ]
598 + );
599 +
600 + $this->add_group_control(
601 + Group_Control_Box_Shadow::get_type(),
602 + [
603 + 'name' => 'nx_digits_box_shadow',
553 604 'selector' => '{{WRAPPER}} .nx-countdown-digits',
554 605 ]
555 606 );
556 607