diff --git a/dist/css/acf-ux-collapse.dev.css b/dist/css/acf-ux-collapse.dev.css index 6b39361..066f9cf 100644 --- a/dist/css/acf-ux-collapse.dev.css +++ b/dist/css/acf-ux-collapse.dev.css @@ -47,6 +47,5 @@ margin-right: 10px; } a.acf-icon.-collapse[data-event="collapse-row"], -.acf-row:hover a.acf-icon.-collapse[data-event="collapse-row"], -.acf-repeater .acf-row:hover > .acf-row-handle .acf-icon { +.acf-row:hover a.acf-icon.-collapse[data-event="collapse-row"] { display: none !important; } diff --git a/dist/css/acf-ux-collapse.min.css b/dist/css/acf-ux-collapse.min.css index a2c80e3..2902808 100644 --- a/dist/css/acf-ux-collapse.min.css +++ b/dist/css/acf-ux-collapse.min.css @@ -1 +1 @@ -.acf-collapser-initialized.acf-collapser-collapsed .acf-collapser-collapser-area{max-height:150px;overflow:hidden}.acf-collapser-initialized.acf-collapser-collapsed .acf-collapser-collapser-area:hover{cursor:pointer}.acf-collapser-initialized.acf-collapser-collapsed .acf-collapser-collapser-area:after{content:'';display:block;position:absolute;bottom:0;left:0;right:0;height:100%;background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff);z-index:1}.acf-collapser-initialized.acf-collapser-collapsed .acf-collapser-icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+bWF4aW1pemU8L3RpdGxlPjxnIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0iTTI4IDM2aDEwYTIgMiAwIDAgMSAwIDRIMjhhMiAyIDAgMCAxIDAtNHoiLz48cGF0aCBkPSJNMzggMjZhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtNCAwVjI4YTIgMiAwIDAgMSAyLTJ6TTIgMjZhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtNCAwVjI4YTIgMiAwIDAgMSAyLTJ6Ii8+PHBhdGggZD0iTTIgMzZoMTBhMiAyIDAgMCAxIDAgNEgyYTIgMiAwIDAgMSAwLTR6Ii8+PGc+PHBhdGggZD0iTTIgMGgxMGEyIDIgMCAwIDEgMCA0SDJhMiAyIDAgMCAxIDAtNHoiLz48cGF0aCBkPSJNMiAwYTIgMiAwIDAgMSAyIDJ2MTBhMiAyIDAgMCAxLTQgMFYyYTIgMiAwIDAgMSAyLTJ6Ii8+PC9nPjxnPjxwYXRoIGQ9Ik0zOCAwYTIgMiAwIDAgMSAyIDJ2MTBhMiAyIDAgMCAxLTQgMFYyYTIgMiAwIDAgMSAyLTJ6Ii8+PHBhdGggZD0iTTI4IDBoMTBhMiAyIDAgMCAxIDAgNEgyOGEyIDIgMCAwIDEgMC00eiIvPjwvZz48L2c+PC9zdmc+)}.acf-collapser-initialized .acf-collapser-collapser-area{position:relative}.acf-collapser-initialized .acf-collapser-icon{position:absolute;z-index:2;top:5px;left:3px;width:25px;height:25px;background-color:#fff;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+bWluaW1pemU8L3RpdGxlPjxnIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0iTTM4IDMwSDI4YTIgMiAwIDAgMSAwLTRoMTBhMiAyIDAgMCAxIDAgNHoiLz48cGF0aCBkPSJNMjggNDBhMiAyIDAgMCAxLTItMlYyOGEyIDIgMCAwIDEgNCAwdjEwYTIgMiAwIDAgMS0yIDJ6TTEyIDQwYTIgMiAwIDAgMS0yLTJWMjhhMiAyIDAgMCAxIDQgMHYxMGEyIDIgMCAwIDEtMiAyeiIvPjxwYXRoIGQ9Ik0xMiAzMEgyYTIgMiAwIDAgMSAwLTRoMTBhMiAyIDAgMCAxIDAgNHoiLz48Zz48cGF0aCBkPSJNMTIgMTRIMmEyIDIgMCAwIDEgMC00aDEwYTIgMiAwIDAgMSAwIDR6Ii8+PHBhdGggZD0iTTEyIDE0YTIgMiAwIDAgMS0yLTJWMmEyIDIgMCAwIDEgNCAwdjEwYTIgMiAwIDAgMS0yIDJ6Ii8+PC9nPjxnPjxwYXRoIGQ9Ik0yOCAxNGEyIDIgMCAwIDEtMi0yVjJhMiAyIDAgMCAxIDQgMHYxMGEyIDIgMCAwIDEtMiAyeiIvPjxwYXRoIGQ9Ik0zOCAxNEgyOGEyIDIgMCAwIDEgMC00aDEwYTIgMiAwIDAgMSAwIDR6Ii8+PC9nPjwvZz48L3N2Zz4=);background-repeat:no-repeat;background-position:50%;background-size:13px;border:1px solid #dfdfdf;border-radius:50%}.acf-collapser-initialized.acf-row:not(.ui-sortable-helper) .acf-row-handle.order:hover .acf-collapser-icon{width:auto;border-radius:25px;background-position:6px}.acf-collapser-initialized.acf-row:not(.ui-sortable-helper) .acf-row-handle.order:hover .acf-collapser-icon:after{display:inline-block;content:attr(data-text);margin-left:25px;margin-top:3px;margin-right:10px}.acf-repeater .acf-row:hover>.acf-row-handle .acf-icon,.acf-row:hover a.acf-icon.-collapse[data-event=collapse-row],a.acf-icon.-collapse[data-event=collapse-row]{display:none!important} \ No newline at end of file +.acf-collapser-initialized.acf-collapser-collapsed .acf-collapser-collapser-area{max-height:150px;overflow:hidden}.acf-collapser-initialized.acf-collapser-collapsed .acf-collapser-collapser-area:hover{cursor:pointer}.acf-collapser-initialized.acf-collapser-collapsed .acf-collapser-collapser-area:after{content:'';display:block;position:absolute;bottom:0;left:0;right:0;height:100%;background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff);z-index:1}.acf-collapser-initialized.acf-collapser-collapsed .acf-collapser-icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+bWF4aW1pemU8L3RpdGxlPjxnIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0iTTI4IDM2aDEwYTIgMiAwIDAgMSAwIDRIMjhhMiAyIDAgMCAxIDAtNHoiLz48cGF0aCBkPSJNMzggMjZhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtNCAwVjI4YTIgMiAwIDAgMSAyLTJ6TTIgMjZhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtNCAwVjI4YTIgMiAwIDAgMSAyLTJ6Ii8+PHBhdGggZD0iTTIgMzZoMTBhMiAyIDAgMCAxIDAgNEgyYTIgMiAwIDAgMSAwLTR6Ii8+PGc+PHBhdGggZD0iTTIgMGgxMGEyIDIgMCAwIDEgMCA0SDJhMiAyIDAgMCAxIDAtNHoiLz48cGF0aCBkPSJNMiAwYTIgMiAwIDAgMSAyIDJ2MTBhMiAyIDAgMCAxLTQgMFYyYTIgMiAwIDAgMSAyLTJ6Ii8+PC9nPjxnPjxwYXRoIGQ9Ik0zOCAwYTIgMiAwIDAgMSAyIDJ2MTBhMiAyIDAgMCAxLTQgMFYyYTIgMiAwIDAgMSAyLTJ6Ii8+PHBhdGggZD0iTTI4IDBoMTBhMiAyIDAgMCAxIDAgNEgyOGEyIDIgMCAwIDEgMC00eiIvPjwvZz48L2c+PC9zdmc+)}.acf-collapser-initialized .acf-collapser-collapser-area{position:relative}.acf-collapser-initialized .acf-collapser-icon{position:absolute;z-index:2;top:5px;left:3px;width:25px;height:25px;background-color:#fff;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+bWluaW1pemU8L3RpdGxlPjxnIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0iTTM4IDMwSDI4YTIgMiAwIDAgMSAwLTRoMTBhMiAyIDAgMCAxIDAgNHoiLz48cGF0aCBkPSJNMjggNDBhMiAyIDAgMCAxLTItMlYyOGEyIDIgMCAwIDEgNCAwdjEwYTIgMiAwIDAgMS0yIDJ6TTEyIDQwYTIgMiAwIDAgMS0yLTJWMjhhMiAyIDAgMCAxIDQgMHYxMGEyIDIgMCAwIDEtMiAyeiIvPjxwYXRoIGQ9Ik0xMiAzMEgyYTIgMiAwIDAgMSAwLTRoMTBhMiAyIDAgMCAxIDAgNHoiLz48Zz48cGF0aCBkPSJNMTIgMTRIMmEyIDIgMCAwIDEgMC00aDEwYTIgMiAwIDAgMSAwIDR6Ii8+PHBhdGggZD0iTTEyIDE0YTIgMiAwIDAgMS0yLTJWMmEyIDIgMCAwIDEgNCAwdjEwYTIgMiAwIDAgMS0yIDJ6Ii8+PC9nPjxnPjxwYXRoIGQ9Ik0yOCAxNGEyIDIgMCAwIDEtMi0yVjJhMiAyIDAgMCAxIDQgMHYxMGEyIDIgMCAwIDEtMiAyeiIvPjxwYXRoIGQ9Ik0zOCAxNEgyOGEyIDIgMCAwIDEgMC00aDEwYTIgMiAwIDAgMSAwIDR6Ii8+PC9nPjwvZz48L3N2Zz4=);background-repeat:no-repeat;background-position:50%;background-size:13px;border:1px solid #dfdfdf;border-radius:50%}.acf-collapser-initialized.acf-row:not(.ui-sortable-helper) .acf-row-handle.order:hover .acf-collapser-icon{width:auto;border-radius:25px;background-position:6px}.acf-collapser-initialized.acf-row:not(.ui-sortable-helper) .acf-row-handle.order:hover .acf-collapser-icon:after{display:inline-block;content:attr(data-text);margin-left:25px;margin-top:3px;margin-right:10px}.acf-row:hover a.acf-icon.-collapse[data-event=collapse-row],a.acf-icon.-collapse[data-event=collapse-row]{display:none!important} \ No newline at end of file diff --git a/source/sass/acf-ux-collapse.scss b/source/sass/acf-ux-collapse.scss index 025a10e..c6d6b39 100644 --- a/source/sass/acf-ux-collapse.scss +++ b/source/sass/acf-ux-collapse.scss @@ -65,7 +65,6 @@ $minimize: 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZX } a.acf-icon.-collapse[data-event="collapse-row"], -.acf-row:hover a.acf-icon.-collapse[data-event="collapse-row"], -.acf-repeater .acf-row:hover > .acf-row-handle .acf-icon { +.acf-row:hover a.acf-icon.-collapse[data-event="collapse-row"] { display: none !important; }