Plugin Directory

Changeset 2593334


Ignore:
Timestamp:
09/03/2021 04:44:38 PM (5 years ago)
Author:
themolitor
Message:

1.1.0 -- Improved support for cover blocks (preserve overlay design on hover)

Location:
wayfinder/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wayfinder/trunk/css/editor-style.css

    r2589366 r2593334  
    7777
    7878/*BLOCK TITLE*/
    79 .block-editor-page.wayfinder-title *[data-title]:hover:before {
     79.block-editor-page.wayfinder-title *[data-title]:not(.wp-block-cover):hover:before {
    8080    content: attr(data-title);
    8181    position: absolute;
     
    101101
    102102/*BLOCK CLASSES*/
    103 .block-editor-page.wayfinder-classes *[data-title]:hover:after {   
     103.block-editor-page.wayfinder-classes *[data-title]:not(.wp-block-cover):hover:after {   
    104104    content: attr(class);
    105105    position: absolute;
     
    130130    opacity: 1;
    131131}
     132
     133/*COVER BLOCK TITLE ONLY*/
     134.block-editor-page.wayfinder-title:not(.wayfinder-classes) .wp-block-cover:hover:after {
     135    content: attr(data-title);
     136    position: absolute;
     137    bottom: 100% !important;
     138    left: -1px !important;
     139    right: auto !important;
     140    top: auto !important;
     141    font-size: 10px;
     142    background: var(--wp-admin-theme-color);
     143    color: #fff;
     144    padding: 3px 5px;
     145    cursor: pointer;
     146    line-height: 10px;
     147    display: inline-block;
     148    width: auto;
     149    height: auto;
     150    transform: unset;
     151    font-weight: normal;
     152    text-transform: none;
     153    min-height: 10px;
     154    opacity: 1;
     155}
     156/*COVER BLOCK CLASSES ONLY*/
     157.block-editor-page.wayfinder-classes:not(.wayfinder-title) .wp-block-cover:hover:after {
     158    content: attr(class);
     159    position: absolute;
     160    bottom: 100% !important;
     161    left: -1px !important;
     162    right: auto !important;
     163    top: auto !important;
     164    font-size: 10px;
     165    background: var(--wp-admin-theme-color);
     166    color: #fff;
     167    padding: 3px 5px;
     168    cursor: pointer;
     169    line-height: 10px;
     170    display: inline-block;
     171    width: auto;
     172    height: auto;
     173    transform: unset;
     174    font-weight: normal;
     175    text-transform: none;
     176    min-height: 10px;
     177    opacity: 1;
     178}
     179/*COVER BLOCK TITLE + CLASSES*/
     180.block-editor-page.wayfinder-classes.wayfinder-title .wp-block-cover:hover:after {
     181    content: attr(data-title) ' / ' attr(class);
     182    position: absolute;
     183    bottom: 100% !important;
     184    left: -1px !important;
     185    right: auto !important;
     186    top: auto !important;
     187    font-size: 10px;
     188    background: var(--wp-admin-theme-color);
     189    color: #fff;
     190    padding: 3px 5px;
     191    cursor: pointer;
     192    line-height: 10px;
     193    display: inline-block;
     194    width: auto;
     195    height: auto;
     196    transform: unset;
     197    font-weight: normal;
     198    text-transform: none;
     199    min-height: 10px;
     200    opacity: 1;
     201}
  • wayfinder/trunk/index.php

    r2589366 r2593334  
    44 * Plugin URI: https://wordpress.org/plugins/wayfinder
    55 * Description: Easily select and identify nested blocks in the editor.
    6  * Version: 1.0.9
     6 * Version: 1.1.0
    77 * Author: THE MOLITOR
    88 * Author URI: https://themolitor.com
     
    1010*/
    1111
    12 $wayfinder_version = '1.0.9';
     12$wayfinder_version = '1.1.0';
    1313
    1414
  • wayfinder/trunk/readme.txt

    r2589366 r2593334  
    44Requires at least: 4.7
    55Tested up to: 5.8
    6 Stable tag: 1.0.9
     6Stable tag: 1.1.0
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    5252== Changelog ==
    5353
     54= 1.1.0 =
     55
     56* Improved support for cover blocks (preserve overlay design on hover).
     57
    5458= 1.0.9 =
    5559
Note: See TracChangeset for help on using the changeset viewer.