| 1 |
@keyframes slideDown { |
| 2 |
0% { |
| 3 |
max-height: 0; |
| 4 |
} |
| 5 |
100% { |
| 6 |
max-height: 400px; |
| 7 |
} |
| 8 |
} |
| 9 |
.betterdocs-searchbox-wrapper { |
| 10 |
.betterdocs-live-search { |
| 11 |
width: 100%; |
| 12 |
max-width: 800px; |
| 13 |
display: block; |
| 14 |
margin: 0 auto; |
| 15 |
} |
| 16 |
background-color: #f7f7f7; |
| 17 |
padding: 50px 20px; |
| 18 |
} |
| 19 |
.betterdocs-search-heading { |
| 20 |
text-align: center; |
| 21 |
.heading { |
| 22 |
line-height: 1.2; |
| 23 |
font-size: 40px; |
| 24 |
color: #566e8b; |
| 25 |
margin-top: 0px; |
| 26 |
margin-right: 0px; |
| 27 |
margin-bottom: 20px; |
| 28 |
margin-left: 0px; |
| 29 |
} |
| 30 |
.subheading { |
| 31 |
line-height: 1.2; |
| 32 |
font-size: 16px; |
| 33 |
color: #566e8b; |
| 34 |
margin-top: 0px; |
| 35 |
margin-right: 0px; |
| 36 |
margin-bottom: 20px; |
| 37 |
margin-left: 0px; |
| 38 |
} |
| 39 |
} |
| 40 |
.betterdocs-wrapper { |
| 41 |
background-color: #fff; |
| 42 |
flex: auto; |
| 43 |
} |
| 44 |
.betterdocs-searchform { |
| 45 |
display: flex; |
| 46 |
flex-flow: row nowrap; |
| 47 |
width: 100%; |
| 48 |
box-sizing: border-box; |
| 49 |
align-items: center; |
| 50 |
background: #fff; |
| 51 |
border: 1px solid #f1f1f1; |
| 52 |
position: relative; |
| 53 |
-moz-border-radius: 8px; |
| 54 |
-webkit-border-radius: 8px; |
| 55 |
border-radius: 8px; |
| 56 |
background-color: #ffffff; |
| 57 |
border-radius: 8px; |
| 58 |
padding-top: 22px; |
| 59 |
padding-right: 15px; |
| 60 |
padding-bottom: 22px; |
| 61 |
padding-left: 15px; |
| 62 |
.betterdocs-search-field { |
| 63 |
width: 100%; |
| 64 |
background: none; |
| 65 |
color: #595959; |
| 66 |
font-size: 1em; |
| 67 |
padding: 0 15px; |
| 68 |
border: none; |
| 69 |
box-shadow: none; |
| 70 |
position: relative; |
| 71 |
outline: 0; |
| 72 |
font-size: 18px; |
| 73 |
color: #595959; |
| 74 |
|
| 75 |
&:focus { |
| 76 |
border: none; |
| 77 |
box-shadow: none; |
| 78 |
} |
| 79 |
} |
| 80 |
svg { |
| 81 |
height: 30px; |
| 82 |
fill: #444b54; |
| 83 |
opacity: 0.5; |
| 84 |
cursor: pointer; |
| 85 |
transition: all 0.3s; |
| 86 |
} |
| 87 |
svg.docs-search-icon { |
| 88 |
margin-left: 15px; |
| 89 |
fill: #444b54; |
| 90 |
height: 30px; |
| 91 |
&:hover { |
| 92 |
fill: #444b54; |
| 93 |
} |
| 94 |
} |
| 95 |
svg.docs-search-loader { |
| 96 |
display: none; |
| 97 |
margin-right: 15px; |
| 98 |
height: 30px; |
| 99 |
} |
| 100 |
svg.docs-search-close { |
| 101 |
display: none; |
| 102 |
margin-right: 13px; |
| 103 |
} |
| 104 |
} |
| 105 |
.betterdocs-live-search { |
| 106 |
position: relative; |
| 107 |
box-sizing: border-box; |
| 108 |
.docs-search-result { |
| 109 |
background-color: #fff; |
| 110 |
border: 1px solid #f1f1f1; |
| 111 |
min-width: 300px; |
| 112 |
position: absolute; |
| 113 |
top: auto; |
| 114 |
margin: 15px 0 0; |
| 115 |
padding: 0; |
| 116 |
list-style: none; |
| 117 |
max-height: 400px; |
| 118 |
overflow-y: scroll; |
| 119 |
z-index: 999; |
| 120 |
width: 100%; |
| 121 |
max-width: 800px; |
| 122 |
background-color: #fff; |
| 123 |
border-color: #f1f1f1; |
| 124 |
li { |
| 125 |
border-bottom: 1px solid #f5f5f5; |
| 126 |
padding: 5px; |
| 127 |
display: flex; |
| 128 |
flex-direction: row; |
| 129 |
border-color: #f5f5f5; |
| 130 |
img { |
| 131 |
align-self: center; |
| 132 |
width: 80px; |
| 133 |
} |
| 134 |
span { |
| 135 |
font-size: 0.8em; |
| 136 |
color: #444b54; |
| 137 |
} |
| 138 |
&:hover { |
| 139 |
background: #f5f5f5; |
| 140 |
background-color: #f5f5f5; |
| 141 |
} |
| 142 |
&:only-child { |
| 143 |
border: none; |
| 144 |
padding: 15px; |
| 145 |
font-size: 16px; |
| 146 |
color: #444444; |
| 147 |
} |
| 148 |
a { |
| 149 |
display: block; |
| 150 |
color: #444; |
| 151 |
padding: 10px; |
| 152 |
text-decoration: none; |
| 153 |
font-size: 16px; |
| 154 |
color: #444444; |
| 155 |
padding-top: 10px; |
| 156 |
padding-right: 10px; |
| 157 |
padding-bottom: 10px; |
| 158 |
padding-left: 10px; |
| 159 |
&:hover { |
| 160 |
color: #444444; |
| 161 |
} |
| 162 |
} |
| 163 |
} |
| 164 |
} |
| 165 |
} |
| 166 |
.betterdocs-search-result-wrap { |
| 167 |
position: relative; |
| 168 |
z-index: 9999; |
| 169 |
&::before { |
| 170 |
border-color: transparent transparent #fff; |
| 171 |
z-index: 9999; |
| 172 |
border-style: solid; |
| 173 |
border-width: 12px; |
| 174 |
content: ""; |
| 175 |
height: 0; |
| 176 |
left: 47px; |
| 177 |
position: absolute; |
| 178 |
top: -8px; |
| 179 |
width: 0; |
| 180 |
} |
| 181 |
} |
| 182 |
.betterdocs-search-result-wrap.hideArrow { |
| 183 |
&::before { |
| 184 |
display: none; |
| 185 |
} |
| 186 |
} |
| 187 |
.docs-search-result { |
| 188 |
animation: slideDown 400ms ease-in-out; |
| 189 |
} |
| 190 |
.docs-search-close { |
| 191 |
path.close-line { |
| 192 |
fill: #ff697b; |
| 193 |
} |
| 194 |
path.close-border { |
| 195 |
fill: #444b54; |
| 196 |
} |
| 197 |
} |
| 198 |
.docs-search-loader { |
| 199 |
stroke: #444b54; |
| 200 |
} |
| 201 |
.betterdocs-searchform-input-wrap { |
| 202 |
display: flex; |
| 203 |
align-items: center; |
| 204 |
width: 100%; |
| 205 |
} |
| 206 |
|
| 207 |
.betterdocs-searchform { |
| 208 |
select{ |
| 209 |
&:focus{ |
| 210 |
outline: none !important; |
| 211 |
box-shadow: none !important; |
| 212 |
} |
| 213 |
} |
| 214 |
} |
| 215 |
|