PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.13
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.13
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 / interactive-poll / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.13, at blocks/interactive-poll/style.css

161 lines 4.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ─────────────────────────────────────────────────────────────────
2 Interactive Poll — bkip
3 ───────────────────────────────────────────────────────────────── */
4
5 .bkip-wrap {
6 box-sizing: border-box;
7 font-family: inherit;
8 margin-left: auto;
9 margin-right: auto;
10 }
11
12 /* Question */
13 .bkip-question {
14 font-family: var(--bkip-q-font-family, inherit);
15 font-size: var(--bkip-q-font-size-d, var(--bkip-q-size, 22px));
16 font-weight: var(--bkip-q-font-weight, 700);
17 font-style: var(--bkip-q-font-style, normal);
18 text-decoration: var(--bkip-q-text-decoration, none);
19 text-transform: var(--bkip-q-text-transform, none);
20 line-height: var(--bkip-q-line-height-d, 1.35);
21 letter-spacing: var(--bkip-q-letter-spacing-d, normal);
22 word-spacing: var(--bkip-q-word-spacing-d, normal);
23 margin-top: 0;
24 margin-bottom: 20px;
25 }
26
27 /* Vote buttons */
28 .bkip-option-btn {
29 display: block;
30 width: 100%;
31 text-align: left;
32 padding: 12px 18px;
33 margin-bottom: 10px;
34 background: var(--bkip-btn-bg, #6c3fb5);
35 color: var(--bkip-btn-color, #fff);
36 border: none;
37 border-radius: var(--bkip-radius, 10px);
38 font-size: 15px;
39 font-weight: 600;
40 cursor: pointer;
41 transition: opacity 0.2s, transform 0.15s;
42 }
43
44 .bkip-option-btn:hover {
45 opacity: 0.88;
46 transform: translateX(3px);
47 }
48
49 /* Results section */
50 .bkip-results {
51 display: none;
52 }
53
54 .bkip-results.bkip-visible {
55 display: block;
56 }
57
58 .bkip-result {
59 margin-bottom: 16px;
60 }
61
62 .bkip-result-label {
63 display: flex;
64 justify-content: space-between;
65 align-items: baseline;
66 font-size: 14px;
67 font-weight: 500;
68 margin-bottom: 5px;
69 }
70
71 .bkip-result-pct {
72 font-weight: 700;
73 font-size: 13px;
74 color: var(--bkip-bar, #6c3fb5);
75 }
76
77 .bkip-bar {
78 width: 100%;
79 height: 10px;
80 background: var(--bkip-bar-bg, #ede9fe);
81 border-radius: 999px;
82 overflow: hidden;
83 }
84
85 .bkip-bar-fill {
86 height: 100%;
87 width: 0;
88 background: var(--bkip-bar, #6c3fb5);
89 border-radius: 999px;
90 transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
91 }
92
93 /* Votes hidden after vote cast */
94 .bkip-votes.bkip-hidden {
95 display: none;
96 }
97
98 /* Total + revote */
99 .bkip-total {
100 font-size: 13px;
101 color: #888;
102 margin-top: 10px;
103 margin-bottom: 6px;
104 }
105
106 .bkip-revote {
107 background: none;
108 border: none;
109 color: var(--bkip-bar, #6c3fb5);
110 font-size: 13px;
111 font-weight: 600;
112 cursor: pointer;
113 padding: 0;
114 text-decoration: underline;
115 text-underline-offset: 2px;
116 }
117
118 .bkip-revote:hover {
119 opacity: 0.75;
120 }
121
122 /* Data script — never show */
123 .bkip-data {
124 display: none !important;
125 }
126
127 /* Editor wrapper */
128 .bkip-editor-wrap {
129 width: 100%;
130 display: flex;
131 justify-content: flex-start;
132 }
133
134 /* Responsive typography */
135 @media (max-width: 1024px) {
136 .bkip-question {
137 font-size: var(--bkip-q-font-size-t, var(--bkip-q-font-size-d, var(--bkip-q-size, 22px)));
138 line-height: var(--bkip-q-line-height-t, var(--bkip-q-line-height-d, 1.35));
139 letter-spacing: var(--bkip-q-letter-spacing-t, var(--bkip-q-letter-spacing-d, normal));
140 word-spacing: var(--bkip-q-word-spacing-t, var(--bkip-q-word-spacing-d, normal));
141 }
142 }
143 @media (max-width: 767px) {
144 .bkip-question {
145 font-size: var(--bkip-q-font-size-m, var(--bkip-q-font-size-d, var(--bkip-q-size, 22px)));
146 line-height: var(--bkip-q-line-height-m, var(--bkip-q-line-height-d, 1.35));
147 letter-spacing: var(--bkip-q-letter-spacing-m, var(--bkip-q-letter-spacing-d, normal));
148 word-spacing: var(--bkip-q-word-spacing-m, var(--bkip-q-word-spacing-d, normal));
149 }
150 }
151
152 /* Reduced motion */
153 @media (prefers-reduced-motion: reduce) {
154 .bkip-bar-fill {
155 transition: none;
156 }
157 .bkip-option-btn {
158 transition: none;
159 }
160 }
161