diff --git a/css/styles.css b/css/styles.css index e512698..65a71b5 100644 --- a/css/styles.css +++ b/css/styles.css @@ -34,7 +34,9 @@ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05); box-shadow: inset 0 1px 1px rgba(0,0,0,.05); } - +.ls-none { + list-style: none; +} /* Side Menu */ .side-menu { padding-top: 10px; @@ -293,3 +295,21 @@ list-style: none; -webkit-padding-start: 0px; } + + + + + + + +.file-tree-container .file_tree { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; } +.file-tree-container .file_tree input[type=radio], .file-tree-container .file_tree input[type=checkbox] { width: 0; height: 0; opacity: 0; position: absolute; margin: 0; } +.file-tree-container .file_tree label { display: block; width: 100%; font-size: 14px; color: black; height: 30px; line-height: 30px; padding: 0 8px; cursor: pointer; white-space: nowrap; } +.file-tree-container .file_tree label:hover { color: #a4d3ff; } .file_tree .dir_wrapper { display: none; padding-left: 28px; } +.file-tree-container .file_tree .dir_wrapper label { padding-left: 0; } +.file-tree-container .file_tree input[type=checkbox] + label { color: black; padding-left: 30px; } +.file-tree-container .file_tree input[type=checkbox] + label:hover { color: #a4d3ff; } +.file-tree-container .file_tree input[type=radio]:checked + label { color: #337ab7; } +.file-tree-container .file_tree input[type=checkbox]:checked + label + .dir_wrapper { display: block; } +.file-tree-container .file_tree input[type=checkbox] + label { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAABQCAYAAABxs9dPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOTox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EEEpQVkalyl0zVD6tYxlfbJZK0h13W5ywgiiCCCCCKIIIII+nGmnp/u4g75k4Bj1IviCHXiAg00xlXQbhwo3TXUQRdoTtKibqPLqFFhH/Ba6BpdSQGpNL3+793ej3pRHCbkGPuz/PnmekgIZPNfRhBBBBFEEEEEEURQ8DO1pXGtjirWN1DZKz/Za54CDABbrytKn66XKwAAAABJRU5ErkJggg==); background-size: 18px 40px; background-position: top 7px left 6px; background-repeat: no-repeat; vertical-align: middle; } +.file-tree-container .file_tree input[type=checkbox] + label:hover { background-position: top -18px left 6px; } diff --git a/templates/website.html b/templates/website.html index 9acab00..b3460eb 100644 --- a/templates/website.html +++ b/templates/website.html @@ -197,6 +197,61 @@ +