.ablocks-block--image-hotspot > .ablocks-block-container { position: relative; width: 100%; height: auto; margin: 0 auto; display: flex; align-items: center; } .ablocks-block--image-hotspot .ablocks-icon.ablocks-icon--close { position: absolute; top: 10px; right: 15px; cursor: pointer; z-index: 100; border-radius: 50%; height: 20px; width: 20px; } .ablocks-block--image-hotspot .ablocks-icon.ablocks-icon--close svg{ fill: #000; width: 20px; height: 20px; } .ablocks-block--image-hotspot .ablocks-icon.ablocks-icon--close:hover svg{ border-radius: 50%; background-color: #d9d9d9; } /* .ablocks-block--image-hotspot .ablocks-icon.ablocks-icon--close:hover { background-color: #d9d9d9; } */ .ablocks-image-hotspot__bg-image { width: 100%; height: auto; object-fit: contain; object-position: center; position: relative; } .ablocks-image-hotspot__pin{ position: absolute; width: 15px; height: 15px; background-color: #d9d9d9; border-radius: 50%; cursor: pointer; z-index: 1; } .ablocks-image-hotspot__tooltip-content { word-wrap: break-word; overflow-wrap:anywhere; position: absolute; z-index: 2; transform: translate(-50%, 40px); pointer-events: auto; } .ablocks-image-hotspot-tooltip-arrow{ position: absolute; width: 1px; height: 1px; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 10px solid #fff; top: -10px; left: 50%; transform: translate(-48%, -50%) rotate(0deg); } .ablocks-block--image-hotspot-child > .ablocks-block-container > .block-editor-inner-blocks > .block-editor-block-list__layout{ display: flex; flex-direction: column; gap: 10px; } .ablocks-block--image-hotspot-child > .ablocks-block-container { display: none; } .ablocks-image-hotspot__tooltip--active { display: block !important; } .ablocks-image-hotspot__pin:after{ content: ''; position: absolute; background-color: #d9d9d9; border-radius: 50%; cursor: pointer; z-index: 1; height: 100%; width: 100%; } @keyframes ablocks-hotspot-puls-effect { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale( var(--ablocks-hotspot-effect-max-scale, 1.5) ); opacity: 0.5; } 100% { transform: scale(1); opacity: 1; } } @keyframes ablocks-hotspot-soft-beat { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale( var(--ablocks-hotspot-effect-max-scale, 1.5) ); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } } @keyframes ablocks-hotspot-glow { 0% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); } 50% { box-shadow: 0 0 20px rgba(255, 255, 255, 1); } 100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); } } /* Fade in/out */ @keyframes ablocks-hotspot-fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes ablocks-hotspot-fadeGrow { 0% { transform: translate(var(--ablocks-hotspot-translateX-start, 0px), var(--ablocks-hotspot-translateY-start, 0px)) rotate(0deg) scale(0.6); opacity: 0; } 100% { transform: translate(var(--ablocks-hotspot-translateX-end, 0px), var(--ablocks-hotspot-translateY-end, 0px)) rotate(0deg) scale(1); opacity: 1; } } @keyframes ablocks-hotspot-slideIn { 0% { transform: translate(var(--ablocks-hotspot-translateX-start, 0px), var(--ablocks-hotspot-translateY-start, 0px)) rotate(0deg); opacity: 0; } 100% { transform: translate(var(--ablocks-hotspot-translateX-end, 0px), var(--ablocks-hotspot-translateY-end, 0px)) rotate(0deg); opacity: 1; } }