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 / scss / elementor / category-box.scss

category-box.scss in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.5, at react-src/scss/elementor/category-box.scss

426 lines 14.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // Elementor Only Category Box
2 @import "../common";
3 @import "./common";
4
5 .betterdocs-category-box-wrapper.betterdocs-elementor
6 .betterdocs-category-box-inner-wrapper
7 .betterdocs-single-category-wrapper {
8 margin: 7.5px;
9 &:hover {
10 box-shadow: 0 20px 50px 0 rgba(0, 9, 78, 0.1);
11 }
12 }
13
14 .betterdocs-category-icon {
15 @include for(".betterdocs-category-box-wrapper") {
16 @include if(
17 ".betterdocs-category-box-wrapper",
18 ".betterdocs-elementor.el-layout-defualt"
19 ) {
20 margin-bottom: 15px;
21 }
22 @include if(
23 ".betterdocs-category-box-wrapper",
24 ".betterdocs-elementor.el-layout-3"
25 ) {
26 margin-right: 20px;
27 }
28 img {
29 width: auto;
30 }
31 }
32 }
33 .elementor-widget-betterdocs-multiple-kb
34 .betterdocs-category-box-wrapper.betterdocs-elementor.el-layout-2 {
35 .betterdocs-single-category-wrapper {
36 transition: 0.3s;
37 padding: 0;
38 &:hover {
39 box-shadow: 0px 20px 50px 0px rgba(#528ffe, 0.1);
40 }
41 .betterdocs-category-header-inner {
42 position: relative;
43 padding-right: 80px;
44 flex-wrap: nowrap;
45 display: flex;
46 flex-direction: row;
47 justify-content: flex-start;
48 @include responsive("desktop") {
49 @include if(
50 ".elementor-widget-betterdocs-multiple-kb",
51 ".elementor-grid-4"
52 ) {
53 flex-direction: column;
54 align-items: stretch;
55 padding-right: 0;
56 }
57 }
58 @include responsive("tablet") {
59 @include if(
60 ".elementor-widget-betterdocs-multiple-kb",
61 ".elementor-grid-tablet-3"
62 ) {
63 flex-direction: column;
64 align-items: stretch;
65 padding-right: 0;
66 }
67 @include if(
68 ".elementor-widget-betterdocs-multiple-kb",
69 ".elementor-grid-tablet-4"
70 ) {
71 flex-direction: column;
72 align-items: stretch;
73 padding-right: 0;
74 }
75 }
76 }
77 .betterdocs-category-icon {
78 padding: 20px;
79 border-right: 1px solid #f1f1f8;
80 box-sizing: content-box;
81 @include responsive("desktop") {
82 @include if(
83 ".elementor-widget-betterdocs-multiple-kb",
84 ".elementor-grid-4"
85 ) {
86 flex: 0 0 100%;
87 width: 100% !important;
88 box-sizing: border-box;
89 margin-left: auto;
90 margin-right: auto;
91 border-right: none;
92 border-bottom: 1px solid #f1f1f8;
93 }
94 }
95 @include responsive("tablet") {
96 @include if(
97 ".elementor-widget-betterdocs-multiple-kb",
98 ".elementor-grid-tablet-3"
99 ) {
100 flex: 0 0 100%;
101 width: 100% !important;
102 box-sizing: border-box;
103 margin-left: auto;
104 margin-right: auto;
105 border-right: none;
106 border-bottom: 1px solid #f1f1f8;
107 }
108 @include if(
109 ".elementor-widget-betterdocs-multiple-kb",
110 ".elementor-grid-tablet-4"
111 ) {
112 flex: 0 0 100%;
113 width: 100% !important;
114 box-sizing: border-box;
115 margin-left: auto;
116 margin-right: auto;
117 border-right: none;
118 border-bottom: 1px solid #f1f1f8;
119 }
120 }
121 }
122 .betterdocs-category-title {
123 transition: 0.3s;
124 margin-left: 20px;
125 margin-top: 10px;
126 margin-bottom: 10px;
127 @include responsive("desktop") {
128 @include if(
129 ".elementor-widget-betterdocs-multiple-kb",
130 ".elementor-grid-4"
131 ) {
132 flex: 0 0 100%;
133 padding: 0 20px;
134 text-align: center;
135 margin-left: 0px;
136 }
137 }
138 @include responsive("tablet") {
139 @include if(
140 ".elementor-widget-betterdocs-multiple-kb",
141 ".elementor-grid-tablet-3"
142 ) {
143 flex: 0 0 100%;
144 padding: 0 20px;
145 text-align: center;
146 margin-left: 0px;
147 }
148 @include if(
149 ".elementor-widget-betterdocs-multiple-kb",
150 ".elementor-grid-tablet-4"
151 ) {
152 flex: 0 0 100%;
153 padding: 0 20px;
154 text-align: center;
155 margin-left: 0px;
156 }
157 }
158 @include if(".betterdocs-single-category-wrapper", ":hover") {
159 a {
160 color: #528ffe;
161 }
162 }
163 }
164 .betterdocs-category-items-counts {
165 position: absolute;
166 right: 20px;
167 top: 50%;
168 transform: translateY(-50%);
169 transition: 0.3s;
170 height: 50px;
171 width: 50px;
172 border-radius: 5px;
173 background: #fff;
174 display: inline-flex;
175 align-items: center;
176 justify-content: center;
177 box-shadow: 0px 20px 50px 0px rgba(0, 9, 78, 0.1);
178 font-size: 16px;
179 @include responsive("desktop") {
180 @include if(
181 ".elementor-widget-betterdocs-multiple-kb",
182 ".elementor-grid-4"
183 ) {
184 position: static;
185 transform: translateY(0%);
186 margin-left: auto;
187 margin-right: auto;
188 margin-bottom: 20px;
189 }
190 }
191 @include responsive("tablet") {
192 @include if(
193 ".elementor-widget-betterdocs-multiple-kb",
194 ".elementor-grid-tablet-3"
195 ) {
196 position: static;
197 transform: translateY(0%);
198 margin-left: auto;
199 margin-right: auto;
200 margin-bottom: 20px;
201 }
202 @include if(
203 ".elementor-widget-betterdocs-multiple-kb",
204 ".elementor-grid-tablet-4"
205 ) {
206 position: static;
207 transform: translateY(0%);
208 margin-left: auto;
209 margin-right: auto;
210 margin-bottom: 20px;
211 }
212 }
213 @include if(".betterdocs-single-category-wrapper", ":hover") {
214 background: #f1f1f8;
215 box-shadow: none;
216 }
217 }
218 }
219 }
220
221 .elementor-widget-betterdocs-category-box
222 .betterdocs-category-box-wrapper.betterdocs-elementor.el-layout-2 {
223 .betterdocs-single-category-wrapper {
224 transition: 0.3s;
225 padding: 0;
226 &:hover {
227 box-shadow: 0px 20px 50px 0px rgba(#528ffe, 0.1);
228 }
229 .betterdocs-category-header-inner {
230 position: relative;
231 padding-right: 80px;
232 flex-wrap: nowrap;
233 display: flex;
234 flex-direction: row;
235 justify-content: flex-start;
236 @include responsive("desktop") {
237 @include if(
238 ".elementor-widget-betterdocs-category-box",
239 ".elementor-grid-4"
240 ) {
241 flex-direction: column;
242 align-items: stretch;
243 padding-right: 0;
244 }
245 }
246 @include responsive("tablet") {
247 @include if(
248 ".elementor-widget-betterdocs-category-box",
249 ".elementor-grid-tablet-3"
250 ) {
251 flex-direction: column;
252 align-items: stretch;
253 padding-right: 0;
254 }
255 @include if(
256 ".elementor-widget-betterdocs-category-box",
257 ".elementor-grid-tablet-4"
258 ) {
259 flex-direction: column;
260 align-items: stretch;
261 padding-right: 0;
262 }
263 }
264 }
265 .betterdocs-category-icon {
266 padding: 20px;
267 border-right: 1px solid #f1f1f8;
268 box-sizing: content-box;
269 @include responsive("desktop") {
270 @include if(
271 ".elementor-widget-betterdocs-category-box",
272 ".elementor-grid-4"
273 ) {
274 flex: 0 0 100%;
275 width: 100% !important;
276 box-sizing: border-box;
277 margin-left: auto;
278 margin-right: auto;
279 border-right: none;
280 border-bottom: 1px solid #f1f1f8;
281 }
282 }
283 @include responsive("tablet") {
284 @include if(
285 ".elementor-widget-betterdocs-category-box",
286 ".elementor-grid-tablet-3"
287 ) {
288 flex: 0 0 100%;
289 width: 100% !important;
290 box-sizing: border-box;
291 margin-left: auto;
292 margin-right: auto;
293 border-right: none;
294 border-bottom: 1px solid #f1f1f8;
295 }
296 @include if(
297 ".elementor-widget-betterdocs-category-box",
298 ".elementor-grid-tablet-4"
299 ) {
300 flex: 0 0 100%;
301 width: 100% !important;
302 box-sizing: border-box;
303 margin-left: auto;
304 margin-right: auto;
305 border-right: none;
306 border-bottom: 1px solid #f1f1f8;
307 }
308 }
309 }
310 .betterdocs-category-title {
311 transition: 0.3s;
312 margin-left: 20px;
313 margin-top: 10px;
314 margin-bottom: 10px;
315 @include responsive("desktop") {
316 @include if(
317 ".elementor-widget-betterdocs-category-box",
318 ".elementor-grid-4"
319 ) {
320 flex: 0 0 100%;
321 padding: 0 20px;
322 text-align: center;
323 margin-left: 0px;
324 }
325 }
326 @include responsive("tablet") {
327 @include if(
328 ".elementor-widget-betterdocs-category-box",
329 ".elementor-grid-tablet-3"
330 ) {
331 flex: 0 0 100%;
332 padding: 0 20px;
333 text-align: center;
334 margin-left: 0px;
335 }
336 @include if(
337 ".elementor-widget-betterdocs-category-box",
338 ".elementor-grid-tablet-4"
339 ) {
340 flex: 0 0 100%;
341 padding: 0 20px;
342 text-align: center;
343 margin-left: 0px;
344 }
345 }
346 @include if(".betterdocs-single-category-wrapper", ":hover") {
347 a {
348 color: #528ffe;
349 }
350 }
351 }
352 .betterdocs-category-items-counts {
353 position: absolute;
354 right: 20px;
355 top: 50%;
356 transform: translateY(-50%);
357 transition: 0.3s;
358 height: 50px;
359 width: 50px;
360 border-radius: 5px;
361 background: #fff;
362 display: inline-flex;
363 align-items: center;
364 justify-content: center;
365 box-shadow: 0px 20px 50px 0px rgba(0, 9, 78, 0.1);
366 font-size: 16px;
367 @include responsive("desktop") {
368 @include if(
369 ".elementor-widget-betterdocs-category-box",
370 ".elementor-grid-4"
371 ) {
372 position: static;
373 transform: translateY(0%);
374 margin-left: auto;
375 margin-right: auto;
376 margin-bottom: 20px;
377 }
378 }
379 @include responsive("tablet") {
380 @include if(
381 ".elementor-widget-betterdocs-category-box",
382 ".elementor-grid-tablet-3"
383 ) {
384 position: static;
385 transform: translateY(0%);
386 margin-left: auto;
387 margin-right: auto;
388 margin-bottom: 20px;
389 }
390 @include if(
391 ".elementor-widget-betterdocs-category-box",
392 ".elementor-grid-tablet-4"
393 ) {
394 position: static;
395 transform: translateY(0%);
396 margin-left: auto;
397 margin-right: auto;
398 margin-bottom: 20px;
399 }
400 }
401 @include if(".betterdocs-single-category-wrapper", ":hover") {
402 background: #f1f1f8;
403 box-shadow: none;
404 }
405 }
406 }
407 }
408
409 .betterdocs-category-box-wrapper.el-layout-3
410 .betterdocs-category-box-inner-wrapper {
411 display: flex;
412 flex-direction: column;
413 .betterdocs-category-header-inner {
414 display: flex;
415 flex-flow: row nowrap;
416 justify-content: flex-start;
417 align-items: stretch;
418 }
419 }
420
421 .betterdocs-category-box-folder-wrapper{ //box new layout name(categories-folder)
422 &.el-layout-4{
423 @import '../partials/categories-folder.scss';
424 }
425 }
426