| 1 |
// CHECKED: |
| 2 |
|
| 3 |
.betterdocs-single-category-wrapper { |
| 4 |
box-sizing: border-box; |
| 5 |
@include if (".betterdocs-category-grid-inner-wrapper", ".masonry") { |
| 6 |
margin-bottom: 15px; |
| 7 |
} |
| 8 |
.betterdocs-single-category-inner { |
| 9 |
background: #ffffff; |
| 10 |
box-shadow: 0 10px 100px 0 rgb(40 47 98 / 8%); |
| 11 |
margin-top: 0; |
| 12 |
display: flex; |
| 13 |
flex-direction: column; |
| 14 |
@include if( |
| 15 |
".betterdocs-category-grid-inner-wrapper", |
| 16 |
":not(.masonry)" |
| 17 |
) { |
| 18 |
height: 100%; |
| 19 |
// The sidebar reuses this grid markup but stacks the cards as an |
| 20 |
// accordion, so equal heights inflate every collapsed row to the |
| 21 |
// height of the expanded one. Never wanted there. |
| 22 |
@include for(".betterdocs-sidebar-content") { |
| 23 |
height: auto; |
| 24 |
} |
| 25 |
} |
| 26 |
@include for(".betterdocs-docs-archive-wrapper") { |
| 27 |
@include if( |
| 28 |
".betterdocs-docs-archive-wrapper", |
| 29 |
".betterdocs-category-layout-4" |
| 30 |
) { |
| 31 |
box-shadow: 0px 1px 5px 0px rgba(0, 9, 78, 0.1); |
| 32 |
} |
| 33 |
} |
| 34 |
} |
| 35 |
} |
| 36 |
|