adding scrollbar support

This commit is contained in:
Ezequiel Bergamaschi 2014-02-02 02:22:58 -03:00 committed by Ezequiel Bergamaschi
parent 23611c8d54
commit fdf041e8b1
2 changed files with 25 additions and 0 deletions

View File

@ -117,9 +117,11 @@ input#selectAll {
background-color: black; background-color: black;
float: left; float: left;
} }
.labelIcon { .labelIcon {
float: left; float: left;
} }
.labelName { .labelName {
display: inline-block; display: inline-block;
position: relative; position: relative;
@ -174,6 +176,23 @@ table.tableTag td:hover {
background-color: #ffffff; background-color: #ffffff;
} }
/* ---------------------------- Scrollbar for list filter --------------------------------- */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
border-radius: 10px;
background-color: #eaeaea;
border-left: 1px solid #ccc;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: #c6c6c6;
}
::-webkit-scrollbar-thumb:hover {
background-color: #08c;
}
/* ---------------------------- Sorting --------------------------------- */ /* ---------------------------- Sorting --------------------------------- */
.sorting_asc { .sorting_asc {

View File

@ -121,6 +121,12 @@
$('#pPageBtn').click(function () { $('#pPageBtn').click(function () {
$('#mindmapListTable_previous').click(); $('#mindmapListTable_previous').click();
}); });
//setting max heigth to ul filters...
var maxHeight = $(".row-fluid:not(:hidden)").height() - $("#footerContainer").height()*2 - 20;
$("#foldersContainer ul").css('overflow', 'auto');
$("#foldersContainer ul").height(maxHeight);
}); });
</script> </script>
</head> </head>