Plugin Directory

Changeset 3331013


Ignore:
Timestamp:
07/20/2025 06:03:25 PM (8 months ago)
Author:
ifatwp
Message:

Update to version 2.0.1 from GitHub

Location:
blog-reading-progress-bar
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • blog-reading-progress-bar/tags/2.0.1/assets/admin.css

    r3327758 r3331013  
    2020}
    2121
     22#setting-error-settings_updated p {
     23    color: black;
     24}
    2225.brp-header-content h1 {
    2326    margin: 0 0 10px 0;
     
    561564    animation: fadeIn 0.3s ease;
    562565}
     566
     567.wp-core-ui .notice.is-dismissible {
     568    padding-right: 38px;
     569    position: relative;
     570    top: 220px;
     571    left: 490px;
     572}
  • blog-reading-progress-bar/tags/2.0.1/assets/admin.js

    r3327758 r3331013  
    6666        $(this).siblings().removeClass('active');
    6767        $(this).addClass('active');
    68         $(this).siblings('input[type="hidden"]').val(value);
     68        $(this).siblings('input[type="hidden"]').val(value);       
     69     
     70        movePreviewBar(value); // Move preview bar based on position
    6971        updatePreview();
    7072    });
     
    130132    }
    131133
     134    // Move preview bar based on position
     135    function movePreviewBar(position) {
     136        var $bar = $('#brp-preview-bar');
     137        var $content = $('.brp-preview-content');
     138        if (position === 'bottom') {
     139            $bar.insertAfter($content);
     140        } else {
     141            $bar.insertBefore($content);
     142        }
     143    }
     144
    132145    // Bind preview updates to form changes
    133146    $('.brp-form input, .brp-form select').on('change input', function() {
  • blog-reading-progress-bar/tags/2.0.1/readme.txt

    r3327758 r3331013  
    124124== Changelog ==
    125125
    126 = 2.0.0 - Major Update =
     126= 2.0.0 - Major Update - July 15, 2025  =
    127127
    128128**New Features:**
  • blog-reading-progress-bar/trunk/assets/admin.css

    r3327758 r3331013  
    2020}
    2121
     22#setting-error-settings_updated p {
     23    color: black;
     24}
    2225.brp-header-content h1 {
    2326    margin: 0 0 10px 0;
     
    561564    animation: fadeIn 0.3s ease;
    562565}
     566
     567.wp-core-ui .notice.is-dismissible {
     568    padding-right: 38px;
     569    position: relative;
     570    top: 220px;
     571    left: 490px;
     572}
  • blog-reading-progress-bar/trunk/assets/admin.js

    r3327758 r3331013  
    6666        $(this).siblings().removeClass('active');
    6767        $(this).addClass('active');
    68         $(this).siblings('input[type="hidden"]').val(value);
     68        $(this).siblings('input[type="hidden"]').val(value);       
     69     
     70        movePreviewBar(value); // Move preview bar based on position
    6971        updatePreview();
    7072    });
     
    130132    }
    131133
     134    // Move preview bar based on position
     135    function movePreviewBar(position) {
     136        var $bar = $('#brp-preview-bar');
     137        var $content = $('.brp-preview-content');
     138        if (position === 'bottom') {
     139            $bar.insertAfter($content);
     140        } else {
     141            $bar.insertBefore($content);
     142        }
     143    }
     144
    132145    // Bind preview updates to form changes
    133146    $('.brp-form input, .brp-form select').on('change input', function() {
  • blog-reading-progress-bar/trunk/readme.txt

    r3327758 r3331013  
    124124== Changelog ==
    125125
    126 = 2.0.0 - Major Update =
     126= 2.0.0 - Major Update - July 15, 2025  =
    127127
    128128**New Features:**
Note: See TracChangeset for help on using the changeset viewer.