compatible for iPhone/ipad; writing mode for ipad/iphone

This commit is contained in:
life
2014-12-02 22:42:46 +08:00
parent 39809dc4c6
commit 9bc65bc099
11 changed files with 727 additions and 68 deletions

View File

@ -869,7 +869,7 @@ html,body {
z-index:333;
#leanoteMsg {
position: absolute;
width: @editorWidth;
width: 700px;
left:0;
right:0;
text-align: right;
@ -884,7 +884,7 @@ html,body {
margin-left: 10px;
}
#newNoteWrap, #topNav, #lea, #myBlog {
#newNoteWrap, #topNav, #lea {
opacity: 0;
&:hover {
opacity: 1;
@ -1096,4 +1096,42 @@ body {
}
#searchNotebookForAdd {
background: none;
}
}
.writting-hide {
display: none;
}
@media screen and (max-width: 800px) {
#leanoteMsg {
display: none;
}
#noteItemList, #notebook, #leftNotebook,
.slimScrollDiv,
#editorContent_ifr,
.mce-edit-area,.mce-container-body,.mce-tinymce,
#editor .mce-ifr,
.wmd-input,
#noteReadContent,
#attachList,
#tags
{
overflow: scroll !important;
-webkit-overflow-scrolling: touch !important; // for iphone
}
}
@media screen and (max-device-width: 1024px) and (orientation: landscape) {
#noteItemList, #notebook, #leftNotebook,
.slimScrollDiv,
#editorContent_ifr,
.mce-edit-area,.mce-container-body,.mce-tinymce,
#editor .mce-ifr,
.wmd-input,
#noteReadContent,
#attachList,
#tags
{
overflow: scroll !important;
-webkit-overflow-scrolling: touch !important; // for iphone
}
}