mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Graphical bugfixes
This commit is contained in:
parent
6ecbd3299e
commit
0ebaee1164
2 changed files with 2 additions and 6 deletions
|
@ -1,5 +1,4 @@
|
||||||
html, body {
|
html, body {
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-family: 'Source Sans Pro';
|
font-family: 'Source Sans Pro';
|
||||||
}
|
}
|
||||||
|
@ -15,9 +14,7 @@ body h5 {
|
||||||
#slider {
|
#slider {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
/*margin-top: 2%;*/
|
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
/*background: #e8e8e8;*/
|
|
||||||
max-width: 750px;
|
max-width: 750px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -56,7 +53,6 @@ body .form-control {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
max-width: 240px;
|
max-width: 240px;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
/*font-weight: bold;*/
|
|
||||||
margin: -35px auto 0 auto;
|
margin: -35px auto 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ app = Sammy('#main', function (sam) {
|
||||||
if (store.get('slide') == 'back') {
|
if (store.get('slide') == 'back') {
|
||||||
$('#slideBack').css('display', 'inline-block').css('margin-left', '-'+ 2*blockSize +'px');
|
$('#slideBack').css('display', 'inline-block').css('margin-left', '-'+ 2*blockSize +'px');
|
||||||
rendered.appendTo($('#slideBack'));
|
rendered.appendTo($('#slideBack'));
|
||||||
$('#main').animate({marginLeft: blockSize +'px'}, 500, function() {
|
$('#main').animate({marginLeft: blockSize +'px'}, 300, function() {
|
||||||
$('#main').html($('#slideBack').html());
|
$('#main').html($('#slideBack').html());
|
||||||
$('#main').css('margin-left', '0');
|
$('#main').css('margin-left', '0');
|
||||||
leSwap();
|
leSwap();
|
||||||
|
@ -112,7 +112,7 @@ app = Sammy('#main', function (sam) {
|
||||||
} else if (store.get('slide') == 'to') {
|
} else if (store.get('slide') == 'to') {
|
||||||
$('#slideTo').css('display', 'inline-block');
|
$('#slideTo').css('display', 'inline-block');
|
||||||
rendered.appendTo($('#slideTo'));
|
rendered.appendTo($('#slideTo'));
|
||||||
$('#main').animate({marginLeft: '-'+ blockSize +'px'}, 500, function() {
|
$('#main').animate({marginLeft: '-'+ blockSize +'px'}, 300, function() {
|
||||||
$('#main').html($('#slideTo').html());
|
$('#main').html($('#slideTo').html());
|
||||||
$('#main').css('margin-left', '0');
|
$('#main').css('margin-left', '0');
|
||||||
leSwap();
|
leSwap();
|
||||||
|
|
Loading…
Add table
Reference in a new issue