|
@@ -1,10 +1,10 @@
|
|
|
// import react-bootstrap-typeahead
|
|
// import react-bootstrap-typeahead
|
|
|
@import "~react-bootstrap-typeahead/css/Typeahead";
|
|
@import "~react-bootstrap-typeahead/css/Typeahead";
|
|
|
-
|
|
|
|
|
.search-listpage-icon {
|
|
.search-listpage-icon {
|
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
|
color: #999;
|
|
color: #999;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.search-listpage-clear {
|
|
.search-listpage-clear {
|
|
|
display: none;
|
|
display: none;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -18,7 +18,6 @@
|
|
|
|
|
|
|
|
.search-typeahead {
|
|
.search-typeahead {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
-
|
|
|
|
|
.search-clear {
|
|
.search-clear {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
z-index: 2;
|
|
z-index: 2;
|
|
@@ -31,18 +30,15 @@
|
|
|
}
|
|
}
|
|
|
.rbt-menu {
|
|
.rbt-menu {
|
|
|
margin-top: 3px;
|
|
margin-top: 3px;
|
|
|
-
|
|
|
|
|
li a span {
|
|
li a span {
|
|
|
.page-path {
|
|
.page-path {
|
|
|
display: inline;
|
|
display: inline;
|
|
|
padding: 0 4px;
|
|
padding: 0 4px;
|
|
|
color: inherit;
|
|
color: inherit;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
.page-list-meta {
|
|
.page-list-meta {
|
|
|
font-size: .9em;
|
|
font-size: .9em;
|
|
|
color: #999;
|
|
color: #999;
|
|
|
-
|
|
|
|
|
>span {
|
|
>span {
|
|
|
margin-right: .3rem;
|
|
margin-right: .3rem;
|
|
|
}
|
|
}
|
|
@@ -54,8 +50,8 @@
|
|
|
.search-help {
|
|
.search-help {
|
|
|
margin-left: none;
|
|
margin-left: none;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
-
|
|
|
|
|
- .right, .left {
|
|
|
|
|
|
|
+ .right,
|
|
|
|
|
+ .left {
|
|
|
padding: 0px !important;
|
|
padding: 0px !important;
|
|
|
border: solid 1px #000000;
|
|
border: solid 1px #000000;
|
|
|
float: left;
|
|
float: left;
|
|
@@ -66,7 +62,8 @@
|
|
|
.right {
|
|
.right {
|
|
|
width: 65%;
|
|
width: 65%;
|
|
|
}
|
|
}
|
|
|
- ul, li {
|
|
|
|
|
|
|
+ ul,
|
|
|
|
|
+ li {
|
|
|
border-bottom: solid 1px #000000;
|
|
border-bottom: solid 1px #000000;
|
|
|
padding: 0.2em;
|
|
padding: 0.2em;
|
|
|
}
|
|
}
|
|
@@ -79,12 +76,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;
|
|
@@ -92,9 +89,7 @@
|
|
|
.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;
|
|
@@ -103,7 +98,6 @@
|
|
|
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;
|
|
|
}
|
|
}
|
|
@@ -114,18 +108,20 @@
|
|
|
.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 {
|
|
@@ -134,7 +130,6 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.search-result {
|
|
.search-result {
|
|
|
-
|
|
|
|
|
.search-result-list {
|
|
.search-result-list {
|
|
|
nav {
|
|
nav {
|
|
|
padding-right: 0;
|
|
padding-right: 0;
|
|
@@ -147,7 +142,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;
|
|
@@ -156,30 +151,25 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
.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;
|