Plugin Directory

Changeset 2761469 for anrghg


Ignore:
Timestamp:
07/26/2022 04:58:26 AM (4 years ago)
Author:
anrghg
Message:

1.4.11.0

1.4.11 (2022-07-26)

  • Notes and sources: Tooltips: Debug tooltip of source nested in note.
Location:
anrghg
Files:
1 deleted
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • anrghg/tags/1.4.11/anrghg.php

    r2761232 r2761469  
    1414 * Tested PHP up to: 8.0
    1515 * CAUTION: The following field is parsed in the `stable tag` folder for upgrade configuration:
    16  * Version: 1.4.10
     16 * Version: 1.4.11
    1717 * Author: ANRGHG
    1818 * Author URI: https://anrghg.sunsite.fr
     
    9090 * @var string C_S_ANRGHG_VER  Plugin version constant.
    9191 */
    92 define( 'C_S_ANRGHG_VER', '1.4.10' );
     92define( 'C_S_ANRGHG_VER', '1.4.11' );
    9393
    9494/**
  • anrghg/tags/1.4.11/includes/complements.php

    r2760820 r2761469  
    815815                     *
    816816                     * @since 0.35.0
     817                     * @since 1.4.11 Debug tooltip of source nested in note.
     818                     * As sources may be nested in notes, those anchors and tooltips
     819                     * need to be removed prior to evaluating tooltip content length.
    817820                     */
    818821                    $l_b_full_width        = false;
    819822                    $l_i_strlen_breakpoint = (int) anrghg_apply_config( 'anrghg_anchor_tooltip_str_length_breakpoint' );
    820                     if ( strlen( $l_s_tooltip_text ) > $l_i_strlen_breakpoint ) {
     823                    $l_s_tooltip_evaluate  = preg_replace( '/<span class="anrghg-complement-referrer.+?<br data-anrghg hidden \/><\/span>/', '', $l_s_tooltip_text );
     824                    if ( strlen( $l_s_tooltip_evaluate ) > $l_i_strlen_breakpoint ) {
    821825                        $l_b_full_width = true;
    822826                    }
  • anrghg/tags/1.4.11/includes/stylesplit.php

    r2761232 r2761469  
    149149                    }
    150150
    151                     .anrghg-referrer-concatenator:after {
     151                    .anrghg-referrer-concatenator::after {
    152152                        padding-inline-end: $l_s_concatenator_spacing;
    153153                    }
     
    211211                "
    212212
    213                     /*generic:*/
    214                     article,
    215                     section,
    216                     main,
    217                     .site-main,
    218                     .main-content,
    219                     .page-content,
    220                     .entry-content,
    221                     .entry,
    222                     .hentry,
    223                     /*Vendor:*/
    224                     .elementor-widget {
    225                         position: relative;
    226                     }
    227 
    228213                    .anrghg-complement-tooltip.anrghg-fullwidth {
    229214                        left: 0;
     
    240225
    241226                    .anrghg-complement-tooltip {
     227                        display: block;
     228                        position: absolute;
    242229                        $l_s_tooltip_x_property: $l_s_tooltip_offset_x;
    243230                        $l_s_tooltip_y_property: $l_s_tooltip_offset_y;
     231                        z-index: 2147483647;
    244232                        width: max-content;
    245233                        max-width: $l_s_max_width;
    246                         max-height: $l_s_max_height;
    247                         overflow-y: auto;
    248                     }
    249 
    250                     .anrghg-complement-tooltip {
    251                         display: block;
    252                         position: absolute;
    253                         z-index: 2147483647;
     234                        overflow: visible;
    254235                        visibility: hidden;
    255236                        opacity: 0;
     
    269250                    .anrghg-tooltip-display-toggle:checked + .anrghg-complement-tooltip,
    270251                    .anrghg-complement-referrer:hover > .anrghg-complement-tooltip,
    271                     .anrghg-complement-referrer:focus-within > .anrghg-complement-tooltip {
     252                    .anrghg-complement-referrer:focus-within > .anrghg-complement-tooltip,
     253                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target .anrghg-complement-referrer:hover > .anrghg-complement-tooltip,
     254                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target .anrghg-complement-referrer:focus-within > .anrghg-complement-tooltip {
    272255                        visibility: visible;
    273256                        opacity: 1;
     
    761744                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target,
    762745                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target * {
     746                        line-height: $l_s_list_row_line_height;
     747                        padding-bottom: $l_s_list_row_pad_bottom;
     748                    }
     749
     750                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target,
     751                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target *:not(.anrghg-complement-tooltip) {
    763752                        opacity: 1;
    764753                        visibility: visible;
    765                         line-height: $l_s_list_row_line_height;
    766                         padding-bottom: $l_s_list_row_pad_bottom;
    767754                    }
    768755
  • anrghg/tags/1.4.11/package.json

    r2761232 r2761469  
    11{
    22    "name": "anrghg",
    3     "version": " 1.4.10",
     3    "version": " 1.4.11",
    44    "description": "A.N.R.GHG Publishing Helper",
    55    "main": "index.js",
  • anrghg/tags/1.4.11/readme.txt

    r2761232 r2761469  
    88Requires PHP: 5.6
    99Tested PHP up to: 8.0
    10 Package Version: 1.4.10.0
    11 Version: 1.4.10
     10Package Version: 1.4.11.0
     11Version: 1.4.11
    1212CAUTION: The following field is parsed in `trunk/` for release configuration:
    13 Stable Tag: 1.4.10
     13Stable Tag: 1.4.11
    1414License: GPLv2 or later
    1515License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    534534== Changelog ==
    535535
     536= 1.4.11 (2022-07-26) =
     537
     538* Notes and sources: Tooltips: Debug tooltip of source nested in note.
     539
    536540= 1.4.10 (2022-07-25) =
    537541
  • anrghg/tags/1.4.11/svn-revs.txt

    r2761232 r2761469  
    1111Previous revisions:
    1212
     131.4.10.0       2761232  2022-07-25 14:47:39 +0000 (Mon, 25 Jul 2022)
    13141.4.9.0        2760820  2022-07-24 15:01:49 +0000 (Sun, 24 Jul 2022)
    14151.4.8.0        2759442  2022-07-20 20:06:43 +0000 (Wed, 20 Jul 2022)
  • anrghg/trunk/anrghg.php

    r2761232 r2761469  
    1414 * Tested PHP up to: 8.0
    1515 * CAUTION: The following field is parsed in the `stable tag` folder for upgrade configuration:
    16  * Version: 1.4.10
     16 * Version: 1.4.11
    1717 * Author: ANRGHG
    1818 * Author URI: https://anrghg.sunsite.fr
     
    9090 * @var string C_S_ANRGHG_VER  Plugin version constant.
    9191 */
    92 define( 'C_S_ANRGHG_VER', '1.4.10' );
     92define( 'C_S_ANRGHG_VER', '1.4.11' );
    9393
    9494/**
  • anrghg/trunk/includes/complements.php

    r2760820 r2761469  
    815815                     *
    816816                     * @since 0.35.0
     817                     * @since 1.4.11 Debug tooltip of source nested in note.
     818                     * As sources may be nested in notes, those anchors and tooltips
     819                     * need to be removed prior to evaluating tooltip content length.
    817820                     */
    818821                    $l_b_full_width        = false;
    819822                    $l_i_strlen_breakpoint = (int) anrghg_apply_config( 'anrghg_anchor_tooltip_str_length_breakpoint' );
    820                     if ( strlen( $l_s_tooltip_text ) > $l_i_strlen_breakpoint ) {
     823                    $l_s_tooltip_evaluate  = preg_replace( '/<span class="anrghg-complement-referrer.+?<br data-anrghg hidden \/><\/span>/', '', $l_s_tooltip_text );
     824                    if ( strlen( $l_s_tooltip_evaluate ) > $l_i_strlen_breakpoint ) {
    821825                        $l_b_full_width = true;
    822826                    }
  • anrghg/trunk/includes/stylesplit.php

    r2761232 r2761469  
    149149                    }
    150150
    151                     .anrghg-referrer-concatenator:after {
     151                    .anrghg-referrer-concatenator::after {
    152152                        padding-inline-end: $l_s_concatenator_spacing;
    153153                    }
     
    211211                "
    212212
    213                     /*generic:*/
    214                     article,
    215                     section,
    216                     main,
    217                     .site-main,
    218                     .main-content,
    219                     .page-content,
    220                     .entry-content,
    221                     .entry,
    222                     .hentry,
    223                     /*Vendor:*/
    224                     .elementor-widget {
    225                         position: relative;
    226                     }
    227 
    228213                    .anrghg-complement-tooltip.anrghg-fullwidth {
    229214                        left: 0;
     
    240225
    241226                    .anrghg-complement-tooltip {
     227                        display: block;
     228                        position: absolute;
    242229                        $l_s_tooltip_x_property: $l_s_tooltip_offset_x;
    243230                        $l_s_tooltip_y_property: $l_s_tooltip_offset_y;
     231                        z-index: 2147483647;
    244232                        width: max-content;
    245233                        max-width: $l_s_max_width;
    246                         max-height: $l_s_max_height;
    247                         overflow-y: auto;
    248                     }
    249 
    250                     .anrghg-complement-tooltip {
    251                         display: block;
    252                         position: absolute;
    253                         z-index: 2147483647;
     234                        overflow: visible;
    254235                        visibility: hidden;
    255236                        opacity: 0;
     
    269250                    .anrghg-tooltip-display-toggle:checked + .anrghg-complement-tooltip,
    270251                    .anrghg-complement-referrer:hover > .anrghg-complement-tooltip,
    271                     .anrghg-complement-referrer:focus-within > .anrghg-complement-tooltip {
     252                    .anrghg-complement-referrer:focus-within > .anrghg-complement-tooltip,
     253                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target .anrghg-complement-referrer:hover > .anrghg-complement-tooltip,
     254                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target .anrghg-complement-referrer:focus-within > .anrghg-complement-tooltip {
    272255                        visibility: visible;
    273256                        opacity: 1;
     
    761744                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target,
    762745                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target * {
     746                        line-height: $l_s_list_row_line_height;
     747                        padding-bottom: $l_s_list_row_pad_bottom;
     748                    }
     749
     750                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target,
     751                    .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target *:not(.anrghg-complement-tooltip) {
    763752                        opacity: 1;
    764753                        visibility: visible;
    765                         line-height: $l_s_list_row_line_height;
    766                         padding-bottom: $l_s_list_row_pad_bottom;
    767754                    }
    768755
  • anrghg/trunk/package.json

    r2761232 r2761469  
    11{
    22    "name": "anrghg",
    3     "version": " 1.4.10",
     3    "version": " 1.4.11",
    44    "description": "A.N.R.GHG Publishing Helper",
    55    "main": "index.js",
  • anrghg/trunk/readme.txt

    r2761232 r2761469  
    88Requires PHP: 5.6
    99Tested PHP up to: 8.0
    10 Package Version: 1.4.10.0
    11 Version: 1.4.10
     10Package Version: 1.4.11.0
     11Version: 1.4.11
    1212CAUTION: The following field is parsed in `trunk/` for release configuration:
    13 Stable Tag: 1.4.10
     13Stable Tag: 1.4.11
    1414License: GPLv2 or later
    1515License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    534534== Changelog ==
    535535
     536= 1.4.11 (2022-07-26) =
     537
     538* Notes and sources: Tooltips: Debug tooltip of source nested in note.
     539
    536540= 1.4.10 (2022-07-25) =
    537541
  • anrghg/trunk/svn-revs.txt

    r2761232 r2761469  
    1111Previous revisions:
    1212
     131.4.10.0       2761232  2022-07-25 14:47:39 +0000 (Mon, 25 Jul 2022)
    13141.4.9.0        2760820  2022-07-24 15:01:49 +0000 (Sun, 24 Jul 2022)
    14151.4.8.0        2759442  2022-07-20 20:06:43 +0000 (Wed, 20 Jul 2022)
Note: See TracChangeset for help on using the changeset viewer.