mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Small fixes
This commit is contained in:
parent
7e0a1500a6
commit
84d93e0f0b
10 changed files with 82 additions and 88 deletions
|
|
@ -262,52 +262,50 @@ AbstractApp.prototype.bootstart = function ()
|
|||
}, 1000);
|
||||
|
||||
ssm.addState({
|
||||
id: 'mobile',
|
||||
maxWidth: 767,
|
||||
onEnter: function(){
|
||||
'id': 'mobile',
|
||||
'maxWidth': 767,
|
||||
'onEnter': function() {
|
||||
$html.addClass('ssm-state-mobile');
|
||||
},
|
||||
onLeave: function(){
|
||||
'onLeave': function() {
|
||||
$html.removeClass('ssm-state-mobile');
|
||||
}
|
||||
});
|
||||
|
||||
ssm.addState({
|
||||
id: 'tablet',
|
||||
minWidth: 768,
|
||||
maxWidth: 1023,
|
||||
onEnter: function(){
|
||||
'id': 'tablet',
|
||||
'minWidth': 768,
|
||||
'maxWidth': 999,
|
||||
'onEnter': function() {
|
||||
$html.addClass('ssm-state-tablet');
|
||||
},
|
||||
onLeave: function(){
|
||||
'onLeave': function() {
|
||||
$html.removeClass('ssm-state-tablet');
|
||||
}
|
||||
});
|
||||
|
||||
ssm.addState({
|
||||
id: 'desktop',
|
||||
minWidth: 1000,
|
||||
maxWidth: 1366,
|
||||
onEnter: function(){
|
||||
'id': 'desktop',
|
||||
'minWidth': 1000,
|
||||
'maxWidth': 1400,
|
||||
'onEnter': function() {
|
||||
$html.addClass('ssm-state-desktop');
|
||||
},
|
||||
onLeave: function(){
|
||||
'onLeave': function() {
|
||||
$html.removeClass('ssm-state-desktop');
|
||||
}
|
||||
});
|
||||
|
||||
ssm.addState({
|
||||
id: 'desktop-large',
|
||||
minWidth: 1367,
|
||||
onEnter: function(){
|
||||
'id': 'desktop-large',
|
||||
'minWidth': 1400,
|
||||
'onEnter': function() {
|
||||
$html.addClass('ssm-state-desktop-large');
|
||||
},
|
||||
onLeave: function(){
|
||||
'onLeave': function() {
|
||||
$html.removeClass('ssm-state-desktop-large');
|
||||
}
|
||||
});
|
||||
|
||||
_.delay(function () {
|
||||
ssm.ready();
|
||||
}, 500);
|
||||
ssm.ready();
|
||||
};
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 350px;
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
#rl-sub-right {
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 350px;
|
||||
left: 500px;
|
||||
}
|
||||
|
||||
html.ssm-state-desktop-large {
|
||||
|
|
@ -117,23 +117,23 @@ html.ssm-state-tablet {
|
|||
}
|
||||
|
||||
#rl-sub-left {
|
||||
width: 320px;
|
||||
width: 300px;
|
||||
|
||||
.messageList .inputSearch {
|
||||
width: 230px;
|
||||
width: 210px;
|
||||
}
|
||||
}
|
||||
|
||||
#rl-sub-right {
|
||||
left: 320px;
|
||||
left: 300px;
|
||||
}
|
||||
|
||||
.b-compose.modal {
|
||||
width: 700px;
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
.b-contacts-content.modal {
|
||||
width: 700px;
|
||||
width: 800px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -150,7 +150,7 @@ html.ssm-state-mobile {
|
|||
width: 280px;
|
||||
|
||||
.messageList .inputSearch {
|
||||
width: 200px;
|
||||
width: 190px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -159,11 +159,11 @@ html.ssm-state-mobile {
|
|||
}
|
||||
|
||||
.b-compose.modal {
|
||||
width: 600px;
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
.b-contacts-content.modal {
|
||||
width: 600px;
|
||||
width: 800px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue