Add search UI

This commit is contained in:
yflory
2017-03-16 14:16:42 +01:00
parent c3c866fa2b
commit 7761aaa89f
6 changed files with 191 additions and 21 deletions

View File

@@ -3,6 +3,7 @@
@tree-lines-col: #888;
@drive-hover: #eee;
@drive-hover-light: lighten(@drive-hover, 20%);
@content-bg: @tree-bg;
@content-bg-ro: darken(@content-bg, 10%);
@@ -174,6 +175,13 @@ span {
}
}
}
#searchContainer {
text-align: center;
padding: 5px 0;
input {
width: 80%;
}
}
.fa.expcol {
margin-left: -10px;
font-size: 14px;
@@ -283,6 +291,53 @@ span {
}
}
}
#folderContent {
li {
&.searchResult {
border-bottom: 1px solid @info-box-border;
display: block;
&:hover {
background-color: initial;
}
table {
width: 100%;
.label2 {
width: 150px;
font-size: 15px;
text-align: right;
padding-right: 15px;
}
.openDir {
a {
cursor: pointer;
color: #41b7d8;
&:hover {
color: #014c8c;
text-decoration: underline;
}
}
}
.path {
font-style: italic;
}
.title {
font-weight: bold;
cursor: pointer;
&:hover {
background-color: @drive-hover;
}
}
.col2 {
width: 250px;
}
.icon {
width: 50px;
font-size: 40px;
}
}
}
}
}
div.grid {
padding: 20px;
li {