| 1 |
@import "../common"; |
| 2 |
|
| 3 |
/**Article Summary**/ |
| 4 |
.betterdocs-article-summary { |
| 5 |
margin: 20px 0; |
| 6 |
border: 1px solid #EAECF0; |
| 7 |
border-radius: 8px; |
| 8 |
overflow: hidden; |
| 9 |
background-color: #FFFFFF; |
| 10 |
width: 100%; |
| 11 |
|
| 12 |
.betterdocs-summary-header { |
| 13 |
cursor: pointer; |
| 14 |
padding: 15px 20px; |
| 15 |
background: #F9FAFB; |
| 16 |
|
| 17 |
.betterdocs-summary-title { |
| 18 |
margin: 0; |
| 19 |
font-size: 18px; |
| 20 |
font-weight: 500; |
| 21 |
color: #344054; |
| 22 |
display: flex; |
| 23 |
align-items: center; |
| 24 |
justify-content: space-between; |
| 25 |
gap: 10px; |
| 26 |
|
| 27 |
.title-content { |
| 28 |
display: flex; |
| 29 |
align-items: center; |
| 30 |
gap: 10px; |
| 31 |
} |
| 32 |
|
| 33 |
.betterdocs-summary-arrow { |
| 34 |
margin-left: auto; |
| 35 |
flex-shrink: 0; |
| 36 |
|
| 37 |
.angle-icon { |
| 38 |
width: 14px; |
| 39 |
height: 14px; |
| 40 |
transition: transform 0.2s ease; |
| 41 |
flex-shrink: 0; |
| 42 |
|
| 43 |
&.angle-right { |
| 44 |
display: block; |
| 45 |
} |
| 46 |
|
| 47 |
&.angle-down { |
| 48 |
display: none; |
| 49 |
} |
| 50 |
} |
| 51 |
} |
| 52 |
} |
| 53 |
} |
| 54 |
|
| 55 |
.betterdocs-summary-content { |
| 56 |
padding: 20px; |
| 57 |
.betterdocs-summary-loading { |
| 58 |
color: #7f8c8d; |
| 59 |
font-style: italic; |
| 60 |
text-align: left; |
| 61 |
font-size: 14px; |
| 62 |
display: flex; |
| 63 |
align-items: center; |
| 64 |
text-align: left; |
| 65 |
gap: 1px; |
| 66 |
img { |
| 67 |
width: 30px; |
| 68 |
display: inline-block; |
| 69 |
height: auto; |
| 70 |
} |
| 71 |
} |
| 72 |
|
| 73 |
.betterdocs-summary-text { |
| 74 |
.summary-content { |
| 75 |
line-height: 1.6; |
| 76 |
color: #4d4d4d; |
| 77 |
|
| 78 |
p { |
| 79 |
margin-top: 0; |
| 80 |
margin-bottom: 12px; |
| 81 |
color: #4d4d4d; |
| 82 |
&:last-child { |
| 83 |
margin-bottom: 0; |
| 84 |
} |
| 85 |
} |
| 86 |
|
| 87 |
ul, ol { |
| 88 |
margin: 12px 0; |
| 89 |
padding-left: 20px; |
| 90 |
|
| 91 |
li { |
| 92 |
margin-bottom: 6px; |
| 93 |
} |
| 94 |
} |
| 95 |
} |
| 96 |
|
| 97 |
.summary-error { |
| 98 |
color: #e74c3c; |
| 99 |
font-style: italic; |
| 100 |
text-align: center; |
| 101 |
padding: 10px; |
| 102 |
background: #fdf2f2; |
| 103 |
border: 1px solid #f5c6cb; |
| 104 |
border-radius: 4px; |
| 105 |
margin: 0; |
| 106 |
font-size: 14px; |
| 107 |
} |
| 108 |
} |
| 109 |
} |
| 110 |
|
| 111 |
@include responsive-below("tablet") { |
| 112 |
margin: 15px 0; |
| 113 |
|
| 114 |
.betterdocs-summary-header { |
| 115 |
padding: 12px 15px; |
| 116 |
|
| 117 |
.betterdocs-summary-title { |
| 118 |
font-size: 15px; |
| 119 |
} |
| 120 |
} |
| 121 |
|
| 122 |
.betterdocs-summary-content { |
| 123 |
padding: 15px; |
| 124 |
} |
| 125 |
} |
| 126 |
} |