File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
assets/styles/core-blocks Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ Feel free to fork it and use it however you like!
1818
1919## Changelog
2020
21+ ### August 19, 2024 - v1.0.1
22+
23+ Update CSS to account for editing experience: remove hiding/showing of elements by targeting ` :not(.has-child-selected) ` .
24+
2125### July 18, 2024 - v1.0.0
2226
2327Initial launch.
Original file line number Diff line number Diff line change 1111 position : static;
1212}
1313/* Make whole card clickable */
14- .is-style-card--interactive : where (.wp-block-heading ) a : after {
14+ .is-style-card--interactive : not (. has-child-selected ) : where (.wp-block-heading ) a : after {
1515 content : "" ;
1616 inset : 0 ;
1717 position : absolute;
2323 transform : scale (1 );
2424 transition : all 0.35s ease;
2525}
26- .is-style-card--interactive : focus-within : where (.wp-block-cover__image-background ),
27- .is-style-card--interactive : hover : where (.wp-block-cover__image-background ) {
26+ .is-style-card--interactive : not (. has-child-selected ) : focus-within : where (.wp-block-cover__image-background ),
27+ .is-style-card--interactive : not (. has-child-selected ) : hover : where (.wp-block-cover__image-background ) {
2828 filter : saturate (200% ) brightness (40% );
2929 transform : scale (1.15 );
3030}
4242 transform : scale (1 ) translateX (0 );
4343}
4444/* Animate content area */
45- .is-style-card--interactive : where (.is-vertical ) .wp-block-group : first-of-type + .wp-block-group p {
45+ .is-style-card--interactive : not (. has-child-selected ) : where (.is-vertical ) .wp-block-group : first-of-type + .wp-block-group p {
4646 max-height : 0 ;
4747 opacity : 0 ;
4848 overflow : hidden;
Original file line number Diff line number Diff line change 44* Description: Extends the Cover block for an animating card effect.
55* Requires at least: 6.6
66* Requires PHP: 8.0
7- * Version: 1.0.0
7+ * Version: 1.0.1
88* Author: Damon Cook
99* License: GPL-2.0-or-later
1010* License URI: https://www.gnu.org/licenses/gpl-2.0.html
1515 exit ; // Exit if accessed directly.
1616}
1717
18-
1918/**
2019 * Enqueues the block styles for the plugin.
2120 */
You can’t perform that action at this time.
0 commit comments