Added basic search.
This commit is contained in:
parent
57180e986e
commit
c58a1b988b
6 changed files with 211 additions and 21 deletions
31
static/less/search.less
Normal file
31
static/less/search.less
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
@import "theme.less";
|
||||
|
||||
#search {
|
||||
padding: 16px;
|
||||
color: #333;
|
||||
|
||||
h2 {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
input[type=text] {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
button {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.matches {
|
||||
.matched-node {
|
||||
cursor: pointer;
|
||||
margin-top: 6px;
|
||||
|
||||
&:before {
|
||||
content: "•";
|
||||
margin-right: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue