| 1 |
// CHECKED: |
| 2 |
|
| 3 |
.betterdocs-display-flex { |
| 4 |
display: flex; |
| 5 |
flex-direction: row; |
| 6 |
|
| 7 |
@include responsive-below("tablet") { |
| 8 |
display: block; |
| 9 |
} |
| 10 |
} |
| 11 |
|
| 12 |
.betterdocs-sidebar { |
| 13 |
flex: 0 0 30%; |
| 14 |
@include for(".betterdocs-single-wrapper:not(.betterdocs-fluid-wrapper) .betterdocs-content-wrapper" |
| 15 |
|
| 16 |
) { |
| 17 |
max-width: 400px; |
| 18 |
} |
| 19 |
|
| 20 |
@include for(".betterdocs-taxonomy-wrapper:not(.betterdocs-fluid-wrapper) .betterdocs-content-wrapper" |
| 21 |
|
| 22 |
) { |
| 23 |
max-width: 400px; |
| 24 |
} |
| 25 |
} |
| 26 |
|
| 27 |
.betterdocs-content-area { |
| 28 |
flex: 1 1 70%; |
| 29 |
padding: 0 20px 20px; |
| 30 |
} |
| 31 |
|
| 32 |
.betterdocs-wrapper { |
| 33 |
background-color: #fff; |
| 34 |
flex: auto; |
| 35 |
|
| 36 |
&.betterdocs-taxonomy-wrapper { |
| 37 |
background-color: $tax-archive-bg; |
| 38 |
|
| 39 |
&.betterdocs-archive-layout-7{ |
| 40 |
margin: 0 auto; |
| 41 |
background-color: #fff; |
| 42 |
} |
| 43 |
} |
| 44 |
|
| 45 |
&.betterdocs-single-wrapper { |
| 46 |
background-color: $single-article-bg; |
| 47 |
} |
| 48 |
|
| 49 |
&.betterdocs-single-layout-8 { |
| 50 |
background: #FFFFFF; |
| 51 |
|
| 52 |
.betterdocs-content-wrapper { |
| 53 |
max-width: 1400px; |
| 54 |
margin: 0 auto; |
| 55 |
@include if(".betterdocs-wrapper", |
| 56 |
".betterdocs-single-layout-10" |
| 57 |
) { |
| 58 |
padding-top: 0; |
| 59 |
padding-bottom: 0; |
| 60 |
} |
| 61 |
@media only screen and (max-width: 1280px) { |
| 62 |
gap: 20px; |
| 63 |
} |
| 64 |
|
| 65 |
.betterdocs-sidebar-layout-7 { |
| 66 |
border-right: 1px solid #EAECF0; |
| 67 |
z-index: 1; |
| 68 |
@media only screen and (max-width: 1024px) { |
| 69 |
grid-column: 1 / span 4; |
| 70 |
} |
| 71 |
|
| 72 |
@media only screen and (max-width: 768px) { |
| 73 |
grid-column: 1 / span 12; |
| 74 |
border-right: none; |
| 75 |
display: none; |
| 76 |
} |
| 77 |
} |
| 78 |
|
| 79 |
.docs-content-full-main { |
| 80 |
padding-top: 57px; |
| 81 |
padding-right: 10px; |
| 82 |
padding-left: 24px; |
| 83 |
padding-bottom: 57px; |
| 84 |
|
| 85 |
@media only screen and (max-width: 1280px) { |
| 86 |
padding-top: 30px; |
| 87 |
padding-right: 10px; |
| 88 |
padding-left: 16px; |
| 89 |
padding-bottom: 40px; |
| 90 |
} |
| 91 |
|
| 92 |
@media only screen and (max-width: 1024px) { |
| 93 |
grid-column-start: 5; |
| 94 |
} |
| 95 |
|
| 96 |
|
| 97 |
@media only screen and (max-width: 767px) { |
| 98 |
padding: 0 !important; |
| 99 |
} |
| 100 |
|
| 101 |
.betterdocs-content-inner-area { |
| 102 |
padding: 0; |
| 103 |
|
| 104 |
.betterdocs-entry-header { |
| 105 |
.betterdocs-entry-title { |
| 106 |
font-size: 42px; |
| 107 |
font-weight: 700; |
| 108 |
line-height: 1.2em; |
| 109 |
color: #1D2939; |
| 110 |
text-transform: unset; |
| 111 |
margin: 0; |
| 112 |
padding-bottom: 24px; |
| 113 |
|
| 114 |
@media only screen and (max-width: 1280px) { |
| 115 |
font-size: 30px; |
| 116 |
padding-bottom: 18px; |
| 117 |
} |
| 118 |
} |
| 119 |
} |
| 120 |
|
| 121 |
.betterdocs-entry-content { |
| 122 |
.betterdocs-print-pdf { |
| 123 |
display: none; |
| 124 |
} |
| 125 |
} |
| 126 |
|
| 127 |
.betterdocs-author-date { |
| 128 |
.update-date { |
| 129 |
margin: 0; |
| 130 |
padding-top: 0; |
| 131 |
border-top: none; |
| 132 |
} |
| 133 |
} |
| 134 |
.betterdocs-print-date { |
| 135 |
margin: 24px 0 0; |
| 136 |
padding-top: 16px; |
| 137 |
border-top: 1px solid #EAECF0; |
| 138 |
display: flex; |
| 139 |
flex-direction: row; |
| 140 |
align-items: center; |
| 141 |
@media only screen and (max-width: 1280px) { |
| 142 |
margin: 18px 0 0; |
| 143 |
padding-top: 12px; |
| 144 |
} |
| 145 |
.update-date { |
| 146 |
color: #475467; |
| 147 |
font-size: 14px; |
| 148 |
line-height: 20px; |
| 149 |
margin-left: auto; |
| 150 |
@media only screen and (max-width: 1280px) { |
| 151 |
font-size: 12px; |
| 152 |
line-height: 16px; |
| 153 |
} |
| 154 |
} |
| 155 |
} |
| 156 |
|
| 157 |
.betterdocs-entry-footer { |
| 158 |
|
| 159 |
.related-articles-title, |
| 160 |
.betterdocs-attachment-heading { |
| 161 |
font-size: 32px; |
| 162 |
line-height: 1.3em; |
| 163 |
font-weight: 500; |
| 164 |
color: #1D2939; |
| 165 |
margin: 0; |
| 166 |
padding-bottom: 20px; |
| 167 |
|
| 168 |
@media only screen and (max-width: 1280px) { |
| 169 |
font-size: 24px; |
| 170 |
padding-bottom: 16px; |
| 171 |
} |
| 172 |
} |
| 173 |
|
| 174 |
.betterdocs-tags-print { |
| 175 |
display: flex; |
| 176 |
align-items: center; |
| 177 |
justify-content: space-between; |
| 178 |
gap: 60px; |
| 179 |
margin-top: 40px; |
| 180 |
margin-right: 8px; |
| 181 |
|
| 182 |
@media only screen and (max-width: 1280px) { |
| 183 |
gap: 50px; |
| 184 |
margin-top: 30px; |
| 185 |
} |
| 186 |
|
| 187 |
.betterdocs-tags { |
| 188 |
margin: 0; |
| 189 |
display: flex; |
| 190 |
flex-wrap: wrap; |
| 191 |
gap: 8px; |
| 192 |
|
| 193 |
a { |
| 194 |
color: #475467; |
| 195 |
font-size: 14px; |
| 196 |
line-height: 20px; |
| 197 |
font-weight: 400; |
| 198 |
padding: 4px 8px; |
| 199 |
background: #F2F4F7; |
| 200 |
border-radius: 4px; |
| 201 |
} |
| 202 |
} |
| 203 |
|
| 204 |
.betterdocs-print-pdf-2 { |
| 205 |
|
| 206 |
.betterdocs-print-btn-2 { |
| 207 |
background: #F2F4F7; |
| 208 |
border-radius: 4px; |
| 209 |
width: 28px; |
| 210 |
height: 28px; |
| 211 |
display: inline-flex; |
| 212 |
justify-content: center; |
| 213 |
align-items: center; |
| 214 |
|
| 215 |
svg { |
| 216 |
width: 18px; |
| 217 |
} |
| 218 |
} |
| 219 |
} |
| 220 |
} |
| 221 |
|
| 222 |
.betterdocs-article-reactions { |
| 223 |
display: flex; |
| 224 |
flex-direction: column; |
| 225 |
gap: 20px; |
| 226 |
padding: 0; |
| 227 |
margin-top: 40px; |
| 228 |
|
| 229 |
@media only screen and (max-width: 1280px) { |
| 230 |
gap: 16px; |
| 231 |
margin-top: 30px; |
| 232 |
} |
| 233 |
|
| 234 |
.betterdocs-article-reactions-heading { |
| 235 |
|
| 236 |
.betterdocs-reactions-title-tag { |
| 237 |
font-size: 32px; |
| 238 |
line-height: 1.3em; |
| 239 |
font-weight: 500; |
| 240 |
color: #1D2939; |
| 241 |
margin: 0; |
| 242 |
|
| 243 |
@media only screen and (max-width: 1280px) { |
| 244 |
font-size: 24px; |
| 245 |
} |
| 246 |
} |
| 247 |
} |
| 248 |
|
| 249 |
.betterdocs-article-reactions-box { |
| 250 |
padding: 40px 40px 40px 24px; |
| 251 |
border-radius: 4px; |
| 252 |
border: 1px solid #EAECF0; |
| 253 |
display: flex; |
| 254 |
align-items: center; |
| 255 |
justify-content: space-between; |
| 256 |
flex: 1; |
| 257 |
gap: 20px; |
| 258 |
|
| 259 |
@media only screen and (max-width: 1280px) { |
| 260 |
padding: 30px 30px 30px 18px; |
| 261 |
gap: 16px; |
| 262 |
} |
| 263 |
|
| 264 |
// Phones: the emoji list keeps its width, so side by side the heading got |
| 265 |
// ~26 px and broke into fragments ("W / ha / t ..."). Stack them instead. |
| 266 |
@media only screen and (max-width: 600px) { |
| 267 |
flex-direction: column; |
| 268 |
align-items: flex-start; |
| 269 |
padding: 20px; |
| 270 |
|
| 271 |
p { |
| 272 |
word-break: normal; |
| 273 |
overflow-wrap: normal; |
| 274 |
} |
| 275 |
} |
| 276 |
|
| 277 |
p { |
| 278 |
font-size: 18px; |
| 279 |
line-height: 1.2em; |
| 280 |
color: #475467; |
| 281 |
margin: 0; |
| 282 |
text-align: left; |
| 283 |
&.feedback-message { |
| 284 |
text-align: center; |
| 285 |
} |
| 286 |
|
| 287 |
@media only screen and (max-width: 1280px) { |
| 288 |
font-size: 16px; |
| 289 |
} |
| 290 |
} |
| 291 |
|
| 292 |
.layout-2 { |
| 293 |
list-style: none; |
| 294 |
display: flex; |
| 295 |
align-items: center; |
| 296 |
gap: 16px; |
| 297 |
|
| 298 |
@media only screen and (max-width: 1280px) { |
| 299 |
gap: 12px; |
| 300 |
} |
| 301 |
|
| 302 |
li { |
| 303 |
position: relative; |
| 304 |
|
| 305 |
&:hover { |
| 306 |
.betterdocs-tooltip { |
| 307 |
visibility: visible; |
| 308 |
opacity: 1; |
| 309 |
} |
| 310 |
} |
| 311 |
|
| 312 |
a.betterdocs-emoji { |
| 313 |
display: inline-flex; |
| 314 |
align-items: center; |
| 315 |
justify-content: center; |
| 316 |
width: 40px; |
| 317 |
height: 40px; |
| 318 |
background: #F2F4F7; |
| 319 |
border-radius: 50%; |
| 320 |
|
| 321 |
@media only screen and (max-width: 1280px) { |
| 322 |
width: 32px; |
| 323 |
height: 32px; |
| 324 |
} |
| 325 |
|
| 326 |
&:focus-within, |
| 327 |
&:focus-visible { |
| 328 |
outline: 0; |
| 329 |
box-shadow: none; |
| 330 |
} |
| 331 |
img { |
| 332 |
max-width: 25px; |
| 333 |
} |
| 334 |
} |
| 335 |
|
| 336 |
.betterdocs-tooltip { |
| 337 |
position: absolute; |
| 338 |
top: 50%; |
| 339 |
right: 56px; |
| 340 |
transform: translateY(-50%); |
| 341 |
padding: 10px 12px; |
| 342 |
width: 70px; |
| 343 |
border-radius: 10px; |
| 344 |
background: #FFFFFF; |
| 345 |
font-size: 12px; |
| 346 |
font-weight: 600; |
| 347 |
line-height: 1.3em; |
| 348 |
color: #667085; |
| 349 |
text-align: center; |
| 350 |
box-shadow: 0px 0px 24px rgba(16, 24, 40, 0.031372549), 0px 0px 36px rgba(16, 24, 40, 0.0784313725); |
| 351 |
transition: all .35s ease-in-out; |
| 352 |
visibility: hidden; |
| 353 |
opacity: 0; |
| 354 |
|
| 355 |
&::after { |
| 356 |
content: ""; |
| 357 |
position: absolute; |
| 358 |
right: -16px; |
| 359 |
top: 50%; |
| 360 |
transform: translateY(-50%); |
| 361 |
border-width: 8px; |
| 362 |
border-style: solid; |
| 363 |
border-color: transparent transparent transparent #FFF; |
| 364 |
width: 16px; |
| 365 |
height: 10px; |
| 366 |
} |
| 367 |
} |
| 368 |
} |
| 369 |
} |
| 370 |
} |
| 371 |
} |
| 372 |
|
| 373 |
.betterdocs-attachment-wrapper { |
| 374 |
margin: 0; |
| 375 |
padding: 0; |
| 376 |
margin-top: 40px; |
| 377 |
|
| 378 |
@media only screen and (max-width: 1280px) { |
| 379 |
margin-top: 30px; |
| 380 |
} |
| 381 |
|
| 382 |
.attachment-list { |
| 383 |
flex-direction: column; |
| 384 |
gap: 24px; |
| 385 |
|
| 386 |
@media only screen and (max-width: 1280px) { |
| 387 |
gap: 18px; |
| 388 |
} |
| 389 |
|
| 390 |
.attachment-details { |
| 391 |
flex: 70%; |
| 392 |
width: 70%; |
| 393 |
padding: 12px; |
| 394 |
|
| 395 |
@media only screen and (max-width: 1280px) { |
| 396 |
padding: 8px; |
| 397 |
} |
| 398 |
|
| 399 |
a { |
| 400 |
gap: 4px; |
| 401 |
display: inline-flex; |
| 402 |
|
| 403 |
.attachment-name { |
| 404 |
color: #000; |
| 405 |
} |
| 406 |
|
| 407 |
.attachment-size { |
| 408 |
color: #98A2B3; |
| 409 |
} |
| 410 |
} |
| 411 |
} |
| 412 |
} |
| 413 |
} |
| 414 |
|
| 415 |
.betterdocs-related-articles-container-front { |
| 416 |
margin: 0; |
| 417 |
padding: 0; |
| 418 |
margin-top: 40px; |
| 419 |
|
| 420 |
@media only screen and (max-width: 1280px) { |
| 421 |
margin-top: 30px; |
| 422 |
} |
| 423 |
|
| 424 |
.related-articles-list { |
| 425 |
flex-direction: column; |
| 426 |
gap: 24px; |
| 427 |
|
| 428 |
@media only screen and (max-width: 1280px) { |
| 429 |
gap: 18px; |
| 430 |
} |
| 431 |
|
| 432 |
li { |
| 433 |
border: none; |
| 434 |
flex: 70%; |
| 435 |
width: 70%; |
| 436 |
padding: 0; |
| 437 |
gap: 0; |
| 438 |
padding-left: 18px; |
| 439 |
|
| 440 |
@media only screen and (max-width: 1280px) { |
| 441 |
padding-left: 14px; |
| 442 |
} |
| 443 |
|
| 444 |
a { |
| 445 |
font-size: 16px; |
| 446 |
line-height: 1.2em; |
| 447 |
font-weight: 500; |
| 448 |
color: #667085; |
| 449 |
transition: ease-in-out .35s; |
| 450 |
display: inline-flex; |
| 451 |
position: relative; |
| 452 |
|
| 453 |
@media only screen and (max-width: 1280px) { |
| 454 |
font-size: 14px; |
| 455 |
} |
| 456 |
|
| 457 |
&:hover { |
| 458 |
color: #344054; |
| 459 |
text-decoration: underline; |
| 460 |
|
| 461 |
&::before { |
| 462 |
background: #98A2B3; |
| 463 |
} |
| 464 |
} |
| 465 |
|
| 466 |
&::before { |
| 467 |
content: ''; |
| 468 |
position: absolute; |
| 469 |
top: 50%; |
| 470 |
left: -18px; |
| 471 |
transform: translateY(-50%); |
| 472 |
width: 14px; |
| 473 |
height: 14px; |
| 474 |
border-radius: 4px; |
| 475 |
background: #EAECF0; |
| 476 |
transition: ease-in-out .35s; |
| 477 |
|
| 478 |
@media only screen and (max-width: 1280px) { |
| 479 |
left: -14px; |
| 480 |
width: 12px; |
| 481 |
height: 12px; |
| 482 |
} |
| 483 |
} |
| 484 |
|
| 485 |
&:last-child { |
| 486 |
display: none; |
| 487 |
} |
| 488 |
} |
| 489 |
|
| 490 |
svg { |
| 491 |
display: none; |
| 492 |
} |
| 493 |
} |
| 494 |
} |
| 495 |
} |
| 496 |
|
| 497 |
.betterdocs-social-share { |
| 498 |
display: flex; |
| 499 |
flex-flow: row wrap; |
| 500 |
flex-direction: column; |
| 501 |
gap: 24px; |
| 502 |
margin-top: 40px; |
| 503 |
|
| 504 |
@media only screen and (max-width: 1280px) { |
| 505 |
gap: 18px; |
| 506 |
margin-top: 30px; |
| 507 |
} |
| 508 |
|
| 509 |
.betterdocs-social-share-heading { |
| 510 |
.betterdocs-social-share-title-tag { |
| 511 |
font-size: 32px; |
| 512 |
line-height: 1.2em; |
| 513 |
font-weight: 500; |
| 514 |
color: #1D2939; |
| 515 |
margin: 0; |
| 516 |
|
| 517 |
@media only screen and (max-width: 1280px) { |
| 518 |
font-size: 24px; |
| 519 |
} |
| 520 |
} |
| 521 |
} |
| 522 |
|
| 523 |
.betterdocs-social-share-links { |
| 524 |
padding: 0; |
| 525 |
margin: 0; |
| 526 |
flex: 1; |
| 527 |
align-items: center; |
| 528 |
display: flex; |
| 529 |
justify-content: flex-start; |
| 530 |
gap: 16px; |
| 531 |
padding: 40px 24px; |
| 532 |
border: 1px solid #EAECF0; |
| 533 |
border-radius: 4px; |
| 534 |
|
| 535 |
@media only screen and (max-width: 1280px) { |
| 536 |
gap: 12px; |
| 537 |
padding: 30px 18px; |
| 538 |
} |
| 539 |
|
| 540 |
li { |
| 541 |
list-style: none; |
| 542 |
padding: 0; |
| 543 |
text-align: center; |
| 544 |
flex: unset; |
| 545 |
cursor: pointer; |
| 546 |
margin: 0; |
| 547 |
|
| 548 |
@media only screen and (max-width: 1280px) { |
| 549 |
width: 30px; |
| 550 |
height: 30px; |
| 551 |
} |
| 552 |
|
| 553 |
a { |
| 554 |
width: 40px; |
| 555 |
height: 40px; |
| 556 |
display: inline-flex; |
| 557 |
justify-content: center; |
| 558 |
align-items: center; |
| 559 |
border-radius: 50%; |
| 560 |
background: #EAECF0; |
| 561 |
|
| 562 |
@media only screen and (max-width: 1280px) { |
| 563 |
width: 30px; |
| 564 |
height: 30px; |
| 565 |
} |
| 566 |
|
| 567 |
img { |
| 568 |
height: 24px; |
| 569 |
width: 24px; |
| 570 |
|
| 571 |
@media only screen and (max-width: 1280px) { |
| 572 |
width: 18px; |
| 573 |
height: 18px; |
| 574 |
} |
| 575 |
} |
| 576 |
} |
| 577 |
} |
| 578 |
} |
| 579 |
} |
| 580 |
|
| 581 |
.feedback-update-form { |
| 582 |
display: flex; |
| 583 |
justify-content: space-between; |
| 584 |
align-items: center; |
| 585 |
margin: 40px 0; |
| 586 |
padding: 16px; |
| 587 |
border-top: 1px solid #EAECF0; |
| 588 |
|
| 589 |
@media only screen and (max-width: 1280px) { |
| 590 |
margin: 30px 0; |
| 591 |
padding: 12px; |
| 592 |
} |
| 593 |
|
| 594 |
.update-date { |
| 595 |
color: #475467; |
| 596 |
font-size: 14px; |
| 597 |
font-style: italic; |
| 598 |
|
| 599 |
@media only screen and (max-width: 1280px) { |
| 600 |
font-size: 12px; |
| 601 |
} |
| 602 |
} |
| 603 |
} |
| 604 |
} |
| 605 |
|
| 606 |
.docs-navigation { |
| 607 |
padding: 14px 16px; |
| 608 |
display: flex; |
| 609 |
justify-content: space-between; |
| 610 |
align-items: center; |
| 611 |
background-color: #F9FAFB; |
| 612 |
border-radius: 4px; |
| 613 |
margin: 40px 0; |
| 614 |
gap: 10px; |
| 615 |
|
| 616 |
@media only screen and (max-width: 1280px) { |
| 617 |
padding: 10px 12px; |
| 618 |
margin: 30px 0; |
| 619 |
} |
| 620 |
|
| 621 |
a { |
| 622 |
display: inline-flex; |
| 623 |
margin: 0; |
| 624 |
font-size: 14px; |
| 625 |
color: #344054; |
| 626 |
|
| 627 |
@media only screen and (max-width: 1280px) { |
| 628 |
font-size: 12px; |
| 629 |
} |
| 630 |
|
| 631 |
svg { |
| 632 |
fill: #667085; |
| 633 |
} |
| 634 |
} |
| 635 |
} |
| 636 |
} |
| 637 |
} |
| 638 |
|
| 639 |
.betterdocs-full-sidebar-right { |
| 640 |
padding-left: 0; |
| 641 |
padding-top: 54px; |
| 642 |
|
| 643 |
@media only screen and (max-width: 1280px) { |
| 644 |
padding-top: 34px; |
| 645 |
} |
| 646 |
|
| 647 |
.right-sidebar-toc-container { |
| 648 |
top: 50px; |
| 649 |
padding-left: 20px; |
| 650 |
padding-bottom: 80px; |
| 651 |
|
| 652 |
@media only screen and (max-width: 1280px) { |
| 653 |
top: 40px; |
| 654 |
padding-left: 20px; |
| 655 |
padding-bottom: 50px; |
| 656 |
} |
| 657 |
|
| 658 |
.simplebar-content { |
| 659 |
|
| 660 |
display: flex; |
| 661 |
flex-direction: column; |
| 662 |
|
| 663 |
.betterdocs-toc { |
| 664 |
padding: 0 0; |
| 665 |
display: inline-flex; |
| 666 |
flex-direction: column; |
| 667 |
position: sticky; |
| 668 |
top: 0px; |
| 669 |
max-height: 100vh; |
| 670 |
overflow-y: auto; |
| 671 |
flex: 1; |
| 672 |
|
| 673 |
.toc-title { |
| 674 |
color: #667085; |
| 675 |
font-size: 16px; |
| 676 |
line-height: 26px; |
| 677 |
|
| 678 |
@media only screen and (max-width: 1280px) { |
| 679 |
font-size: 14px; |
| 680 |
line-height: 22px; |
| 681 |
} |
| 682 |
} |
| 683 |
|
| 684 |
ul { |
| 685 |
padding-left: 18px; |
| 686 |
|
| 687 |
display: flex; |
| 688 |
flex-direction: column; |
| 689 |
gap: 12px; |
| 690 |
|
| 691 |
@media only screen and (max-width: 1280px) { |
| 692 |
gap: 8px; |
| 693 |
} |
| 694 |
|
| 695 |
&.betterdocs-hierarchial-toc { |
| 696 |
position: relative; |
| 697 |
padding-top: 16px; |
| 698 |
|
| 699 |
@media only screen and (max-width: 1280px) { |
| 700 |
padding-top: 12px; |
| 701 |
} |
| 702 |
|
| 703 |
&::before { |
| 704 |
content: ''; |
| 705 |
position: absolute; |
| 706 |
top: 0; |
| 707 |
left: 6px; |
| 708 |
width: 1px; |
| 709 |
height: 100%; |
| 710 |
background: #D0D5DD; |
| 711 |
|
| 712 |
} |
| 713 |
} |
| 714 |
|
| 715 |
li { |
| 716 |
padding: 0; |
| 717 |
a { |
| 718 |
display: inline-flex; |
| 719 |
font-size: 14px; |
| 720 |
line-height: 22px; |
| 721 |
color: #667085; |
| 722 |
font-weight: 500; |
| 723 |
padding: 8px; |
| 724 |
|
| 725 |
@media only screen and (max-width: 1280px) { |
| 726 |
font-size: 12px; |
| 727 |
line-height: 18px; |
| 728 |
} |
| 729 |
|
| 730 |
&.active { |
| 731 |
color: #344054; |
| 732 |
&::after { |
| 733 |
content: ""; |
| 734 |
position: absolute; |
| 735 |
left: 5px; |
| 736 |
width: 4px; |
| 737 |
height: 2em; |
| 738 |
background: #A1DCC0; |
| 739 |
border-radius: 4px; |
| 740 |
} |
| 741 |
} |
| 742 |
|
| 743 |
&::before { |
| 744 |
display: none; |
| 745 |
} |
| 746 |
} |
| 747 |
|
| 748 |
ul { |
| 749 |
li { |
| 750 |
a { |
| 751 |
&.active { |
| 752 |
&::after { |
| 753 |
content: ""; |
| 754 |
position: absolute; |
| 755 |
left: 5px; |
| 756 |
width: 4px; |
| 757 |
height: 2em; |
| 758 |
background: #A1DCC0; |
| 759 |
border-radius: 4px; |
| 760 |
} |
| 761 |
} |
| 762 |
} |
| 763 |
} |
| 764 |
|
| 765 |
} |
| 766 |
} |
| 767 |
} |
| 768 |
&.toc-list-number { |
| 769 |
ul { |
| 770 |
li { |
| 771 |
a { |
| 772 |
&:before { |
| 773 |
display: block; |
| 774 |
margin-right: 2px; |
| 775 |
|
| 776 |
} |
| 777 |
} |
| 778 |
} |
| 779 |
} |
| 780 |
} |
| 781 |
} |
| 782 |
|
| 783 |
.betterdocs-article-reactions { |
| 784 |
margin-top: 24px; |
| 785 |
padding: 32px 24px; |
| 786 |
background-color: #F9FAFB; |
| 787 |
border-radius: 4px; |
| 788 |
|
| 789 |
@media only screen and (max-width: 1280px) { |
| 790 |
margin-top: 30px; |
| 791 |
padding: 22px 18px; |
| 792 |
} |
| 793 |
|
| 794 |
.betterdocs-article-reactions-sidebar { |
| 795 |
display: flex; |
| 796 |
flex-direction: column; |
| 797 |
gap: 12px; |
| 798 |
|
| 799 |
@media only screen and (max-width: 1280px) { |
| 800 |
gap: 8px; |
| 801 |
} |
| 802 |
|
| 803 |
.betterdocs-reactions-title-tag { |
| 804 |
font-size: 1em; |
| 805 |
margin: 0; |
| 806 |
color: #667085; |
| 807 |
} |
| 808 |
|
| 809 |
.betterdocs-article-reaction-links { |
| 810 |
display: flex; |
| 811 |
align-items: center; |
| 812 |
gap: 12px; |
| 813 |
list-style: none; |
| 814 |
|
| 815 |
@media only screen and (max-width: 1280px) { |
| 816 |
gap: 8px; |
| 817 |
} |
| 818 |
|
| 819 |
li { |
| 820 |
display: flex; |
| 821 |
align-items: center; |
| 822 |
justify-content: center; |
| 823 |
gap: 4px; |
| 824 |
padding: 8px; |
| 825 |
border-radius: 4px; |
| 826 |
background-color: transparent; |
| 827 |
transition: ease-in-out .35s; |
| 828 |
cursor: pointer; |
| 829 |
|
| 830 |
a { |
| 831 |
display: inline-flex; |
| 832 |
|
| 833 |
svg { |
| 834 |
width: 16px; |
| 835 |
height: 16px; |
| 836 |
|
| 837 |
@media only screen and (max-width: 1280px) { |
| 838 |
width: 14px; |
| 839 |
height: 14px; |
| 840 |
} |
| 841 |
} |
| 842 |
|
| 843 |
img { |
| 844 |
max-width: 16px; |
| 845 |
} |
| 846 |
} |
| 847 |
|
| 848 |
&:hover { |
| 849 |
background-color: #EAECF0; |
| 850 |
} |
| 851 |
|
| 852 |
.betterdocs-tooltip { |
| 853 |
font-size: 14px; |
| 854 |
color: #667085; |
| 855 |
|
| 856 |
@media only screen and (max-width: 1280px) { |
| 857 |
font-size: 12px; |
| 858 |
} |
| 859 |
} |
| 860 |
} |
| 861 |
&.layout-3 { |
| 862 |
li { |
| 863 |
a { |
| 864 |
display: flex; |
| 865 |
align-items: center; |
| 866 |
gap: 5px; |
| 867 |
} |
| 868 |
} |
| 869 |
} |
| 870 |
} |
| 871 |
} |
| 872 |
} |
| 873 |
|
| 874 |
.betterdocs-social-share { |
| 875 |
display: flex; |
| 876 |
flex-direction: column; |
| 877 |
gap: 12px; |
| 878 |
margin-top: 40px; |
| 879 |
padding: 32px 24px; |
| 880 |
background-color: #F9FAFB; |
| 881 |
border-radius: 4px; |
| 882 |
|
| 883 |
@media only screen and (max-width: 1280px) { |
| 884 |
gap: 8px; |
| 885 |
margin-top: 18px; |
| 886 |
padding: 22px 18px; |
| 887 |
} |
| 888 |
|
| 889 |
.betterdocs-social-share-heading .betterdocs-social-share-title-tag { |
| 890 |
font-size: 1em; |
| 891 |
margin: 0; |
| 892 |
color: #667085; |
| 893 |
} |
| 894 |
|
| 895 |
.betterdocs-social-share-links { |
| 896 |
gap: 8px; |
| 897 |
align-items: center; |
| 898 |
justify-content: flex-start; |
| 899 |
|
| 900 |
li { |
| 901 |
width: 24px; |
| 902 |
height: 24px; |
| 903 |
padding: 0; |
| 904 |
flex: unset; |
| 905 |
cursor: pointer; |
| 906 |
img { |
| 907 |
vertical-align: inherit; |
| 908 |
} |
| 909 |
@media only screen and (max-width: 1280px) { |
| 910 |
width: 20px; |
| 911 |
height: 20px; |
| 912 |
} |
| 913 |
|
| 914 |
a { |
| 915 |
width: 24px; |
| 916 |
height: 24px; |
| 917 |
display: inline-flex; |
| 918 |
justify-content: center; |
| 919 |
align-items: center; |
| 920 |
border-radius: 50%; |
| 921 |
background: #EAECF0; |
| 922 |
|
| 923 |
@media only screen and (max-width: 1280px) { |
| 924 |
width: 20px; |
| 925 |
height: 20px; |
| 926 |
} |
| 927 |
|
| 928 |
img { |
| 929 |
width: 15px; |
| 930 |
height: 15px; |
| 931 |
} |
| 932 |
} |
| 933 |
} |
| 934 |
} |
| 935 |
} |
| 936 |
} |
| 937 |
} |
| 938 |
} |
| 939 |
} |
| 940 |
} |
| 941 |
|
| 942 |
button { |
| 943 |
border: none; |
| 944 |
|
| 945 |
&:focus { |
| 946 |
outline: none; |
| 947 |
} |
| 948 |
} |
| 949 |
} |
| 950 |
|
| 951 |
.betterdocs-author-date { |
| 952 |
display: flex; |
| 953 |
justify-content: space-between; |
| 954 |
align-items: center; |
| 955 |
gap: 30px; |
| 956 |
padding: 16px; |
| 957 |
margin-bottom: 32px; |
| 958 |
border-top: 1px solid #EAECF0; |
| 959 |
border-bottom: 1px solid #EAECF0; |
| 960 |
|
| 961 |
@media only screen and (max-width: 1280px) { |
| 962 |
gap: 20px; |
| 963 |
padding: 12px; |
| 964 |
margin-top: 18px; |
| 965 |
} |
| 966 |
|
| 967 |
.betterdocs-author { |
| 968 |
display: flex; |
| 969 |
align-items: center; |
| 970 |
gap: 16px; |
| 971 |
|
| 972 |
@media only screen and (max-width: 1280px) { |
| 973 |
gap: 12px; |
| 974 |
} |
| 975 |
|
| 976 |
.author-avatar { |
| 977 |
img { |
| 978 |
max-width: 100%; |
| 979 |
width: 40px; |
| 980 |
height: 40px; |
| 981 |
border-radius: 50%; |
| 982 |
|
| 983 |
@media only screen and (max-width: 1280px) { |
| 984 |
width: 32px; |
| 985 |
height: 32px; |
| 986 |
} |
| 987 |
} |
| 988 |
} |
| 989 |
|
| 990 |
>span { |
| 991 |
font-size: 16px; |
| 992 |
color: #667085; |
| 993 |
|
| 994 |
@media only screen and (max-width: 1280px) { |
| 995 |
font-size: 14px; |
| 996 |
} |
| 997 |
} |
| 998 |
} |
| 999 |
|
| 1000 |
.update-date { |
| 1001 |
display: flex; |
| 1002 |
justify-content: flex-end; |
| 1003 |
align-items: center; |
| 1004 |
margin: 0; |
| 1005 |
padding-top: 0; |
| 1006 |
border-top: none; |
| 1007 |
color: #475467; |
| 1008 |
font-size: 14px; |
| 1009 |
line-height: 20px; |
| 1010 |
} |
| 1011 |
} |
| 1012 |
|
| 1013 |
.betterdocs-shortcode { |
| 1014 |
&>.layout-flex { |
| 1015 |
@at-root .betterdocs-category-list-view-wrapper#{&}#{&} { |
| 1016 |
flex-direction: column; |
| 1017 |
} |
| 1018 |
} |
| 1019 |
} |
| 1020 |
|
| 1021 |
.betterdocs-single-layout-8.betterdocs-single-layout-9 { |
| 1022 |
.betterdocs-content-wrapper { |
| 1023 |
.betterdocs-full-sidebar-right { |
| 1024 |
.right-sidebar-toc-container { |
| 1025 |
.simplebar-content { |
| 1026 |
|
| 1027 |
display: flex; |
| 1028 |
flex-direction: column; |
| 1029 |
|
| 1030 |
.betterdocs-toc { |
| 1031 |
padding: 0 0; |
| 1032 |
display: inline-flex; |
| 1033 |
flex-direction: column; |
| 1034 |
position: sticky; |
| 1035 |
top: 0px; |
| 1036 |
max-height: 50vh; |
| 1037 |
overflow-y: auto; |
| 1038 |
flex: 1; |
| 1039 |
} |
| 1040 |
} |
| 1041 |
} |
| 1042 |
} |
| 1043 |
} |
| 1044 |
} |
| 1045 |
|
| 1046 |
.betterdocs-single-layout-8.betterdocs-single-layout-10 { |
| 1047 |
.betterdocs-content-wrapper { |
| 1048 |
.betterdocs-full-sidebar-right { |
| 1049 |
max-width: 270px; |
| 1050 |
.right-sidebar-toc-container { |
| 1051 |
.simplebar-content { |
| 1052 |
.betterdocs-toc { |
| 1053 |
.toc-title { |
| 1054 |
padding: 0 8px; |
| 1055 |
} |
| 1056 |
ul { |
| 1057 |
padding-left: 0; |
| 1058 |
&.betterdocs-hierarchial-toc { |
| 1059 |
&::before { |
| 1060 |
display: none; |
| 1061 |
} |
| 1062 |
} |
| 1063 |
li { |
| 1064 |
padding: 0; |
| 1065 |
a { |
| 1066 |
&:hover, &.active { |
| 1067 |
background-color: #E8FFF4; |
| 1068 |
} |
| 1069 |
&.active { |
| 1070 |
&::after { |
| 1071 |
display: none; |
| 1072 |
} |
| 1073 |
} |
| 1074 |
} |
| 1075 |
} |
| 1076 |
} |
| 1077 |
&.toc-list-number { |
| 1078 |
ul { |
| 1079 |
li { |
| 1080 |
a { |
| 1081 |
&:before { |
| 1082 |
display: none; |
| 1083 |
} |
| 1084 |
} |
| 1085 |
} |
| 1086 |
} |
| 1087 |
} |
| 1088 |
} |
| 1089 |
} |
| 1090 |
} |
| 1091 |
} |
| 1092 |
} |
| 1093 |
} |
| 1094 |
|
| 1095 |
.betterdocs-mobile-nav { |
| 1096 |
display: none; |
| 1097 |
@include responsive-from("tablet") { |
| 1098 |
display: flex; |
| 1099 |
justify-content: space-between; |
| 1100 |
align-items: center; |
| 1101 |
gap: 20px; |
| 1102 |
padding: 12px; |
| 1103 |
margin-top: 18px; |
| 1104 |
margin-bottom: 32px; |
| 1105 |
border-top: 1px solid #EAECF0; |
| 1106 |
border-bottom: 1px solid #EAECF0; |
| 1107 |
} |
| 1108 |
.betterdocs-sidebar-icon { |
| 1109 |
display: flex; |
| 1110 |
justify-content: center; |
| 1111 |
align-items: center; |
| 1112 |
span { |
| 1113 |
font-size: 14px; |
| 1114 |
font-weight: 400; |
| 1115 |
line-height: 20px; |
| 1116 |
text-align: left; |
| 1117 |
color: #667085; |
| 1118 |
} |
| 1119 |
} |
| 1120 |
.betterdocs-mobile-nav-icon-svg { |
| 1121 |
height: 32px; |
| 1122 |
width: 32px; |
| 1123 |
display: flex; |
| 1124 |
justify-content: center; |
| 1125 |
align-items: center; |
| 1126 |
background-color: #EAECF0; |
| 1127 |
border-radius: 50%; |
| 1128 |
margin-right: 9px; |
| 1129 |
} |
| 1130 |
} |
| 1131 |
.betterdocs-mobile-sidebar-wrapper { |
| 1132 |
position: fixed; |
| 1133 |
left: 0; |
| 1134 |
top: 0; |
| 1135 |
width: 100%; |
| 1136 |
height: 100%; |
| 1137 |
z-index: 999; |
| 1138 |
background-color: rgba(0, 0, 0, 0.5); // Optional: To darken the background when sidebar is open |
| 1139 |
display: none; |
| 1140 |
.betterdocs-sidebar-layout-1, |
| 1141 |
.betterdocs-full-sidebar-left, |
| 1142 |
.betterdocs-sidebar.betterdocs-sidebar-layout-6 { |
| 1143 |
display: block; |
| 1144 |
left: -300px; // Start from off-screen position |
| 1145 |
right: auto; |
| 1146 |
position: fixed; |
| 1147 |
width: 300px; |
| 1148 |
top: 0; |
| 1149 |
bottom: 0; |
| 1150 |
background-color: #fff; |
| 1151 |
z-index: 2; |
| 1152 |
box-shadow: rgba(0, 0, 0, .25) 0 25px 50px -6px; |
| 1153 |
overflow-y: auto; |
| 1154 |
} |
| 1155 |
} |
| 1156 |
|
| 1157 |
.betterdocs-mobile-toc-wrapper { |
| 1158 |
position: fixed; |
| 1159 |
right: 0; |
| 1160 |
top: 0; |
| 1161 |
width: 100%; |
| 1162 |
height: 100%; |
| 1163 |
z-index: 999; |
| 1164 |
background-color: rgba(0, 0, 0, 0.5); // Optional: To darken the background when sidebar is open |
| 1165 |
display: none; |
| 1166 |
|
| 1167 |
.betterdocs-full-sidebar-right { |
| 1168 |
display: block; |
| 1169 |
right: -300px; // Start from off-screen position |
| 1170 |
left: auto; |
| 1171 |
position: fixed; |
| 1172 |
width: 300px; |
| 1173 |
top: 0; |
| 1174 |
bottom: 0; |
| 1175 |
background-color: #fff; |
| 1176 |
z-index: 2; |
| 1177 |
box-shadow: rgba(0, 0, 0, .25) 0 25px 50px -6px; |
| 1178 |
overflow-y: auto; |
| 1179 |
} |
| 1180 |
} |
| 1181 |
.admin-bar { |
| 1182 |
.betterdocs-mobile-sidebar-wrapper { |
| 1183 |
.betterdocs-sidebar-layout-1, |
| 1184 |
.betterdocs-full-sidebar-left, |
| 1185 |
.betterdocs-sidebar.betterdocs-sidebar-layout-6, |
| 1186 |
.betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right { |
| 1187 |
padding-top: 46px !important; |
| 1188 |
} |
| 1189 |
} |
| 1190 |
.betterdocs-mobile-toc-wrapper { |
| 1191 |
.betterdocs-full-sidebar-right { |
| 1192 |
padding-top: 56px !important; |
| 1193 |
.betterdocs-toc { |
| 1194 |
padding-right: 20px !important; |
| 1195 |
} |
| 1196 |
} |
| 1197 |
} |
| 1198 |
} |
| 1199 |
|