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 / blocks / list.scss

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

277 lines 7.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "../common";
2 @import "./common";
3 // CHECKED:
4
5 %listStyle {
6 display: inline-block;
7 margin: 0;
8 padding: 0;
9 list-style: none;
10 li {
11 margin: 10px;
12 list-style: none;
13 display: flex;
14 align-items: center;
15 position: relative;
16 @include for(".betterdocs-popular-articles-wrapper") {
17 display: flex;
18 flex-direction: row;
19 align-items: center;
20 a {
21 font-size: 17px;
22 }
23 }
24 img,
25 svg {
26 width: 15px;
27 font-size: 15px;
28 flex-shrink: 0;
29 margin-right: 10px;
30 @include for(
31 ".betterdocs-category-grid-list-inner-wrapper.layout-6 "
32 ) {
33 margin-right: 0;
34 }
35 @at-root .single-kb #{&} {
36 fill: #566e8b;
37 }
38 @include for(".betterdocs-popular-articles-wrapper") {
39 display: flex;
40 align-items: center;
41 font-size: 15px;
42 width: 15px;
43 fill: #a6a4ef;
44 }
45 }
46 @include for(".betterdocs-sidebar-list") {
47 &:not(.betterdocs-nested-category-wrapper) {
48 flex-direction: row;
49 align-items: center;
50 }
51 display: flex;
52 margin-bottom: 10px;
53 padding-top: 0px;
54 padding-right: 0px;
55 padding-bottom: 0px;
56 padding-left: 0px;
57 list-style: none;
58 }
59 a {
60 font-size: 15px;
61 transition: all 0.3s;
62 outline: none;
63 text-decoration: none;
64 color: #566e8b;
65 line-height: 2;
66 @include for(".betterdocs-popular-articles-wrapper") {
67 transition: all 0.3s;
68 outline: none;
69 font-size: 15px;
70 color: #566e8b;
71 line-height: 2;
72 &:hover {
73 color: #528ffe;
74 }
75 }
76 }
77 @include for(
78 ".betterdocs-single-category-wrapper .betterdocs-single-category-inner"
79 ) {
80 &:not(.betterdocs-nested-category-wrapper) {
81 margin-left: 10px;
82 margin-right: 10px;
83 margin-top: 10px;
84 margin-bottom: 10px;
85 // color: #566e8b;
86 display: flex;
87 flex-direction: row;
88 align-items: center;
89 }
90 i {
91 line-height: 1.8;
92 margin-right: 10px;
93 }
94 a {
95 color: #566e8b;
96 text-decoration: none;
97 &:hover,
98 &.active {
99 color: #528fff;
100 }
101 }
102 }
103 }
104 .betterdocs-nested-category-wrapper {
105 display: flex;
106 flex-direction: column;
107 align-items: stretch;
108 margin-left: 0;
109 margin-right: 0;
110 margin-bottom: 0;
111 .betterdocs-nested-category-title {
112 display: flex;
113 align-items: center;
114 cursor: pointer;
115 margin-left: 10px;
116 margin-right: 10px;
117 img,
118 svg {
119 fill: #566e8b;
120 width: 15px;
121 font-size: 15px;
122 flex-shrink: 0;
123 }
124 .arrow-down {
125 display: none;
126 }
127 @at-root .single-kb #{&} {
128 a {
129 color: #566e8b;
130 text-decoration: none;
131 }
132 }
133 }
134 }
135 .betterdocs-nested-category-list {
136 display: none;
137 margin-left: 20px;
138 padding-left: 0;
139 &.active {
140 display: block;
141 }
142 }
143 }
144
145 .betterdocs-articles-list {
146 @extend %listStyle;
147 }
148 .betterdocs-entry-body {
149 @include for(".doc-category-layout-6") {
150 width: 100%;
151 }
152 @extend %listStyle;
153 ul {
154 @include if(
155 ".betterdocs-entry-body",
156 ".betterdocs-taxonomy-doc-category"
157 ) {
158 &:not(.betterdocs-nested-category-list) {
159 margin: 0;
160 padding: 0;
161 list-style: none;
162 }
163 li {
164 display: flex;
165 padding-top: 0px;
166 padding-right: 0px;
167 padding-bottom: 0px;
168 padding-left: 0px;
169 list-style: none;
170 &:not(.betterdocs-nested-category-wrapper) {
171 margin-left: 10px;
172 margin-right: 10px;
173 margin-top: 10px;
174 margin-bottom: 10px;
175 // color: #566e8b;
176 display: flex;
177 flex-direction: row;
178 align-items: center;
179 }
180 @at-root .block-archive-list #{&} {
181 &:not(.betterdocs-nested-category-wrapper) {
182 margin-left: 0;
183 margin-right: 0;
184 }
185 }
186 i {
187 line-height: 1.8;
188 margin-right: 10px;
189 }
190 a {
191 transition: all 0.3s;
192 outline: none;
193 font-size: 17px;
194 color: #566e8b;
195 line-height: 1.5;
196 @include for(".betterdocs-wrapper") {
197 @include if(".betterdocs-wrapper", ":not(.layout-6)") {
198 text-decoration: none;
199 }
200 }
201 &.active,
202 &:hover {
203 color: #528ffe;
204 }
205 }
206 }
207 }
208 }
209 }
210
211 %listStyle-layout-6 {
212 list-style: none;
213 padding: 0;
214 margin-left: 0px;
215 width: 100%;
216 li {
217 width: 100%;
218 a {
219 width: 100%;
220 display: flex;
221 justify-content: space-between;
222 align-items: center;
223 transition: all 0.4s ease-in-out;
224 font-weight: 400;
225 font-size: 15px;
226 line-height: 63px;
227 color: #15063f;
228 text-decoration: none;
229 @include for(".betterdocs-wrapper") {
230 @include if(".betterdocs-wrapper", ":not(.layout-6)") {
231 border-width: 1px;
232 border-style: solid;
233 border-color: #e8e9eb transparent transparent;
234 text-decoration: none;
235 }
236 }
237 &:hover {
238 @include for(".betterdocs-wrapper") {
239 @include if(".betterdocs-wrapper", ":not(.layout-6)") {
240 border-color: #15063f;
241 background-color: #f2f0ff;
242 padding-left: 15px;
243 padding-right: 15px;
244 }
245 }
246 }
247 img,
248 svg {
249 height: 14px;
250 max-height: 500px;
251 max-width: 500px;
252 @include for(".betterdocs-wrapper") {
253 @include if(".betterdocs-wrapper", ":not(.layout-6)") {
254 width: 26px;
255 }
256 }
257 @include for(".betterdocs-wrapper") {
258 @include if(".betterdocs-wrapper", ".layout-6") {
259 width: 12px;
260 }
261 }
262 }
263 }
264 }
265 }
266 .betterdocs-category-grid-list-inner-wrapper.layout-6 .betterdocs-body ul {
267 @extend %listStyle-layout-6;
268 }
269 .betterdocs-category-grid-list-inner-wrapper.layout-6
270 .betterdocs-single-category-wrapper
271 .betterdocs-single-category-inner
272 .betterdocs-body
273 .betterdocs-articles-list
274 li:not(.betterdocs-nested-category-wrapper) {
275 margin: 0;
276 }
277