mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
Move folder list resize button to bottom
This commit is contained in:
parent
0ce7b03fd0
commit
c25b5bfef7
13 changed files with 103 additions and 50 deletions
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
|
||||
.b-content {
|
||||
position: absolute;
|
||||
top: 50px + @rlLowMargin;
|
||||
top: 50px;
|
||||
bottom: @rlLowMargin;
|
||||
left: 0;
|
||||
right: @rlLowMargin;
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ select {
|
|||
// }
|
||||
}
|
||||
|
||||
.btn, .btn.btn-dark-disabled-border {
|
||||
.btn.btn-dark-disabled-border {
|
||||
&.disabled, &[disabled] {
|
||||
border-color: #aaa;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue