GUAC-1172: Implement navigation via breadcrumbs - no more tree.

This commit is contained in:
Michael Jumper
2015-07-01 15:47:01 -07:00
parent c673de30e1
commit 149fba6737
8 changed files with 131 additions and 38 deletions

View File

@@ -27,10 +27,8 @@
display: none;
}
/* Show directory contents if expanded */
.file-browser .directory.expanded > .children {
display: block;
.file-browser .list-item .caption {
white-space: nowrap;
}
/* Directory / file icons */
@@ -43,6 +41,6 @@
background-image: url('images/folder-closed.png');
}
.file-browser .directory.expanded > .caption .icon {
background-image: url('images/folder-open.png');
.file-browser .directory.previous > .caption .icon {
background-image: url('images/folder-up.png');
}

View File

@@ -46,3 +46,26 @@
-webkit-align-items: center;
align-items: center;
}
#filesystem-menu .menu-body {
padding: 0.25em;
}
#filesystem-menu .header.breadcrumbs {
background: rgba(0,0,0,0.0125);
border-bottom: 1px solid rgba(0,0,0,0.05);
box-shadow: none;
margin-top: 0;
border-top: none;
}
#filesystem-menu .header.breadcrumbs .breadcrumb {
padding: 0.5em;
font-size: 0.8em;
font-weight: bold;
}
#filesystem-menu .header.breadcrumbs .breadcrumb:hover {
background-color: #CDA;
cursor: pointer;
}