mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Remove useless 'move' CSS class.
This commit is contained in:
parent
9f0d85cb6c
commit
604a76759d
2 changed files with 5 additions and 8 deletions
|
@ -96,10 +96,6 @@ button {
|
|||
padding: 5px;
|
||||
}
|
||||
|
||||
.move {
|
||||
transition: margin-left 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.placehold {
|
||||
font-size: 0.0001em;
|
||||
color: transparent;
|
||||
|
@ -196,6 +192,7 @@ button {
|
|||
width: 200%;
|
||||
height: 100%;
|
||||
min-height: 150px;
|
||||
transition: margin-left 0.15s ease-in-out;
|
||||
}
|
||||
|
||||
#slideBack, #slideTo, #main {
|
||||
|
|
|
@ -221,19 +221,19 @@
|
|||
if (store.get('slide') == 'back') {
|
||||
store.clear('slide');
|
||||
$('#slideBack').css('display', 'none');
|
||||
$('#slider-container').removeClass('move').css('margin-left', '-100%');
|
||||
$('#slider-container').css('margin-left', '-100%');
|
||||
$('#slideTo').show().html($('#main').html());
|
||||
leSwap();
|
||||
$('#slider-container').addClass('move').css('margin-left', '0px');
|
||||
$('#slider-container').css('margin-left', '0px');
|
||||
|
||||
// Slide to effect
|
||||
} else if (store.get('slide') == 'to') {
|
||||
store.clear('slide');
|
||||
$('#slideTo').css('display', 'none');
|
||||
$('#slider-container').removeClass('move').css('margin-left', '0px');
|
||||
$('#slider-container').css('margin-left', '0px');
|
||||
$('#slideBack').show().html($('#main').html());
|
||||
leSwap();
|
||||
$('#slider-container').addClass('move').css('margin-left', '-100%');
|
||||
$('#slider-container').css('margin-left', '-100%');
|
||||
|
||||
} else {
|
||||
leSwap();
|
||||
|
|
Loading…
Reference in a new issue