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

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

102 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ==========================================================
2 Chat Bubbles Block — bkbg-chat-bubble
3 ========================================================== */
4
5 .bkbg-chat-bubble-wrap {
6 box-sizing: border-box;
7 }
8
9 .bkbg-chat-container {
10 box-sizing: border-box;
11 }
12
13 .bkbg-chat-msg {
14 box-sizing: border-box;
15 }
16
17 .bkbg-chat-bubble {
18 word-break: break-word;
19 box-sizing: border-box;
20 font-family: var(--bkbg-cb-b-font-family, inherit);
21 font-size: var(--bkbg-cb-b-font-size-d, 14px);
22 font-weight: var(--bkbg-cb-b-font-weight, 400);
23 line-height: var(--bkbg-cb-b-line-height-d, 1.5);
24 text-transform: var(--bkbg-cb-b-text-transform, none);
25 font-style: var(--bkbg-cb-b-font-style, normal);
26 text-decoration: var(--bkbg-cb-b-text-decoration, none);
27 letter-spacing: var(--bkbg-cb-b-letter-spacing-d, normal);
28 word-spacing: var(--bkbg-cb-b-word-spacing-d, normal);
29 }
30
31 .bkbg-chat-sender {
32 margin: 0;
33 }
34
35 .bkbg-chat-time {
36 margin: 0;
37 }
38
39 .bkbg-chat-avatar {
40 flex-shrink: 0;
41 }
42
43 /* Typing indicator animation */
44 .bkbg-typing-indicator {
45 display: inline-flex;
46 align-items: center;
47 gap: 4px;
48 }
49
50 .bkbg-dot {
51 display: inline-block;
52 width: 7px;
53 height: 7px;
54 border-radius: 50%;
55 background: currentColor;
56 opacity: 0.5;
57 animation: bkbg-bounce 1.2s ease-in-out infinite;
58 }
59
60 .bkbg-dot:nth-child(1) { animation-delay: 0s; }
61 .bkbg-dot:nth-child(2) { animation-delay: 0.2s; }
62 .bkbg-dot:nth-child(3) { animation-delay: 0.4s; }
63
64 @keyframes bkbg-bounce {
65 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
66 40% { transform: translateY(-6px); opacity: 1; }
67 }
68
69 /* Dark chat style container adjustments */
70 .bkbg-chat-container--dark .bkbg-chat-sender {
71 color: rgba(255, 255, 255, 0.5) !important;
72 }
73
74 .bkbg-chat-container--dark .bkbg-chat-time {
75 color: rgba(255, 255, 255, 0.4) !important;
76 }
77
78 /* ── Typography responsive ── */
79 @media (max-width: 1024px) {
80 .bkbg-chat-bubble {
81 font-size: var(--bkbg-cb-b-font-size-t, var(--bkbg-cb-b-font-size-d, 14px));
82 line-height: var(--bkbg-cb-b-line-height-t, var(--bkbg-cb-b-line-height-d, 1.5));
83 letter-spacing: var(--bkbg-cb-b-letter-spacing-t, var(--bkbg-cb-b-letter-spacing-d, normal));
84 word-spacing: var(--bkbg-cb-b-word-spacing-t, var(--bkbg-cb-b-word-spacing-d, normal));
85 }
86 }
87 @media (max-width: 767px) {
88 .bkbg-chat-bubble {
89 font-size: var(--bkbg-cb-b-font-size-m, var(--bkbg-cb-b-font-size-t, var(--bkbg-cb-b-font-size-d, 14px)));
90 line-height: var(--bkbg-cb-b-line-height-m, var(--bkbg-cb-b-line-height-t, var(--bkbg-cb-b-line-height-d, 1.5)));
91 letter-spacing: var(--bkbg-cb-b-letter-spacing-m, var(--bkbg-cb-b-letter-spacing-t, var(--bkbg-cb-b-letter-spacing-d, normal)));
92 word-spacing: var(--bkbg-cb-b-word-spacing-m, var(--bkbg-cb-b-word-spacing-t, var(--bkbg-cb-b-word-spacing-d, normal)));
93 }
94 }
95
96 /* Responsive */
97 @media (max-width: 600px) {
98 .bkbg-chat-container {
99 padding: 16px !important;
100 }
101 }
102