mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 19:19:21 +03:00
Small improvements
This commit is contained in:
parent
1b86e85df2
commit
7b5d00ff01
12 changed files with 52 additions and 14 deletions
|
|
@ -44,7 +44,7 @@
|
|||
{
|
||||
mResult = null === mStorageValue ? null : JSON.parse(mStorageValue);
|
||||
}
|
||||
catch (oException) {}
|
||||
catch (e) {}
|
||||
|
||||
if (!mResult)
|
||||
{
|
||||
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
bResult = true;
|
||||
}
|
||||
catch (oException) {}
|
||||
catch (e) {}
|
||||
|
||||
return bResult;
|
||||
};
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
mResult = null;
|
||||
}
|
||||
}
|
||||
catch (oException) {}
|
||||
catch (e) {}
|
||||
|
||||
return mResult;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
{
|
||||
mResult = null === mStorageValue ? null : JSON.parse(mStorageValue);
|
||||
}
|
||||
catch (oException) {}
|
||||
catch (e) {}
|
||||
|
||||
if (!mResult)
|
||||
{
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
bResult = true;
|
||||
}
|
||||
catch (oException) {}
|
||||
catch (e) {}
|
||||
|
||||
return bResult;
|
||||
};
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
mResult = null;
|
||||
}
|
||||
}
|
||||
catch (oException) {}
|
||||
catch (e) {}
|
||||
|
||||
return mResult;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -365,7 +365,7 @@
|
|||
return false;
|
||||
};
|
||||
|
||||
Utils.removeInFocus = function ()
|
||||
Utils.removeInFocus = function (force)
|
||||
{
|
||||
if (window.document && window.document.activeElement && window.document.activeElement.blur)
|
||||
{
|
||||
|
|
@ -374,6 +374,12 @@
|
|||
{
|
||||
window.document.activeElement.blur();
|
||||
}
|
||||
else if (force)
|
||||
{
|
||||
try {
|
||||
window.document.activeElement.blur();
|
||||
} catch (e) {}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -240,7 +240,10 @@
|
|||
return true;
|
||||
}
|
||||
}
|
||||
catch (e) {}
|
||||
catch (e)
|
||||
{
|
||||
Utils.log(e);
|
||||
}
|
||||
}
|
||||
|
||||
fCallback(null, aSigningKeyIds);
|
||||
|
|
|
|||
|
|
@ -72,6 +72,17 @@
|
|||
cursor: not-allowed;
|
||||
font-size: 14px;
|
||||
|
||||
.focused-poiner {
|
||||
float: left;
|
||||
display: inline-block;
|
||||
background-color: transparent;
|
||||
height: 100%;
|
||||
width: 3px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
padding: 0;
|
||||
padding-left: @folderItemPadding;
|
||||
padding-right: @folderItemPadding;
|
||||
|
|
@ -96,8 +107,13 @@
|
|||
|
||||
&.focused {
|
||||
background-color: #888;
|
||||
|
||||
.focused-poiner {
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&.system {
|
||||
cursor: default;
|
||||
color: grey;
|
||||
|
|
|
|||
|
|
@ -376,8 +376,8 @@ html.rl-no-preview-pane {
|
|||
&.html {
|
||||
|
||||
div[data-x-div-type=body] {
|
||||
padding: 15px;
|
||||
// margin: 15px;
|
||||
/*padding: 15px;*/
|
||||
margin: 15px;
|
||||
}
|
||||
|
||||
pre, code {
|
||||
|
|
|
|||
|
|
@ -618,6 +618,7 @@
|
|||
{
|
||||
oDiv.on('onBeforeOpen.lg', function () {
|
||||
Globals.useKeyboardShortcuts(false);
|
||||
Utils.removeInFocus(true);
|
||||
});
|
||||
|
||||
oDiv.on('onCloseAfter.lg', function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue