|
@@ -19,6 +19,7 @@
|
|
|
|
|
|
|
|
.search-typeahead {
|
|
.search-typeahead {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+
|
|
|
.search-clear {
|
|
.search-clear {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 4px;
|
|
top: 4px;
|
|
@@ -29,6 +30,7 @@
|
|
|
padding: 0;
|
|
padding: 0;
|
|
|
color: #999;
|
|
color: #999;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.rbt-menu {
|
|
.rbt-menu {
|
|
|
margin-top: 3px;
|
|
margin-top: 3px;
|
|
|
|
|
|
|
@@ -38,10 +40,12 @@
|
|
|
padding: 0 4px;
|
|
padding: 0 4px;
|
|
|
color: inherit;
|
|
color: inherit;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.page-list-meta {
|
|
.page-list-meta {
|
|
|
font-size: 0.9em;
|
|
font-size: 0.9em;
|
|
|
color: #999;
|
|
color: #999;
|
|
|
- > span {
|
|
|
|
|
|
|
+
|
|
|
|
|
+ >span {
|
|
|
margin-right: 0.3rem;
|
|
margin-right: 0.3rem;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -66,6 +70,7 @@
|
|
|
border-top-left-radius: 40px;
|
|
border-top-left-radius: 40px;
|
|
|
border-bottom-left-radius: 40px;
|
|
border-bottom-left-radius: 40px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
// using react-bootstrap-typeahead
|
|
// using react-bootstrap-typeahead
|
|
|
// see: https://github.com/ericgio/react-bootstrap-typeahead
|
|
// see: https://github.com/ericgio/react-bootstrap-typeahead
|
|
|
.rbt-input.form-control {
|
|
.rbt-input.form-control {
|
|
@@ -78,13 +83,16 @@
|
|
|
margin-left: 8px;
|
|
margin-left: 8px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.btn-group-submit-search {
|
|
.btn-group-submit-search {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 0;
|
|
top: 0;
|
|
|
right: 0;
|
|
right: 0;
|
|
|
|
|
+
|
|
|
.btn {
|
|
.btn {
|
|
|
padding: 4px 10px;
|
|
padding: 4px 10px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
z-index: 3;
|
|
z-index: 3;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -97,6 +105,7 @@
|
|
|
.rbt-input.form-control {
|
|
.rbt-input.form-control {
|
|
|
width: 200px;
|
|
width: 200px;
|
|
|
transition: 0.3s ease-out;
|
|
transition: 0.3s ease-out;
|
|
|
|
|
+
|
|
|
// focus
|
|
// focus
|
|
|
&.focus {
|
|
&.focus {
|
|
|
width: 300px;
|
|
width: 300px;
|
|
@@ -105,12 +114,14 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.search-sidebar {
|
|
.search-sidebar {
|
|
|
|
|
+
|
|
|
.search-form,
|
|
.search-form,
|
|
|
.form-group,
|
|
.form-group,
|
|
|
.rbt-input.form-control,
|
|
.rbt-input.form-control,
|
|
|
.input-group {
|
|
.input-group {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.btn-group-submit-search {
|
|
.btn-group-submit-search {
|
|
|
right: 30px;
|
|
right: 30px;
|
|
|
}
|
|
}
|
|
@@ -135,6 +146,7 @@
|
|
|
.search-result-list {
|
|
.search-result-list {
|
|
|
nav {
|
|
nav {
|
|
|
padding-right: 0;
|
|
padding-right: 0;
|
|
|
|
|
+
|
|
|
&.affix {
|
|
&.affix {
|
|
|
top: 58px;
|
|
top: 58px;
|
|
|
width: 33%;
|
|
width: 33%;
|
|
@@ -143,9 +155,11 @@
|
|
|
padding-bottom: 50px;
|
|
padding-bottom: 50px;
|
|
|
overflow-y: scroll;
|
|
overflow-y: scroll;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.nav {
|
|
.nav {
|
|
|
- > li {
|
|
|
|
|
|
|
+ >li {
|
|
|
padding: 2px 8px;
|
|
padding: 2px 8px;
|
|
|
|
|
+
|
|
|
&.active {
|
|
&.active {
|
|
|
padding-right: 5px;
|
|
padding-right: 5px;
|
|
|
border-right: solid 3px transparent;
|
|
border-right: solid 3px transparent;
|
|
@@ -173,11 +187,12 @@
|
|
|
// adjust for anchor links by the height of fixed .search-page-input
|
|
// adjust for anchor links by the height of fixed .search-page-input
|
|
|
margin-top: -48px;
|
|
margin-top: -48px;
|
|
|
|
|
|
|
|
- > h2 {
|
|
|
|
|
|
|
+ >h2 {
|
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
|
line-height: 1em;
|
|
line-height: 1em;
|
|
|
}
|
|
}
|
|
|
- &:first-child > h2 {
|
|
|
|
|
|
|
+
|
|
|
|
|
+ &:first-child>h2 {
|
|
|
margin-top: 0;
|
|
margin-top: 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -196,6 +211,7 @@
|
|
|
top: 0;
|
|
top: 0;
|
|
|
z-index: 99;
|
|
z-index: 99;
|
|
|
padding: 10px 0;
|
|
padding: 10px 0;
|
|
|
|
|
+
|
|
|
.input-group-btn .btn {
|
|
.input-group-btn .btn {
|
|
|
height: 34px;
|
|
height: 34px;
|
|
|
padding: 0px 10px;
|
|
padding: 0px 10px;
|