Skip to content

Commit 46c8773

Browse files
committed
Added search boxes + improvements and bug fixes
1 parent be48281 commit 46c8773

File tree

134 files changed

+11133
-6825
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+11133
-6825
lines changed

README.md

Lines changed: 1 addition & 1 deletion

assets/css/styles.css

Lines changed: 88 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,15 @@ code {
180180
padding: 7px 15px;
181181
}
182182

183+
.search-btn {
184+
height: 40px;
185+
}
186+
187+
.search-btn .svg-inline--fa {
188+
top: 0;
189+
margin-right: 0;
190+
}
191+
183192
.form-control {
184193
-webkit-box-shadow: none;
185194
-moz-box-shadow: none;
@@ -239,6 +248,10 @@ select {
239248
color: #fff;
240249
}
241250

251+
.header .container {
252+
position: relative;
253+
}
254+
242255
.branding {
243256
text-transform: uppercase;
244257
margin-bottom: 10px;
@@ -342,6 +355,48 @@ select {
342355
color: rgba(0, 0, 0, 0.4);
343356
}
344357

358+
.search-form {
359+
position: relative;
360+
}
361+
362+
.search-form .search-input {
363+
font-size: 14px;
364+
-webkit-border-radius: 20px;
365+
-moz-border-radius: 20px;
366+
-ms-border-radius: 20px;
367+
-o-border-radius: 20px;
368+
border-radius: 20px;
369+
-moz-background-clip: padding;
370+
-webkit-background-clip: padding-box;
371+
background-clip: padding-box;
372+
padding-top: 4px;
373+
}
374+
375+
.search-form .search-input:focus {
376+
border-color: #616670;
377+
}
378+
379+
.search-form .search-btn {
380+
color: #797f8b;
381+
background: none;
382+
border: none;
383+
position: absolute;
384+
right: 5px;
385+
top: 0px;
386+
margin-right: 0;
387+
}
388+
389+
.search-form .search-btn:active, .search-form .search-btn:focus, .search-form .search-btn:hover {
390+
outline: none !important;
391+
color: #31343a;
392+
}
393+
394+
.top-search-box {
395+
position: absolute;
396+
right: 15px;
397+
top: 15px;
398+
}
399+
345400
/* ====== Footer ====== */
346401
.footer {
347402
background: #26282c;
@@ -357,6 +412,14 @@ select {
357412
color: #EA5395;
358413
}
359414

415+
@media (max-width: 575.98px) {
416+
.top-search-box {
417+
width: 100%;
418+
position: static;
419+
margin-top: 15px;
420+
}
421+
}
422+
360423
/* ======= Doc Styling ======= */
361424
.doc-wrapper {
362425
padding: 45px 0;
@@ -1178,6 +1241,10 @@ select {
11781241
margin-bottom: 5px;
11791242
}
11801243

1244+
.landing-page .tagline p:last-child {
1245+
margin-bottom: 0;
1246+
}
1247+
11811248
.landing-page .tagline .text-highlight {
11821249
color: #266f71;
11831250
}
@@ -1190,10 +1257,6 @@ select {
11901257
margin-top: 30px;
11911258
}
11921259

1193-
.landing-page .social-container {
1194-
margin-top: 30px;
1195-
}
1196-
11971260
.landing-page .social-container .twitter-tweet {
11981261
display: inline-block;
11991262
margin-right: 5px;
@@ -1366,8 +1429,29 @@ select {
13661429
color: #8A40A7;
13671430
}
13681431

1432+
@media (max-width: 575.98px) {
1433+
.main-search-box {
1434+
width: 100%;
1435+
}
1436+
.main-search-box .search-form .search-input {
1437+
width: 100%;
1438+
}
1439+
}
1440+
13691441
@media (max-width: 767.98px) {
13701442
.cards-section .item-inner {
13711443
padding: 30px 15px;
13721444
}
13731445
}
1446+
1447+
@media (min-width: 576px) {
1448+
.main-search-box .search-form .search-input {
1449+
width: 400px;
1450+
}
1451+
}
1452+
1453+
@media (min-width: 768px) {
1454+
.main-search-box .search-form .search-input {
1455+
width: 560px;
1456+
}
1457+
}
111 KB
117 KB
105 KB
114 KB

0 commit comments

Comments
 (0)