PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.15.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.15.0
2.15.0 2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 All 82 releases
← All changes | assets/build/blocks/image-hotspot/style.css +1 -168 2.9.1 → 2.15.0 View file →
@@ -1,168 +1 @@
1 -.ablocks-block--image-hotspot > .ablocks-block-container {
2 - position: relative;
3 - width: 100%;
4 - height: auto;
5 - margin: 0 auto;
6 - display: flex;
7 - align-items: center;
8 -}
9 -
10 -.ablocks-block--image-hotspot .ablocks-icon.ablocks-icon--close {
11 - position: absolute;
12 - top: 10px;
13 - right: 15px;
14 - cursor: pointer;
15 - z-index: 100;
16 - border-radius: 50%;
17 - height: 20px;
18 - width: 20px;
19 -
20 -}
21 -.ablocks-block--image-hotspot .ablocks-icon.ablocks-icon--close svg{
22 - fill: #000;
23 - width: 20px;
24 - height: 20px;
25 -}
26 -.ablocks-block--image-hotspot .ablocks-icon.ablocks-icon--close:hover svg{
27 - border-radius: 50%;
28 - background-color: #d9d9d9;
29 -}
30 -
31 -/* .ablocks-block--image-hotspot .ablocks-icon.ablocks-icon--close:hover {
32 - background-color: #d9d9d9;
33 -} */
34 -
35 -.ablocks-image-hotspot__bg-image {
36 - width: 100%;
37 - height: auto;
38 - object-fit: contain;
39 - object-position: center;
40 - position: relative;
41 -}
42 -
43 -
44 -.ablocks-image-hotspot__pin{
45 - position: absolute;
46 - width: 15px;
47 - height: 15px;
48 - background-color: #d9d9d9;
49 - border-radius: 50%;
50 - cursor: pointer;
51 - z-index: 1;
52 -}
53 -.ablocks-image-hotspot__tooltip-content {
54 - word-wrap: break-word;
55 - overflow-wrap:anywhere;
56 - position: absolute;
57 - z-index: 2;
58 - transform: translate(-50%, 40px);
59 - pointer-events: auto;
60 - }
61 -
62 -
63 -.ablocks-image-hotspot-tooltip-arrow{
64 - position: absolute;
65 - width: 1px;
66 - height: 1px;
67 - border-left: 10px solid transparent;
68 - border-right: 10px solid transparent;
69 - border-bottom: 10px solid #fff;
70 - top: -10px;
71 - left: 50%;
72 - transform: translate(-48%, -50%) rotate(0deg);
73 -}
74 -
75 -.ablocks-block--image-hotspot-child > .ablocks-block-container > .block-editor-inner-blocks > .block-editor-block-list__layout{
76 - display: flex;
77 - flex-direction: column;
78 - gap: 10px;
79 -}
80 -
81 -.ablocks-block--image-hotspot-child > .ablocks-block-container {
82 - display: none;
83 -}
84 -.ablocks-image-hotspot__tooltip--active {
85 - display: block !important;
86 -}
87 -
88 -.ablocks-image-hotspot__pin:after{
89 - content: '';
90 - position: absolute;
91 - background-color: #d9d9d9;
92 - border-radius: 50%;
93 - cursor: pointer;
94 - z-index: 1;
95 - height: 100%;
96 - width: 100%;
97 -}
98 -
99 -@keyframes ablocks-hotspot-puls-effect {
100 - 0% {
101 - transform: scale(1);
102 - opacity: 1;
103 - }
104 - 50% {
105 - transform: scale( var(--ablocks-hotspot-effect-max-scale, 1.5) );
106 - opacity: 0.5;
107 - }
108 - 100% {
109 - transform: scale(1);
110 - opacity: 1;
111 - }
112 -}
113 -
114 -@keyframes ablocks-hotspot-soft-beat {
115 - 0% {
116 - transform: scale(1);
117 - opacity: 1;
118 - }
119 - 50% {
120 - transform: scale( var(--ablocks-hotspot-effect-max-scale, 1.5) );
121 - opacity: 0.8;
122 - }
123 - 100% {
124 - transform: scale(1);
125 - opacity: 1;
126 - }
127 -}
128 -
129 -@keyframes ablocks-hotspot-glow {
130 - 0% {
131 - box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
132 - }
133 - 50% {
134 - box-shadow: 0 0 20px rgba(255, 255, 255, 1);
135 - }
136 - 100% {
137 - box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
138 - }
139 -}
140 -
141 -
142 -/* Fade in/out */
143 -@keyframes ablocks-hotspot-fadeIn {
144 - 0% { opacity: 0; }
145 - 100% { opacity: 1; }
146 - }
147 -
148 -@keyframes ablocks-hotspot-fadeGrow {
149 - 0% {
150 - transform: translate(var(--ablocks-hotspot-translateX-start, 0px), var(--ablocks-hotspot-translateY-start, 0px)) rotate(0deg) scale(0.6);
151 - opacity: 0;
152 - }
153 - 100% {
154 - transform: translate(var(--ablocks-hotspot-translateX-end, 0px), var(--ablocks-hotspot-translateY-end, 0px)) rotate(0deg) scale(1);
155 - opacity: 1;
156 - }
157 -}
158 -
159 -@keyframes ablocks-hotspot-slideIn {
160 - 0% {
161 - transform: translate(var(--ablocks-hotspot-translateX-start, 0px), var(--ablocks-hotspot-translateY-start, 0px)) rotate(0deg);
162 - opacity: 0;
163 - }
164 - 100% {
165 - transform: translate(var(--ablocks-hotspot-translateX-end, 0px), var(--ablocks-hotspot-translateY-end, 0px)) rotate(0deg);
166 - opacity: 1;
167 - }
168 -}
1 +.ablocks-block--image-hotspot:not(.ablocks-has-container),.ablocks-block--image-hotspot>.ablocks-block-container{align-items:center;display:flex;height:auto;margin:0 auto;position:relative;width:100%}.ablocks-block--image-hotspot .ablocks-icon.ablocks-icon--close{border-radius:50%;cursor:pointer;height:20px;position:absolute;right:15px;top:10px;width:20px;z-index:100}.ablocks-block--image-hotspot .ablocks-icon.ablocks-icon--close svg{fill:#000;height:20px;width:20px}.ablocks-block--image-hotspot .ablocks-icon.ablocks-icon--close:hover svg{background-color:#d9d9d9;border-radius:50%}.ablocks-image-hotspot__bg-image{height:auto;object-fit:contain;object-position:center;position:relative;width:100%}.ablocks-image-hotspot__pin{background-color:#d9d9d9;border-radius:50%;cursor:pointer;height:15px;position:absolute;width:15px;z-index:1}.ablocks-image-hotspot__pin--has-icon{align-items:center;display:flex;justify-content:center}.ablocks-image-hotspot__pin--has-icon .ablocks-icon-wrap{align-items:center;display:flex;height:60%;justify-content:center;line-height:0;pointer-events:none;position:relative;width:60%;z-index:2}.ablocks-image-hotspot__pin--has-icon .ablocks-icon-wrap svg.ablocks-svg-icon{fill:#fff;height:100%;width:100%}.ablocks-image-hotspot__tooltip-content{word-wrap:break-word;overflow-wrap:anywhere;pointer-events:auto;position:absolute;transform:translate(-50%,40px);z-index:2}.ablocks-image-hotspot-tooltip-arrow{border-bottom:10px solid #fff;border-left:10px solid transparent;border-right:10px solid transparent;height:1px;left:50%;position:absolute;top:-10px;transform:translate(-48%,-50%) rotate(0deg);width:1px}.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{background-color:#d9d9d9;border-radius:50%;content:"";cursor:pointer;height:100%;position:absolute;width:100%;z-index:1}@keyframes ablocks-hotspot-puls-effect{0%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(var(--ablocks-hotspot-effect-max-scale,1.5))}to{opacity:1;transform:scale(1)}}@keyframes ablocks-hotspot-soft-beat{0%{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(var(--ablocks-hotspot-effect-max-scale,1.5))}to{opacity:1;transform:scale(1)}}@keyframes ablocks-hotspot-glow{0%{box-shadow:0 0 5px hsla(0,0%,100%,.5)}50%{box-shadow:0 0 20px #fff}to{box-shadow:0 0 5px hsla(0,0%,100%,.5)}}@keyframes ablocks-hotspot-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes ablocks-hotspot-fadeGrow{0%{opacity:0;transform:translate(var(--ablocks-hotspot-translateX-start,0),var(--ablocks-hotspot-translateY-start,0)) rotate(0deg) scale(.6)}to{opacity:1;transform:translate(var(--ablocks-hotspot-translateX-end,0),var(--ablocks-hotspot-translateY-end,0)) rotate(0deg) scale(1)}}@keyframes ablocks-hotspot-slideIn{0%{opacity:0;transform:translate(var(--ablocks-hotspot-translateX-start,0),var(--ablocks-hotspot-translateY-start,0)) rotate(0deg)}to{opacity:1;transform:translate(var(--ablocks-hotspot-translateX-end,0),var(--ablocks-hotspot-translateY-end,0)) rotate(0deg)}}