| 1 |
// CHECKED: |
| 2 |
@import "../common"; |
| 3 |
|
| 4 |
.betterdocs-tab-list { |
| 5 |
display: flex; |
| 6 |
flex-direction: row; |
| 7 |
flex-wrap: wrap; |
| 8 |
justify-content: center; |
| 9 |
width: 100%; |
| 10 |
margin-bottom: 30px; |
| 11 |
button, |
| 12 |
a { |
| 13 |
display: block; |
| 14 |
margin: 8px; |
| 15 |
font-weight: 500; |
| 16 |
font-size: 16px; |
| 17 |
line-height: 36px; |
| 18 |
padding: 10px 36px; |
| 19 |
color: #15063f; |
| 20 |
background-color: #ededff; |
| 21 |
border-radius: 5px; |
| 22 |
&.focus, |
| 23 |
&.active { |
| 24 |
background-color: #614efc; |
| 25 |
color: #fff; |
| 26 |
} |
| 27 |
} |
| 28 |
} |
| 29 |
|
| 30 |
.betterdocs-tabgrid-content-wrapper { |
| 31 |
display: none; |
| 32 |
&.active { |
| 33 |
display: block; |
| 34 |
} |
| 35 |
} |
| 36 |
.betterdocs-tabgrid-contents-wrapper { |
| 37 |
.betterdocs-category-grid-wrapper { |
| 38 |
.betterdocs-category-grid-inner-wrapper { |
| 39 |
width: 100%; |
| 40 |
display: grid; |
| 41 |
grid-template-columns: repeat(4, 1fr); |
| 42 |
row-gap: 30px; |
| 43 |
column-gap: 30px; |
| 44 |
@include responsive-below("small-laptop") { |
| 45 |
grid-template-columns: repeat(3, 1fr); |
| 46 |
} |
| 47 |
@include responsive("tablet") { |
| 48 |
grid-template-columns: repeat(2, 1fr); |
| 49 |
} |
| 50 |
@include responsive("phone") { |
| 51 |
grid-template-columns: 1fr; |
| 52 |
} |
| 53 |
} |
| 54 |
} |
| 55 |
} |
| 56 |
|