Commit e0831fab authored by asseldonk's avatar asseldonk
Browse files

filebrowser: some css changes for path bar

parent 9b74a17a
......@@ -96,8 +96,9 @@
}
.breadcrumb {
background-color: #ddd;
background-color: #FCFCFC;
border-radius: 0px;
border-top: 1px solid #d3d3d3;
}
.breadcrumb > li + li:before {
......
......@@ -5,10 +5,11 @@
/* first row of the filelist */
.files-table-first-row {
margin: 10px 0px 3px 0px;
margin: 10px 0px 0px 0px;
padding: 0px;
font-weight: bold;
vertical-align: middle;
border-bottom: #DCDCDC 3px solid;
border-bottom: #d3d3d3 1px solid;
}
.files-table-first-row .file-table-select {
......@@ -31,7 +32,7 @@
position: absolute;
bottom: 30px;
right: 0px;
top: 37px;
top: 34px;
left: 0px;
overflow-y: auto;
}
......@@ -48,11 +49,12 @@
.file-table-object {
line-height: 44px;
cursor: pointer;
border-top: 2px solid #f6f6f6;
}
.file-table-object:nth-child(even) {
/*.file-table-object:nth-child(even) {
background-color: #f9f9f9;
}
}*/
.file-table-object:hover {
background-color: #f5f5f5;
......
......@@ -135,7 +135,7 @@ var FileBaseView = Class.extend({
// to make path readable: replace first pathPart to disk
if (pathParts[0].pathPart == "") {
pathParts[0].pathPart = "Disk";
pathParts[0].pathPart = " ";
}
// build pathes to pathParts
......@@ -163,6 +163,7 @@ var FileBaseView = Class.extend({
};
self.filePathBar.find(".file-path-parts").render(pathPartsLinks, directive);
$("a", $("li:first-child", self.filePathBar)).addClass("glyphicon glyphicon-hdd");
$("li:last-child", self.filePathBar).addClass("active").html(pathParts[pathParts.length - 1].pathPart);
self.fileContentContainer.append(self.filePathBar);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment