fix animate bug

This commit is contained in:
Ezequiel Bergamaschi 2014-02-08 17:53:47 -03:00
parent 7f6d575c16
commit b3e2e37929
2 changed files with 11 additions and 11 deletions

View File

@ -15,22 +15,20 @@
@base-color: #111;
/* ----------------------------- General -------------------------------- */
.nav-list{
border: 1px solid rgba(255, 255, 255, 0.5);
.nav-list {
margin-top: -20px;
}
.nav-list a {
border: 1px solid rgb(213, 207, 207);
border-radius: 16px;
margin-top: 4px;
}
.nav-list li{
.nav-list li {
position: relative;
width: 90%;
}
.nav-header {
.nav-list a, .nav-header {
margin-top: 4px;
border: 1px solid rgb(213, 207, 207);
border-radius: 16px;
border-radius: 6px;
box-shadow: 3px 3px 1px #888888;
}
.nav-header {
background-color: #eee;
}
.active {

View File

@ -430,7 +430,9 @@ $(function () {
};
$(document).on('click', '#foldersContainer li', function (event) {
if (!$(this).is($('#foldersContainer .active'))) {
$('#foldersContainer .active').animate({left: '-=8px'}, 'fast');
}
// Deselect previous option ...
$('#foldersContainer li').removeClass('active');