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 / unfold / style.css

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

137 lines 4.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* =====================================================
2 Blockenberg — unfold (bkbg-ufd-*)
3 ===================================================== */
4
5 /* ── Content wrapper ── */
6 .bkbg-ufd-content-wrap {
7 position: relative;
8 overflow: hidden;
9 transition: max-height ease-in-out;
10 }
11
12 /* ── Hidden source element (read by frontend.js) ── */
13 .bkbg-ufd-content-src {
14 display: none;
15 }
16
17 /* ── Fade gradient overlay ── */
18 .bkbg-ufd-gradient {
19 position: absolute;
20 bottom: 0;
21 left: 0;
22 right: 0;
23 pointer-events: none;
24 transition: opacity 0.3s ease;
25 }
26
27 .bkbg-ufd-content-wrap.bkbg-ufd-expanded .bkbg-ufd-gradient {
28 opacity: 0;
29 }
30
31 /* ── Button row ── */
32 .bkbg-ufd-btn-wrap {
33 margin-top: 16px;
34 }
35
36 /* ── Button base ── */
37 .bkbg-ufd-btn {
38 display: inline-block;
39 cursor: pointer;
40 font-family: var(--bkufd-bt-ff, inherit);
41 font-size: var(--bkufd-bt-fsd, 14px);
42 line-height: var(--bkufd-bt-lhd, 1.4);
43 letter-spacing: var(--bkufd-bt-lsd, normal);
44 word-spacing: var(--bkufd-bt-wsd, normal);
45 font-weight: var(--bkufd-bt-fw, 600);
46 font-style: var(--bkufd-bt-fst, normal);
47 text-decoration: var(--bkufd-bt-td, none);
48 text-transform: var(--bkufd-bt-tt, none);
49 transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
50 }
51 .bkbg-ufd-btn:focus-visible {
52 outline: 2px solid currentColor;
53 outline-offset: 3px;
54 }
55
56 /* Filled */
57 .bkbg-ufd-btn.bkbg-ufd-btn-filled {
58 padding: 10px 24px;
59 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
60 }
61 .bkbg-ufd-btn.bkbg-ufd-btn-filled:hover {
62 opacity: 0.88;
63 transform: translateY(-1px);
64 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
65 }
66 .bkbg-ufd-btn.bkbg-ufd-btn-filled:active {
67 transform: translateY(0);
68 }
69
70 /* Outline */
71 .bkbg-ufd-btn.bkbg-ufd-btn-outline {
72 padding: 10px 24px;
73 background: transparent;
74 }
75 .bkbg-ufd-btn.bkbg-ufd-btn-outline:hover {
76 opacity: 0.78;
77 }
78
79 /* Text */
80 .bkbg-ufd-btn.bkbg-ufd-btn-text {
81 background: none;
82 border: none;
83 padding: 4px 0;
84 }
85 .bkbg-ufd-btn.bkbg-ufd-btn-text:hover {
86 opacity: 0.7;
87 text-decoration: underline;
88 }
89
90 /* ── Content richtext body ── */
91 .bkbg-ufd-content-body {
92 font-family: var(--bkufd-ct-ff, inherit);
93 font-size: var(--bkufd-ct-fsd, 16px);
94 line-height: var(--bkufd-ct-lhd, 1.7);
95 letter-spacing: var(--bkufd-ct-lsd, normal);
96 word-spacing: var(--bkufd-ct-wsd, normal);
97 font-weight: var(--bkufd-ct-fw, normal);
98 font-style: var(--bkufd-ct-fst, normal);
99 text-decoration: var(--bkufd-ct-td, none);
100 text-transform: var(--bkufd-ct-tt, none);
101 }
102 .bkbg-ufd-content-body p {
103 margin: 0 0 1em;
104 }
105 .bkbg-ufd-content-body p:last-child {
106 margin-bottom: 0;
107 }
108
109 @media (max-width: 1024px) {
110 .bkbg-ufd-content-body {
111 font-size: var(--bkufd-ct-fst1, var(--bkufd-ct-fsd, 16px));
112 line-height: var(--bkufd-ct-lht, var(--bkufd-ct-lhd, 1.7));
113 letter-spacing: var(--bkufd-ct-lst, var(--bkufd-ct-lsd, normal));
114 word-spacing: var(--bkufd-ct-wst, var(--bkufd-ct-wsd, normal));
115 }
116 .bkbg-ufd-btn {
117 font-size: var(--bkufd-bt-fst1, var(--bkufd-bt-fsd, 14px));
118 line-height: var(--bkufd-bt-lht, var(--bkufd-bt-lhd, 1.4));
119 letter-spacing: var(--bkufd-bt-lst, var(--bkufd-bt-lsd, normal));
120 word-spacing: var(--bkufd-bt-wst, var(--bkufd-bt-wsd, normal));
121 }
122 }
123 @media (max-width: 767px) {
124 .bkbg-ufd-content-body {
125 font-size: var(--bkufd-ct-fsm, var(--bkufd-ct-fst1, var(--bkufd-ct-fsd, 16px)));
126 line-height: var(--bkufd-ct-lhm, var(--bkufd-ct-lht, var(--bkufd-ct-lhd, 1.7)));
127 letter-spacing: var(--bkufd-ct-lsm, var(--bkufd-ct-lst, var(--bkufd-ct-lsd, normal)));
128 word-spacing: var(--bkufd-ct-wsm, var(--bkufd-ct-wst, var(--bkufd-ct-wsd, normal)));
129 }
130 .bkbg-ufd-btn {
131 font-size: var(--bkufd-bt-fsm, var(--bkufd-bt-fst1, var(--bkufd-bt-fsd, 14px)));
132 line-height: var(--bkufd-bt-lhm, var(--bkufd-bt-lht, var(--bkufd-bt-lhd, 1.4)));
133 letter-spacing: var(--bkufd-bt-lsm, var(--bkufd-bt-lst, var(--bkufd-bt-lsd, normal)));
134 word-spacing: var(--bkufd-bt-wsm, var(--bkufd-bt-wst, var(--bkufd-bt-wsd, normal)));
135 }
136 }
137