| 1 |
// Elementor Only Category Grid |
| 2 |
@import "../common"; |
| 3 |
@import "./common"; |
| 4 |
.betterdocs-category-grid-wrapper.betterdocs-elementor |
| 5 |
.betterdocs-category-grid-inner-wrapper |
| 6 |
.betterdocs-single-category-wrapper:not(.layout-2) |
| 7 |
.betterdocs-single-category-inner { |
| 8 |
margin: 0 7.5px 15px 7.5px; |
| 9 |
} |
| 10 |
|
| 11 |
.betterdocs-category-header { |
| 12 |
.betterdocs-category-header-inner { |
| 13 |
@at-root .betterdocs-category-grid-wrapper #{&} { |
| 14 |
@include if( |
| 15 |
".betterdocs-category-grid-wrapper", |
| 16 |
".betterdocs-elementor .betterdocs-single-category-wrapper:not(.layout-2)" |
| 17 |
) { |
| 18 |
padding-bottom: 20px; |
| 19 |
border-bottom: 2px solid #528ffe; |
| 20 |
} |
| 21 |
} |
| 22 |
} |
| 23 |
} |
| 24 |
|
| 25 |
.betterdocs-elementor.betterdocs-category-grid-wrapper { |
| 26 |
.betterdocs-single-category-wrapper { |
| 27 |
.betterdocs-footer { |
| 28 |
> a, |
| 29 |
> button { |
| 30 |
display: inline-flex; |
| 31 |
align-items: center; |
| 32 |
gap: 0.3125em; |
| 33 |
img, |
| 34 |
svg { |
| 35 |
height: 1em; |
| 36 |
} |
| 37 |
} |
| 38 |
} |
| 39 |
&.layout-2 { |
| 40 |
margin-bottom: 15px; |
| 41 |
.betterdocs-single-category-inner { |
| 42 |
margin-left: 7.5px; |
| 43 |
margin-right: 7.5px; |
| 44 |
border-radius: 5px; |
| 45 |
} |
| 46 |
.betterdocs-category-header { |
| 47 |
padding-top: 0; |
| 48 |
.betterdocs-category-header-inner { |
| 49 |
display: flex; |
| 50 |
flex-direction: column; |
| 51 |
align-items: stretch; |
| 52 |
padding-bottom: 10px; |
| 53 |
} |
| 54 |
} |
| 55 |
.betterdocs-category-items-counts { |
| 56 |
height: 45px; |
| 57 |
min-width: 40px; |
| 58 |
padding: 0 2px; |
| 59 |
background-color: #fc8c91; |
| 60 |
color: #fff; |
| 61 |
border-radius: 0%; |
| 62 |
margin-left: 0; |
| 63 |
margin-right: auto; |
| 64 |
position: relative; |
| 65 |
margin-top: -1px; |
| 66 |
span { |
| 67 |
background: transparent; |
| 68 |
height: auto; |
| 69 |
width: auto; |
| 70 |
color: inherit; |
| 71 |
} |
| 72 |
&:after { |
| 73 |
content: ""; |
| 74 |
position: absolute; |
| 75 |
right: -6px; |
| 76 |
top: 0; |
| 77 |
border-top: 6px solid #ad5e62; |
| 78 |
border-right: 6px solid transparent; |
| 79 |
opacity: 0.9; |
| 80 |
} |
| 81 |
} |
| 82 |
.betterdocs-category-title a { |
| 83 |
font-size: 18px; |
| 84 |
} |
| 85 |
.betterdocs-body { |
| 86 |
padding-top: 0; |
| 87 |
} |
| 88 |
.betterdocs-articles-list { |
| 89 |
li { |
| 90 |
margin-left: 5px; |
| 91 |
margin-right: 5px; |
| 92 |
margin-top: 5px; |
| 93 |
margin-bottom: 5px; |
| 94 |
} |
| 95 |
} |
| 96 |
.betterdocs-footer { |
| 97 |
button, |
| 98 |
a { |
| 99 |
margin-left: 0; |
| 100 |
margin-bottom: 0; |
| 101 |
color: #3f5876; |
| 102 |
border: none; |
| 103 |
border-radius: 0px; |
| 104 |
padding: 0px; |
| 105 |
&:hover { |
| 106 |
color: #fc8c91; |
| 107 |
} |
| 108 |
} |
| 109 |
} |
| 110 |
} |
| 111 |
} |
| 112 |
} |
| 113 |
|