Move folder list resize button to bottom

This commit is contained in:
RainLoop Team 2014-04-28 19:53:16 +04:00
parent 0ce7b03fd0
commit c25b5bfef7
13 changed files with 103 additions and 50 deletions

View file

@ -1075,6 +1075,7 @@ Utils.setExpandedFolder = function (sFullNameHash, bExpanded)
Utils.initLayoutResizer = function (sLeft, sRight, sClientSideKeyName)
{
var
iMinWidth = 155,
oLeft = $(sLeft),
oRight = $(sRight),
@ -1094,15 +1095,17 @@ Utils.initLayoutResizer = function (sLeft, sRight, sClientSideKeyName)
},
fDisable = function (bDisable) {
var iWidth = 5;
if (bDisable)
{
oLeft.resizable('disable');
fSetWidth(5);
fSetWidth(iWidth);
}
else
{
oLeft.resizable('enable');
fSetWidth(RL.local().get(sClientSideKeyName) || 170);
iWidth = Utils.pInt(RL.local().get(sClientSideKeyName)) || iMinWidth;
fSetWidth(iWidth > iMinWidth ? iWidth : iMinWidth);
}
},
@ -1125,8 +1128,8 @@ Utils.initLayoutResizer = function (sLeft, sRight, sClientSideKeyName)
oLeft.resizable({
'helper': 'ui-resizable-helper',
'minWidth': 170,
'maxWidth': 400,
'minWidth': iMinWidth,
'maxWidth': 350,
'handles': 'e',
'stop': fResizeFunction
});

View file

@ -108,7 +108,7 @@ html.ssm-state-desktop {
}
}
html.ssm-state-tablet, html.ssm-state-mobile {
html.ssm-state-tablet {
#rl-left {
width: 160px;
@ -139,6 +139,37 @@ html.ssm-state-tablet, html.ssm-state-mobile {
}
}
html.ssm-state-mobile {
#rl-left {
width: 155px;
}
#rl-right {
left: 155px;
}
#rl-sub-left {
width: 310px;
.messageList .inputSearch {
width: 200px;
}
}
#rl-sub-right {
left: 310px;
}
.b-compose.modal {
width: 800px;
}
.b-contacts-content.modal {
width: 800px;
}
}
html.rl-left-panel-disabled {
#rl-left {

View file

@ -76,7 +76,7 @@
.b-content {
position: absolute;
top: 50px + @rlLowMargin;
top: 50px;
bottom: @rlLowMargin;
left: 0;
right: @rlLowMargin;

View file

@ -87,7 +87,7 @@ select {
// }
}
.btn, .btn.btn-dark-disabled-border {
.btn.btn-dark-disabled-border {
&.disabled, &[disabled] {
border-color: #aaa;
}