PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.5
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.5
4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 All 203 releases
betterdocs / react-src / gutenberg / blocks / article-summary / src / style.scss

style.scss in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.5, at react-src/gutenberg/blocks/article-summary/src/style.scss

163 lines 3.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // Article Summary Block Styles
2 .betterdocs-article-summary {
3 background-color: #ffffff;
4 border: 1px solid #e1e5e9;
5 border-radius: 8px;
6 margin: 20px 0;
7
8 .betterdocs-summary-header {
9 cursor: pointer;
10 user-select: none;
11
12 &:hover {
13 .betterdocs-summary-title {
14 opacity: 0.8;
15 }
16 }
17 }
18
19 .betterdocs-summary-title {
20 margin: 0;
21 font-size: 16px;
22 font-weight: 600;
23 color: #2c3e50;
24 display: flex;
25 align-items: center;
26 gap: 10px;
27 transition: opacity 0.2s ease;
28
29 img {
30 width: 20px;
31 height: 20px;
32 flex-shrink: 0;
33 }
34
35 .betterdocs-summary-arrow {
36 margin-left: auto;
37
38 .angle-icon {
39 width: 12px;
40 height: 12px;
41 transition: transform 0.2s ease;
42 flex-shrink: 0;
43
44 &.angle-right {
45 display: block;
46 }
47
48 &.angle-down {
49 display: none;
50 }
51 }
52 }
53 }
54
55 .betterdocs-summary-content {
56 margin-top: 15px;
57
58 .betterdocs-summary-loading {
59 color: #666666;
60 font-style: italic;
61 padding: 10px 0;
62 display: flex;
63 align-items: center;
64 text-align: left;
65 font-size: 14px;
66 gap: 1px;
67
68 img {
69 width: 30px;
70 height: auto;
71 display: inline-block;
72 flex-shrink: 0;
73 }
74
75 .betterdocs-thinking-text {
76 display: flex;
77 align-items: baseline;
78 }
79
80 .betterdocs-thinking-dots {
81 display: inline-block;
82 min-width: 20px;
83 text-align: left;
84
85 &::after {
86 content: '';
87 animation: betterdocs-thinking-dots 1.5s infinite;
88 }
89 }
90 }
91
92 .betterdocs-summary-text,
93 .betterdocs-summary-preview {
94 color: #555555;
95 font-size: 14px;
96 line-height: 1.6;
97
98 p {
99 margin: 0 0 10px 0;
100
101 &:last-child {
102 margin-bottom: 0;
103 }
104 }
105
106 .summary-content {
107 p {
108 margin-top: 0;
109 margin-bottom: 15px;
110
111 &:last-child {
112 margin-bottom: 0;
113 }
114 }
115 }
116
117 .summary-error {
118 color: #e74c3c;
119 font-style: italic;
120 font-size: 14px;
121 }
122 }
123 }
124
125 // Responsive design
126 @media (max-width: 768px) {
127 padding: 15px;
128 margin: 15px 0;
129
130 .betterdocs-summary-title {
131 font-size: 14px;
132
133 img {
134 width: 18px;
135 height: 18px;
136 }
137
138 .betterdocs-summary-arrow .angle-icon {
139 width: 10px;
140 height: 10px;
141 }
142 }
143
144 .betterdocs-summary-content {
145 .betterdocs-summary-text,
146 .betterdocs-summary-preview {
147 font-size: 13px;
148 }
149 }
150 }
151 }
152
153 // Keyframes for animated thinking dots
154 @keyframes betterdocs-thinking-dots {
155 0% { content: ''; }
156 16.66% { content: '.'; }
157 33.33% { content: '..'; }
158 50% { content: '...'; }
159 66.66% { content: '....'; }
160 83.33% { content: '.....'; }
161 100% { content: ''; }
162 }
163