|
@@ -62,12 +62,12 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// top and sidebar input styles
|
|
// top and sidebar input styles
|
|
|
-.search-top,
|
|
|
|
|
-.search-sidebar {
|
|
|
|
|
|
|
+.search-top, .search-sidebar {
|
|
|
.search-clear {
|
|
.search-clear {
|
|
|
top: 3px;
|
|
top: 3px;
|
|
|
right: 26px;
|
|
right: 26px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.input-group-btn {
|
|
.input-group-btn {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 0;
|
|
top: 0;
|
|
@@ -75,7 +75,9 @@
|
|
|
.btn {
|
|
.btn {
|
|
|
padding: 4px 10px;
|
|
padding: 4px 10px;
|
|
|
}
|
|
}
|
|
|
- } // 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 {
|
|
|
border: none;
|
|
border: none;
|
|
@@ -84,6 +86,7 @@
|
|
|
border-bottom-right-radius: 40px;
|
|
border-bottom-right-radius: 40px;
|
|
|
padding-top: 6px;
|
|
padding-top: 6px;
|
|
|
height: 30px;
|
|
height: 30px;
|
|
|
|
|
+
|
|
|
.rbt-input-wrapper {
|
|
.rbt-input-wrapper {
|
|
|
margin-left: 8px;
|
|
margin-left: 8px;
|
|
|
}
|
|
}
|
|
@@ -94,20 +97,18 @@
|
|
|
.search-top {
|
|
.search-top {
|
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
|
|
|
+
|
|
|
.rbt-input.form-control {
|
|
.rbt-input.form-control {
|
|
|
width: 180px;
|
|
width: 180px;
|
|
|
- transition: 0.3s ease-out; // focus
|
|
|
|
|
|
|
+ transition: 0.3s ease-out;
|
|
|
|
|
+ // focus
|
|
|
&.focus {
|
|
&.focus {
|
|
|
width: 300px;
|
|
width: 300px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
.search-sidebar {
|
|
.search-sidebar {
|
|
|
- .search-form,
|
|
|
|
|
- .form-group,
|
|
|
|
|
- .rbt-input.form-control,
|
|
|
|
|
- .input-group {
|
|
|
|
|
|
|
+ .search-form, .form-group, .rbt-input.form-control, .input-group {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
}
|
|
}
|
|
|
.input-group-btn {
|
|
.input-group-btn {
|
|
@@ -116,6 +117,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.search-result {
|
|
.search-result {
|
|
|
|
|
+
|
|
|
.search-result-list {
|
|
.search-result-list {
|
|
|
nav {
|
|
nav {
|
|
|
padding-right: 0;
|
|
padding-right: 0;
|
|
@@ -128,7 +130,7 @@
|
|
|
overflow-y: scroll;
|
|
overflow-y: scroll;
|
|
|
}
|
|
}
|
|
|
.nav {
|
|
.nav {
|
|
|
- >li {
|
|
|
|
|
|
|
+ > li {
|
|
|
padding: 2px 8px;
|
|
padding: 2px 8px;
|
|
|
&.active {
|
|
&.active {
|
|
|
padding-right: 5px;
|
|
padding-right: 5px;
|
|
@@ -137,25 +139,30 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.search-result-meta {
|
|
.search-result-meta {
|
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.search-result-list-delete-checkbox {
|
|
.search-result-list-delete-checkbox {
|
|
|
margin: 0 10px 0 0;
|
|
margin: 0 10px 0 0;
|
|
|
vertical-align: middle;
|
|
vertical-align: middle;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.search-result-content {
|
|
.search-result-content {
|
|
|
padding-bottom: 32px;
|
|
padding-bottom: 32px;
|
|
|
|
|
+
|
|
|
.search-result-page {
|
|
.search-result-page {
|
|
|
- >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;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.wiki {
|
|
.wiki {
|
|
|
border: solid 1px #ccc;
|
|
border: solid 1px #ccc;
|
|
|
padding: 16px;
|
|
padding: 16px;
|