add tree view

This commit is contained in:
Xuan Sang LE
2017-08-26 20:27:43 +02:00
parent 4cf1d694f9
commit 599e27bb01
13 changed files with 165 additions and 79 deletions

View File

@ -25,7 +25,7 @@ afx-file-view afx-list-view li{
afx-file-view afx-list-view li:nth-child(odd){
background-color: transparent;
}
afx-file-view afx-list-view i.afx-dir:before{
afx-file-view afx-list-view i.dir:before{
content: "\f07b";
font-family: "FontAwesome";
font-size: 32px;
@ -41,7 +41,7 @@ afx-file-view afx-list-view i{
}
afx-file-view afx-list-view i.afx-file:before{
afx-file-view afx-list-view i.file:before{
content: "\f016";
font-family: "FontAwesome";
font-size: 28px;
@ -56,7 +56,7 @@ afx-file-view afx-list-view li.selected, afx-file-view afx-list-view li.select
border-radius: 6px;
}
afx-file-view afx-grid-view i.afx-file:before{
afx-file-view afx-grid-view i.file:before{
content: "\f016";
font-family: "FontAwesome";
font-size: 16px;
@ -64,7 +64,7 @@ afx-file-view afx-grid-view i.afx-file:before{
font-style: normal;
font-weight: normal;
}
afx-file-view afx-grid-view i.afx-dir:before{
afx-file-view afx-grid-view i.dir:before{
content: "\f07b";
font-family: "FontAwesome";
font-size: 16px;
@ -84,4 +84,26 @@ afx-file-view afx-grid-view afx-grid-row.grid_row_header{
}
afx-file-view afx-grid-view afx-grid-row.grid_row_header div{
border: 1px solid #a6a6a6;
}
afx-file-view afx-tree-view .afx-tree-view-folder-close:before{
content: "\f07b";
font-family: "FontAwesome";
font-size: 16px;
}
afx-file-view afx-tree-view .afx-tree-view-folder-open:before{
content: "\f07c";
font-family: "FontAwesome";
font-size: 16px;
}
afx-file-view afx-tree-view {
margin:0;
}
afx-file-view afx-tree-view i.file:before{
content: "\f016";
font-family: "FontAwesome";
font-size: 16px;
color: #414339;
font-style: normal;
font-weight: normal;
}

View File

@ -16,6 +16,12 @@ afx-menu ul{
margin: 0;
}
afx-menu afx-switch span{
width: 20px;
height: 16px;
font-size: 16px;
/*margin-top:5px;*/
}
afx-menu afx-menu ul {
padding: 0;

View File

@ -2,6 +2,7 @@ afx-tree-view{
color: #414339;
padding:3px;
overflow: auto;
display: block;
}
afx-tree-view afx-tree-view{
padding:0;