PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / product-360 / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/product-360/style.css

134 lines 3.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* =====================================================
2 Product 360° — bkbg-p360-*
3 ===================================================== */
4
5 .bkbg-p360-app {
6 box-sizing: border-box;
7 }
8
9 .bkbg-p360-viewer {
10 position: relative;
11 overflow: hidden;
12 cursor: grab;
13 user-select: none;
14 -webkit-user-select: none;
15 touch-action: none;
16 margin: 0 auto;
17 }
18
19 .bkbg-p360-viewer.bkbg-p360-dragging {
20 cursor: grabbing;
21 }
22
23 /* ── Frame image ── */
24 .bkbg-p360-img {
25 display: block;
26 width: 100%;
27 height: 100%;
28 object-fit: contain;
29 pointer-events: none;
30 -webkit-user-drag: none;
31 }
32
33 /* ── Progress bar ── */
34 .bkbg-p360-progress {
35 position: absolute;
36 bottom: 0;
37 left: 0;
38 height: 3px;
39 background: var(--p360-progress, #6366f1);
40 transition: width 60ms linear;
41 pointer-events: none;
42 z-index: 2;
43 }
44
45 /* ── Hint ── */
46 .bkbg-p360-hint {
47 position: absolute;
48 bottom: 12px;
49 left: 50%;
50 transform: translateX(-50%);
51 padding: 4px 12px;
52 border-radius: 100px;
53 pointer-events: none;
54 z-index: 3;
55 opacity: 1;
56 transition: opacity .4s;
57 white-space: nowrap;
58 font-family: var(--bkbg-p360-hn-font-family, inherit);
59 font-size: var(--bkbg-p360-hn-font-size-d, 12px);
60 font-weight: var(--bkbg-p360-hn-font-weight, 500);
61 font-style: var(--bkbg-p360-hn-font-style, normal);
62 text-decoration: var(--bkbg-p360-hn-text-decoration, none);
63 text-transform: var(--bkbg-p360-hn-text-transform, none);
64 line-height: var(--bkbg-p360-hn-line-height-d, normal);
65 letter-spacing: var(--bkbg-p360-hn-letter-spacing-d, normal);
66 word-spacing: var(--bkbg-p360-hn-word-spacing-d, normal);
67 }
68
69 .bkbg-p360-hint.bkbg-p360-fade {
70 opacity: 0;
71 }
72
73 /* ── Controls ── */
74 .bkbg-p360-controls {
75 display: flex;
76 align-items: center;
77 justify-content: center;
78 gap: 12px;
79 margin-top: 12px;
80 }
81
82 .bkbg-p360-btn {
83 width: 36px;
84 height: 36px;
85 border-radius: 50%;
86 border: none;
87 cursor: pointer;
88 font-size: 16px;
89 display: flex;
90 align-items: center;
91 justify-content: center;
92 transition: opacity .2s;
93 }
94
95 .bkbg-p360-btn:hover {
96 opacity: .75;
97 }
98
99 .bkbg-p360-counter {
100 font-size: 13px;
101 font-weight: 600;
102 min-width: 60px;
103 text-align: center;
104 }
105
106 /* ── Spinner placeholder ── */
107 .bkbg-p360-loading {
108 position: absolute;
109 inset: 0;
110 display: flex;
111 align-items: center;
112 justify-content: center;
113 font-size: 40px;
114 opacity: .4;
115 }
116
117 @media (max-width: 1024px) {
118 .bkbg-p360-hint {
119 font-size: var(--bkbg-p360-hn-font-size-t, 12px);
120 line-height: var(--bkbg-p360-hn-line-height-t, normal);
121 letter-spacing: var(--bkbg-p360-hn-letter-spacing-t, normal);
122 word-spacing: var(--bkbg-p360-hn-word-spacing-t, normal);
123 }
124 }
125
126 @media (max-width: 767px) {
127 .bkbg-p360-hint {
128 font-size: var(--bkbg-p360-hn-font-size-m, 12px);
129 line-height: var(--bkbg-p360-hn-line-height-m, normal);
130 letter-spacing: var(--bkbg-p360-hn-letter-spacing-m, normal);
131 word-spacing: var(--bkbg-p360-hn-word-spacing-m, normal);
132 }
133 }
134