From 263c03291e561525c3a4c39afbd2aaf96853ac77 Mon Sep 17 00:00:00 2001 From: lealife Date: Tue, 27 Oct 2015 23:04:39 +0800 Subject: [PATCH] batch ok --- app/controllers/NoteController.go | 66 +- app/service/NoteImageService.go | 54 +- app/service/NoteService.go | 13 +- app/service/TrashService.go | 14 +- app/views/note/note-dev.html | 29 +- messages/msg.zh | 3 +- public/css/theme/basic.less | 83 +- public/css/theme/default.css | 2 +- public/css/theme/simple.css | 2 +- public/css/theme/writting-overwrite.css | 2 +- public/css/theme/writting.css | 2 +- public/js/app/note.js | 932 ++++++++++++++---- public/js/app/notebook.js | 31 +- public/js/app/page.js | 28 +- public/js/app/share.js | 22 +- public/js/contextmenu/css/contextmenu-min.css | 2 +- public/js/contextmenu/css/contextmenu.css | 2 +- public/js/contextmenu/jquery.contextmenu.js | 38 +- public/js/i18n/msg.en.js | 2 +- public/js/i18n/msg.fr.js | 2 +- public/js/i18n/msg.zh.js | 2 +- 21 files changed, 1037 insertions(+), 294 deletions(-) diff --git a/app/controllers/NoteController.go b/app/controllers/NoteController.go index 6e6acab..bc428ac 100644 --- a/app/controllers/NoteController.go +++ b/app/controllers/NoteController.go @@ -259,28 +259,59 @@ func (c Note) UpdateNoteOrContent(noteOrContent NoteOrContent) revel.Result { // 删除note/ 删除别人共享给我的笔记 // userId 是note.UserId -func (c Note) DeleteNote(noteId, userId string, isShared bool) revel.Result { - if(!isShared) { - return c.RenderJson(trashService.DeleteNote(noteId, c.GetUserId())); +func (c Note) DeleteNote(noteIds []string, isShared bool) revel.Result { + if !isShared { + for _, noteId := range noteIds { + trashService.DeleteNote(noteId, c.GetUserId()) + } + return c.RenderJson(true) } - - return c.RenderJson(trashService.DeleteSharedNote(noteId, userId, c.GetUserId())); + + for _, noteId := range noteIds { + trashService.DeleteSharedNote(noteId, c.GetUserId()) + } + + return c.RenderJson(true) } -// 删除trash + +// 删除trash, 已弃用, 用DeleteNote func (c Note) DeleteTrash(noteId string) revel.Result { - return c.RenderJson(trashService.DeleteTrash(noteId, c.GetUserId())); + return c.RenderJson(trashService.DeleteTrash(noteId, c.GetUserId())) } + // 移动note -func (c Note) MoveNote(noteId, notebookId string) revel.Result { - return c.RenderJson(noteService.MoveNote(noteId, notebookId, c.GetUserId())); +func (c Note) MoveNote(noteIds []string, notebookId string) revel.Result { + userId := c.GetUserId() + for _, noteId := range noteIds { + noteService.MoveNote(noteId, notebookId, userId) + } + return c.RenderJson(true) } + // 复制note -func (c Note) CopyNote(noteId, notebookId string) revel.Result { - return c.RenderJson(noteService.CopyNote(noteId, notebookId, c.GetUserId())); +func (c Note) CopyNote(noteIds []string, notebookId string) revel.Result { + copyNotes := make([]info.Note, len(noteIds)) + userId := c.GetUserId() + for i, noteId := range noteIds { + copyNotes[i] = noteService.CopyNote(noteId, notebookId, userId) + } + re := info.NewRe() + re.Ok = true + re.Item = copyNotes + return c.RenderJson(re) } + // 复制别人共享的笔记给我 -func (c Note) CopySharedNote(noteId, notebookId, fromUserId string) revel.Result { - return c.RenderJson(noteService.CopySharedNote(noteId, notebookId, fromUserId, c.GetUserId())); +func (c Note) CopySharedNote(noteIds []string, notebookId, fromUserId string) revel.Result { + copyNotes := make([]info.Note, len(noteIds)) + userId := c.GetUserId() + for i, noteId := range noteIds { + copyNotes[i] = noteService.CopySharedNote(noteId, notebookId, fromUserId, userId) + } + re := info.NewRe() + re.Ok = true + re.Item = copyNotes + return c.RenderJson(re) } //------------ @@ -290,6 +321,7 @@ func (c Note) SearchNote(key string) revel.Result { _, blogs := noteService.SearchNote(key, c.GetUserId(), c.GetPage(), pageSize, "UpdatedTime", false, false) return c.RenderJson(blogs) } + // 通过tags搜索 func (c Note) SearchNoteByTags(tags []string) revel.Result { _, blogs := noteService.SearchNoteByTags(tags, c.GetUserId(), c.GetPage(), pageSize, "UpdatedTime", false) @@ -456,7 +488,9 @@ func (c Note) ExportPdf(noteId string) revel.Result { } // 设置/取消Blog; 置顶 -func (c Note) SetNote2Blog(noteId string, isBlog, isTop bool) revel.Result { - re := noteService.ToBlog(c.GetUserId(), noteId, isBlog, isTop) - return c.RenderJson(re) +func (c Note) SetNote2Blog(noteIds []string, isBlog, isTop bool) revel.Result { + for _, noteId := range noteIds { + noteService.ToBlog(c.GetUserId(), noteId, isBlog, isTop) + } + return c.RenderJson(true) } diff --git a/app/service/NoteImageService.go b/app/service/NoteImageService.go index fde855d..cbf538b 100644 --- a/app/service/NoteImageService.go +++ b/app/service/NoteImageService.go @@ -73,17 +73,13 @@ func (this *NoteImageService) UpdateNoteImages(userId, noteId, imgSrc, content s // 复制图片, 把note的图片都copy给我, 且修改noteContent图片路径 func (this *NoteImageService) CopyNoteImages(fromNoteId, fromUserId, newNoteId, content, toUserId string) string { + /* 弃用之 // 得到fromNoteId的noteImages, 如果为空, 则直接返回content noteImages := []info.NoteImage{} db.ListByQWithFields(db.NoteImages, bson.M{"NoteId": bson.ObjectIdHex(fromNoteId)}, []string{"ImageId"}, ¬eImages) - if len(noteImages) == 0 { return content; } - - // - // 把fileId=1232替换成新的 - replaceMap := map[string]string{} for _, noteImage := range noteImages { imageId := noteImage.ImageId.Hex() ok, newImageId := fileService.CopyImage(fromUserId, imageId, toUserId) @@ -91,20 +87,44 @@ func (this *NoteImageService) CopyNoteImages(fromNoteId, fromUserId, newNoteId, replaceMap[imageId] = newImageId } } - - if len(replaceMap) > 0 { - // 替换之 - reg, _ := regexp.Compile("outputImage\\?fileId=([a-z0-9A-Z]{24})") - content = reg.ReplaceAllStringFunc(content, func(each string) string { - // each=outputImage?fileId=541bd2f599c37b4f3r000003 - fileId := each[len(each)-24:] // 得到后24位, 也即id - if replaceFileId, ok := replaceMap[fileId]; ok { + */ + + // 因为很多图片上传就会删除, 所以直接从内容中查看图片id进行复制 + + // + // 把fileId=1232替换成新的 + replaceMap := map[string]string{} + + reg, _ := regexp.Compile("(outputImage|getImage)\\?fileId=([a-z0-9A-Z]{24})") + content = reg.ReplaceAllStringFunc(content, func(each string) string { + // each = outputImage?fileId=541bd2f599c37b4f3r000003 + // each = getImage?fileId=541bd2f599c37b4f3r000003 + + fileId := each[len(each)-24:] // 得到后24位, 也即id + + if _, ok := replaceMap[fileId]; !ok { + if bson.IsObjectIdHex(fileId) { + ok2, newImageId := fileService.CopyImage(fromUserId, fileId, toUserId) + if ok2 { + replaceMap[fileId] = newImageId + } else { + replaceMap[fileId] = "" + } + } else { + replaceMap[fileId] = "" + } + } + + replaceFileId := replaceMap[fileId] + if replaceFileId != "" { + if each[0] == 'o' { return "outputImage?fileId=" + replaceFileId } - return each - }); - } - + return "getImage?fileId=" + replaceFileId + } + return each + }); + return content; } diff --git a/app/service/NoteService.go b/app/service/NoteService.go index e06792a..e600923 100644 --- a/app/service/NoteService.go +++ b/app/service/NoteService.go @@ -664,11 +664,11 @@ func (this *NoteService) CopyNote(noteId, notebookId, userId string) info.Note { note.NotebookId = bson.ObjectIdHex(notebookId) noteContent.NoteId = note.NoteId - this.AddNoteAndContent(note, noteContent, note.UserId); - + note = this.AddNoteAndContent(note, noteContent, note.UserId); + // 更新blog状态 isBlog := this.updateToNotebookBlog(note.NoteId.Hex(), notebookId, userId) - + // recount notebookService.ReCountNotebookNumberNotes(notebookId) @@ -683,16 +683,15 @@ func (this *NoteService) CopyNote(noteId, notebookId, userId string) info.Note { // 复制别人的共享笔记给我 // 将别人可用的图片转为我的图片, 复制图片 func (this *NoteService) CopySharedNote(noteId, notebookId, fromUserId, myUserId string) info.Note { - // Log(shareService.HasSharedNote(noteId, myUserId) || shareService.HasSharedNotebook(noteId, myUserId, fromUserId)) // 判断是否共享了给我 - if notebookService.IsMyNotebook(notebookId, myUserId) && - (shareService.HasSharedNote(noteId, myUserId) || shareService.HasSharedNotebook(noteId, myUserId, fromUserId)) { + // Log(notebookService.IsMyNotebook(notebookId, myUserId)) + if notebookService.IsMyNotebook(notebookId, myUserId) && shareService.HasReadPerm(fromUserId, myUserId, noteId) { note := this.GetNote(noteId, fromUserId) if note.NoteId == "" { return info.Note{} } noteContent := this.GetNoteContent(noteId, fromUserId) - + // 重新生成noteId note.NoteId = bson.NewObjectId(); note.NotebookId = bson.ObjectIdHex(notebookId) diff --git a/app/service/TrashService.go b/app/service/TrashService.go index 0cc92ed..366a30e 100644 --- a/app/service/TrashService.go +++ b/app/service/TrashService.go @@ -25,6 +25,12 @@ type TrashService struct { // 应该放在回收站里 // 有trashService func (this *TrashService) DeleteNote(noteId, userId string) bool { + note := noteService.GetNote(noteId, userId); + // 如果是垃圾, 则彻底删除 + if (note.IsTrash) { + return this.DeleteTrash(noteId, userId) + } + // 首先删除其共享 if shareService.DeleteShareNoteAll(noteId, userId) { // 更新note isTrash = true @@ -36,13 +42,15 @@ func (this *TrashService) DeleteNote(noteId, userId string) bool { return true } } + return false } // 删除别人共享给我的笔记 // 先判断我是否有权限, 笔记是否是我创建的 -func (this *TrashService) DeleteSharedNote(noteId, userId, myUserId string) bool { - note := noteService.GetNote(noteId, userId) +func (this *TrashService) DeleteSharedNote(noteId, myUserId string) bool { + note := noteService.GetNoteById(noteId) + userId := note.UserId.Hex() if shareService.HasUpdatePerm(userId, myUserId, noteId) && note.CreatedUserId.Hex() == myUserId { return db.UpdateByIdAndUserId(db.Notes, noteId, userId, bson.M{"$set": bson.M{"IsTrash": true, "Usn": userService.IncrUsn(userId)}}) } @@ -116,4 +124,4 @@ func (this *TrashService) ListNotes(userId string, pageNumber, pageSize int, sortField string, isAsc bool) (notes []info.Note) { _, notes = noteService.ListNotes(userId, "", true, pageNumber, pageSize, sortField, isAsc, false) return -} \ No newline at end of file +} diff --git a/app/views/note/note-dev.html b/app/views/note/note-dev.html index 0caf1fd..2eaa03d 100644 --- a/app/views/note/note-dev.html +++ b/app/views/note/note-dev.html @@ -83,6 +83,8 @@ function log(o) { - + + + @@ -104,12 +108,14 @@ function log(o) { {{msg . "new"}} | - + {{msg . "newMarkdown"}} Md - + + @@ -420,12 +427,13 @@ function log(o) {
-
+

loading...
-
+ +
{{msg . "noNoteNewNoteTips"}}

@@ -437,6 +445,16 @@ function log(o) { {{msg . "canntNewNoteTips"}}
+ +
+
+
+ {{leaMsg . " notes selected"}} +

+
+
+ +
@@ -842,7 +860,6 @@ function log(o) { - - + diff --git a/messages/msg.zh b/messages/msg.zh index 3738253..e54661d 100644 --- a/messages/msg.zh +++ b/messages/msg.zh @@ -230,7 +230,7 @@ unVerified=未验证 verifiedNow=现在去验证 resendVerifiedEmail=重新发送验证邮件 # 分享 -defaulthhare=默认共享 +defaultShare=默认分享 addShare=添加分享 friendEmail=好友邮箱 permission=权限 @@ -246,6 +246,7 @@ emailBodyRequired=邮件内容不能为空 clickToCopy=点击复制 sendSuccess=发送成功 inviteEmailBody=Hi, 你好, 我是%s, %s非常好用, 快来注册吧! + notes selected=当前选中了 篇笔记 # 历史记录 historiesNum=leanote会保存笔记的最近10份历史记录 diff --git a/public/css/theme/basic.less b/public/css/theme/basic.less index d593787..46d6150 100644 --- a/public/css/theme/basic.less +++ b/public/css/theme/basic.less @@ -456,6 +456,9 @@ h1, h2, h3 { // blog #noteItemList { + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; .item-setting, .item-blog { position: absolute; right: 1px; @@ -485,10 +488,28 @@ h1, h2, h3 { display: none; } } + + #noteItemList .item:hover { - .item-setting { - display: block; - } + .item-setting { + display: block; + } +} + +// 当是批量操作时, 隐藏之 +.batch { + #noteItemList { + .item-active, + .item-active:hover { + // .item-blog, + .item-setting { + display: none; + } + } + } + #toggleEditorMode { + display: none; + } } // share @@ -1092,7 +1113,9 @@ top: 4px; } } .note-mask { - position: absolute; top: 0px; bottom: 0px; right: 0; left: 3px; z-index: -1; + position: absolute; top: 0px; bottom: 0px; right: 0; + left: 0px; + z-index: -1; } #noteMaskForLoading { padding-top: 60px; @@ -1644,4 +1667,56 @@ top: 4px; } } } +} + +//--------- +// batch +#batchMask { + background: #fff; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; +} +.batch-ctn { + position: relative; + padding: 50px; + width: 100%; + height: 100%; +} +.batch-note { + display: inline-block; + width: 160px; + position: absolute; + left: 50%; + // margin-left: -80px; + border: 1px solid #ccc; + height: 200px; + padding: 5px; + border-radius: 5px; + background: #eee; + // transform: rotate(-30deg); + overflow: hidden; + transition: margin 0.5s; + margin-left: -1000px; + .title { + font-size: 16px; + margin-bottom: 5px; + font-weight: bold; + } +} +.batch-info { + position: absolute; + left: 0; + top: 0; + right: 0; + text-align: center; + margin-top: 300px; + // 设置 + p { + margin-top: 8px; + } + .fa { + cursor: pointer; + font-size: 16px; + } } \ No newline at end of file diff --git a/public/css/theme/default.css b/public/css/theme/default.css index c431cd8..477948c 100644 --- a/public/css/theme/default.css +++ b/public/css/theme/default.css @@ -1 +1 @@ -@font-face{font-family:leanote;src:url(../../fonts/leanote-font2/leanote.eot?-vcf23i);src:url(../../fonts/leanote-font2/leanote.eot?#iefix-vcf23i) format('embedded-opentype'),url(../../fonts/leanote-font2/leanote.ttf?-vcf23i) format('truetype'),url(../../fonts/leanote-font2/leanote.woff?-vcf23i) format('woff'),url(../../fonts/leanote-font2/leanote.svg?-vcf23i#leanote) format('svg');font-weight:400;font-style:normal}#logo,#switcher span,.mce-i-mind,.mce-i-ace-pre,.lea-icon{font-family:leanote!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-markdown:before{content:"\e604"}.mce-i-mind:before{content:"\e602"}.mce-i-ace-pre:before{content:"\e603"}#logo:before{content:"\e600";line-height:1;margin-top:5px;display:inline-block;vertical-align:top}#switcher span:before{content:"\e601"}.new-split{display:none}.new-note{background-color:#000;border-radius:3px;padding:3px 5px;border:1px solid #080303}.new-note,.new-note a{color:#fff}.new-note:hover{background:#3D3B3B;border-color:transparent}.new-note:hover,.new-note:hover a{color:#fff}.new-markdown{margin-left:3px;margin-right:3px}*,.h1,.h2,.h3,.h4,.h5,.h6{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif}body{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif;font-weight:400;font-size:14px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){body{font-weight:300}}h1,h2,h3{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif;font-weight:400!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.editor-content,.preview-container{-webkit-overflow-scrolling:touch!important}.btn *{cursor:pointer!important}.ios7-a{display:inline-block;padding:0 10px;height:36px;vertical-align:middle;line-height:36px;cursor:pointer}#tool{border-bottom:1px solid #ddd;height:36px;margin-left:-5px}#tag{height:36px;line-height:36px}#editor,#mdEditor{position:absolute;z-index:2;top:66px;bottom:0;right:0;left:5px;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:5px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#tag .dropdown{line-height:30px}.btn{border-radius:2px}.alert{margin-bottom:10px}#logo{font-size:36px}#switcher span{border-radius:5px;display:inline-block;cursor:pointer;font-size:18px;height:34px;line-height:34px;margin-top:8px;padding:0 5px}.noteSplit{position:absolute;top:0;width:5px;height:100%;overflow:hidden;z-index:3333;cursor:col-resize}.dropdown-menu{border-radius:3px;margin:0;border:1px solid #0fb264;box-shadow:rgba(0,0,0,.172549)0 6px 12px 0}.dropdown-menu:before{content:"";width:20px;height:12px;position:absolute;top:-12px;right:8px;background-image:url(../../images/triangle_2x.png);background-size:20px 12px}.dropdown-submenu .dropdown-menu:before{background:0 0}#searchNotebookForAddDropdownList,#searchNotebookForAddShareDropdownList{left:-200px}#searchNotebookForAddDropdownList:before,#searchNotebookForAddShareDropdownList:before{left:190px;right:inherit}.dropdown-menu li{list-style:none;padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu li>a{color:#000;display:block;padding-right:20px}.dropdown-menu>li>a{padding:3px 20px 3px 0}#notebookNavForNewNote li:hover{background:0 0}#noteList{position:absolute;bottom:0;top:0}#noteAndEditorMask{position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;text-align:center;padding-top:60px;opacity:.3;z-index:20;display:none}.dropdown-submenu{position:relative}.dropdown-submenu>ul.dropdown-menu{top:0;left:100%;margin-left:-3px!important;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding-top:10px!important}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropdown-submenu:after{display:block;content:" ";position:absolute;right:0;top:10px;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#666}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.open>.dropdown-menu,.dropdown-submenu:hover>.dropdown-menu{opacity:1;transform:scale(1,1);-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1)}.dropdown-menu{opacity:0;display:block;-webkit-transform:scale(0,0);-webkit-transform-origin:top;-webkit-animation-fill-mode:forwards;-webkit-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-o-transform:scale(0,0);-o-transform-origin:top;-o-animation-fill-mode:forwards;-o-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-moz-transform:scale(0,0);-moz-transform-origin:top;-moz-animation-fill-mode:forwards;-moz-transition:all .2s cubic-bezier(0.34,1.21,.4,1);transform:scale(0,0);transform-origin:top;animation-fill-mode:forwards;transition:all .2s cubic-bezier(0.34,1.21,.4,1)}.dropdown-list{width:530px;border-radius:3px}.dropdown-list ul{margin:0;padding:0}.dropdown-list ul li{float:left;width:120px;margin-left:10px;margin-bottom:10px;border:1px dashed #ccc}.new-note-right{padding:0 5px;padding-left:3px}#leanoteMsg{line-height:40px;margin-top:10px;margin-left:10px}#newNoteWrap{line-height:40px;margin-top:10px}#editorTool{margin:0;margin-right:5px;padding:0;list-style:none}#editorTool li{display:inline-block}#searchNotebookForAdd{line-height:normal;width:200px;margin:0 10px;margin-bottom:10px;height:30px;border-color:#ebeff2;box-shadow:none}#myNotebooks .folderBody{padding-top:3px}.folderBody{overflow-x:hidden}#searchNotebookForList{height:30px;width:90%;margin:3px auto;margin-top:0;border-color:#ebeff2;box-shadow:none}#noteItemList .item-setting,#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;padding:3px;border-radius:5px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-setting .fa,#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-setting:hover,#noteItemList .item-blog:hover{opacity:.8}#noteItemList .item-blog{top:1px}#noteItemList .item-setting{bottom:0;display:none}#noteItemList .item:hover .item-setting{display:block}.friend-header{position:relative}.friend-header .notebook-setting{display:none;position:absolute;right:0;left:auto}.friend-header:hover .notebook-setting{display:block}.each-user{margin-bottom:5px;margin-left:5px;margin-right:5px;margin-top:3px;border:1px solid #eee;border-radius:3px}.notebook-number-notes{position:absolute;right:10px;top:0;bottom:0;z-index:1;display:inline-block;line-height:20px!important;height:20px;margin-top:5px;padding:0 3px}.notebook-setting{display:none;position:absolute;right:1px;top:0;bottom:0;z-index:2;line-height:30px}.notebook-setting:before{content:"\f013"}.ztree li a:hover .notebook-setting{display:block}#myTag .folderBody{padding:0 3px;padding-bottom:3px}#myTag .folderBody li{margin-left:10px;padding:3px;line-height:normal}#notebookList{border-top:1px solid rgba(255,255,255,.05)}.ztree{padding:0}#upload{position:absolute;z-index:0;bottom:0;right:0;left:0;padding:0;background-color:#fff;text-align:center;display:none}#upload #drop{width:100%;height:100%;padding-top:100px}#drop.in{border:1px solid #000}#drop.hover{border:2px solid #000}#uploadMsg{position:absolute;top:3px;right:3px;bottom:10px;overflow:scroll;list-style:none}#uploadAttach{position:relative;margin-top:5px}.dropzone{text-align:center}.dropzone input{display:none}.dropzone.in{border:1px solid #000}.dropzone.hover{border:2px solid #000}#attachUploadMsg,#avatarUploadMsg{list-style-type:none;margin:0;padding:0;max-height:240px;z-index:3}#attachUploadMsg .alert,#avatarUploadMsg .alert{margin:0;padding:0 3px;margin-top:10px}#attachMenu{width:450px;padding:10px 5px}#attachList{margin:0;padding:0;max-height:450px;overflow-y:auto}#attachList li{display:block;margin:0;padding:0 3px;border-radius:3px;border-bottom:1px dashed #eee;height:45px;line-height:45px}#attachList li div{float:left}#attachList li .attach-title{width:290px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#attachList li .attach-process{float:right}#attachList li.loading{text-align:center}.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-ms-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;-moz-animation-name:fadeIn;-o-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes fadeInUp{0%{opacity:0;-moz-transform:translateY(20px)}100%{opacity:1;-moz-transform:translateY(0)}}@-o-keyframes fadeInUp{0%{opacity:0;-o-transform:translateY(20px)}100%{opacity:1;-o-transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}100%{opacity:1;transform:translateY(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;-moz-animation-name:fadeInUp;-o-animation-name:fadeInUp;animation-name:fadeInUp}#historyList img{max-width:100%}#avatar{height:60px;max-width:200px;display:inline-block;margin:10px}#noteReadTitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#noteReadInfo{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#666;margin-top:8px}.my-link,.new-markdown-text-abbr,.new-note-text-abbr{display:none}#myAvatar{height:30px;max-width:30px;overflow:hidden;border-radius:50%}#tool{position:relative}#tag{position:absolute;right:300px;top:0;left:5px;bottom:0}#tagColor{left:10px}#tagColor:before{content:"";background-image:none}#addTagInput{width:100px}#notesAndSort{height:36px}#noteItemListWrap{position:absolute;left:0;right:0;top:36px;bottom:3px}#mdEditorPreview{position:absolute;top:35px;left:0;right:0;bottom:0}#left-column,#right-column,#mdSplitter{position:absolute;top:0;bottom:0}#mdSplitter{width:5px;height:100%;overflow:hidden;z-index:5;cursor:col-resize;left:450px;background:0 0}#left-column{left:0;width:450px}#right-column{left:450px;right:0;overflow:hidden}.wmd-panel-editor,.preview-container,#wmd-input{height:100%}.wmd-input,.wmd-input:focus,#md-section-helper{width:100%;border:1px #eee solid;border-radius:5px;outline:0;font-size:14px;resize:none;overflow-x:hidden}#md-section-helper{position:absolute;height:0;overflow-y:scroll;padding:0 6px;top:10px;z-index:-1;opacity:none}.preview-container{overflow:auto}.wmd-preview{width:100%;font-size:14px;overflow:auto;overflow-x:hidden}.wmd-button-row,.preview-button-row{padding:0;height:auto;margin:0}.wmd-spacer{width:0;height:20px;margin-left:10px;background-color:Silver;display:inline-block;list-style:none}.wmd-button,.preview-button{width:20px;height:20px;display:inline-block;list-style:none;cursor:pointer;font-size:17px}.wmd-button{margin-left:10px}.preview-button{margin-right:10px}.wmd-button>span,.preview-button>span{width:20px;height:20px;display:inline-block;font-size:14px}.top-nav{margin:0 10px;display:inline-block;line-height:60px}.cm-item{position:relative}.cm-item .cm-text{position:absolute;left:23px;right:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cm-item .cm-text .c-text{display:initial}.b-m-mpanel{border-radius:3px}#noteItemList{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;overflow-y:hidden;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important}.item-active,#noteItemList .item-active:hover{background-color:#65bd77!important;color:#fff}.item-active .fa,#noteItemList .item-active:hover .fa{color:#eee!important}.item-active .item-title,#noteItemList .item-active:hover .item-title{color:#fff}#noteItemList .item-thumb{width:100px;overflow:hidden;position:absolute;z-index:1;right:0;top:4px;height:100px;background-color:#fff;margin-right:5px;line-height:100px;text-align:center}.item-thumb img{max-width:100px}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#noteItemList .item-desc{position:absolute;left:0;top:4px;right:0;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-image .item-desc{right:100px}.item-info{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.desc{margin:0;word-wrap:break-word}#editorMask{position:absolute;top:0;bottom:0;right:0;left:0;background-color:#fff;display:none;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff}.note-mask{position:absolute;top:0;bottom:0;right:0;left:3px;z-index:-1}#noteMaskForLoading{padding-top:60px;background:#fff;text-align:center;opacity:.3}#themeForm td{padding:5px;text-align:center}#themeForm img{border:1px solid #eee;padding:2px}.dropdown-menu .divider{margin:3px 0}.ace_editor,.ace_editor *{font-family:Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro}.leanoteNav{position:absolute;right:0;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-top:4px}.leanoteNav h1{margin:0;font-size:16px;padding:3px;cursor:pointer}.leanoteNav i{padding:3px}.leanoteNav span{display:none}.leanoteNav .leanoteNavContent{display:none;overflow:auto}.leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}.leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}.leanoteNav.unfolder span{display:inline}.leanoteNav.unfolder .leanoteNavContent{display:block;min-height:30px}.leanoteNav ul{margin:0;padding-left:23px}.leanoteNav ul li{list-style-type:disc}.leanoteNav ul li a:hover{color:#0fb264}.leanoteNav ul .nav-h2{margin-left:20px}.leanoteNav ul .nav-h3{margin-left:30px}.leanoteNav ul .nav-h4{margin-left:40px}.leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#editorContent{border:1px solid #ccc;border-radius:5px;padding:5px;outline:0;margin-top:5px;bottom:5px!important}#editorContent pre{position:relative;-mo-height:auto!important}#editorContent pre .toggle-raw{position:absolute;left:2px;top:-2px;z-index:100;display:none}#editorContent pre:hover .toggle-raw{display:block}#editorContent *{font-family:inherit}.ace_invisible_space{visibility:hidden!important}.mce-tinymce-inline{border-width:0!important}#editorContent a{color:#2a6496;text-decoration:underline}#editorContent pre{font:12px / normal Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro,monospace;color:#4D4D4C}#editorContent .ace_searchbtn_close{margin:0}#editorContent .ace-tomorrow{padding:0;padding-left:44px}#editorContent .ace-to-pre{padding:0;padding-left:5px}#editorContent .ace_scrollbar-v{overflow-y:hidden}#editorContent .leanote-image-container{display:inline-block;width:100px}#editorContent .leanote-image-container .loader{display:inline-block;vertical-align:top;margin-right:3px;margin-top:5px}#editorContent .leanote-image-container .progress{display:inline-block;margin:0;width:80px}.close:focus{outline:0}#tagNav i,#tagNav em{font-style:normal}#tagNav .tag-delete{display:none;margin-left:3px;font-size:12px}#tagNav li:hover .tag-delete{display:inline-block}#tagNav a:hover{background:none!important}#listNotebookDropdownMenu{display:none}#moreBtn span{display:none}.mce-colorbtn-trans div{line-height:11px;text-align:center}.mce-btn-small .mce-caret{margin-top:8px}.mce-listbox.mce-btn-small .mce-caret{margin-top:-2px}.mce-btn i{text-shadow:none}.mce-colorbutton.mce-btn-small .mce-preview{width:15px}#noteList{z-index:333}#moreBtn{dispaly:block;position:absolute;cursor:pointer;right:5px;padding:3px 10px}.info-toolbar{position:absolute;top:0;left:0;right:0;bottom:0;line-height:30px;padding-left:5px;height:30px;display:none}.info-toolbar .toolbar-update{color:inherit;float:right;padding:0 10px}.info-toolbar .toolbar-update:hover{background:#fff;color:#000}.info-toolbar .created-time{display:inline-block;padding-right:10px}.invisible{visibility:hidden}#editorContent{-webkit-user-select:text}#editor.read-only #mceToolbarContainer{display:none}#editor.read-only .info-toolbar{display:block}#mdEditor.read-only .info-toolbar{display:block}#mdEditor.read-only .wmd-button-bar-inner,#mdEditor.read-only #mdSplitter2,#mdEditor.read-only .btn-info{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important}#mdEditor.read-only .preview-container{left:10px}#editor #mceToolbar{height:30px}#editor.all-tool #mceToolbar{height:60px}#editor.all-tool .more-fa:before{content:"\f106"}#editor.all-tool #editorContent{top:60px}#editor .more-fa:before{content:"\f107"}#note.read-only #editor,#note.read-only #mdEditor{top:60px}#note.read-only #tool{display:none}#note.read-only .toolbar-update{display:none}#note.read-only #noteReadTop{display:block}#note.read-only #infoToolbar,#note.read-only #mceToolbar,#note.read-only .navbar{display:none}#note.read-only #editorContent,#note.read-only #mdEditor .layout-wrapper-l3{top:0}#noteRead{position:absolute;left:5px;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadTop{position:absolute;height:60px;left:5px;right:0;top:0;bottom:0;z-index:2;display:none;background:#fff;padding-left:5px}#noteReadTitle{margin:3px 0;height:26px}#noteInfo{width:400px;box-sizing:border-box;padding:10px;-webkit-user-select:initial}#noteInfo table{width:100%;margin:0}#noteInfo table th{width:80px}#noteInfo table th,#noteInfo table td{border-top:none;border-bottom:1px solid #ddd}#noteInfo a{cursor:pointer}#noteInfo a.post-url{background:#FDF936}#noteInfo .post-url-wrap span{display:inline}#noteInfo .post-url-wrap input{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-pencil{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-text{display:none}#noteInfo .post-url-wrap.post-url-edit input{display:inline}.history-modal .modal-dialog{width:auto!important;position:absolute;left:5px;right:5px;top:5px;bottom:5px}.history-modal .modal-dialog .modal-content{position:absolute;left:0;right:0;top:0;bottom:0;margin:0;padding:0;overflow:scroll}.history-modal .modal-dialog .modal-content .modal-body{position:absolute;top:0;bottom:0;left:0;right:0;padding:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap{position:absolute;top:0;bottom:0;overflow-y:auto;width:200px;border-right:1px solid #ccc;box-shadow:1px 1px 10px #ddd}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list-header{line-height:50px;font-size:16px;font-weight:700;padding-left:15px;border-bottom:1px solid #eee;background-color:#ccc}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list{position:absolute;top:51px;bottom:0;left:0;right:0;overflow-y:auto;margin-bottom:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item{border-top:none}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item.active,.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item:hover{color:#000;background-color:#eee;border-color:#eee}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap{position:absolute;top:0;bottom:0;right:0;left:200px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .close{padding:10px 15px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .back{margin-left:10px;margin-top:5px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content-header{height:51px;border-bottom:1px solid #eee;box-shadow:5px 0 5px #ccc}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content{position:absolute;top:51px;bottom:0;right:0;left:0;padding-top:5px;padding-right:5px;padding-left:10px;overflow-y:auto}::selection{background:#000;color:#fff}::-moz-selection{background:#000;color:#fff}::-webkit-selection{background:#000;color:#fff}a{color:#000;cursor:pointer}a:hover{text-decoration:none!important;color:#000}a.raw{color:#428bca}a.raw:hover{color:#2a6496}#header{height:60px;background-color:#25313e;color:#fff;webkit-user-select:none;-webkit-app-region:drag}#header a{color:#ccc}#header li{color:#000}#header li a{color:#000}#logo,#logo span{line-height:50px}#logo{width:140px;height:59px;padding-left:10px;padding-top:0}#logo span{background-color:#000;border-radius:10px;display:inline-block;padding:4px 0;line-height:1}#switcher{line-height:50px;padding-top:6px;padding-right:5px;width:30px;text-align:center}#switcher i{font-size:16px;cursor:pointer}#switcher i:hover{color:#0fb264}#switcher span{border-radius:5px;background-color:#000;cursor:pointer;font-size:18px}#switcher span:hover{color:#0fb264}#searchNote{padding-left:0;line-height:60px;margin:0}#searchNote input{background-size:18px 13px;border-color:#ebeff2;border:none;color:#ccc;background-color:#000;padding-left:14px;border-radius:5px;width:250px;line-height:20px;box-shadow:none}#searchNote input:focus{outline:0!important;border-color:#0fb264;box-shadow:none}#header ul{margin:0;padding:0;list-style:none}#header ul li.dropdown{display:inline-block;height:60px}#header ul>li>a.dropdown-toggle{display:block;padding:15px 5px 0 0;position:relative}#header span.icon{display:inline-block;font-size:28px;color:#999}.dropdown-menu li>a{color:#000}.dropdown-menu li:hover,.dropdown-menu li:focus{background-color:#ebeff2}.dropdown-menu li>a:hover,.dropdown-menu li>a:focus{background-color:#ebeff2}#page{overflow:auto;position:absolute;top:0;left:0;bottom:0;right:0}#pageInner{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}#mainContainer{position:absolute;top:59px;left:0;right:0;bottom:0;overflow:auto;zoom:1}#mainMask{position:absolute;left:0;right:0;bottom:0;top:0;background-color:#fff;text-align:center;padding-top:100px;z-index:1000}#notebookSplitter{left:170px}#noteSplitter{left:250px}#leftNotebook{position:absolute;left:0;top:0;bottom:0;width:170px}#notebook,#notebookMin{position:absolute;left:0;bottom:0;top:0;right:0;background-color:#41586e;z-index:2}#notebookMin{z-index:1;overflow-y:visible;overflow-x:visible;background-color:#41586e}#notebookMin div.minContainer{border-bottom:1px solid transparent;border-color:rgba(255,255,255,.3);padding:5px;position:relative;cursor:pointer}#notebookMin div.minContainer i{font-size:20px;color:#fff}#notebookMin div.minContainer:hover i{color:#0fb264}#notebookMin div.minContainer ul{background-color:#fff;opacity:.8;display:none;list-style:none;margin:0;margin-left:20px;padding:5px 0;border:1px solid #0fb264;position:absolute;z-index:1000;top:0;left:10px;width:150px}#notebookMin div.minContainer ul li{padding:0 5px;cursor:pointer}#notebookMin div.minContainer ul li span{cursor:pointer}#notebookMin div.minContainer ul li a{cursor:pointer}#notebookBottom{position:absolute;bottom:0;height:30px;right:0;left:0;line-height:30px;text-align:right;padding-right:5px;background-color:#eee}#notebookBottom #leftSwitcher{border:1px solid #ccc;padding:3px 8px;cursor:pointer}#noteAndEditor{position:absolute;bottom:0;top:0;right:0;left:170px}#noteList{width:250px;border-right:1px solid #cfcfcf;border-left:1px solid #cfcfcf}#note{position:absolute;bottom:0;top:0;left:250px;right:0;padding-left:5px;overflow-y:hidden;overflow-x:auto;background-color:#fff}.folderHeader{min-height:35px;line-height:35px;cursor:pointer;border-bottom:1px solid transparent;border-color:rgba(255,255,255,.05)}.folderHeader span{display:inline-block;line-height:35px;color:#fff;font-size:16px}.folderHeader .fa-left,.friend-header i.fa{display:inline-block;line-height:35px;font-size:16px;width:35px;border-right:1px solid rgba(255,255,255,.05);text-align:center;color:#fff}.each-user div{cursor:pointer;border-bottom:1px solid transparent;border-color:rgba(255,255,255,.05)}.each-user div span{line-height:35px;color:#fff;padding-left:3px;font-size:14px;display:block;position:absolute;left:23px;top:0;right:23px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.each-user div .fa{width:20px;border-right:none}#addNotebookPlus{padding-right:10px;color:#ADBECE}#addNotebookPlus .fa{font-size:16px}.closed .folder-icon{width:9px;height:11px;background-position:-108px -149px}.closed .folderBody{display:none}.folderBody{list-style:none;margin:0;padding:0;background-color:#37485e}.folderBody li{line-height:30px}.ztree>li{border-bottom:1px solid transparent;border-color:rgba(255,255,255,.05)}.ztree li a.curSelectedNode{background-color:rgba(0,0,0,.3);border-radius:3px;color:#fff}.ztree li a{color:#ADBECE}.folderBody a:hover,.folderBody .contextmenu-hover{color:#fff;background-color:rgba(0,0,0,.1)!important}.folderBody a.active,.folderBody a.active:hover{background-color:#25313e!important;color:#fff}#notebookList input,#notebookListForSearch input{border:1px solid rgba(0,0,0,.1);width:90%;padding-left:3px;box-shadow:none;background:0 0;color:#fff}#notebookList input:focus,#notebookListForSearch input:focus{outline:0!important}#myTag .folderBody li{position:relative}#myTag .folderBody li .badge{width:40px;position:absolute;right:3px;top:7px;font-weight:400;background-color:#fff;color:#000;border:1px solid #ebeff2}#search{border:#bababa 1px solid;background-color:#fff;white-space:nowrap;position:absolute;height:30px;left:3px;right:60px;margin-top:3px}#search label{display:none}#searchButton{border:0 none;width:16px;height:16px;overflow:hidden;cursor:pointer;position:absolute;right:3px;top:5px}#searchInput{border:0 none;overflow:hidden;position:absolute;right:20px;left:0;padding-left:10px;height:28px}#searchInput:focus{border:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}#notesAndSort{background-color:#eee;border-bottom:1px solid #ebeff2}#sortType{float:right}#noteTitleDiv{height:30px;border-bottom:1px solid #ddd}#noteTitle{height:100%;padding:0 3px;width:100%;border:none;background-color:#fff}#noteTitle:focus{outline:0!important}#editorContent{position:absolute;top:30px;bottom:10px;right:0;left:0;overflow:auto}#editor .mce-ifr{border:none;overflow:hidden!important}#editor .mce-tinymce{border:none}#mceToolbar,#wmd-button-bar{position:relative;height:30px;overflow:hidden;border-bottom:1px solid #ccc;background-color:#f0f0f0}.mce-btn-small button{padding:5px 5px!important;line-height:20px!important}.mce-foot .mce-btn{border-radius:3px}.mce-menubtn.mce-btn-small span{line-height:20px!important}.mce-btn span{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif!important}.mce-primary button,.mce-primary button i{text-shadow:none}.mce-primary{background-color:#47a447!important;border:none!important}.mce-menu-item:hover,.mce-menu-item.mce-selected,.mce-menu-item:focus{background-color:#ebeff2}.mce-menu-item:hover span,.mce-menu-item.mce-selected span,.mce-menu-item:focus span{color:#000!important}.mce-menu-item-normal.mce-active{background-color:#ebeff2}.tool-split{display:inline-block;line-height:25px;color:#ddd}#tool{border-bottom:1px solid #ddd}#addTagInput{line-height:25px;display:none;padding:0;border:none;background-color:#fff}#addTagInput:focus{outline:0}.label-default{background-color:#464C5E}.label-red{background-color:#d9534f}.label-yellow{background-color:#f0ad4e}.label-blue{background-color:#428bca}.label-green{background-color:#5cb85c}.label{border-radius:0;font-weight:400}.label i{width:10px;cursor:pointer;font-style:normal;display:inline-block;padding-left:3px;opacity:0}.label i:hover{opacity:1}.fa-calendar{color:#666}.dropdown-menu .fa{width:15px}.dropdown-menu span,.dropdown-menu a,.dropdown-menu li{cursor:default}.tab-pane{padding:5px 0 0}#notebookNavForNewNote li,#notebookNavForNewSharedNote>li{padding-left:0;border-bottom:1px solid #ebeff2}#notebookNavForNewNote>li:hover,#notebookNavForNewNote>li:focus,#notebookNavForNewSharedNote>li:hover,#notebookNavForNewSharedNote>li:focus{background:0 0}.new-note-left{padding:0 5px;width:95px;overflow:hidden;white-space:nowrap;border-right:1px dashed #ebeff2}.new-note-left:hover{background-color:#ebeff2}.new-note-right:hover{background-color:#ebeff2}#historyList table{width:100%}#historyList .btns{border-top:1px dashed #eee;padding:5px 0}#loading{display:inline-block;width:20px;height:20px;content:url(../../images/loading-a-20.gif);vertical-align:middle;visibility:hidden}#toggleEditorMode{margin:0 10px!important}#searchNotebookForList{color:#ccc;border:1px solid rgba(255,255,255,.1);background-color:#37485e}#searchNotebookForList:focus{outline:0!important;border:1px solid rgba(255,255,255,.3);box-shadow:none}.label-default{background-color:#191D2B}.each-user{border:1px solid rgba(0,0,0,.09);background-color:#37485e}#myShareNotebooks .folderBody{background:0 0}.tmpzTreeMove_arrow{color:#fff}.ztree li a.tmpTargetNode_inner{padding-top:0;background-color:rgba(0,0,0,.3);color:#fff;height:30px;border:1px #ccc solid;opacity:.8;filter:alpha(opacity=80)}@media screen and (max-width:700px){#toggleEditorMode,#lea,#myBlog,#demoRegister,.noteSplit,#logo,#tipsBtn,#contentHistory,#curNotebookForNewNote,#curNotebookForNewSharedNote,.for-split,#listNotebookDropdownMenu,#listShareNotebookDropdownMenu,.new-markdown-text,.new-note-text,.username,#notebookMin,.ui-loader,#md-section-helper,.writing-mobile-hide{display:none!important}*,.ztree li a.level0 span,.ztree li a.level1 span,.label{font-size:16px}.label i{opacity:1;width:20px}.label i:hover,.label i:focus{color:#65bd77!important}a:focus,a:hover,a:active{color:#65bd77!important}#noteItemList .item{height:120px}#leftNotebook{width:140px!important;max-width:140px}#notebook{display:block!important}#leftNotebook .slimScrollDiv{display:block!important}#switcher{padding-top:0;padding-right:0}#switcher i{padding:20px 0;font-size:20px}#newNoteMarkdownBtn{width:10px;overflow:hidden}#noteAndEditor{left:140px!important}#noteList{display:block;width:100%!important}#note{visibility:hidden;z-index:-1;overflow-x:hidden;left:0!important}#note #editor{visibility:hidden}#note .mce-tinymce{visibility:hidden!important}#note.editor-show{visibility:visible;z-index:initial}#note.editor-show #editor{visibility:visible}#note.editor-show .mce-tinymce{visibility:visible!important}#leftSwitcher{display:block!important}#leftSwitcher2{display:none!important}.full-editor #leftNotebook{display:none}.full-editor #noteAndEditor{left:0!important}.full-editor #noteList{display:none}#searchWrap{margin-left:3px}#searchNote{border-top:none;border-bottom:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;padding-right:10px}#searchNote input{width:55px;padding-left:5px;padding-right:2px;margin-top:3px;-webkit-transform:translate3d(0,0,0);-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease}#searchNote input:focus{width:100px}#tool{position:relative}#tag{position:absolute;right:140px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}#left-column{width:100%!important}#mdEditor #wmd-input{font-size:16px}.new-markdown-text-abbr,.new-note-text-abbr{display:inline}.my-link{display:block}#themeForm img{height:70px!important}.slimScrollBar,.slimScrollRail{display:none!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.wmd-input-section{-webkit-overflow-scrolling:touch!important;overflow:auto!important}#attachMenu{width:320px}#attachList{max-height:200px}#attachList li .attach-title{width:170px}#dropAttach .btn{padding:5px 3px;margin-top:3px;display:block}#myTag .folderBody li{margin:5px}#myTag .folderBody li a:hover span{color:#65bd77}#noteItemList .item-thumb{width:80px;height:80px;margin-top:15px}#noteItemList .item{height:118px}#noteItemList .item-setting,#noteItemList .item-blog{font-size:16px;width:30px;display:inline-block}#noteMaskForLoading{opacity:.8}#editorContent .ace-tomorrow{padding:0}#mdEditor #right-column{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important;display:block;-webkit-overflow-scrolling:touch!important}#mdEditor.read-only .preview-container{left:10px}}@media screen and (max-width:1024px){#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags{overflow:auto!important;-webkit-overflow-scrolling:touch!important}#tag{position:absolute;right:310px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}}@media screen and (max-width:800px){#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.wmd-input-section{overflow:auto!important;-webkit-overflow-scrolling:touch!important}#lea,.lea-blog,#myBlog,#demoRegister,.noteSplit,#tipsBtn,#contentHistory,#curNotebookForNewNote,#curNotebookForNewSharedNote,.for-split,#listNotebookDropdownMenu,#listShareNotebookDropdownMenu,.username,.ui-loader,#md-section-helper{display:none!important}#tag{position:absolute;right:160px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}.my-link{display:block}#attachMenu{width:320px}#attachList{max-height:200px}#attachList li .attach-title{width:170px}#dropAttach .btn{padding:5px 3px;margin-top:3px;display:block}#myTag .folderBody li{margin:5px}#myTag .folderBody li a:hover span{color:#65bd77}#left-column{width:100%!important}#mdEditor #wmd-input{font-size:16px}.my-link{display:block}#themeForm img{height:70px!important}#mdEditor #right-column{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important;display:block;-webkit-overflow-scrolling:touch!important}#mdEditor.read-only .preview-container{left:10px}} \ No newline at end of file +@font-face{font-family:leanote;src:url(../../fonts/leanote-font2/leanote.eot?-vcf23i);src:url(../../fonts/leanote-font2/leanote.eot?#iefix-vcf23i) format('embedded-opentype'),url(../../fonts/leanote-font2/leanote.ttf?-vcf23i) format('truetype'),url(../../fonts/leanote-font2/leanote.woff?-vcf23i) format('woff'),url(../../fonts/leanote-font2/leanote.svg?-vcf23i#leanote) format('svg');font-weight:400;font-style:normal}#logo,#switcher span,.mce-i-mind,.mce-i-ace-pre,.lea-icon{font-family:leanote!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-markdown:before{content:"\e604"}.mce-i-mind:before{content:"\e602"}.mce-i-ace-pre:before{content:"\e603"}#logo:before{content:"\e600";line-height:1;margin-top:5px;display:inline-block;vertical-align:top}#switcher span:before{content:"\e601"}.new-split{display:none}.new-note{background-color:#000;border-radius:3px;padding:3px 5px;border:1px solid #080303}.new-note,.new-note a{color:#fff}.new-note:hover{background:#3D3B3B;border-color:transparent}.new-note:hover,.new-note:hover a{color:#fff}.new-markdown{margin-left:3px;margin-right:3px}*,.h1,.h2,.h3,.h4,.h5,.h6{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif}body{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif;font-weight:400;font-size:14px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){body{font-weight:300}}h1,h2,h3{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif;font-weight:400!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.editor-content,.preview-container{-webkit-overflow-scrolling:touch!important}.btn *{cursor:pointer!important}.ios7-a{display:inline-block;padding:0 10px;height:36px;vertical-align:middle;line-height:36px;cursor:pointer}#tool{border-bottom:1px solid #ddd;height:36px;margin-left:-5px}#tag{height:36px;line-height:36px}#editor,#mdEditor{position:absolute;z-index:2;top:66px;bottom:0;right:0;left:5px;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:5px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#tag .dropdown{line-height:30px}.btn{border-radius:2px}.alert{margin-bottom:10px}#logo{font-size:36px}#switcher span{border-radius:5px;display:inline-block;cursor:pointer;font-size:18px;height:34px;line-height:34px;margin-top:8px;padding:0 5px}.noteSplit{position:absolute;top:0;width:5px;height:100%;overflow:hidden;z-index:3333;cursor:col-resize}.dropdown-menu{border-radius:3px;margin:0;border:1px solid #0fb264;box-shadow:rgba(0,0,0,.172549)0 6px 12px 0}.dropdown-menu:before{content:"";width:20px;height:12px;position:absolute;top:-12px;right:8px;background-image:url(../../images/triangle_2x.png);background-size:20px 12px}.dropdown-submenu .dropdown-menu:before{background:0 0}#searchNotebookForAddDropdownList,#searchNotebookForAddShareDropdownList{left:-200px}#searchNotebookForAddDropdownList:before,#searchNotebookForAddShareDropdownList:before{left:190px;right:inherit}.dropdown-menu li{list-style:none;padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu li>a{color:#000;display:block;padding-right:20px}.dropdown-menu>li>a{padding:3px 20px 3px 0}#notebookNavForNewNote li:hover{background:0 0}#noteList{position:absolute;bottom:0;top:0}#noteAndEditorMask{position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;text-align:center;padding-top:60px;opacity:.3;z-index:20;display:none}.dropdown-submenu{position:relative}.dropdown-submenu>ul.dropdown-menu{top:0;left:100%;margin-left:-3px!important;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding-top:10px!important}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropdown-submenu:after{display:block;content:" ";position:absolute;right:0;top:10px;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#666}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.open>.dropdown-menu,.dropdown-submenu:hover>.dropdown-menu{opacity:1;transform:scale(1,1);-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1)}.dropdown-menu{opacity:0;display:block;-webkit-transform:scale(0,0);-webkit-transform-origin:top;-webkit-animation-fill-mode:forwards;-webkit-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-o-transform:scale(0,0);-o-transform-origin:top;-o-animation-fill-mode:forwards;-o-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-moz-transform:scale(0,0);-moz-transform-origin:top;-moz-animation-fill-mode:forwards;-moz-transition:all .2s cubic-bezier(0.34,1.21,.4,1);transform:scale(0,0);transform-origin:top;animation-fill-mode:forwards;transition:all .2s cubic-bezier(0.34,1.21,.4,1)}.dropdown-list{width:530px;border-radius:3px}.dropdown-list ul{margin:0;padding:0}.dropdown-list ul li{float:left;width:120px;margin-left:10px;margin-bottom:10px;border:1px dashed #ccc}.new-note-right{padding:0 5px;padding-left:3px}#leanoteMsg{line-height:40px;margin-top:10px;margin-left:10px}#newNoteWrap{line-height:40px;margin-top:10px}#editorTool{margin:0;margin-right:5px;padding:0;list-style:none}#editorTool li{display:inline-block}#searchNotebookForAdd{line-height:normal;width:200px;margin:0 10px;margin-bottom:10px;height:30px;border-color:#ebeff2;box-shadow:none}#myNotebooks .folderBody{padding-top:3px}.folderBody{overflow-x:hidden}#searchNotebookForList{height:30px;width:90%;margin:3px auto;margin-top:0;border-color:#ebeff2;box-shadow:none}#noteItemList{user-select:none;-webkit-user-select:none;-moz-user-select:none}#noteItemList .item-setting,#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;padding:3px;border-radius:5px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-setting .fa,#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-setting:hover,#noteItemList .item-blog:hover{opacity:.8}#noteItemList .item-blog{top:1px}#noteItemList .item-setting{bottom:0;display:none}#noteItemList .item:hover .item-setting{display:block}.batch #noteItemList .item-active .item-setting,.batch #noteItemList .item-active:hover .item-setting{display:none}.batch #toggleEditorMode{display:none}.friend-header{position:relative}.friend-header .notebook-setting{display:none;position:absolute;right:0;left:auto}.friend-header:hover .notebook-setting{display:block}.each-user{margin-bottom:5px;margin-left:5px;margin-right:5px;margin-top:3px;border:1px solid #eee;border-radius:3px}.notebook-number-notes{position:absolute;right:10px;top:0;bottom:0;z-index:1;display:inline-block;line-height:20px!important;height:20px;margin-top:5px;padding:0 3px}.notebook-setting{display:none;position:absolute;right:1px;top:0;bottom:0;z-index:2;line-height:30px}.notebook-setting:before{content:"\f013"}.ztree li a:hover .notebook-setting{display:block}#myTag .folderBody{padding:0 3px;padding-bottom:3px}#myTag .folderBody li{margin-left:10px;padding:3px;line-height:normal}#notebookList{border-top:1px solid rgba(255,255,255,.05)}.ztree{padding:0}#upload{position:absolute;z-index:0;bottom:0;right:0;left:0;padding:0;background-color:#fff;text-align:center;display:none}#upload #drop{width:100%;height:100%;padding-top:100px}#drop.in{border:1px solid #000}#drop.hover{border:2px solid #000}#uploadMsg{position:absolute;top:3px;right:3px;bottom:10px;overflow:scroll;list-style:none}#uploadAttach{position:relative;margin-top:5px}.dropzone{text-align:center}.dropzone input{display:none}.dropzone.in{border:1px solid #000}.dropzone.hover{border:2px solid #000}#attachUploadMsg,#avatarUploadMsg{list-style-type:none;margin:0;padding:0;max-height:240px;z-index:3}#attachUploadMsg .alert,#avatarUploadMsg .alert{margin:0;padding:0 3px;margin-top:10px}#attachMenu{width:450px;padding:10px 5px}#attachList{margin:0;padding:0;max-height:450px;overflow-y:auto}#attachList li{display:block;margin:0;padding:0 3px;border-radius:3px;border-bottom:1px dashed #eee;height:45px;line-height:45px}#attachList li div{float:left}#attachList li .attach-title{width:290px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#attachList li .attach-process{float:right}#attachList li.loading{text-align:center}.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-ms-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;-moz-animation-name:fadeIn;-o-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes fadeInUp{0%{opacity:0;-moz-transform:translateY(20px)}100%{opacity:1;-moz-transform:translateY(0)}}@-o-keyframes fadeInUp{0%{opacity:0;-o-transform:translateY(20px)}100%{opacity:1;-o-transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}100%{opacity:1;transform:translateY(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;-moz-animation-name:fadeInUp;-o-animation-name:fadeInUp;animation-name:fadeInUp}#historyList img{max-width:100%}#avatar{height:60px;max-width:200px;display:inline-block;margin:10px}#noteReadTitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#noteReadInfo{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#666;margin-top:8px}.my-link,.new-markdown-text-abbr,.new-note-text-abbr{display:none}#myAvatar{height:30px;max-width:30px;overflow:hidden;border-radius:50%}#tool{position:relative}#tag{position:absolute;right:300px;top:0;left:5px;bottom:0}#tagColor{left:10px}#tagColor:before{content:"";background-image:none}#addTagInput{width:100px}#notesAndSort{height:36px}#noteItemListWrap{position:absolute;left:0;right:0;top:36px;bottom:3px}#mdEditorPreview{position:absolute;top:35px;left:0;right:0;bottom:0}#left-column,#right-column,#mdSplitter{position:absolute;top:0;bottom:0}#mdSplitter{width:5px;height:100%;overflow:hidden;z-index:5;cursor:col-resize;left:450px;background:0 0}#left-column{left:0;width:450px}#right-column{left:450px;right:0;overflow:hidden}.wmd-panel-editor,.preview-container,#wmd-input{height:100%}.wmd-input,.wmd-input:focus,#md-section-helper{width:100%;border:1px #eee solid;border-radius:5px;outline:0;font-size:14px;resize:none;overflow-x:hidden}#md-section-helper{position:absolute;height:0;overflow-y:scroll;padding:0 6px;top:10px;z-index:-1;opacity:none}.preview-container{overflow:auto}.wmd-preview{width:100%;font-size:14px;overflow:auto;overflow-x:hidden}.wmd-button-row,.preview-button-row{padding:0;height:auto;margin:0}.wmd-spacer{width:0;height:20px;margin-left:10px;background-color:Silver;display:inline-block;list-style:none}.wmd-button,.preview-button{width:20px;height:20px;display:inline-block;list-style:none;cursor:pointer;font-size:17px}.wmd-button{margin-left:10px}.preview-button{margin-right:10px}.wmd-button>span,.preview-button>span{width:20px;height:20px;display:inline-block;font-size:14px}.top-nav{margin:0 10px;display:inline-block;line-height:60px}.cm-item{position:relative}.cm-item .cm-text{position:absolute;left:23px;right:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cm-item .cm-text .c-text{display:initial}.b-m-mpanel{border-radius:3px}#noteItemList{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;overflow-y:hidden;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important}.item-active,#noteItemList .item-active:hover{background-color:#65bd77!important;color:#fff}.item-active .fa,#noteItemList .item-active:hover .fa{color:#eee!important}.item-active .item-title,#noteItemList .item-active:hover .item-title{color:#fff}#noteItemList .item-thumb{width:100px;overflow:hidden;position:absolute;z-index:1;right:0;top:4px;height:100px;background-color:#fff;margin-right:5px;line-height:100px;text-align:center}.item-thumb img{max-width:100px}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#noteItemList .item-desc{position:absolute;left:0;top:4px;right:0;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-image .item-desc{right:100px}.item-info{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.desc{margin:0;word-wrap:break-word}#editorMask{position:absolute;top:0;bottom:0;right:0;left:0;background-color:#fff;display:none;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff}.note-mask{position:absolute;top:0;bottom:0;right:0;left:0;z-index:-1}#noteMaskForLoading{padding-top:60px;background:#fff;text-align:center;opacity:.3}#themeForm td{padding:5px;text-align:center}#themeForm img{border:1px solid #eee;padding:2px}.dropdown-menu .divider{margin:3px 0}.ace_editor,.ace_editor *{font-family:Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro}.leanoteNav{position:absolute;right:0;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-top:4px}.leanoteNav h1{margin:0;font-size:16px;padding:3px;cursor:pointer}.leanoteNav i{padding:3px}.leanoteNav span{display:none}.leanoteNav .leanoteNavContent{display:none;overflow:auto}.leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}.leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}.leanoteNav.unfolder span{display:inline}.leanoteNav.unfolder .leanoteNavContent{display:block;min-height:30px}.leanoteNav ul{margin:0;padding-left:23px}.leanoteNav ul li{list-style-type:disc}.leanoteNav ul li a:hover{color:#0fb264}.leanoteNav ul .nav-h2{margin-left:20px}.leanoteNav ul .nav-h3{margin-left:30px}.leanoteNav ul .nav-h4{margin-left:40px}.leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#editorContent{border:1px solid #ccc;border-radius:5px;padding:5px;outline:0;margin-top:5px;bottom:5px!important}#editorContent pre{position:relative;-mo-height:auto!important}#editorContent pre .toggle-raw{position:absolute;left:2px;top:-2px;z-index:100;display:none}#editorContent pre:hover .toggle-raw{display:block}#editorContent *{font-family:inherit}.ace_invisible_space{visibility:hidden!important}.mce-tinymce-inline{border-width:0!important}#editorContent a{color:#2a6496;text-decoration:underline}#editorContent pre{font:12px / normal Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro,monospace;color:#4D4D4C}#editorContent .ace_searchbtn_close{margin:0}#editorContent .ace-tomorrow{padding:0;padding-left:44px}#editorContent .ace-to-pre{padding:0;padding-left:5px}#editorContent .ace_scrollbar-v{overflow-y:hidden}#editorContent .leanote-image-container{display:inline-block;width:100px}#editorContent .leanote-image-container .loader{display:inline-block;vertical-align:top;margin-right:3px;margin-top:5px}#editorContent .leanote-image-container .progress{display:inline-block;margin:0;width:80px}.close:focus{outline:0}#tagNav i,#tagNav em{font-style:normal}#tagNav .tag-delete{display:none;margin-left:3px;font-size:12px}#tagNav li:hover .tag-delete{display:inline-block}#tagNav a:hover{background:none!important}#listNotebookDropdownMenu{display:none}#moreBtn span{display:none}.mce-colorbtn-trans div{line-height:11px;text-align:center}.mce-btn-small .mce-caret{margin-top:8px}.mce-listbox.mce-btn-small .mce-caret{margin-top:-2px}.mce-btn i{text-shadow:none}.mce-colorbutton.mce-btn-small .mce-preview{width:15px}#noteList{z-index:333}#moreBtn{dispaly:block;position:absolute;cursor:pointer;right:5px;padding:3px 10px}.info-toolbar{position:absolute;top:0;left:0;right:0;bottom:0;line-height:30px;padding-left:5px;height:30px;display:none}.info-toolbar .toolbar-update{color:inherit;float:right;padding:0 10px}.info-toolbar .toolbar-update:hover{background:#fff;color:#000}.info-toolbar .created-time{display:inline-block;padding-right:10px}.invisible{visibility:hidden}#editorContent{-webkit-user-select:text}#editor.read-only #mceToolbarContainer{display:none}#editor.read-only .info-toolbar{display:block}#mdEditor.read-only .info-toolbar{display:block}#mdEditor.read-only .wmd-button-bar-inner,#mdEditor.read-only #mdSplitter2,#mdEditor.read-only .btn-info{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important}#mdEditor.read-only .preview-container{left:10px}#editor #mceToolbar{height:30px}#editor.all-tool #mceToolbar{height:60px}#editor.all-tool .more-fa:before{content:"\f106"}#editor.all-tool #editorContent{top:60px}#editor .more-fa:before{content:"\f107"}#note.read-only #editor,#note.read-only #mdEditor{top:60px}#note.read-only #tool{display:none}#note.read-only .toolbar-update{display:none}#note.read-only #noteReadTop{display:block}#note.read-only #infoToolbar,#note.read-only #mceToolbar,#note.read-only .navbar{display:none}#note.read-only #editorContent,#note.read-only #mdEditor .layout-wrapper-l3{top:0}#noteRead{position:absolute;left:5px;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadTop{position:absolute;height:60px;left:5px;right:0;top:0;bottom:0;z-index:2;display:none;background:#fff;padding-left:5px}#noteReadTitle{margin:3px 0;height:26px}#noteInfo{width:400px;box-sizing:border-box;padding:10px;-webkit-user-select:initial}#noteInfo table{width:100%;margin:0}#noteInfo table th{width:80px}#noteInfo table th,#noteInfo table td{border-top:none;border-bottom:1px solid #ddd}#noteInfo a{cursor:pointer}#noteInfo a.post-url{background:#FDF936}#noteInfo .post-url-wrap span{display:inline}#noteInfo .post-url-wrap input{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-pencil{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-text{display:none}#noteInfo .post-url-wrap.post-url-edit input{display:inline}.history-modal .modal-dialog{width:auto!important;position:absolute;left:5px;right:5px;top:5px;bottom:5px}.history-modal .modal-dialog .modal-content{position:absolute;left:0;right:0;top:0;bottom:0;margin:0;padding:0;overflow:scroll}.history-modal .modal-dialog .modal-content .modal-body{position:absolute;top:0;bottom:0;left:0;right:0;padding:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap{position:absolute;top:0;bottom:0;overflow-y:auto;width:200px;border-right:1px solid #ccc;box-shadow:1px 1px 10px #ddd}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list-header{line-height:50px;font-size:16px;font-weight:700;padding-left:15px;border-bottom:1px solid #eee;background-color:#ccc}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list{position:absolute;top:51px;bottom:0;left:0;right:0;overflow-y:auto;margin-bottom:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item{border-top:none}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item.active,.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item:hover{color:#000;background-color:#eee;border-color:#eee}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap{position:absolute;top:0;bottom:0;right:0;left:200px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .close{padding:10px 15px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .back{margin-left:10px;margin-top:5px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content-header{height:51px;border-bottom:1px solid #eee;box-shadow:5px 0 5px #ccc}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content{position:absolute;top:51px;bottom:0;right:0;left:0;padding-top:5px;padding-right:5px;padding-left:10px;overflow-y:auto}#batchMask{background:#fff;user-select:none;-webkit-user-select:none;-moz-user-select:none}.batch-ctn{position:relative;padding:50px;width:100%;height:100%}.batch-note{display:inline-block;width:160px;position:absolute;left:50%;border:1px solid #ccc;height:200px;padding:5px;border-radius:5px;background:#eee;overflow:hidden;transition:margin .5s;margin-left:-1000px}.batch-note .title{font-size:16px;margin-bottom:5px;font-weight:700}.batch-info{position:absolute;left:0;top:0;right:0;text-align:center;margin-top:300px}.batch-info p{margin-top:8px}.batch-info .fa{cursor:pointer;font-size:16px}::selection{background:#000;color:#fff}::-moz-selection{background:#000;color:#fff}::-webkit-selection{background:#000;color:#fff}a{color:#000;cursor:pointer}a:hover{text-decoration:none!important;color:#000}a.raw{color:#428bca}a.raw:hover{color:#2a6496}#header{height:60px;background-color:#25313e;color:#fff;webkit-user-select:none;-webkit-app-region:drag}#header a{color:#ccc}#header li{color:#000}#header li a{color:#000}#logo,#logo span{line-height:50px}#logo{width:140px;height:59px;padding-left:10px;padding-top:0}#logo span{background-color:#000;border-radius:10px;display:inline-block;padding:4px 0;line-height:1}#switcher{line-height:50px;padding-top:6px;padding-right:5px;width:30px;text-align:center}#switcher i{font-size:16px;cursor:pointer}#switcher i:hover{color:#0fb264}#switcher span{border-radius:5px;background-color:#000;cursor:pointer;font-size:18px}#switcher span:hover{color:#0fb264}#searchNote{padding-left:0;line-height:60px;margin:0}#searchNote input{background-size:18px 13px;border-color:#ebeff2;border:none;color:#ccc;background-color:#000;padding-left:14px;border-radius:5px;width:250px;line-height:20px;box-shadow:none}#searchNote input:focus{outline:0!important;border-color:#0fb264;box-shadow:none}#header ul{margin:0;padding:0;list-style:none}#header ul li.dropdown{display:inline-block;height:60px}#header ul>li>a.dropdown-toggle{display:block;padding:15px 5px 0 0;position:relative}#header span.icon{display:inline-block;font-size:28px;color:#999}.dropdown-menu li>a{color:#000}.dropdown-menu li:hover,.dropdown-menu li:focus{background-color:#ebeff2}.dropdown-menu li>a:hover,.dropdown-menu li>a:focus{background-color:#ebeff2}#page{overflow:auto;position:absolute;top:0;left:0;bottom:0;right:0}#pageInner{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}#mainContainer{position:absolute;top:59px;left:0;right:0;bottom:0;overflow:auto;zoom:1}#mainMask{position:absolute;left:0;right:0;bottom:0;top:0;background-color:#fff;text-align:center;padding-top:100px;z-index:1000}#notebookSplitter{left:170px}#noteSplitter{left:250px}#leftNotebook{position:absolute;left:0;top:0;bottom:0;width:170px}#notebook,#notebookMin{position:absolute;left:0;bottom:0;top:0;right:0;background-color:#41586e;z-index:2}#notebookMin{z-index:1;overflow-y:visible;overflow-x:visible;background-color:#41586e}#notebookMin div.minContainer{border-bottom:1px solid transparent;border-color:rgba(255,255,255,.3);padding:5px;position:relative;cursor:pointer}#notebookMin div.minContainer i{font-size:20px;color:#fff}#notebookMin div.minContainer:hover i{color:#0fb264}#notebookMin div.minContainer ul{background-color:#fff;opacity:.8;display:none;list-style:none;margin:0;margin-left:20px;padding:5px 0;border:1px solid #0fb264;position:absolute;z-index:1000;top:0;left:10px;width:150px}#notebookMin div.minContainer ul li{padding:0 5px;cursor:pointer}#notebookMin div.minContainer ul li span{cursor:pointer}#notebookMin div.minContainer ul li a{cursor:pointer}#notebookBottom{position:absolute;bottom:0;height:30px;right:0;left:0;line-height:30px;text-align:right;padding-right:5px;background-color:#eee}#notebookBottom #leftSwitcher{border:1px solid #ccc;padding:3px 8px;cursor:pointer}#noteAndEditor{position:absolute;bottom:0;top:0;right:0;left:170px}#noteList{width:250px;border-right:1px solid #cfcfcf;border-left:1px solid #cfcfcf}#note{position:absolute;bottom:0;top:0;left:250px;right:0;padding-left:5px;overflow-y:hidden;overflow-x:auto;background-color:#fff}.folderHeader{min-height:35px;line-height:35px;cursor:pointer;border-bottom:1px solid transparent;border-color:rgba(255,255,255,.05)}.folderHeader span{display:inline-block;line-height:35px;color:#fff;font-size:16px}.folderHeader .fa-left,.friend-header i.fa{display:inline-block;line-height:35px;font-size:16px;width:35px;border-right:1px solid rgba(255,255,255,.05);text-align:center;color:#fff}.each-user div{cursor:pointer;border-bottom:1px solid transparent;border-color:rgba(255,255,255,.05)}.each-user div span{line-height:35px;color:#fff;padding-left:3px;font-size:14px;display:block;position:absolute;left:23px;top:0;right:23px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.each-user div .fa{width:20px;border-right:none}#addNotebookPlus{padding-right:10px;color:#ADBECE}#addNotebookPlus .fa{font-size:16px}.closed .folder-icon{width:9px;height:11px;background-position:-108px -149px}.closed .folderBody{display:none}.folderBody{list-style:none;margin:0;padding:0;background-color:#37485e}.folderBody li{line-height:30px}.ztree>li{border-bottom:1px solid transparent;border-color:rgba(255,255,255,.05)}.ztree li a.curSelectedNode{background-color:rgba(0,0,0,.3);border-radius:3px;color:#fff}.ztree li a{color:#ADBECE}.folderBody a:hover,.folderBody .contextmenu-hover{color:#fff;background-color:rgba(0,0,0,.1)!important}.folderBody a.active,.folderBody a.active:hover{background-color:#25313e!important;color:#fff}#notebookList input,#notebookListForSearch input{border:1px solid rgba(0,0,0,.1);width:90%;padding-left:3px;box-shadow:none;background:0 0;color:#fff}#notebookList input:focus,#notebookListForSearch input:focus{outline:0!important}#myTag .folderBody li{position:relative}#myTag .folderBody li .badge{width:40px;position:absolute;right:3px;top:7px;font-weight:400;background-color:#fff;color:#000;border:1px solid #ebeff2}#search{border:#bababa 1px solid;background-color:#fff;white-space:nowrap;position:absolute;height:30px;left:3px;right:60px;margin-top:3px}#search label{display:none}#searchButton{border:0 none;width:16px;height:16px;overflow:hidden;cursor:pointer;position:absolute;right:3px;top:5px}#searchInput{border:0 none;overflow:hidden;position:absolute;right:20px;left:0;padding-left:10px;height:28px}#searchInput:focus{border:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}#notesAndSort{background-color:#eee;border-bottom:1px solid #ebeff2}#sortType{float:right}#noteTitleDiv{height:30px;border-bottom:1px solid #ddd}#noteTitle{height:100%;padding:0 3px;width:100%;border:none;background-color:#fff}#noteTitle:focus{outline:0!important}#editorContent{position:absolute;top:30px;bottom:10px;right:0;left:0;overflow:auto}#editor .mce-ifr{border:none;overflow:hidden!important}#editor .mce-tinymce{border:none}#mceToolbar,#wmd-button-bar{position:relative;height:30px;overflow:hidden;border-bottom:1px solid #ccc;background-color:#f0f0f0}.mce-btn-small button{padding:5px 5px!important;line-height:20px!important}.mce-foot .mce-btn{border-radius:3px}.mce-menubtn.mce-btn-small span{line-height:20px!important}.mce-btn span{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif!important}.mce-primary button,.mce-primary button i{text-shadow:none}.mce-primary{background-color:#47a447!important;border:none!important}.mce-menu-item:hover,.mce-menu-item.mce-selected,.mce-menu-item:focus{background-color:#ebeff2}.mce-menu-item:hover span,.mce-menu-item.mce-selected span,.mce-menu-item:focus span{color:#000!important}.mce-menu-item-normal.mce-active{background-color:#ebeff2}.tool-split{display:inline-block;line-height:25px;color:#ddd}#tool{border-bottom:1px solid #ddd}#addTagInput{line-height:25px;display:none;padding:0;border:none;background-color:#fff}#addTagInput:focus{outline:0}.label-default{background-color:#464C5E}.label-red{background-color:#d9534f}.label-yellow{background-color:#f0ad4e}.label-blue{background-color:#428bca}.label-green{background-color:#5cb85c}.label{border-radius:0;font-weight:400}.label i{width:10px;cursor:pointer;font-style:normal;display:inline-block;padding-left:3px;opacity:0}.label i:hover{opacity:1}.fa-calendar{color:#666}.dropdown-menu .fa{width:15px}.dropdown-menu span,.dropdown-menu a,.dropdown-menu li{cursor:default}.tab-pane{padding:5px 0 0}#notebookNavForNewNote li,#notebookNavForNewSharedNote>li{padding-left:0;border-bottom:1px solid #ebeff2}#notebookNavForNewNote>li:hover,#notebookNavForNewNote>li:focus,#notebookNavForNewSharedNote>li:hover,#notebookNavForNewSharedNote>li:focus{background:0 0}.new-note-left{padding:0 5px;width:95px;overflow:hidden;white-space:nowrap;border-right:1px dashed #ebeff2}.new-note-left:hover{background-color:#ebeff2}.new-note-right:hover{background-color:#ebeff2}#historyList table{width:100%}#historyList .btns{border-top:1px dashed #eee;padding:5px 0}#loading{display:inline-block;width:20px;height:20px;content:url(../../images/loading-a-20.gif);vertical-align:middle;visibility:hidden}#toggleEditorMode{margin:0 10px!important}#searchNotebookForList{color:#ccc;border:1px solid rgba(255,255,255,.1);background-color:#37485e}#searchNotebookForList:focus{outline:0!important;border:1px solid rgba(255,255,255,.3);box-shadow:none}.label-default{background-color:#191D2B}.each-user{border:1px solid rgba(0,0,0,.09);background-color:#37485e}#myShareNotebooks .folderBody{background:0 0}.tmpzTreeMove_arrow{color:#fff}.ztree li a.tmpTargetNode_inner{padding-top:0;background-color:rgba(0,0,0,.3);color:#fff;height:30px;border:1px #ccc solid;opacity:.8;filter:alpha(opacity=80)}@media screen and (max-width:700px){#toggleEditorMode,#lea,#myBlog,#demoRegister,.noteSplit,#logo,#tipsBtn,#contentHistory,#curNotebookForNewNote,#curNotebookForNewSharedNote,.for-split,#listNotebookDropdownMenu,#listShareNotebookDropdownMenu,.new-markdown-text,.new-note-text,.username,#notebookMin,.ui-loader,#md-section-helper,.writing-mobile-hide{display:none!important}*,.ztree li a.level0 span,.ztree li a.level1 span,.label{font-size:16px}.label i{opacity:1;width:20px}.label i:hover,.label i:focus{color:#65bd77!important}a:focus,a:hover,a:active{color:#65bd77!important}#noteItemList .item{height:120px}#leftNotebook{width:140px!important;max-width:140px}#notebook{display:block!important}#leftNotebook .slimScrollDiv{display:block!important}#switcher{padding-top:0;padding-right:0}#switcher i{padding:20px 0;font-size:20px}#newNoteMarkdownBtn{width:10px;overflow:hidden}#noteAndEditor{left:140px!important}#noteList{display:block;width:100%!important}#note{visibility:hidden;z-index:-1;overflow-x:hidden;left:0!important}#note #editor{visibility:hidden}#note .mce-tinymce{visibility:hidden!important}#note.editor-show{visibility:visible;z-index:initial}#note.editor-show #editor{visibility:visible}#note.editor-show .mce-tinymce{visibility:visible!important}#leftSwitcher{display:block!important}#leftSwitcher2{display:none!important}.full-editor #leftNotebook{display:none}.full-editor #noteAndEditor{left:0!important}.full-editor #noteList{display:none}#searchWrap{margin-left:3px}#searchNote{border-top:none;border-bottom:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;padding-right:10px}#searchNote input{width:55px;padding-left:5px;padding-right:2px;margin-top:3px;-webkit-transform:translate3d(0,0,0);-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease}#searchNote input:focus{width:100px}#tool{position:relative}#tag{position:absolute;right:140px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}#left-column{width:100%!important}#mdEditor #wmd-input{font-size:16px}.new-markdown-text-abbr,.new-note-text-abbr{display:inline}.my-link{display:block}#themeForm img{height:70px!important}.slimScrollBar,.slimScrollRail{display:none!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.wmd-input-section{-webkit-overflow-scrolling:touch!important;overflow:auto!important}#attachMenu{width:320px}#attachList{max-height:200px}#attachList li .attach-title{width:170px}#dropAttach .btn{padding:5px 3px;margin-top:3px;display:block}#myTag .folderBody li{margin:5px}#myTag .folderBody li a:hover span{color:#65bd77}#noteItemList .item-thumb{width:80px;height:80px;margin-top:15px}#noteItemList .item{height:118px}#noteItemList .item-setting,#noteItemList .item-blog{font-size:16px;width:30px;display:inline-block}#noteMaskForLoading{opacity:.8}#editorContent .ace-tomorrow{padding:0}#mdEditor #right-column{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important;display:block;-webkit-overflow-scrolling:touch!important}#mdEditor.read-only .preview-container{left:10px}}@media screen and (max-width:1024px){#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags{overflow:auto!important;-webkit-overflow-scrolling:touch!important}#tag{position:absolute;right:310px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}}@media screen and (max-width:800px){#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.wmd-input-section{overflow:auto!important;-webkit-overflow-scrolling:touch!important}#lea,.lea-blog,#myBlog,#demoRegister,.noteSplit,#tipsBtn,#contentHistory,#curNotebookForNewNote,#curNotebookForNewSharedNote,.for-split,#listNotebookDropdownMenu,#listShareNotebookDropdownMenu,.username,.ui-loader,#md-section-helper{display:none!important}#tag{position:absolute;right:160px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}.my-link{display:block}#attachMenu{width:320px}#attachList{max-height:200px}#attachList li .attach-title{width:170px}#dropAttach .btn{padding:5px 3px;margin-top:3px;display:block}#myTag .folderBody li{margin:5px}#myTag .folderBody li a:hover span{color:#65bd77}#left-column{width:100%!important}#mdEditor #wmd-input{font-size:16px}.my-link{display:block}#themeForm img{height:70px!important}#mdEditor #right-column{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important;display:block;-webkit-overflow-scrolling:touch!important}#mdEditor.read-only .preview-container{left:10px}} \ No newline at end of file diff --git a/public/css/theme/simple.css b/public/css/theme/simple.css index 6e8ae54..938ff2b 100644 --- a/public/css/theme/simple.css +++ b/public/css/theme/simple.css @@ -1 +1 @@ -@font-face{font-family:leanote;src:url(../../fonts/leanote-font2/leanote.eot?-vcf23i);src:url(../../fonts/leanote-font2/leanote.eot?#iefix-vcf23i) format('embedded-opentype'),url(../../fonts/leanote-font2/leanote.ttf?-vcf23i) format('truetype'),url(../../fonts/leanote-font2/leanote.woff?-vcf23i) format('woff'),url(../../fonts/leanote-font2/leanote.svg?-vcf23i#leanote) format('svg');font-weight:400;font-style:normal}#logo,#switcher span,.mce-i-mind,.mce-i-ace-pre,.lea-icon{font-family:leanote!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-markdown:before{content:"\e604"}.mce-i-mind:before{content:"\e602"}.mce-i-ace-pre:before{content:"\e603"}#logo:before{content:"\e600";line-height:1;margin-top:5px;display:inline-block;vertical-align:top}#switcher span:before{content:"\e601"}.new-split{display:none}.new-note{background-color:#000;border-radius:3px;padding:3px 5px;border:1px solid #080303}.new-note,.new-note a{color:#fff}.new-note:hover{background:#3D3B3B;border-color:transparent}.new-note:hover,.new-note:hover a{color:#fff}.new-markdown{margin-left:3px;margin-right:3px}*,.h1,.h2,.h3,.h4,.h5,.h6{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif}body{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif;font-weight:400;font-size:14px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){body{font-weight:300}}h1,h2,h3{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif;font-weight:400!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.editor-content,.preview-container{-webkit-overflow-scrolling:touch!important}.btn *{cursor:pointer!important}.ios7-a{display:inline-block;padding:0 10px;height:36px;vertical-align:middle;line-height:36px;cursor:pointer}#tool{border-bottom:1px solid #ddd;height:36px;margin-left:-5px}#tag{height:36px;line-height:36px}#editor,#mdEditor{position:absolute;z-index:2;top:66px;bottom:0;right:0;left:5px;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:5px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#tag .dropdown{line-height:30px}.btn{border-radius:2px}.alert{margin-bottom:10px}#logo{font-size:36px}#switcher span{border-radius:5px;display:inline-block;cursor:pointer;font-size:18px;height:34px;line-height:34px;margin-top:8px;padding:0 5px}.noteSplit{position:absolute;top:0;width:5px;height:100%;overflow:hidden;z-index:3333;cursor:col-resize}.dropdown-menu{border-radius:3px;margin:0;border:1px solid #0fb264;box-shadow:rgba(0,0,0,.172549)0 6px 12px 0}.dropdown-menu:before{content:"";width:20px;height:12px;position:absolute;top:-12px;right:8px;background-image:url(../../images/triangle_2x.png);background-size:20px 12px}.dropdown-submenu .dropdown-menu:before{background:0 0}#searchNotebookForAddDropdownList,#searchNotebookForAddShareDropdownList{left:-200px}#searchNotebookForAddDropdownList:before,#searchNotebookForAddShareDropdownList:before{left:190px;right:inherit}.dropdown-menu li{list-style:none;padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu li>a{color:#000;display:block;padding-right:20px}.dropdown-menu>li>a{padding:3px 20px 3px 0}#notebookNavForNewNote li:hover{background:0 0}#noteList{position:absolute;bottom:0;top:0}#noteAndEditorMask{position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;text-align:center;padding-top:60px;opacity:.3;z-index:20;display:none}.dropdown-submenu{position:relative}.dropdown-submenu>ul.dropdown-menu{top:0;left:100%;margin-left:-3px!important;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding-top:10px!important}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropdown-submenu:after{display:block;content:" ";position:absolute;right:0;top:10px;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#666}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.open>.dropdown-menu,.dropdown-submenu:hover>.dropdown-menu{opacity:1;transform:scale(1,1);-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1)}.dropdown-menu{opacity:0;display:block;-webkit-transform:scale(0,0);-webkit-transform-origin:top;-webkit-animation-fill-mode:forwards;-webkit-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-o-transform:scale(0,0);-o-transform-origin:top;-o-animation-fill-mode:forwards;-o-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-moz-transform:scale(0,0);-moz-transform-origin:top;-moz-animation-fill-mode:forwards;-moz-transition:all .2s cubic-bezier(0.34,1.21,.4,1);transform:scale(0,0);transform-origin:top;animation-fill-mode:forwards;transition:all .2s cubic-bezier(0.34,1.21,.4,1)}.dropdown-list{width:530px;border-radius:3px}.dropdown-list ul{margin:0;padding:0}.dropdown-list ul li{float:left;width:120px;margin-left:10px;margin-bottom:10px;border:1px dashed #ccc}.new-note-right{padding:0 5px;padding-left:3px}#leanoteMsg{line-height:40px;margin-top:10px;margin-left:10px}#newNoteWrap{line-height:40px;margin-top:10px}#editorTool{margin:0;margin-right:5px;padding:0;list-style:none}#editorTool li{display:inline-block}#searchNotebookForAdd{line-height:normal;width:200px;margin:0 10px;margin-bottom:10px;height:30px;border-color:#ebeff2;box-shadow:none}#myNotebooks .folderBody{padding-top:3px}.folderBody{overflow-x:hidden}#searchNotebookForList{height:30px;width:90%;margin:3px auto;margin-top:0;border-color:#ebeff2;box-shadow:none}#noteItemList .item-setting,#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;padding:3px;border-radius:5px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-setting .fa,#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-setting:hover,#noteItemList .item-blog:hover{opacity:.8}#noteItemList .item-blog{top:1px}#noteItemList .item-setting{bottom:0;display:none}#noteItemList .item:hover .item-setting{display:block}.friend-header{position:relative}.friend-header .notebook-setting{display:none;position:absolute;right:0;left:auto}.friend-header:hover .notebook-setting{display:block}.each-user{margin-bottom:5px;margin-left:5px;margin-right:5px;margin-top:3px;border:1px solid #eee;border-radius:3px}.notebook-number-notes{position:absolute;right:10px;top:0;bottom:0;z-index:1;display:inline-block;line-height:20px!important;height:20px;margin-top:5px;padding:0 3px}.notebook-setting{display:none;position:absolute;right:1px;top:0;bottom:0;z-index:2;line-height:30px}.notebook-setting:before{content:"\f013"}.ztree li a:hover .notebook-setting{display:block}#myTag .folderBody{padding:0 3px;padding-bottom:3px}#myTag .folderBody li{margin-left:10px;padding:3px;line-height:normal}#notebookList{border-top:1px solid rgba(255,255,255,.05)}.ztree{padding:0}#upload{position:absolute;z-index:0;bottom:0;right:0;left:0;padding:0;background-color:#fff;text-align:center;display:none}#upload #drop{width:100%;height:100%;padding-top:100px}#drop.in{border:1px solid #000}#drop.hover{border:2px solid #000}#uploadMsg{position:absolute;top:3px;right:3px;bottom:10px;overflow:scroll;list-style:none}#uploadAttach{position:relative;margin-top:5px}.dropzone{text-align:center}.dropzone input{display:none}.dropzone.in{border:1px solid #000}.dropzone.hover{border:2px solid #000}#attachUploadMsg,#avatarUploadMsg{list-style-type:none;margin:0;padding:0;max-height:240px;z-index:3}#attachUploadMsg .alert,#avatarUploadMsg .alert{margin:0;padding:0 3px;margin-top:10px}#attachMenu{width:450px;padding:10px 5px}#attachList{margin:0;padding:0;max-height:450px;overflow-y:auto}#attachList li{display:block;margin:0;padding:0 3px;border-radius:3px;border-bottom:1px dashed #eee;height:45px;line-height:45px}#attachList li div{float:left}#attachList li .attach-title{width:290px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#attachList li .attach-process{float:right}#attachList li.loading{text-align:center}.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-ms-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;-moz-animation-name:fadeIn;-o-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes fadeInUp{0%{opacity:0;-moz-transform:translateY(20px)}100%{opacity:1;-moz-transform:translateY(0)}}@-o-keyframes fadeInUp{0%{opacity:0;-o-transform:translateY(20px)}100%{opacity:1;-o-transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}100%{opacity:1;transform:translateY(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;-moz-animation-name:fadeInUp;-o-animation-name:fadeInUp;animation-name:fadeInUp}#historyList img{max-width:100%}#avatar{height:60px;max-width:200px;display:inline-block;margin:10px}#noteReadTitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#noteReadInfo{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#666;margin-top:8px}.my-link,.new-markdown-text-abbr,.new-note-text-abbr{display:none}#myAvatar{height:30px;max-width:30px;overflow:hidden;border-radius:50%}#tool{position:relative}#tag{position:absolute;right:300px;top:0;left:5px;bottom:0}#tagColor{left:10px}#tagColor:before{content:"";background-image:none}#addTagInput{width:100px}#notesAndSort{height:36px}#noteItemListWrap{position:absolute;left:0;right:0;top:36px;bottom:3px}#mdEditorPreview{position:absolute;top:35px;left:0;right:0;bottom:0}#left-column,#right-column,#mdSplitter{position:absolute;top:0;bottom:0}#mdSplitter{width:5px;height:100%;overflow:hidden;z-index:5;cursor:col-resize;left:450px;background:0 0}#left-column{left:0;width:450px}#right-column{left:450px;right:0;overflow:hidden}.wmd-panel-editor,.preview-container,#wmd-input{height:100%}.wmd-input,.wmd-input:focus,#md-section-helper{width:100%;border:1px #eee solid;border-radius:5px;outline:0;font-size:14px;resize:none;overflow-x:hidden}#md-section-helper{position:absolute;height:0;overflow-y:scroll;padding:0 6px;top:10px;z-index:-1;opacity:none}.preview-container{overflow:auto}.wmd-preview{width:100%;font-size:14px;overflow:auto;overflow-x:hidden}.wmd-button-row,.preview-button-row{padding:0;height:auto;margin:0}.wmd-spacer{width:0;height:20px;margin-left:10px;background-color:Silver;display:inline-block;list-style:none}.wmd-button,.preview-button{width:20px;height:20px;display:inline-block;list-style:none;cursor:pointer;font-size:17px}.wmd-button{margin-left:10px}.preview-button{margin-right:10px}.wmd-button>span,.preview-button>span{width:20px;height:20px;display:inline-block;font-size:14px}.top-nav{margin:0 10px;display:inline-block;line-height:60px}.cm-item{position:relative}.cm-item .cm-text{position:absolute;left:23px;right:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cm-item .cm-text .c-text{display:initial}.b-m-mpanel{border-radius:3px}#noteItemList{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;overflow-y:hidden;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important}.item-active,#noteItemList .item-active:hover{background-color:#65bd77!important;color:#fff}.item-active .fa,#noteItemList .item-active:hover .fa{color:#eee!important}.item-active .item-title,#noteItemList .item-active:hover .item-title{color:#fff}#noteItemList .item-thumb{width:100px;overflow:hidden;position:absolute;z-index:1;right:0;top:4px;height:100px;background-color:#fff;margin-right:5px;line-height:100px;text-align:center}.item-thumb img{max-width:100px}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#noteItemList .item-desc{position:absolute;left:0;top:4px;right:0;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-image .item-desc{right:100px}.item-info{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.desc{margin:0;word-wrap:break-word}#editorMask{position:absolute;top:0;bottom:0;right:0;left:0;background-color:#fff;display:none;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff}.note-mask{position:absolute;top:0;bottom:0;right:0;left:3px;z-index:-1}#noteMaskForLoading{padding-top:60px;background:#fff;text-align:center;opacity:.3}#themeForm td{padding:5px;text-align:center}#themeForm img{border:1px solid #eee;padding:2px}.dropdown-menu .divider{margin:3px 0}.ace_editor,.ace_editor *{font-family:Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro}.leanoteNav{position:absolute;right:0;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-top:4px}.leanoteNav h1{margin:0;font-size:16px;padding:3px;cursor:pointer}.leanoteNav i{padding:3px}.leanoteNav span{display:none}.leanoteNav .leanoteNavContent{display:none;overflow:auto}.leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}.leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}.leanoteNav.unfolder span{display:inline}.leanoteNav.unfolder .leanoteNavContent{display:block;min-height:30px}.leanoteNav ul{margin:0;padding-left:23px}.leanoteNav ul li{list-style-type:disc}.leanoteNav ul li a:hover{color:#0fb264}.leanoteNav ul .nav-h2{margin-left:20px}.leanoteNav ul .nav-h3{margin-left:30px}.leanoteNav ul .nav-h4{margin-left:40px}.leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#editorContent{border:1px solid #ccc;border-radius:5px;padding:5px;outline:0;margin-top:5px;bottom:5px!important}#editorContent pre{position:relative;-mo-height:auto!important}#editorContent pre .toggle-raw{position:absolute;left:2px;top:-2px;z-index:100;display:none}#editorContent pre:hover .toggle-raw{display:block}#editorContent *{font-family:inherit}.ace_invisible_space{visibility:hidden!important}.mce-tinymce-inline{border-width:0!important}#editorContent a{color:#2a6496;text-decoration:underline}#editorContent pre{font:12px / normal Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro,monospace;color:#4D4D4C}#editorContent .ace_searchbtn_close{margin:0}#editorContent .ace-tomorrow{padding:0;padding-left:44px}#editorContent .ace-to-pre{padding:0;padding-left:5px}#editorContent .ace_scrollbar-v{overflow-y:hidden}#editorContent .leanote-image-container{display:inline-block;width:100px}#editorContent .leanote-image-container .loader{display:inline-block;vertical-align:top;margin-right:3px;margin-top:5px}#editorContent .leanote-image-container .progress{display:inline-block;margin:0;width:80px}.close:focus{outline:0}#tagNav i,#tagNav em{font-style:normal}#tagNav .tag-delete{display:none;margin-left:3px;font-size:12px}#tagNav li:hover .tag-delete{display:inline-block}#tagNav a:hover{background:none!important}#listNotebookDropdownMenu{display:none}#moreBtn span{display:none}.mce-colorbtn-trans div{line-height:11px;text-align:center}.mce-btn-small .mce-caret{margin-top:8px}.mce-listbox.mce-btn-small .mce-caret{margin-top:-2px}.mce-btn i{text-shadow:none}.mce-colorbutton.mce-btn-small .mce-preview{width:15px}#noteList{z-index:333}#moreBtn{dispaly:block;position:absolute;cursor:pointer;right:5px;padding:3px 10px}.info-toolbar{position:absolute;top:0;left:0;right:0;bottom:0;line-height:30px;padding-left:5px;height:30px;display:none}.info-toolbar .toolbar-update{color:inherit;float:right;padding:0 10px}.info-toolbar .toolbar-update:hover{background:#fff;color:#000}.info-toolbar .created-time{display:inline-block;padding-right:10px}.invisible{visibility:hidden}#editorContent{-webkit-user-select:text}#editor.read-only #mceToolbarContainer{display:none}#editor.read-only .info-toolbar{display:block}#mdEditor.read-only .info-toolbar{display:block}#mdEditor.read-only .wmd-button-bar-inner,#mdEditor.read-only #mdSplitter2,#mdEditor.read-only .btn-info{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important}#mdEditor.read-only .preview-container{left:10px}#editor #mceToolbar{height:30px}#editor.all-tool #mceToolbar{height:60px}#editor.all-tool .more-fa:before{content:"\f106"}#editor.all-tool #editorContent{top:60px}#editor .more-fa:before{content:"\f107"}#note.read-only #editor,#note.read-only #mdEditor{top:60px}#note.read-only #tool{display:none}#note.read-only .toolbar-update{display:none}#note.read-only #noteReadTop{display:block}#note.read-only #infoToolbar,#note.read-only #mceToolbar,#note.read-only .navbar{display:none}#note.read-only #editorContent,#note.read-only #mdEditor .layout-wrapper-l3{top:0}#noteRead{position:absolute;left:5px;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadTop{position:absolute;height:60px;left:5px;right:0;top:0;bottom:0;z-index:2;display:none;background:#fff;padding-left:5px}#noteReadTitle{margin:3px 0;height:26px}#noteInfo{width:400px;box-sizing:border-box;padding:10px;-webkit-user-select:initial}#noteInfo table{width:100%;margin:0}#noteInfo table th{width:80px}#noteInfo table th,#noteInfo table td{border-top:none;border-bottom:1px solid #ddd}#noteInfo a{cursor:pointer}#noteInfo a.post-url{background:#FDF936}#noteInfo .post-url-wrap span{display:inline}#noteInfo .post-url-wrap input{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-pencil{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-text{display:none}#noteInfo .post-url-wrap.post-url-edit input{display:inline}.history-modal .modal-dialog{width:auto!important;position:absolute;left:5px;right:5px;top:5px;bottom:5px}.history-modal .modal-dialog .modal-content{position:absolute;left:0;right:0;top:0;bottom:0;margin:0;padding:0;overflow:scroll}.history-modal .modal-dialog .modal-content .modal-body{position:absolute;top:0;bottom:0;left:0;right:0;padding:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap{position:absolute;top:0;bottom:0;overflow-y:auto;width:200px;border-right:1px solid #ccc;box-shadow:1px 1px 10px #ddd}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list-header{line-height:50px;font-size:16px;font-weight:700;padding-left:15px;border-bottom:1px solid #eee;background-color:#ccc}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list{position:absolute;top:51px;bottom:0;left:0;right:0;overflow-y:auto;margin-bottom:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item{border-top:none}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item.active,.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item:hover{color:#000;background-color:#eee;border-color:#eee}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap{position:absolute;top:0;bottom:0;right:0;left:200px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .close{padding:10px 15px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .back{margin-left:10px;margin-top:5px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content-header{height:51px;border-bottom:1px solid #eee;box-shadow:5px 0 5px #ccc}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content{position:absolute;top:51px;bottom:0;right:0;left:0;padding-top:5px;padding-right:5px;padding-left:10px;overflow-y:auto}::selection{background:#000;color:#fff}::-moz-selection{background:#000;color:#fff}::-webkit-selection{background:#000;color:#fff}.new-note{background-color:#eee;border:1px solid transparent}.new-note,.new-note a{color:#000}.new-note:hover{background:#E0E0E0}.new-note:hover,.new-note:hover a{color:#000}a{color:#000;cursor:pointer}a:hover{text-decoration:none!important;color:#000}a.raw{color:#428bca}a.raw:hover{color:#2a6496}#header{height:60px;background-color:#fff;color:#fff;border-bottom:1px solid #ebeff2;webkit-user-select:none;-webkit-app-region:drag}#header{color:#000}#logo,#logo span{line-height:50px}#logo{width:140px;height:60px;padding-left:10px;padding-top:0;border-bottom:1px solid transparent;border-color:rgba(255,255,255,.1)}#logo span{background-color:#000;color:#fff;border-radius:10px;display:inline-block;padding:4px 0;line-height:1}#switcher{line-height:50px;padding-top:6px;padding-right:5px;width:30px;text-align:center}#switcher i{font-size:16px;cursor:pointer}#switcher i:hover{color:#0fb264}#switcher span{border-radius:5px;cursor:pointer;font-size:18px}#switcher span:hover{color:#0fb264}#searchNote{padding-left:0;line-height:60px;margin:0}#searchNote input{background-size:18px 13px;border-color:#ebeff2;padding-left:14px;height:30px;width:250px;line-height:20px;box-shadow:none}#searchNote input:focus{outline:0!important;border-color:#0fb264;box-shadow:none}#header ul{margin:0;padding:0;list-style:none}#header ul li.dropdown{display:inline-block;height:60px}#header ul>li>a.dropdown-toggle{display:block;padding:15px 5px 0 0;position:relative}#header span.icon{display:inline-block;font-size:28px;color:#999}.dropdown-menu li>a{color:#000}.dropdown-menu li:hover,.dropdown-menu li:focus{background-color:#ebeff2}.dropdown-menu li>a:hover,.dropdown-menu li>a:focus{background-color:#ebeff2}#page{overflow:auto;position:absolute;top:0;left:0;bottom:0;right:0}#pageInner{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}#mainContainer{position:absolute;top:60px;left:0;right:0;bottom:0;overflow:auto;zoom:1}#mainMask{position:absolute;left:0;right:0;bottom:0;top:0;background-color:#fff;text-align:center;padding-top:100px;z-index:1000}#notebookSplitter{left:170px}#noteSplitter{left:250px}#leftNotebook{position:absolute;left:0;top:0;bottom:0;width:170px}#notebook,#notebookMin{position:absolute;left:0;bottom:0;top:0;right:0;background-color:#fff;overflow-y:auto;overflow-x:auto;z-index:2}#notebookMin{z-index:1;overflow-y:visible;overflow-x:visible;background-color:#eee}#notebookMin div.minContainer{border-bottom:1px solid #ccc;padding:5px;position:relative;cursor:pointer}#notebookMin div.minContainer i{font-size:20px;color:#000}#notebookMin div.minContainer:hover i{color:#0fb264}#notebookMin div.minContainer ul{background-color:#fff;opacity:.8;display:none;list-style:none;margin:0;margin-left:20px;padding:5px 0;border:1px solid #0fb264;position:absolute;z-index:1000;top:0;left:10px;width:150px}#notebookMin div.minContainer ul li{padding:0 5px;cursor:pointer}#notebookMin div.minContainer ul li span{cursor:pointer}#notebookMin div.minContainer ul li a{cursor:pointer}#notebookBottom{position:absolute;bottom:0;height:30px;right:0;left:0;line-height:30px;text-align:right;padding-right:5px;background-color:#eee}#notebookBottom #leftSwitcher{border:1px solid #ccc;padding:3px 8px;cursor:pointer}#noteAndEditor{position:absolute;bottom:0;top:0;right:0;left:170px}#noteList{width:250px;border-right:1px solid #ebeff2;border-left:1px solid #ebeff2}#note{position:absolute;bottom:0;top:0;left:250px;right:0;padding-left:5px;overflow-y:hidden;overflow-x:auto;background-color:#fff}.folderHeader{min-height:35px;line-height:35px;cursor:pointer;border-bottom:1px solid transparent;border-color:rgba(0,0,0,.05)}.folderHeader span{display:inline-block;line-height:35px;color:#000;font-size:16px}.folderHeader .fa-left,.friend-header i.fa{display:inline-block;line-height:35px;font-size:16px;width:35px;border-right:1px solid rgba(0,0,0,.05);text-align:center;color:#000}.each-user div{cursor:pointer;border-bottom:1px solid transparent;border-color:rgba(0,0,0,.05)}.each-user div span{display:inline-block;line-height:35px;color:#000;padding-left:3px;font-size:14px;display:block;position:absolute;left:23px;top:0;right:23px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.each-user div .fa{width:20px;border-right:none}#addNotebookPlus{padding-right:10px;color:#666}#addNotebookPlus .fa{font-size:16px}.closed .folder-icon{width:9px;height:11px;background-position:-108px -149px}.closed .folderBody{display:none}.folderBody{list-style:none;margin:0;padding:0}.folderBody li{line-height:30px}.folderBody a.active{background-color:#fff;color:#0fb264}.folderBody a:hover,.folderBody .contextmenu-hover{background-color:#ebeff2!important}#notebookList input,#notebookListForSearch input{width:90%;border:none;box-shadow:none;padding-left:3px;background:0 0}#notebookList input:focus,#notebookListForSearch input:focus{outline:0!important;border:none}#myTag .folderBody li{position:relative}#myTag .folderBody li .badge{width:40px;position:absolute;right:3px;top:7px;font-weight:400;background-color:#fff;color:#000;border:1px solid #ebeff2}#search{border:#bababa 1px solid;background-color:#fff;white-space:nowrap;position:absolute;height:30px;left:3px;right:60px;margin-top:3px}#search label{display:none}#searchButton{border:0 none;width:16px;height:16px;overflow:hidden;cursor:pointer;position:absolute;right:3px;top:5px}#searchInput{border:0 none;overflow:hidden;position:absolute;right:20px;left:0;padding-left:10px;height:28px}#searchInput:focus{border:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}#notesAndSort{background-color:#fff;border-bottom:1px solid #ebeff2}#sortType{float:right}#noteTitleDiv{height:30px;border-bottom:1px solid #ddd}#noteTitle{height:100%;padding:0 3px;width:100%;border:none;background-color:#fff;min-width:300px}#noteTitle:focus{outline:0!important}#editorContent{position:absolute;top:30px;bottom:10px;right:0;left:0;overflow:auto}#editor .mce-ifr{border:none;overflow:hidden!important}#editor .mce-tinymce{border:none}#mceToolbar,#wmd-button-bar{position:relative;height:30px;overflow:hidden;border-bottom:1px solid #ccc;background-color:#f0f0f0}.mce-btn-small button{padding:5px 5px!important;line-height:20px!important}.mce-foot .mce-btn{border-radius:3px}.mce-menubtn.mce-btn-small span{line-height:20px!important}.mce-btn span{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif!important}.mce-primary button,.mce-primary button i{text-shadow:none}.mce-primary{background-color:#47a447!important;border:none!important}.mce-menu-item:hover,.mce-menu-item.mce-selected,.mce-menu-item:focus{background-color:#ebeff2}.mce-menu-item:hover span,.mce-menu-item.mce-selected span,.mce-menu-item:focus span{color:#000!important}.mce-menu-item-normal.mce-active{background-color:#ebeff2}.tool-split{display:inline-block;line-height:25px;color:#ddd}#addTagInput{line-height:25px;display:none;padding:0;border:none;background-color:#fff}#addTagInput:focus{outline:0}.label-default{background-color:#464C5E}.label-red{background-color:#d9534f}.label-yellow{background-color:#f0ad4e}.label-blue{background-color:#428bca}.label-green{background-color:#5cb85c}.label{border-radius:0;font-weight:400}.label i{width:10px;cursor:pointer;font-style:normal;display:inline-block;padding-left:3px;opacity:0}.label i:hover{opacity:1}.fa-calendar{color:#666}.dropdown-menu .fa{width:15px}.dropdown-menu span,.dropdown-menu a,.dropdown-menu li{cursor:default}#topNav a{display:inline-block;line-height:60px}.tab-pane{padding:5px 0 0}#notebookNavForNewNote li,#notebookNavForNewSharedNote>li{padding-left:0;border-bottom:1px solid #ebeff2}#notebookNavForNewNote>li:hover,#notebookNavForNewNote>li:focus,#notebookNavForNewSharedNote>li:hover,#notebookNavForNewSharedNote>li:focus{background:0 0}.new-note-left{padding:0 5px;width:95px;overflow:hidden;white-space:nowrap;border-right:1px dashed #ebeff2}.new-note-left:hover{background-color:#ebeff2}.new-note-right:hover{background-color:#ebeff2}#historyList table{width:100%}#historyList .btns{border-top:1px dashed #eee;padding:5px 0}#loading{display:inline-block;width:20px;height:20px;content:url(../../images/loading-a-20-black.gif);vertical-align:middle;visibility:hidden}#toggleEditorMode{margin:0 10px!important}#notebookList{border-top:1px dashed #eee}@media screen and (max-width:700px){#toggleEditorMode,#lea,#myBlog,#demoRegister,.noteSplit,#logo,#tipsBtn,#contentHistory,#curNotebookForNewNote,#curNotebookForNewSharedNote,.for-split,#listNotebookDropdownMenu,#listShareNotebookDropdownMenu,.new-markdown-text,.new-note-text,.username,#notebookMin,.ui-loader,#md-section-helper,.writing-mobile-hide{display:none!important}*,.ztree li a.level0 span,.ztree li a.level1 span,.label{font-size:16px}.label i{opacity:1;width:20px}.label i:hover,.label i:focus{color:#65bd77!important}a:focus,a:hover,a:active{color:#65bd77!important}#noteItemList .item{height:120px}#leftNotebook{width:140px!important;max-width:140px}#notebook{display:block!important}#leftNotebook .slimScrollDiv{display:block!important}#switcher{padding-top:0;padding-right:0}#switcher i{padding:20px 0;font-size:20px}#newNoteMarkdownBtn{width:10px;overflow:hidden}#noteAndEditor{left:140px!important}#noteList{display:block;width:100%!important}#note{visibility:hidden;z-index:-1;overflow-x:hidden;left:0!important}#note #editor{visibility:hidden}#note .mce-tinymce{visibility:hidden!important}#note.editor-show{visibility:visible;z-index:initial}#note.editor-show #editor{visibility:visible}#note.editor-show .mce-tinymce{visibility:visible!important}#leftSwitcher{display:block!important}#leftSwitcher2{display:none!important}.full-editor #leftNotebook{display:none}.full-editor #noteAndEditor{left:0!important}.full-editor #noteList{display:none}#searchWrap{margin-left:3px}#searchNote{border-top:none;border-bottom:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;padding-right:10px}#searchNote input{width:55px;padding-left:5px;padding-right:2px;margin-top:3px;-webkit-transform:translate3d(0,0,0);-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease}#searchNote input:focus{width:100px}#tool{position:relative}#tag{position:absolute;right:140px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}#left-column{width:100%!important}#mdEditor #wmd-input{font-size:16px}.new-markdown-text-abbr,.new-note-text-abbr{display:inline}.my-link{display:block}#themeForm img{height:70px!important}.slimScrollBar,.slimScrollRail{display:none!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.wmd-input-section{-webkit-overflow-scrolling:touch!important;overflow:auto!important}#attachMenu{width:320px}#attachList{max-height:200px}#attachList li .attach-title{width:170px}#dropAttach .btn{padding:5px 3px;margin-top:3px;display:block}#myTag .folderBody li{margin:5px}#myTag .folderBody li a:hover span{color:#65bd77}#noteItemList .item-thumb{width:80px;height:80px;margin-top:15px}#noteItemList .item{height:118px}#noteItemList .item-setting,#noteItemList .item-blog{font-size:16px;width:30px;display:inline-block}#noteMaskForLoading{opacity:.8}#editorContent .ace-tomorrow{padding:0}#mdEditor #right-column{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important;display:block;-webkit-overflow-scrolling:touch!important}#mdEditor.read-only .preview-container{left:10px}}@media screen and (max-width:1024px){#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags{overflow:auto!important;-webkit-overflow-scrolling:touch!important}#tag{position:absolute;right:310px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}}@media screen and (max-width:800px){#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.wmd-input-section{overflow:auto!important;-webkit-overflow-scrolling:touch!important}#lea,.lea-blog,#myBlog,#demoRegister,.noteSplit,#tipsBtn,#contentHistory,#curNotebookForNewNote,#curNotebookForNewSharedNote,.for-split,#listNotebookDropdownMenu,#listShareNotebookDropdownMenu,.username,.ui-loader,#md-section-helper{display:none!important}#tag{position:absolute;right:160px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}.my-link{display:block}#attachMenu{width:320px}#attachList{max-height:200px}#attachList li .attach-title{width:170px}#dropAttach .btn{padding:5px 3px;margin-top:3px;display:block}#myTag .folderBody li{margin:5px}#myTag .folderBody li a:hover span{color:#65bd77}#left-column{width:100%!important}#mdEditor #wmd-input{font-size:16px}.my-link{display:block}#themeForm img{height:70px!important}#mdEditor #right-column{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important;display:block;-webkit-overflow-scrolling:touch!important}#mdEditor.read-only .preview-container{left:10px}} \ No newline at end of file +@font-face{font-family:leanote;src:url(../../fonts/leanote-font2/leanote.eot?-vcf23i);src:url(../../fonts/leanote-font2/leanote.eot?#iefix-vcf23i) format('embedded-opentype'),url(../../fonts/leanote-font2/leanote.ttf?-vcf23i) format('truetype'),url(../../fonts/leanote-font2/leanote.woff?-vcf23i) format('woff'),url(../../fonts/leanote-font2/leanote.svg?-vcf23i#leanote) format('svg');font-weight:400;font-style:normal}#logo,#switcher span,.mce-i-mind,.mce-i-ace-pre,.lea-icon{font-family:leanote!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-markdown:before{content:"\e604"}.mce-i-mind:before{content:"\e602"}.mce-i-ace-pre:before{content:"\e603"}#logo:before{content:"\e600";line-height:1;margin-top:5px;display:inline-block;vertical-align:top}#switcher span:before{content:"\e601"}.new-split{display:none}.new-note{background-color:#000;border-radius:3px;padding:3px 5px;border:1px solid #080303}.new-note,.new-note a{color:#fff}.new-note:hover{background:#3D3B3B;border-color:transparent}.new-note:hover,.new-note:hover a{color:#fff}.new-markdown{margin-left:3px;margin-right:3px}*,.h1,.h2,.h3,.h4,.h5,.h6{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif}body{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif;font-weight:400;font-size:14px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){body{font-weight:300}}h1,h2,h3{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif;font-weight:400!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.editor-content,.preview-container{-webkit-overflow-scrolling:touch!important}.btn *{cursor:pointer!important}.ios7-a{display:inline-block;padding:0 10px;height:36px;vertical-align:middle;line-height:36px;cursor:pointer}#tool{border-bottom:1px solid #ddd;height:36px;margin-left:-5px}#tag{height:36px;line-height:36px}#editor,#mdEditor{position:absolute;z-index:2;top:66px;bottom:0;right:0;left:5px;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:5px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#tag .dropdown{line-height:30px}.btn{border-radius:2px}.alert{margin-bottom:10px}#logo{font-size:36px}#switcher span{border-radius:5px;display:inline-block;cursor:pointer;font-size:18px;height:34px;line-height:34px;margin-top:8px;padding:0 5px}.noteSplit{position:absolute;top:0;width:5px;height:100%;overflow:hidden;z-index:3333;cursor:col-resize}.dropdown-menu{border-radius:3px;margin:0;border:1px solid #0fb264;box-shadow:rgba(0,0,0,.172549)0 6px 12px 0}.dropdown-menu:before{content:"";width:20px;height:12px;position:absolute;top:-12px;right:8px;background-image:url(../../images/triangle_2x.png);background-size:20px 12px}.dropdown-submenu .dropdown-menu:before{background:0 0}#searchNotebookForAddDropdownList,#searchNotebookForAddShareDropdownList{left:-200px}#searchNotebookForAddDropdownList:before,#searchNotebookForAddShareDropdownList:before{left:190px;right:inherit}.dropdown-menu li{list-style:none;padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu li>a{color:#000;display:block;padding-right:20px}.dropdown-menu>li>a{padding:3px 20px 3px 0}#notebookNavForNewNote li:hover{background:0 0}#noteList{position:absolute;bottom:0;top:0}#noteAndEditorMask{position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;text-align:center;padding-top:60px;opacity:.3;z-index:20;display:none}.dropdown-submenu{position:relative}.dropdown-submenu>ul.dropdown-menu{top:0;left:100%;margin-left:-3px!important;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding-top:10px!important}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropdown-submenu:after{display:block;content:" ";position:absolute;right:0;top:10px;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#666}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.open>.dropdown-menu,.dropdown-submenu:hover>.dropdown-menu{opacity:1;transform:scale(1,1);-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1)}.dropdown-menu{opacity:0;display:block;-webkit-transform:scale(0,0);-webkit-transform-origin:top;-webkit-animation-fill-mode:forwards;-webkit-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-o-transform:scale(0,0);-o-transform-origin:top;-o-animation-fill-mode:forwards;-o-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-moz-transform:scale(0,0);-moz-transform-origin:top;-moz-animation-fill-mode:forwards;-moz-transition:all .2s cubic-bezier(0.34,1.21,.4,1);transform:scale(0,0);transform-origin:top;animation-fill-mode:forwards;transition:all .2s cubic-bezier(0.34,1.21,.4,1)}.dropdown-list{width:530px;border-radius:3px}.dropdown-list ul{margin:0;padding:0}.dropdown-list ul li{float:left;width:120px;margin-left:10px;margin-bottom:10px;border:1px dashed #ccc}.new-note-right{padding:0 5px;padding-left:3px}#leanoteMsg{line-height:40px;margin-top:10px;margin-left:10px}#newNoteWrap{line-height:40px;margin-top:10px}#editorTool{margin:0;margin-right:5px;padding:0;list-style:none}#editorTool li{display:inline-block}#searchNotebookForAdd{line-height:normal;width:200px;margin:0 10px;margin-bottom:10px;height:30px;border-color:#ebeff2;box-shadow:none}#myNotebooks .folderBody{padding-top:3px}.folderBody{overflow-x:hidden}#searchNotebookForList{height:30px;width:90%;margin:3px auto;margin-top:0;border-color:#ebeff2;box-shadow:none}#noteItemList{user-select:none;-webkit-user-select:none;-moz-user-select:none}#noteItemList .item-setting,#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;padding:3px;border-radius:5px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-setting .fa,#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-setting:hover,#noteItemList .item-blog:hover{opacity:.8}#noteItemList .item-blog{top:1px}#noteItemList .item-setting{bottom:0;display:none}#noteItemList .item:hover .item-setting{display:block}.batch #noteItemList .item-active .item-setting,.batch #noteItemList .item-active:hover .item-setting{display:none}.batch #toggleEditorMode{display:none}.friend-header{position:relative}.friend-header .notebook-setting{display:none;position:absolute;right:0;left:auto}.friend-header:hover .notebook-setting{display:block}.each-user{margin-bottom:5px;margin-left:5px;margin-right:5px;margin-top:3px;border:1px solid #eee;border-radius:3px}.notebook-number-notes{position:absolute;right:10px;top:0;bottom:0;z-index:1;display:inline-block;line-height:20px!important;height:20px;margin-top:5px;padding:0 3px}.notebook-setting{display:none;position:absolute;right:1px;top:0;bottom:0;z-index:2;line-height:30px}.notebook-setting:before{content:"\f013"}.ztree li a:hover .notebook-setting{display:block}#myTag .folderBody{padding:0 3px;padding-bottom:3px}#myTag .folderBody li{margin-left:10px;padding:3px;line-height:normal}#notebookList{border-top:1px solid rgba(255,255,255,.05)}.ztree{padding:0}#upload{position:absolute;z-index:0;bottom:0;right:0;left:0;padding:0;background-color:#fff;text-align:center;display:none}#upload #drop{width:100%;height:100%;padding-top:100px}#drop.in{border:1px solid #000}#drop.hover{border:2px solid #000}#uploadMsg{position:absolute;top:3px;right:3px;bottom:10px;overflow:scroll;list-style:none}#uploadAttach{position:relative;margin-top:5px}.dropzone{text-align:center}.dropzone input{display:none}.dropzone.in{border:1px solid #000}.dropzone.hover{border:2px solid #000}#attachUploadMsg,#avatarUploadMsg{list-style-type:none;margin:0;padding:0;max-height:240px;z-index:3}#attachUploadMsg .alert,#avatarUploadMsg .alert{margin:0;padding:0 3px;margin-top:10px}#attachMenu{width:450px;padding:10px 5px}#attachList{margin:0;padding:0;max-height:450px;overflow-y:auto}#attachList li{display:block;margin:0;padding:0 3px;border-radius:3px;border-bottom:1px dashed #eee;height:45px;line-height:45px}#attachList li div{float:left}#attachList li .attach-title{width:290px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#attachList li .attach-process{float:right}#attachList li.loading{text-align:center}.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-ms-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;-moz-animation-name:fadeIn;-o-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes fadeInUp{0%{opacity:0;-moz-transform:translateY(20px)}100%{opacity:1;-moz-transform:translateY(0)}}@-o-keyframes fadeInUp{0%{opacity:0;-o-transform:translateY(20px)}100%{opacity:1;-o-transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}100%{opacity:1;transform:translateY(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;-moz-animation-name:fadeInUp;-o-animation-name:fadeInUp;animation-name:fadeInUp}#historyList img{max-width:100%}#avatar{height:60px;max-width:200px;display:inline-block;margin:10px}#noteReadTitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#noteReadInfo{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#666;margin-top:8px}.my-link,.new-markdown-text-abbr,.new-note-text-abbr{display:none}#myAvatar{height:30px;max-width:30px;overflow:hidden;border-radius:50%}#tool{position:relative}#tag{position:absolute;right:300px;top:0;left:5px;bottom:0}#tagColor{left:10px}#tagColor:before{content:"";background-image:none}#addTagInput{width:100px}#notesAndSort{height:36px}#noteItemListWrap{position:absolute;left:0;right:0;top:36px;bottom:3px}#mdEditorPreview{position:absolute;top:35px;left:0;right:0;bottom:0}#left-column,#right-column,#mdSplitter{position:absolute;top:0;bottom:0}#mdSplitter{width:5px;height:100%;overflow:hidden;z-index:5;cursor:col-resize;left:450px;background:0 0}#left-column{left:0;width:450px}#right-column{left:450px;right:0;overflow:hidden}.wmd-panel-editor,.preview-container,#wmd-input{height:100%}.wmd-input,.wmd-input:focus,#md-section-helper{width:100%;border:1px #eee solid;border-radius:5px;outline:0;font-size:14px;resize:none;overflow-x:hidden}#md-section-helper{position:absolute;height:0;overflow-y:scroll;padding:0 6px;top:10px;z-index:-1;opacity:none}.preview-container{overflow:auto}.wmd-preview{width:100%;font-size:14px;overflow:auto;overflow-x:hidden}.wmd-button-row,.preview-button-row{padding:0;height:auto;margin:0}.wmd-spacer{width:0;height:20px;margin-left:10px;background-color:Silver;display:inline-block;list-style:none}.wmd-button,.preview-button{width:20px;height:20px;display:inline-block;list-style:none;cursor:pointer;font-size:17px}.wmd-button{margin-left:10px}.preview-button{margin-right:10px}.wmd-button>span,.preview-button>span{width:20px;height:20px;display:inline-block;font-size:14px}.top-nav{margin:0 10px;display:inline-block;line-height:60px}.cm-item{position:relative}.cm-item .cm-text{position:absolute;left:23px;right:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cm-item .cm-text .c-text{display:initial}.b-m-mpanel{border-radius:3px}#noteItemList{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;overflow-y:hidden;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important}.item-active,#noteItemList .item-active:hover{background-color:#65bd77!important;color:#fff}.item-active .fa,#noteItemList .item-active:hover .fa{color:#eee!important}.item-active .item-title,#noteItemList .item-active:hover .item-title{color:#fff}#noteItemList .item-thumb{width:100px;overflow:hidden;position:absolute;z-index:1;right:0;top:4px;height:100px;background-color:#fff;margin-right:5px;line-height:100px;text-align:center}.item-thumb img{max-width:100px}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#noteItemList .item-desc{position:absolute;left:0;top:4px;right:0;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-image .item-desc{right:100px}.item-info{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.desc{margin:0;word-wrap:break-word}#editorMask{position:absolute;top:0;bottom:0;right:0;left:0;background-color:#fff;display:none;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff}.note-mask{position:absolute;top:0;bottom:0;right:0;left:0;z-index:-1}#noteMaskForLoading{padding-top:60px;background:#fff;text-align:center;opacity:.3}#themeForm td{padding:5px;text-align:center}#themeForm img{border:1px solid #eee;padding:2px}.dropdown-menu .divider{margin:3px 0}.ace_editor,.ace_editor *{font-family:Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro}.leanoteNav{position:absolute;right:0;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-top:4px}.leanoteNav h1{margin:0;font-size:16px;padding:3px;cursor:pointer}.leanoteNav i{padding:3px}.leanoteNav span{display:none}.leanoteNav .leanoteNavContent{display:none;overflow:auto}.leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}.leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}.leanoteNav.unfolder span{display:inline}.leanoteNav.unfolder .leanoteNavContent{display:block;min-height:30px}.leanoteNav ul{margin:0;padding-left:23px}.leanoteNav ul li{list-style-type:disc}.leanoteNav ul li a:hover{color:#0fb264}.leanoteNav ul .nav-h2{margin-left:20px}.leanoteNav ul .nav-h3{margin-left:30px}.leanoteNav ul .nav-h4{margin-left:40px}.leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#editorContent{border:1px solid #ccc;border-radius:5px;padding:5px;outline:0;margin-top:5px;bottom:5px!important}#editorContent pre{position:relative;-mo-height:auto!important}#editorContent pre .toggle-raw{position:absolute;left:2px;top:-2px;z-index:100;display:none}#editorContent pre:hover .toggle-raw{display:block}#editorContent *{font-family:inherit}.ace_invisible_space{visibility:hidden!important}.mce-tinymce-inline{border-width:0!important}#editorContent a{color:#2a6496;text-decoration:underline}#editorContent pre{font:12px / normal Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro,monospace;color:#4D4D4C}#editorContent .ace_searchbtn_close{margin:0}#editorContent .ace-tomorrow{padding:0;padding-left:44px}#editorContent .ace-to-pre{padding:0;padding-left:5px}#editorContent .ace_scrollbar-v{overflow-y:hidden}#editorContent .leanote-image-container{display:inline-block;width:100px}#editorContent .leanote-image-container .loader{display:inline-block;vertical-align:top;margin-right:3px;margin-top:5px}#editorContent .leanote-image-container .progress{display:inline-block;margin:0;width:80px}.close:focus{outline:0}#tagNav i,#tagNav em{font-style:normal}#tagNav .tag-delete{display:none;margin-left:3px;font-size:12px}#tagNav li:hover .tag-delete{display:inline-block}#tagNav a:hover{background:none!important}#listNotebookDropdownMenu{display:none}#moreBtn span{display:none}.mce-colorbtn-trans div{line-height:11px;text-align:center}.mce-btn-small .mce-caret{margin-top:8px}.mce-listbox.mce-btn-small .mce-caret{margin-top:-2px}.mce-btn i{text-shadow:none}.mce-colorbutton.mce-btn-small .mce-preview{width:15px}#noteList{z-index:333}#moreBtn{dispaly:block;position:absolute;cursor:pointer;right:5px;padding:3px 10px}.info-toolbar{position:absolute;top:0;left:0;right:0;bottom:0;line-height:30px;padding-left:5px;height:30px;display:none}.info-toolbar .toolbar-update{color:inherit;float:right;padding:0 10px}.info-toolbar .toolbar-update:hover{background:#fff;color:#000}.info-toolbar .created-time{display:inline-block;padding-right:10px}.invisible{visibility:hidden}#editorContent{-webkit-user-select:text}#editor.read-only #mceToolbarContainer{display:none}#editor.read-only .info-toolbar{display:block}#mdEditor.read-only .info-toolbar{display:block}#mdEditor.read-only .wmd-button-bar-inner,#mdEditor.read-only #mdSplitter2,#mdEditor.read-only .btn-info{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important}#mdEditor.read-only .preview-container{left:10px}#editor #mceToolbar{height:30px}#editor.all-tool #mceToolbar{height:60px}#editor.all-tool .more-fa:before{content:"\f106"}#editor.all-tool #editorContent{top:60px}#editor .more-fa:before{content:"\f107"}#note.read-only #editor,#note.read-only #mdEditor{top:60px}#note.read-only #tool{display:none}#note.read-only .toolbar-update{display:none}#note.read-only #noteReadTop{display:block}#note.read-only #infoToolbar,#note.read-only #mceToolbar,#note.read-only .navbar{display:none}#note.read-only #editorContent,#note.read-only #mdEditor .layout-wrapper-l3{top:0}#noteRead{position:absolute;left:5px;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadTop{position:absolute;height:60px;left:5px;right:0;top:0;bottom:0;z-index:2;display:none;background:#fff;padding-left:5px}#noteReadTitle{margin:3px 0;height:26px}#noteInfo{width:400px;box-sizing:border-box;padding:10px;-webkit-user-select:initial}#noteInfo table{width:100%;margin:0}#noteInfo table th{width:80px}#noteInfo table th,#noteInfo table td{border-top:none;border-bottom:1px solid #ddd}#noteInfo a{cursor:pointer}#noteInfo a.post-url{background:#FDF936}#noteInfo .post-url-wrap span{display:inline}#noteInfo .post-url-wrap input{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-pencil{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-text{display:none}#noteInfo .post-url-wrap.post-url-edit input{display:inline}.history-modal .modal-dialog{width:auto!important;position:absolute;left:5px;right:5px;top:5px;bottom:5px}.history-modal .modal-dialog .modal-content{position:absolute;left:0;right:0;top:0;bottom:0;margin:0;padding:0;overflow:scroll}.history-modal .modal-dialog .modal-content .modal-body{position:absolute;top:0;bottom:0;left:0;right:0;padding:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap{position:absolute;top:0;bottom:0;overflow-y:auto;width:200px;border-right:1px solid #ccc;box-shadow:1px 1px 10px #ddd}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list-header{line-height:50px;font-size:16px;font-weight:700;padding-left:15px;border-bottom:1px solid #eee;background-color:#ccc}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list{position:absolute;top:51px;bottom:0;left:0;right:0;overflow-y:auto;margin-bottom:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item{border-top:none}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item.active,.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item:hover{color:#000;background-color:#eee;border-color:#eee}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap{position:absolute;top:0;bottom:0;right:0;left:200px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .close{padding:10px 15px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .back{margin-left:10px;margin-top:5px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content-header{height:51px;border-bottom:1px solid #eee;box-shadow:5px 0 5px #ccc}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content{position:absolute;top:51px;bottom:0;right:0;left:0;padding-top:5px;padding-right:5px;padding-left:10px;overflow-y:auto}#batchMask{background:#fff;user-select:none;-webkit-user-select:none;-moz-user-select:none}.batch-ctn{position:relative;padding:50px;width:100%;height:100%}.batch-note{display:inline-block;width:160px;position:absolute;left:50%;border:1px solid #ccc;height:200px;padding:5px;border-radius:5px;background:#eee;overflow:hidden;transition:margin .5s;margin-left:-1000px}.batch-note .title{font-size:16px;margin-bottom:5px;font-weight:700}.batch-info{position:absolute;left:0;top:0;right:0;text-align:center;margin-top:300px}.batch-info p{margin-top:8px}.batch-info .fa{cursor:pointer;font-size:16px}::selection{background:#000;color:#fff}::-moz-selection{background:#000;color:#fff}::-webkit-selection{background:#000;color:#fff}.new-note{background-color:#eee;border:1px solid transparent}.new-note,.new-note a{color:#000}.new-note:hover{background:#E0E0E0}.new-note:hover,.new-note:hover a{color:#000}a{color:#000;cursor:pointer}a:hover{text-decoration:none!important;color:#000}a.raw{color:#428bca}a.raw:hover{color:#2a6496}#header{height:60px;background-color:#fff;color:#fff;border-bottom:1px solid #ebeff2;webkit-user-select:none;-webkit-app-region:drag}#header{color:#000}#logo,#logo span{line-height:50px}#logo{width:140px;height:60px;padding-left:10px;padding-top:0;border-bottom:1px solid transparent;border-color:rgba(255,255,255,.1)}#logo span{background-color:#000;color:#fff;border-radius:10px;display:inline-block;padding:4px 0;line-height:1}#switcher{line-height:50px;padding-top:6px;padding-right:5px;width:30px;text-align:center}#switcher i{font-size:16px;cursor:pointer}#switcher i:hover{color:#0fb264}#switcher span{border-radius:5px;cursor:pointer;font-size:18px}#switcher span:hover{color:#0fb264}#searchNote{padding-left:0;line-height:60px;margin:0}#searchNote input{background-size:18px 13px;border-color:#ebeff2;padding-left:14px;height:30px;width:250px;line-height:20px;box-shadow:none}#searchNote input:focus{outline:0!important;border-color:#0fb264;box-shadow:none}#header ul{margin:0;padding:0;list-style:none}#header ul li.dropdown{display:inline-block;height:60px}#header ul>li>a.dropdown-toggle{display:block;padding:15px 5px 0 0;position:relative}#header span.icon{display:inline-block;font-size:28px;color:#999}.dropdown-menu li>a{color:#000}.dropdown-menu li:hover,.dropdown-menu li:focus{background-color:#ebeff2}.dropdown-menu li>a:hover,.dropdown-menu li>a:focus{background-color:#ebeff2}#page{overflow:auto;position:absolute;top:0;left:0;bottom:0;right:0}#pageInner{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}#mainContainer{position:absolute;top:60px;left:0;right:0;bottom:0;overflow:auto;zoom:1}#mainMask{position:absolute;left:0;right:0;bottom:0;top:0;background-color:#fff;text-align:center;padding-top:100px;z-index:1000}#notebookSplitter{left:170px}#noteSplitter{left:250px}#leftNotebook{position:absolute;left:0;top:0;bottom:0;width:170px}#notebook,#notebookMin{position:absolute;left:0;bottom:0;top:0;right:0;background-color:#fff;overflow-y:auto;overflow-x:auto;z-index:2}#notebookMin{z-index:1;overflow-y:visible;overflow-x:visible;background-color:#eee}#notebookMin div.minContainer{border-bottom:1px solid #ccc;padding:5px;position:relative;cursor:pointer}#notebookMin div.minContainer i{font-size:20px;color:#000}#notebookMin div.minContainer:hover i{color:#0fb264}#notebookMin div.minContainer ul{background-color:#fff;opacity:.8;display:none;list-style:none;margin:0;margin-left:20px;padding:5px 0;border:1px solid #0fb264;position:absolute;z-index:1000;top:0;left:10px;width:150px}#notebookMin div.minContainer ul li{padding:0 5px;cursor:pointer}#notebookMin div.minContainer ul li span{cursor:pointer}#notebookMin div.minContainer ul li a{cursor:pointer}#notebookBottom{position:absolute;bottom:0;height:30px;right:0;left:0;line-height:30px;text-align:right;padding-right:5px;background-color:#eee}#notebookBottom #leftSwitcher{border:1px solid #ccc;padding:3px 8px;cursor:pointer}#noteAndEditor{position:absolute;bottom:0;top:0;right:0;left:170px}#noteList{width:250px;border-right:1px solid #ebeff2;border-left:1px solid #ebeff2}#note{position:absolute;bottom:0;top:0;left:250px;right:0;padding-left:5px;overflow-y:hidden;overflow-x:auto;background-color:#fff}.folderHeader{min-height:35px;line-height:35px;cursor:pointer;border-bottom:1px solid transparent;border-color:rgba(0,0,0,.05)}.folderHeader span{display:inline-block;line-height:35px;color:#000;font-size:16px}.folderHeader .fa-left,.friend-header i.fa{display:inline-block;line-height:35px;font-size:16px;width:35px;border-right:1px solid rgba(0,0,0,.05);text-align:center;color:#000}.each-user div{cursor:pointer;border-bottom:1px solid transparent;border-color:rgba(0,0,0,.05)}.each-user div span{display:inline-block;line-height:35px;color:#000;padding-left:3px;font-size:14px;display:block;position:absolute;left:23px;top:0;right:23px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.each-user div .fa{width:20px;border-right:none}#addNotebookPlus{padding-right:10px;color:#666}#addNotebookPlus .fa{font-size:16px}.closed .folder-icon{width:9px;height:11px;background-position:-108px -149px}.closed .folderBody{display:none}.folderBody{list-style:none;margin:0;padding:0}.folderBody li{line-height:30px}.folderBody a.active{background-color:#fff;color:#0fb264}.folderBody a:hover,.folderBody .contextmenu-hover{background-color:#ebeff2!important}#notebookList input,#notebookListForSearch input{width:90%;border:none;box-shadow:none;padding-left:3px;background:0 0}#notebookList input:focus,#notebookListForSearch input:focus{outline:0!important;border:none}#myTag .folderBody li{position:relative}#myTag .folderBody li .badge{width:40px;position:absolute;right:3px;top:7px;font-weight:400;background-color:#fff;color:#000;border:1px solid #ebeff2}#search{border:#bababa 1px solid;background-color:#fff;white-space:nowrap;position:absolute;height:30px;left:3px;right:60px;margin-top:3px}#search label{display:none}#searchButton{border:0 none;width:16px;height:16px;overflow:hidden;cursor:pointer;position:absolute;right:3px;top:5px}#searchInput{border:0 none;overflow:hidden;position:absolute;right:20px;left:0;padding-left:10px;height:28px}#searchInput:focus{border:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}#notesAndSort{background-color:#fff;border-bottom:1px solid #ebeff2}#sortType{float:right}#noteTitleDiv{height:30px;border-bottom:1px solid #ddd}#noteTitle{height:100%;padding:0 3px;width:100%;border:none;background-color:#fff;min-width:300px}#noteTitle:focus{outline:0!important}#editorContent{position:absolute;top:30px;bottom:10px;right:0;left:0;overflow:auto}#editor .mce-ifr{border:none;overflow:hidden!important}#editor .mce-tinymce{border:none}#mceToolbar,#wmd-button-bar{position:relative;height:30px;overflow:hidden;border-bottom:1px solid #ccc;background-color:#f0f0f0}.mce-btn-small button{padding:5px 5px!important;line-height:20px!important}.mce-foot .mce-btn{border-radius:3px}.mce-menubtn.mce-btn-small span{line-height:20px!important}.mce-btn span{font-family:Helvetica,Tahoma,Arial,Hiragino Sans GB,"Microsoft YaHei","微软雅黑","Micro Hei",SimSun,"宋体",Heiti,"黑体",sans-serif!important}.mce-primary button,.mce-primary button i{text-shadow:none}.mce-primary{background-color:#47a447!important;border:none!important}.mce-menu-item:hover,.mce-menu-item.mce-selected,.mce-menu-item:focus{background-color:#ebeff2}.mce-menu-item:hover span,.mce-menu-item.mce-selected span,.mce-menu-item:focus span{color:#000!important}.mce-menu-item-normal.mce-active{background-color:#ebeff2}.tool-split{display:inline-block;line-height:25px;color:#ddd}#addTagInput{line-height:25px;display:none;padding:0;border:none;background-color:#fff}#addTagInput:focus{outline:0}.label-default{background-color:#464C5E}.label-red{background-color:#d9534f}.label-yellow{background-color:#f0ad4e}.label-blue{background-color:#428bca}.label-green{background-color:#5cb85c}.label{border-radius:0;font-weight:400}.label i{width:10px;cursor:pointer;font-style:normal;display:inline-block;padding-left:3px;opacity:0}.label i:hover{opacity:1}.fa-calendar{color:#666}.dropdown-menu .fa{width:15px}.dropdown-menu span,.dropdown-menu a,.dropdown-menu li{cursor:default}#topNav a{display:inline-block;line-height:60px}.tab-pane{padding:5px 0 0}#notebookNavForNewNote li,#notebookNavForNewSharedNote>li{padding-left:0;border-bottom:1px solid #ebeff2}#notebookNavForNewNote>li:hover,#notebookNavForNewNote>li:focus,#notebookNavForNewSharedNote>li:hover,#notebookNavForNewSharedNote>li:focus{background:0 0}.new-note-left{padding:0 5px;width:95px;overflow:hidden;white-space:nowrap;border-right:1px dashed #ebeff2}.new-note-left:hover{background-color:#ebeff2}.new-note-right:hover{background-color:#ebeff2}#historyList table{width:100%}#historyList .btns{border-top:1px dashed #eee;padding:5px 0}#loading{display:inline-block;width:20px;height:20px;content:url(../../images/loading-a-20-black.gif);vertical-align:middle;visibility:hidden}#toggleEditorMode{margin:0 10px!important}#notebookList{border-top:1px dashed #eee}@media screen and (max-width:700px){#toggleEditorMode,#lea,#myBlog,#demoRegister,.noteSplit,#logo,#tipsBtn,#contentHistory,#curNotebookForNewNote,#curNotebookForNewSharedNote,.for-split,#listNotebookDropdownMenu,#listShareNotebookDropdownMenu,.new-markdown-text,.new-note-text,.username,#notebookMin,.ui-loader,#md-section-helper,.writing-mobile-hide{display:none!important}*,.ztree li a.level0 span,.ztree li a.level1 span,.label{font-size:16px}.label i{opacity:1;width:20px}.label i:hover,.label i:focus{color:#65bd77!important}a:focus,a:hover,a:active{color:#65bd77!important}#noteItemList .item{height:120px}#leftNotebook{width:140px!important;max-width:140px}#notebook{display:block!important}#leftNotebook .slimScrollDiv{display:block!important}#switcher{padding-top:0;padding-right:0}#switcher i{padding:20px 0;font-size:20px}#newNoteMarkdownBtn{width:10px;overflow:hidden}#noteAndEditor{left:140px!important}#noteList{display:block;width:100%!important}#note{visibility:hidden;z-index:-1;overflow-x:hidden;left:0!important}#note #editor{visibility:hidden}#note .mce-tinymce{visibility:hidden!important}#note.editor-show{visibility:visible;z-index:initial}#note.editor-show #editor{visibility:visible}#note.editor-show .mce-tinymce{visibility:visible!important}#leftSwitcher{display:block!important}#leftSwitcher2{display:none!important}.full-editor #leftNotebook{display:none}.full-editor #noteAndEditor{left:0!important}.full-editor #noteList{display:none}#searchWrap{margin-left:3px}#searchNote{border-top:none;border-bottom:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;padding-right:10px}#searchNote input{width:55px;padding-left:5px;padding-right:2px;margin-top:3px;-webkit-transform:translate3d(0,0,0);-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease}#searchNote input:focus{width:100px}#tool{position:relative}#tag{position:absolute;right:140px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}#left-column{width:100%!important}#mdEditor #wmd-input{font-size:16px}.new-markdown-text-abbr,.new-note-text-abbr{display:inline}.my-link{display:block}#themeForm img{height:70px!important}.slimScrollBar,.slimScrollRail{display:none!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.wmd-input-section{-webkit-overflow-scrolling:touch!important;overflow:auto!important}#attachMenu{width:320px}#attachList{max-height:200px}#attachList li .attach-title{width:170px}#dropAttach .btn{padding:5px 3px;margin-top:3px;display:block}#myTag .folderBody li{margin:5px}#myTag .folderBody li a:hover span{color:#65bd77}#noteItemList .item-thumb{width:80px;height:80px;margin-top:15px}#noteItemList .item{height:118px}#noteItemList .item-setting,#noteItemList .item-blog{font-size:16px;width:30px;display:inline-block}#noteMaskForLoading{opacity:.8}#editorContent .ace-tomorrow{padding:0}#mdEditor #right-column{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important;display:block;-webkit-overflow-scrolling:touch!important}#mdEditor.read-only .preview-container{left:10px}}@media screen and (max-width:1024px){#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags{overflow:auto!important;-webkit-overflow-scrolling:touch!important}#tag{position:absolute;right:310px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}}@media screen and (max-width:800px){#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.wmd-input-section{overflow:auto!important;-webkit-overflow-scrolling:touch!important}#lea,.lea-blog,#myBlog,#demoRegister,.noteSplit,#tipsBtn,#contentHistory,#curNotebookForNewNote,#curNotebookForNewSharedNote,.for-split,#listNotebookDropdownMenu,#listShareNotebookDropdownMenu,.username,.ui-loader,#md-section-helper{display:none!important}#tag{position:absolute;right:160px;left:0;top:0;bottom:0;overflow:hidden}#tag #tags{left:50px;right:0;top:0;bottom:0;overflow-y:hidden;overflow-x:scroll;position:absolute;line-height:40px;line-height:inherit!important}#tag #tagDropdown{float:left;width:50px;line-height:40px;overflow:hidden;padding-left:3px}#tag .add-tag-text{display:none}#tag #addTagInput{width:30px;display:inline-block}#tag #tagColor{display:none!important}.my-link{display:block}#attachMenu{width:320px}#attachList{max-height:200px}#attachList li .attach-title{width:170px}#dropAttach .btn{padding:5px 3px;margin-top:3px;display:block}#myTag .folderBody li{margin:5px}#myTag .folderBody li a:hover span{color:#65bd77}#left-column{width:100%!important}#mdEditor #wmd-input{font-size:16px}.my-link{display:block}#themeForm img{height:70px!important}#mdEditor #right-column{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important;display:block;-webkit-overflow-scrolling:touch!important}#mdEditor.read-only .preview-container{left:10px}} \ No newline at end of file diff --git a/public/css/theme/writting-overwrite.css b/public/css/theme/writting-overwrite.css index 0fff5e7..e4e368e 100644 --- a/public/css/theme/writting-overwrite.css +++ b/public/css/theme/writting-overwrite.css @@ -1 +1 @@ -@font-face{font-family:leanote;src:url(../../fonts/leanote-font2/leanote.eot?-vcf23i);src:url(../../fonts/leanote-font2/leanote.eot?#iefix-vcf23i) format('embedded-opentype'),url(../../fonts/leanote-font2/leanote.ttf?-vcf23i) format('truetype'),url(../../fonts/leanote-font2/leanote.woff?-vcf23i) format('woff'),url(../../fonts/leanote-font2/leanote.svg?-vcf23i#leanote) format('svg');font-weight:400;font-style:normal}#logo,#switcher span,.mce-i-mind,.mce-i-ace-pre,.lea-icon{font-family:leanote!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-markdown:before{content:"\e604"}.mce-i-mind:before{content:"\e602"}.mce-i-ace-pre:before{content:"\e603"}#logo:before{content:"\e600";line-height:1;margin-top:5px;display:inline-block;vertical-align:top}#switcher span:before{content:"\e601"}.new-split{display:none}.new-note{background-color:#000;border-radius:3px;padding:3px 5px;border:1px solid #080303}.new-note,.new-note a{color:#fff}.new-note:hover{background:#3D3B3B;border-color:transparent}.new-note:hover,.new-note:hover a{color:#fff}.new-markdown{margin-left:3px;margin-right:3px}*,.h1,.h2,.h3,.h4,.h5,.h6{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif}body{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:400;font-size:16px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){body{font-weight:300}}h1,h2,h3{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:400!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.editor-content,.preview-container{-webkit-overflow-scrolling:touch!important}.btn *{cursor:pointer!important}.ios7-a{display:inline-block;padding:0 10px;height:36px;vertical-align:middle;line-height:36px;cursor:pointer}#tool{border-bottom:1px solid #ddd;height:36px;margin-left:-5px}#tag{height:36px;line-height:36px}#editor,#mdEditor{position:absolute;z-index:2;top:66px;bottom:0;right:0;left:5px;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:5px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#tag .dropdown{line-height:30px}.btn{border-radius:2px}.alert{margin-bottom:10px}#logo{font-size:36px}#switcher span{border-radius:5px;display:inline-block;cursor:pointer;font-size:18px;height:34px;line-height:34px;margin-top:8px;padding:0 5px}.noteSplit{position:absolute;top:0;width:5px;height:100%;overflow:hidden;z-index:3333;cursor:col-resize}.dropdown-menu{border-radius:3px;margin:0;border:1px solid #0fb264;box-shadow:rgba(0,0,0,.172549)0 6px 12px 0}.dropdown-menu:before{content:"";width:20px;height:12px;position:absolute;top:-12px;right:8px;background-image:url(../../images/triangle_2x.png);background-size:20px 12px}.dropdown-submenu .dropdown-menu:before{background:0 0}#searchNotebookForAddDropdownList,#searchNotebookForAddShareDropdownList{left:-200px}#searchNotebookForAddDropdownList:before,#searchNotebookForAddShareDropdownList:before{left:190px;right:inherit}.dropdown-menu li{list-style:none;padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu li>a{color:#000;display:block;padding-right:20px}.dropdown-menu>li>a{padding:3px 20px 3px 0}#notebookNavForNewNote li:hover{background:0 0}#noteList{position:absolute;bottom:0;top:0}#noteAndEditorMask{position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;text-align:center;padding-top:60px;opacity:.3;z-index:20;display:none}.dropdown-submenu{position:relative}.dropdown-submenu>ul.dropdown-menu{top:0;left:100%;margin-left:-3px!important;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding-top:10px!important}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropdown-submenu:after{display:block;content:" ";position:absolute;right:0;top:10px;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#666}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.open>.dropdown-menu,.dropdown-submenu:hover>.dropdown-menu{opacity:1;transform:scale(1,1);-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1)}.dropdown-menu{opacity:0;display:block;-webkit-transform:scale(0,0);-webkit-transform-origin:top;-webkit-animation-fill-mode:forwards;-webkit-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-o-transform:scale(0,0);-o-transform-origin:top;-o-animation-fill-mode:forwards;-o-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-moz-transform:scale(0,0);-moz-transform-origin:top;-moz-animation-fill-mode:forwards;-moz-transition:all .2s cubic-bezier(0.34,1.21,.4,1);transform:scale(0,0);transform-origin:top;animation-fill-mode:forwards;transition:all .2s cubic-bezier(0.34,1.21,.4,1)}.dropdown-list{width:530px;border-radius:3px}.dropdown-list ul{margin:0;padding:0}.dropdown-list ul li{float:left;width:120px;margin-left:10px;margin-bottom:10px;border:1px dashed #ccc}.new-note-right{padding:0 5px;padding-left:3px}#leanoteMsg{line-height:40px;margin-top:10px;margin-left:10px}#newNoteWrap{line-height:40px;margin-top:10px}#editorTool{margin:0;margin-right:5px;padding:0;list-style:none}#editorTool li{display:inline-block}#searchNotebookForAdd{line-height:normal;width:200px;margin:0 10px;margin-bottom:10px;height:30px;border-color:#ebeff2;box-shadow:none}#myNotebooks .folderBody{padding-top:3px}.folderBody{overflow-x:hidden}#searchNotebookForList{height:30px;width:90%;margin:3px auto;margin-top:0;border-color:#ebeff2;box-shadow:none}#noteItemList .item-setting,#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;padding:3px;border-radius:5px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-setting .fa,#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-setting:hover,#noteItemList .item-blog:hover{opacity:.8}#noteItemList .item-blog{top:1px}#noteItemList .item-setting{bottom:0;display:none}#noteItemList .item:hover .item-setting{display:block}.friend-header{position:relative}.friend-header .notebook-setting{display:none;position:absolute;right:0;left:auto}.friend-header:hover .notebook-setting{display:block}.each-user{margin-bottom:5px;margin-left:5px;margin-right:5px;margin-top:3px;border:1px solid #eee;border-radius:3px}.notebook-number-notes{position:absolute;right:10px;top:0;bottom:0;z-index:1;display:inline-block;line-height:20px!important;height:20px;margin-top:5px;padding:0 3px}.notebook-setting{display:none;position:absolute;right:1px;top:0;bottom:0;z-index:2;line-height:30px}.notebook-setting:before{content:"\f013"}.ztree li a:hover .notebook-setting{display:block}#myTag .folderBody{padding:0 3px;padding-bottom:3px}#myTag .folderBody li{margin-left:10px;padding:3px;line-height:normal}#notebookList{border-top:1px solid rgba(255,255,255,.05)}.ztree{padding:0}#upload{position:absolute;z-index:0;bottom:0;right:0;left:0;padding:0;background-color:#fff;text-align:center;display:none}#upload #drop{width:100%;height:100%;padding-top:100px}#drop.in{border:1px solid #000}#drop.hover{border:2px solid #000}#uploadMsg{position:absolute;top:3px;right:3px;bottom:10px;overflow:scroll;list-style:none}#uploadAttach{position:relative;margin-top:5px}.dropzone{text-align:center}.dropzone input{display:none}.dropzone.in{border:1px solid #000}.dropzone.hover{border:2px solid #000}#attachUploadMsg,#avatarUploadMsg{list-style-type:none;margin:0;padding:0;max-height:240px;z-index:3}#attachUploadMsg .alert,#avatarUploadMsg .alert{margin:0;padding:0 3px;margin-top:10px}#attachMenu{width:450px;padding:10px 5px}#attachList{margin:0;padding:0;max-height:450px;overflow-y:auto}#attachList li{display:block;margin:0;padding:0 3px;border-radius:3px;border-bottom:1px dashed #eee;height:45px;line-height:45px}#attachList li div{float:left}#attachList li .attach-title{width:290px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#attachList li .attach-process{float:right}#attachList li.loading{text-align:center}.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-ms-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;-moz-animation-name:fadeIn;-o-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes fadeInUp{0%{opacity:0;-moz-transform:translateY(20px)}100%{opacity:1;-moz-transform:translateY(0)}}@-o-keyframes fadeInUp{0%{opacity:0;-o-transform:translateY(20px)}100%{opacity:1;-o-transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}100%{opacity:1;transform:translateY(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;-moz-animation-name:fadeInUp;-o-animation-name:fadeInUp;animation-name:fadeInUp}#historyList img{max-width:100%}#avatar{height:60px;max-width:200px;display:inline-block;margin:10px}#noteReadTitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#noteReadInfo{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#666;margin-top:8px}.my-link,.new-markdown-text-abbr,.new-note-text-abbr{display:none}#myAvatar{height:30px;max-width:30px;overflow:hidden;border-radius:50%}#tool{position:relative}#tag{position:absolute;right:300px;top:0;left:5px;bottom:0}#tagColor{left:10px}#tagColor:before{content:"";background-image:none}#addTagInput{width:100px}#notesAndSort{height:36px}#noteItemListWrap{position:absolute;left:0;right:0;top:36px;bottom:3px}#mdEditorPreview{position:absolute;top:35px;left:0;right:0;bottom:0}#left-column,#right-column,#mdSplitter{position:absolute;top:0;bottom:0}#mdSplitter{width:5px;height:100%;overflow:hidden;z-index:5;cursor:col-resize;left:450px;background:0 0}#left-column{left:0;width:450px}#right-column{left:450px;right:0;overflow:hidden}.wmd-panel-editor,.preview-container,#wmd-input{height:100%}.wmd-input,.wmd-input:focus,#md-section-helper{width:100%;border:1px #eee solid;border-radius:5px;outline:0;font-size:14px;resize:none;overflow-x:hidden}#md-section-helper{position:absolute;height:0;overflow-y:scroll;padding:0 6px;top:10px;z-index:-1;opacity:none}.preview-container{overflow:auto}.wmd-preview{width:100%;font-size:14px;overflow:auto;overflow-x:hidden}.wmd-button-row,.preview-button-row{padding:0;height:auto;margin:0}.wmd-spacer{width:0;height:20px;margin-left:10px;background-color:Silver;display:inline-block;list-style:none}.wmd-button,.preview-button{width:20px;height:20px;display:inline-block;list-style:none;cursor:pointer;font-size:17px}.wmd-button{margin-left:10px}.preview-button{margin-right:10px}.wmd-button>span,.preview-button>span{width:20px;height:20px;display:inline-block;font-size:14px}.top-nav{margin:0 10px;display:inline-block;line-height:60px}.cm-item{position:relative}.cm-item .cm-text{position:absolute;left:23px;right:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cm-item .cm-text .c-text{display:initial}.b-m-mpanel{border-radius:3px}#noteItemList{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;overflow-y:hidden;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important}.item-active,#noteItemList .item-active:hover{background-color:#65bd77!important;color:#fff}.item-active .fa,#noteItemList .item-active:hover .fa{color:#eee!important}.item-active .item-title,#noteItemList .item-active:hover .item-title{color:#fff}#noteItemList .item-thumb{width:100px;overflow:hidden;position:absolute;z-index:1;right:0;top:4px;height:100px;background-color:#fff;margin-right:5px;line-height:100px;text-align:center}.item-thumb img{max-width:100px}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#noteItemList .item-desc{position:absolute;left:0;top:4px;right:0;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-image .item-desc{right:100px}.item-info{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.desc{margin:0;word-wrap:break-word}#editorMask{position:absolute;top:0;bottom:0;right:0;left:0;background-color:#fff;display:none;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff}.note-mask{position:absolute;top:0;bottom:0;right:0;left:3px;z-index:-1}#noteMaskForLoading{padding-top:60px;background:#fff;text-align:center;opacity:.3}#themeForm td{padding:5px;text-align:center}#themeForm img{border:1px solid #eee;padding:2px}.dropdown-menu .divider{margin:3px 0}.ace_editor,.ace_editor *{font-family:Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro}.leanoteNav{position:absolute;right:0;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-top:4px}.leanoteNav h1{margin:0;font-size:16px;padding:3px;cursor:pointer}.leanoteNav i{padding:3px}.leanoteNav span{display:none}.leanoteNav .leanoteNavContent{display:none;overflow:auto}.leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}.leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}.leanoteNav.unfolder span{display:inline}.leanoteNav.unfolder .leanoteNavContent{display:block;min-height:30px}.leanoteNav ul{margin:0;padding-left:23px}.leanoteNav ul li{list-style-type:disc}.leanoteNav ul li a:hover{color:#0fb264}.leanoteNav ul .nav-h2{margin-left:20px}.leanoteNav ul .nav-h3{margin-left:30px}.leanoteNav ul .nav-h4{margin-left:40px}.leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#editorContent{border:1px solid #ccc;border-radius:5px;padding:5px;outline:0;margin-top:5px;bottom:5px!important}#editorContent pre{position:relative;-mo-height:auto!important}#editorContent pre .toggle-raw{position:absolute;left:2px;top:-2px;z-index:100;display:none}#editorContent pre:hover .toggle-raw{display:block}#editorContent *{font-family:inherit}.ace_invisible_space{visibility:hidden!important}.mce-tinymce-inline{border-width:0!important}#editorContent a{color:#2a6496;text-decoration:underline}#editorContent pre{font:12px / normal Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro,monospace;color:#4D4D4C}#editorContent .ace_searchbtn_close{margin:0}#editorContent .ace-tomorrow{padding:0;padding-left:44px}#editorContent .ace-to-pre{padding:0;padding-left:5px}#editorContent .ace_scrollbar-v{overflow-y:hidden}#editorContent .leanote-image-container{display:inline-block;width:100px}#editorContent .leanote-image-container .loader{display:inline-block;vertical-align:top;margin-right:3px;margin-top:5px}#editorContent .leanote-image-container .progress{display:inline-block;margin:0;width:80px}.close:focus{outline:0}#tagNav i,#tagNav em{font-style:normal}#tagNav .tag-delete{display:none;margin-left:3px;font-size:12px}#tagNav li:hover .tag-delete{display:inline-block}#tagNav a:hover{background:none!important}#listNotebookDropdownMenu{display:none}#moreBtn span{display:none}.mce-colorbtn-trans div{line-height:11px;text-align:center}.mce-btn-small .mce-caret{margin-top:8px}.mce-listbox.mce-btn-small .mce-caret{margin-top:-2px}.mce-btn i{text-shadow:none}.mce-colorbutton.mce-btn-small .mce-preview{width:15px}#noteList{z-index:333}#moreBtn{dispaly:block;position:absolute;cursor:pointer;right:5px;padding:3px 10px}.info-toolbar{position:absolute;top:0;left:0;right:0;bottom:0;line-height:30px;padding-left:5px;height:30px;display:none}.info-toolbar .toolbar-update{color:inherit;float:right;padding:0 10px}.info-toolbar .toolbar-update:hover{background:#fff;color:#000}.info-toolbar .created-time{display:inline-block;padding-right:10px}.invisible{visibility:hidden}#editorContent{-webkit-user-select:text}#editor.read-only #mceToolbarContainer{display:none}#editor.read-only .info-toolbar{display:block}#mdEditor.read-only .info-toolbar{display:block}#mdEditor.read-only .wmd-button-bar-inner,#mdEditor.read-only #mdSplitter2,#mdEditor.read-only .btn-info{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important}#mdEditor.read-only .preview-container{left:10px}#editor #mceToolbar{height:30px}#editor.all-tool #mceToolbar{height:60px}#editor.all-tool .more-fa:before{content:"\f106"}#editor.all-tool #editorContent{top:60px}#editor .more-fa:before{content:"\f107"}#note.read-only #editor,#note.read-only #mdEditor{top:60px}#note.read-only #tool{display:none}#note.read-only .toolbar-update{display:none}#note.read-only #noteReadTop{display:block}#note.read-only #infoToolbar,#note.read-only #mceToolbar,#note.read-only .navbar{display:none}#note.read-only #editorContent,#note.read-only #mdEditor .layout-wrapper-l3{top:0}#noteRead{position:absolute;left:5px;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadTop{position:absolute;height:60px;left:5px;right:0;top:0;bottom:0;z-index:2;display:none;background:#fff;padding-left:5px}#noteReadTitle{margin:3px 0;height:26px}#noteInfo{width:400px;box-sizing:border-box;padding:10px;-webkit-user-select:initial}#noteInfo table{width:100%;margin:0}#noteInfo table th{width:80px}#noteInfo table th,#noteInfo table td{border-top:none;border-bottom:1px solid #ddd}#noteInfo a{cursor:pointer}#noteInfo a.post-url{background:#FDF936}#noteInfo .post-url-wrap span{display:inline}#noteInfo .post-url-wrap input{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-pencil{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-text{display:none}#noteInfo .post-url-wrap.post-url-edit input{display:inline}.history-modal .modal-dialog{width:auto!important;position:absolute;left:5px;right:5px;top:5px;bottom:5px}.history-modal .modal-dialog .modal-content{position:absolute;left:0;right:0;top:0;bottom:0;margin:0;padding:0;overflow:scroll}.history-modal .modal-dialog .modal-content .modal-body{position:absolute;top:0;bottom:0;left:0;right:0;padding:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap{position:absolute;top:0;bottom:0;overflow-y:auto;width:200px;border-right:1px solid #ccc;box-shadow:1px 1px 10px #ddd}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list-header{line-height:50px;font-size:16px;font-weight:700;padding-left:15px;border-bottom:1px solid #eee;background-color:#ccc}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list{position:absolute;top:51px;bottom:0;left:0;right:0;overflow-y:auto;margin-bottom:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item{border-top:none}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item.active,.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item:hover{color:#000;background-color:#eee;border-color:#eee}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap{position:absolute;top:0;bottom:0;right:0;left:200px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .close{padding:10px 15px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .back{margin-left:10px;margin-top:5px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content-header{height:51px;border-bottom:1px solid #eee;box-shadow:5px 0 5px #ccc}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content{position:absolute;top:51px;bottom:0;right:0;left:0;padding-top:5px;padding-right:5px;padding-left:10px;overflow-y:auto}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url(../../fonts/open-sans2/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url(../../fonts/open-sans2/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url(../../fonts/open-sans2/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url(../../fonts/open-sans2/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff) format('woff')}::selection{background:#000;color:#fff}::-moz-selection{background:#000;color:#fff}::-webkit-selection{background:#000;color:#fff}html,body{background-color:#fbfcf7}body{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:300;font-size:16px}a{color:#000;cursor:pointer}a:hover{text-decoration:none!important;color:#000}a.raw{color:#428bca}a.raw:hover{color:#2a6496}#header{height:60px;background-color:#fbfcf7;color:#fff;border-bottom:1px solid #ebeff2;webkit-user-select:none;-webkit-app-region:drag}#header a{color:#ccc}#header li{color:#000}#header li a{color:#000}#searchWrap,#logo,#switcher,#leftNotebook,.noteSplit{display:none}#header ul{margin:0;padding:0;list-style:none}#header ul li.dropdown{display:inline-block;height:60px}#header ul>li>a.dropdown-toggle{display:block;padding:15px 5px 0 0;position:relative}#header span.icon{display:inline-block;font-size:28px;color:#999}.dropdown-menu{border-radius:0;margin:0;-webkit-box-shadow:none;box-shadow:none;border:1px solid #0fb264;overflow:visible}.dropdown-menu li{padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu>li>a{color:#000;display:inline-block;padding:3px}.dropdown-menu>li:hover,.dropdown-menu>li:focus{background-color:#ebeff2}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{background-color:#ebeff2}.ios7-a{display:inline-block;padding:0 10px 0 5px;height:40px;vertical-align:middle;line-height:38px;cursor:pointer}#page{overflow:auto;position:absolute;top:0;left:0;bottom:0;right:0}#pageInner{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}#mainContainer{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;zoom:1}#search{border:#bababa 1px solid;background-color:#fff;white-space:nowrap;position:absolute;height:30px;left:3px;right:60px;margin-top:3px}#search label{display:none}#searchButton{border:0 none;width:16px;height:16px;overflow:hidden;cursor:pointer;position:absolute;right:3px;top:5px}#searchInput{border:0 none;overflow:hidden;position:absolute;right:20px;left:0;padding-left:10px;height:28px}#searchInput:focus{border:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}#notesAndSort{background-color:#eee;border-bottom:1px solid #ebeff2}#noteItemList{position:absolute;left:0;right:0;bottom:0;top:0;width:100%;overflow-y:hidden;background-color:#f7f7f7;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;padding:5px;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important;color:#000}#noteItemList .item-thumb{padding-left:10px;width:100px;overflow:hidden;position:absolute;right:0;height:100px;background-color:#fff;margin-right:5px}.item-thumb img{width:100px}#noteItemList .item-desc{position:absolute;left:0;right:100px;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;top:1px;padding:3px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-blog:hover{opacity:.8}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#editorTool{margin:0;padding:0;list-style:none}#editorTool li{display:inline-block}#noteTitle:focus{outline:0!important}#editor,#mdEditor{z-index:2;top:71px;bottom:0;right:0;left:0;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:10px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#mdEditor .navbar-default{height:auto!important;border:none!important}#mdEditor .layout-wrapper-l3{border:none!important}#editorContent{position:absolute;top:30px;bottom:10px;right:0;left:0;overflow:auto}#editor .mce-ifr{border:none;overflow:hidden!important}#editor .mce-tinymce{border:none}#mceToolbar,#wmd-button-bar{position:relative;height:30px;overflow:hidden;background-color:#fbfcf7}.mce-btn-small button{padding:5px 5px!important;line-height:20px!important}.mce-btn{background-color:#fbfcf7!important}.mce-menubtn.mce-btn-small span{line-height:20px!important}.mce-btn span{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif!important}.mce-primary button,.mce-primary button i{text-shadow:none}.mce-primary{background-color:#47a447!important;border-color:#398439!important}.mce-menu-item:hover,.mce-menu-item.mce-selected,.mce-menu-item:focus{background-color:#ebeff2}.mce-menu-item:hover span,.mce-menu-item.mce-selected span,.mce-menu-item:focus span{color:#000!important}.mce-menu-item-normal.mce-active{background-color:#ebeff2}.tool-split{display:inline-block;line-height:25px;color:#ddd}#tool{display:none;border-bottom:1px solid #ddd}#tag{height:40px;line-height:38px}#tag .dropdown{line-height:30px}#addTagInput{line-height:25px;display:none;padding:0;border:none;background-color:#fbfcf7}#addTagInput:focus{outline:0}.label-default{background-color:#464C5E}.label-red{background-color:#d9534f}.label-yellow{background-color:#f0ad4e}.label-blue{background-color:#428bca}.label-green{background-color:#5cb85c}.label{border-radius:0;font-weight:400}.label i{width:10px;cursor:pointer;font-style:normal;display:inline-block;padding-left:3px;opacity:0}.label i:hover{opacity:1}.leanoteNav{position:absolute;right:5px;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-right:2px}.leanoteNav h1{margin:0;font-size:18px;padding:3px;cursor:pointer}.leanoteNav i{padding:3px}.leanoteNav span{display:none}.leanoteNav .leanoteNavContent{display:none;overflow:auto}.leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}.leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}.leanoteNav.unfolder span{display:inline}.leanoteNav.unfolder .leanoteNavContent{display:block;min-height:30px}.leanoteNav ul{margin:0;padding-left:23px}.leanoteNav ul li{list-style-type:disc}.leanoteNav ul li a:hover{color:#0fb264}.leanoteNav ul .nav-h2{margin-left:20px}.leanoteNav ul .nav-h3{margin-left:30px}.leanoteNav ul .nav-h4{margin-left:40px}.leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#mdEditor .leanoteNav{top:10px;right:0}#noteRead{position:absolute;left:0;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadContainer{position:relative;width:100%;height:100%}#noteReadTop{position:absolute;height:60px;left:0;right:0;border-bottom:1px solid #ebeff2}#noteReadTitle{margin:3px 0}#noteReadContent{position:absolute;top:60px;bottom:0;right:0;left:0;overflow:auto;padding:3px}.fa-calendar{color:#666}.dropdown-menu .fa{width:15px}.dropdown-menu span,.dropdown-menu a,.dropdown-menu li{cursor:default}#topNav a{display:inline-block;line-height:60px}.tab-pane{padding:5px 0 0}.alert{margin-bottom:10px}.btn{border-radius:0!important}#notebookNavForNewNote li,#notebookNavForNewSharedNote>li{padding-left:0;border-bottom:1px solid #ebeff2}#notebookNavForNewNote>li:hover,#notebookNavForNewNote>li:focus,#notebookNavForNewSharedNote>li:hover,#notebookNavForNewSharedNote>li:focus{background:0 0}.new-note-left{padding:0 5px;width:95px;overflow:hidden;white-space:nowrap;border-right:1px dashed #ebeff2}.new-note-left:hover{background-color:#ebeff2}.new-note-right{padding:0 5px}.new-note-right:hover{background-color:#ebeff2}#historyList table{width:100%}#historyList .btns{border-top:1px dashed #eee;padding:5px 0}#left-column{width:100%!important}#editorMask{position:absolute;top:30px;bottom:0;right:-30px;left:0;background-color:#fbfcf7;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff}html,body{background-color:#fbfcf7;overflow:hidden}#right-column,#newNoteMarkdownBtn,#newShareNoteMarkdownBtn,.new-split,#editorMask,#sortType,#myProfile,#demoRegister{display:none}#mainMask{position:absolute;left:0;right:0;bottom:0;top:0;background-color:#fbfcf7;text-align:center;padding-top:100px;z-index:1000}#header{position:absolute;left:0;right:0;z-index:333;color:#ccc}#header #leanoteMsg{position:absolute;width:700px;left:0;right:0;text-align:right;line-height:60px;margin:auto}#newNoteWrap{line-height:40px;margin-top:10px;margin-left:10px}#newNoteWrap,#topNav,#lea{opacity:0}#newNoteWrap:hover,#topNav:hover,#lea:hover{opacity:1}#mainContainer{overflow-y:hidden}#newMyNote,#newSharedNote{position:relative}#newMyNote .dropdown,#newSharedNote .dropdown{position:static}.dropdown-menu{border:1px solid #ccc;background-color:#fbfcf7}#note{position:absolute;width:700px;margin:auto;height:100%;left:0;right:0}#editor,#mdEditor{position:absolute;top:60px;z-index:2;background-color:#fbfcf7}#wmd-input{border:none;background-color:#fbfcf7!important;font-size:16px!important}#md-section-helper{display:none}#mdEditorPreview{top:43px!important}#mceToolbar,#wmd-button-bar{height:40px;padding:5px 0}.editorBg{height:3px;background:url(/images/editor/editor-shadow.png) no-repeat center bottom #f9faf4}.mce-btn-small i,.mce-menubtn.mce-btn-small span,.wmd-button>span{opacity:.85}.mce-ico{font-size:18px;line-height:18px;width:18px;height:18px}.tool-split{line-height:30px}.mce-menubtn.mce-fixed-width.mce-btn-small span{width:80px}.mce-menubtn.mce-btn-small span{font-size:16px}#editorContent_ifr html{border:none!important}#noteTop{position:absolute;z-index:999;left:0;right:150px;padding:15px 0;height:59px}#noteTitleDiv{height:30px}#noteTitle{height:100%;padding:0 3px;width:100%;border:none;background-color:#fbfcf7}#noteList{position:fixed;top:0;bottom:0;left:10px;margin-top:60px;width:200px;z-index:0;opacity:.8;overflow-x:hidden;overflow-y:hidden}#noteList #notesAndSort{display:none}#noteList #noteItemListWrap{display:none}#notesAndSort{background:0 0}#noteItemList{background:0 0}#noteItemList .item{background:0 0}.item-active,#noteItemList .item-active:hover{background-color:#F5F8EA!important;color:#000}.item-active .item-desc .fa,#noteItemList .item-active:hover .item-desc .fa{color:#666!important}.item-active .item-title,#noteItemList .item-active:hover .item-title{color:#000}#leanoteNav{background-color:#fbfcf7;opacity:.3;right:-30px}.new-note-right{padding:0 2px}#loading{display:inline-block;width:20px;height:20px;content:url(../../images/loading-a-20-black.gif);margin-top:10px;visibility:hidden}#moreBtn{right:0!important}#toggleEditorMode{margin:0 10px!important}#upload{position:absolute;z-index:0;bottom:0;right:0;left:0;padding:0;background-color:#fff;text-align:center;display:none}#upload #drop{width:100%;height:100%;padding-top:100px}#drop.in{border:1px solid #000}#drop.hover{border:2px solid #000}#uploadMsg{position:absolute;top:3px;right:3px;bottom:10px;overflow:scroll;list-style:none}#searchNotebookForAddDropdownList{left:0}#searchNotebookForAdd{background:0 0}.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}}@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}}#editorContent{border:none}#editorContent .ace-tomorrow{background-color:#fbfcf7}#wmd-input>.editor-content{padding-top:20px}#editorContent{padding-top:10px}#editor #mceToolbar{height:40px}#editor #editorContent{top:40px}#editor.all-tool #mceToolbar{height:80px}#editor.all-tool #editorContent{top:80px} \ No newline at end of file +@font-face{font-family:leanote;src:url(../../fonts/leanote-font2/leanote.eot?-vcf23i);src:url(../../fonts/leanote-font2/leanote.eot?#iefix-vcf23i) format('embedded-opentype'),url(../../fonts/leanote-font2/leanote.ttf?-vcf23i) format('truetype'),url(../../fonts/leanote-font2/leanote.woff?-vcf23i) format('woff'),url(../../fonts/leanote-font2/leanote.svg?-vcf23i#leanote) format('svg');font-weight:400;font-style:normal}#logo,#switcher span,.mce-i-mind,.mce-i-ace-pre,.lea-icon{font-family:leanote!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-markdown:before{content:"\e604"}.mce-i-mind:before{content:"\e602"}.mce-i-ace-pre:before{content:"\e603"}#logo:before{content:"\e600";line-height:1;margin-top:5px;display:inline-block;vertical-align:top}#switcher span:before{content:"\e601"}.new-split{display:none}.new-note{background-color:#000;border-radius:3px;padding:3px 5px;border:1px solid #080303}.new-note,.new-note a{color:#fff}.new-note:hover{background:#3D3B3B;border-color:transparent}.new-note:hover,.new-note:hover a{color:#fff}.new-markdown{margin-left:3px;margin-right:3px}*,.h1,.h2,.h3,.h4,.h5,.h6{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif}body{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:400;font-size:16px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){body{font-weight:300}}h1,h2,h3{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:400!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.editor-content,.preview-container{-webkit-overflow-scrolling:touch!important}.btn *{cursor:pointer!important}.ios7-a{display:inline-block;padding:0 10px;height:36px;vertical-align:middle;line-height:36px;cursor:pointer}#tool{border-bottom:1px solid #ddd;height:36px;margin-left:-5px}#tag{height:36px;line-height:36px}#editor,#mdEditor{position:absolute;z-index:2;top:66px;bottom:0;right:0;left:5px;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:5px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#tag .dropdown{line-height:30px}.btn{border-radius:2px}.alert{margin-bottom:10px}#logo{font-size:36px}#switcher span{border-radius:5px;display:inline-block;cursor:pointer;font-size:18px;height:34px;line-height:34px;margin-top:8px;padding:0 5px}.noteSplit{position:absolute;top:0;width:5px;height:100%;overflow:hidden;z-index:3333;cursor:col-resize}.dropdown-menu{border-radius:3px;margin:0;border:1px solid #0fb264;box-shadow:rgba(0,0,0,.172549)0 6px 12px 0}.dropdown-menu:before{content:"";width:20px;height:12px;position:absolute;top:-12px;right:8px;background-image:url(../../images/triangle_2x.png);background-size:20px 12px}.dropdown-submenu .dropdown-menu:before{background:0 0}#searchNotebookForAddDropdownList,#searchNotebookForAddShareDropdownList{left:-200px}#searchNotebookForAddDropdownList:before,#searchNotebookForAddShareDropdownList:before{left:190px;right:inherit}.dropdown-menu li{list-style:none;padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu li>a{color:#000;display:block;padding-right:20px}.dropdown-menu>li>a{padding:3px 20px 3px 0}#notebookNavForNewNote li:hover{background:0 0}#noteList{position:absolute;bottom:0;top:0}#noteAndEditorMask{position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;text-align:center;padding-top:60px;opacity:.3;z-index:20;display:none}.dropdown-submenu{position:relative}.dropdown-submenu>ul.dropdown-menu{top:0;left:100%;margin-left:-3px!important;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding-top:10px!important}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropdown-submenu:after{display:block;content:" ";position:absolute;right:0;top:10px;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#666}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.open>.dropdown-menu,.dropdown-submenu:hover>.dropdown-menu{opacity:1;transform:scale(1,1);-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1)}.dropdown-menu{opacity:0;display:block;-webkit-transform:scale(0,0);-webkit-transform-origin:top;-webkit-animation-fill-mode:forwards;-webkit-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-o-transform:scale(0,0);-o-transform-origin:top;-o-animation-fill-mode:forwards;-o-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-moz-transform:scale(0,0);-moz-transform-origin:top;-moz-animation-fill-mode:forwards;-moz-transition:all .2s cubic-bezier(0.34,1.21,.4,1);transform:scale(0,0);transform-origin:top;animation-fill-mode:forwards;transition:all .2s cubic-bezier(0.34,1.21,.4,1)}.dropdown-list{width:530px;border-radius:3px}.dropdown-list ul{margin:0;padding:0}.dropdown-list ul li{float:left;width:120px;margin-left:10px;margin-bottom:10px;border:1px dashed #ccc}.new-note-right{padding:0 5px;padding-left:3px}#leanoteMsg{line-height:40px;margin-top:10px;margin-left:10px}#newNoteWrap{line-height:40px;margin-top:10px}#editorTool{margin:0;margin-right:5px;padding:0;list-style:none}#editorTool li{display:inline-block}#searchNotebookForAdd{line-height:normal;width:200px;margin:0 10px;margin-bottom:10px;height:30px;border-color:#ebeff2;box-shadow:none}#myNotebooks .folderBody{padding-top:3px}.folderBody{overflow-x:hidden}#searchNotebookForList{height:30px;width:90%;margin:3px auto;margin-top:0;border-color:#ebeff2;box-shadow:none}#noteItemList{user-select:none;-webkit-user-select:none;-moz-user-select:none}#noteItemList .item-setting,#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;padding:3px;border-radius:5px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-setting .fa,#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-setting:hover,#noteItemList .item-blog:hover{opacity:.8}#noteItemList .item-blog{top:1px}#noteItemList .item-setting{bottom:0;display:none}#noteItemList .item:hover .item-setting{display:block}.batch #noteItemList .item-active .item-setting,.batch #noteItemList .item-active:hover .item-setting{display:none}.batch #toggleEditorMode{display:none}.friend-header{position:relative}.friend-header .notebook-setting{display:none;position:absolute;right:0;left:auto}.friend-header:hover .notebook-setting{display:block}.each-user{margin-bottom:5px;margin-left:5px;margin-right:5px;margin-top:3px;border:1px solid #eee;border-radius:3px}.notebook-number-notes{position:absolute;right:10px;top:0;bottom:0;z-index:1;display:inline-block;line-height:20px!important;height:20px;margin-top:5px;padding:0 3px}.notebook-setting{display:none;position:absolute;right:1px;top:0;bottom:0;z-index:2;line-height:30px}.notebook-setting:before{content:"\f013"}.ztree li a:hover .notebook-setting{display:block}#myTag .folderBody{padding:0 3px;padding-bottom:3px}#myTag .folderBody li{margin-left:10px;padding:3px;line-height:normal}#notebookList{border-top:1px solid rgba(255,255,255,.05)}.ztree{padding:0}#upload{position:absolute;z-index:0;bottom:0;right:0;left:0;padding:0;background-color:#fff;text-align:center;display:none}#upload #drop{width:100%;height:100%;padding-top:100px}#drop.in{border:1px solid #000}#drop.hover{border:2px solid #000}#uploadMsg{position:absolute;top:3px;right:3px;bottom:10px;overflow:scroll;list-style:none}#uploadAttach{position:relative;margin-top:5px}.dropzone{text-align:center}.dropzone input{display:none}.dropzone.in{border:1px solid #000}.dropzone.hover{border:2px solid #000}#attachUploadMsg,#avatarUploadMsg{list-style-type:none;margin:0;padding:0;max-height:240px;z-index:3}#attachUploadMsg .alert,#avatarUploadMsg .alert{margin:0;padding:0 3px;margin-top:10px}#attachMenu{width:450px;padding:10px 5px}#attachList{margin:0;padding:0;max-height:450px;overflow-y:auto}#attachList li{display:block;margin:0;padding:0 3px;border-radius:3px;border-bottom:1px dashed #eee;height:45px;line-height:45px}#attachList li div{float:left}#attachList li .attach-title{width:290px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#attachList li .attach-process{float:right}#attachList li.loading{text-align:center}.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-ms-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;-moz-animation-name:fadeIn;-o-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes fadeInUp{0%{opacity:0;-moz-transform:translateY(20px)}100%{opacity:1;-moz-transform:translateY(0)}}@-o-keyframes fadeInUp{0%{opacity:0;-o-transform:translateY(20px)}100%{opacity:1;-o-transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}100%{opacity:1;transform:translateY(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;-moz-animation-name:fadeInUp;-o-animation-name:fadeInUp;animation-name:fadeInUp}#historyList img{max-width:100%}#avatar{height:60px;max-width:200px;display:inline-block;margin:10px}#noteReadTitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#noteReadInfo{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#666;margin-top:8px}.my-link,.new-markdown-text-abbr,.new-note-text-abbr{display:none}#myAvatar{height:30px;max-width:30px;overflow:hidden;border-radius:50%}#tool{position:relative}#tag{position:absolute;right:300px;top:0;left:5px;bottom:0}#tagColor{left:10px}#tagColor:before{content:"";background-image:none}#addTagInput{width:100px}#notesAndSort{height:36px}#noteItemListWrap{position:absolute;left:0;right:0;top:36px;bottom:3px}#mdEditorPreview{position:absolute;top:35px;left:0;right:0;bottom:0}#left-column,#right-column,#mdSplitter{position:absolute;top:0;bottom:0}#mdSplitter{width:5px;height:100%;overflow:hidden;z-index:5;cursor:col-resize;left:450px;background:0 0}#left-column{left:0;width:450px}#right-column{left:450px;right:0;overflow:hidden}.wmd-panel-editor,.preview-container,#wmd-input{height:100%}.wmd-input,.wmd-input:focus,#md-section-helper{width:100%;border:1px #eee solid;border-radius:5px;outline:0;font-size:14px;resize:none;overflow-x:hidden}#md-section-helper{position:absolute;height:0;overflow-y:scroll;padding:0 6px;top:10px;z-index:-1;opacity:none}.preview-container{overflow:auto}.wmd-preview{width:100%;font-size:14px;overflow:auto;overflow-x:hidden}.wmd-button-row,.preview-button-row{padding:0;height:auto;margin:0}.wmd-spacer{width:0;height:20px;margin-left:10px;background-color:Silver;display:inline-block;list-style:none}.wmd-button,.preview-button{width:20px;height:20px;display:inline-block;list-style:none;cursor:pointer;font-size:17px}.wmd-button{margin-left:10px}.preview-button{margin-right:10px}.wmd-button>span,.preview-button>span{width:20px;height:20px;display:inline-block;font-size:14px}.top-nav{margin:0 10px;display:inline-block;line-height:60px}.cm-item{position:relative}.cm-item .cm-text{position:absolute;left:23px;right:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cm-item .cm-text .c-text{display:initial}.b-m-mpanel{border-radius:3px}#noteItemList{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;overflow-y:hidden;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important}.item-active,#noteItemList .item-active:hover{background-color:#65bd77!important;color:#fff}.item-active .fa,#noteItemList .item-active:hover .fa{color:#eee!important}.item-active .item-title,#noteItemList .item-active:hover .item-title{color:#fff}#noteItemList .item-thumb{width:100px;overflow:hidden;position:absolute;z-index:1;right:0;top:4px;height:100px;background-color:#fff;margin-right:5px;line-height:100px;text-align:center}.item-thumb img{max-width:100px}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#noteItemList .item-desc{position:absolute;left:0;top:4px;right:0;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-image .item-desc{right:100px}.item-info{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.desc{margin:0;word-wrap:break-word}#editorMask{position:absolute;top:0;bottom:0;right:0;left:0;background-color:#fff;display:none;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff}.note-mask{position:absolute;top:0;bottom:0;right:0;left:0;z-index:-1}#noteMaskForLoading{padding-top:60px;background:#fff;text-align:center;opacity:.3}#themeForm td{padding:5px;text-align:center}#themeForm img{border:1px solid #eee;padding:2px}.dropdown-menu .divider{margin:3px 0}.ace_editor,.ace_editor *{font-family:Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro}.leanoteNav{position:absolute;right:0;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-top:4px}.leanoteNav h1{margin:0;font-size:16px;padding:3px;cursor:pointer}.leanoteNav i{padding:3px}.leanoteNav span{display:none}.leanoteNav .leanoteNavContent{display:none;overflow:auto}.leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}.leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}.leanoteNav.unfolder span{display:inline}.leanoteNav.unfolder .leanoteNavContent{display:block;min-height:30px}.leanoteNav ul{margin:0;padding-left:23px}.leanoteNav ul li{list-style-type:disc}.leanoteNav ul li a:hover{color:#0fb264}.leanoteNav ul .nav-h2{margin-left:20px}.leanoteNav ul .nav-h3{margin-left:30px}.leanoteNav ul .nav-h4{margin-left:40px}.leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#editorContent{border:1px solid #ccc;border-radius:5px;padding:5px;outline:0;margin-top:5px;bottom:5px!important}#editorContent pre{position:relative;-mo-height:auto!important}#editorContent pre .toggle-raw{position:absolute;left:2px;top:-2px;z-index:100;display:none}#editorContent pre:hover .toggle-raw{display:block}#editorContent *{font-family:inherit}.ace_invisible_space{visibility:hidden!important}.mce-tinymce-inline{border-width:0!important}#editorContent a{color:#2a6496;text-decoration:underline}#editorContent pre{font:12px / normal Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro,monospace;color:#4D4D4C}#editorContent .ace_searchbtn_close{margin:0}#editorContent .ace-tomorrow{padding:0;padding-left:44px}#editorContent .ace-to-pre{padding:0;padding-left:5px}#editorContent .ace_scrollbar-v{overflow-y:hidden}#editorContent .leanote-image-container{display:inline-block;width:100px}#editorContent .leanote-image-container .loader{display:inline-block;vertical-align:top;margin-right:3px;margin-top:5px}#editorContent .leanote-image-container .progress{display:inline-block;margin:0;width:80px}.close:focus{outline:0}#tagNav i,#tagNav em{font-style:normal}#tagNav .tag-delete{display:none;margin-left:3px;font-size:12px}#tagNav li:hover .tag-delete{display:inline-block}#tagNav a:hover{background:none!important}#listNotebookDropdownMenu{display:none}#moreBtn span{display:none}.mce-colorbtn-trans div{line-height:11px;text-align:center}.mce-btn-small .mce-caret{margin-top:8px}.mce-listbox.mce-btn-small .mce-caret{margin-top:-2px}.mce-btn i{text-shadow:none}.mce-colorbutton.mce-btn-small .mce-preview{width:15px}#noteList{z-index:333}#moreBtn{dispaly:block;position:absolute;cursor:pointer;right:5px;padding:3px 10px}.info-toolbar{position:absolute;top:0;left:0;right:0;bottom:0;line-height:30px;padding-left:5px;height:30px;display:none}.info-toolbar .toolbar-update{color:inherit;float:right;padding:0 10px}.info-toolbar .toolbar-update:hover{background:#fff;color:#000}.info-toolbar .created-time{display:inline-block;padding-right:10px}.invisible{visibility:hidden}#editorContent{-webkit-user-select:text}#editor.read-only #mceToolbarContainer{display:none}#editor.read-only .info-toolbar{display:block}#mdEditor.read-only .info-toolbar{display:block}#mdEditor.read-only .wmd-button-bar-inner,#mdEditor.read-only #mdSplitter2,#mdEditor.read-only .btn-info{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important}#mdEditor.read-only .preview-container{left:10px}#editor #mceToolbar{height:30px}#editor.all-tool #mceToolbar{height:60px}#editor.all-tool .more-fa:before{content:"\f106"}#editor.all-tool #editorContent{top:60px}#editor .more-fa:before{content:"\f107"}#note.read-only #editor,#note.read-only #mdEditor{top:60px}#note.read-only #tool{display:none}#note.read-only .toolbar-update{display:none}#note.read-only #noteReadTop{display:block}#note.read-only #infoToolbar,#note.read-only #mceToolbar,#note.read-only .navbar{display:none}#note.read-only #editorContent,#note.read-only #mdEditor .layout-wrapper-l3{top:0}#noteRead{position:absolute;left:5px;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadTop{position:absolute;height:60px;left:5px;right:0;top:0;bottom:0;z-index:2;display:none;background:#fff;padding-left:5px}#noteReadTitle{margin:3px 0;height:26px}#noteInfo{width:400px;box-sizing:border-box;padding:10px;-webkit-user-select:initial}#noteInfo table{width:100%;margin:0}#noteInfo table th{width:80px}#noteInfo table th,#noteInfo table td{border-top:none;border-bottom:1px solid #ddd}#noteInfo a{cursor:pointer}#noteInfo a.post-url{background:#FDF936}#noteInfo .post-url-wrap span{display:inline}#noteInfo .post-url-wrap input{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-pencil{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-text{display:none}#noteInfo .post-url-wrap.post-url-edit input{display:inline}.history-modal .modal-dialog{width:auto!important;position:absolute;left:5px;right:5px;top:5px;bottom:5px}.history-modal .modal-dialog .modal-content{position:absolute;left:0;right:0;top:0;bottom:0;margin:0;padding:0;overflow:scroll}.history-modal .modal-dialog .modal-content .modal-body{position:absolute;top:0;bottom:0;left:0;right:0;padding:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap{position:absolute;top:0;bottom:0;overflow-y:auto;width:200px;border-right:1px solid #ccc;box-shadow:1px 1px 10px #ddd}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list-header{line-height:50px;font-size:16px;font-weight:700;padding-left:15px;border-bottom:1px solid #eee;background-color:#ccc}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list{position:absolute;top:51px;bottom:0;left:0;right:0;overflow-y:auto;margin-bottom:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item{border-top:none}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item.active,.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item:hover{color:#000;background-color:#eee;border-color:#eee}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap{position:absolute;top:0;bottom:0;right:0;left:200px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .close{padding:10px 15px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .back{margin-left:10px;margin-top:5px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content-header{height:51px;border-bottom:1px solid #eee;box-shadow:5px 0 5px #ccc}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content{position:absolute;top:51px;bottom:0;right:0;left:0;padding-top:5px;padding-right:5px;padding-left:10px;overflow-y:auto}#batchMask{background:#fff;user-select:none;-webkit-user-select:none;-moz-user-select:none}.batch-ctn{position:relative;padding:50px;width:100%;height:100%}.batch-note{display:inline-block;width:160px;position:absolute;left:50%;border:1px solid #ccc;height:200px;padding:5px;border-radius:5px;background:#eee;overflow:hidden;transition:margin .5s;margin-left:-1000px}.batch-note .title{font-size:16px;margin-bottom:5px;font-weight:700}.batch-info{position:absolute;left:0;top:0;right:0;text-align:center;margin-top:300px}.batch-info p{margin-top:8px}.batch-info .fa{cursor:pointer;font-size:16px}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url(../../fonts/open-sans2/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url(../../fonts/open-sans2/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url(../../fonts/open-sans2/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url(../../fonts/open-sans2/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff) format('woff')}::selection{background:#000;color:#fff}::-moz-selection{background:#000;color:#fff}::-webkit-selection{background:#000;color:#fff}html,body{background-color:#fbfcf7}body{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:300;font-size:16px}a{color:#000;cursor:pointer}a:hover{text-decoration:none!important;color:#000}a.raw{color:#428bca}a.raw:hover{color:#2a6496}#header{height:60px;background-color:#fbfcf7;color:#fff;border-bottom:1px solid #ebeff2;webkit-user-select:none;-webkit-app-region:drag}#header a{color:#ccc}#header li{color:#000}#header li a{color:#000}#searchWrap,#logo,#switcher,#leftNotebook,.noteSplit{display:none}#header ul{margin:0;padding:0;list-style:none}#header ul li.dropdown{display:inline-block;height:60px}#header ul>li>a.dropdown-toggle{display:block;padding:15px 5px 0 0;position:relative}#header span.icon{display:inline-block;font-size:28px;color:#999}.dropdown-menu{border-radius:0;margin:0;-webkit-box-shadow:none;box-shadow:none;border:1px solid #0fb264;overflow:visible}.dropdown-menu li{padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu>li>a{color:#000;display:inline-block;padding:3px}.dropdown-menu>li:hover,.dropdown-menu>li:focus{background-color:#ebeff2}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{background-color:#ebeff2}.ios7-a{display:inline-block;padding:0 10px 0 5px;height:40px;vertical-align:middle;line-height:38px;cursor:pointer}#page{overflow:auto;position:absolute;top:0;left:0;bottom:0;right:0}#pageInner{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}#mainContainer{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;zoom:1}#search{border:#bababa 1px solid;background-color:#fff;white-space:nowrap;position:absolute;height:30px;left:3px;right:60px;margin-top:3px}#search label{display:none}#searchButton{border:0 none;width:16px;height:16px;overflow:hidden;cursor:pointer;position:absolute;right:3px;top:5px}#searchInput{border:0 none;overflow:hidden;position:absolute;right:20px;left:0;padding-left:10px;height:28px}#searchInput:focus{border:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}#notesAndSort{background-color:#eee;border-bottom:1px solid #ebeff2}#noteItemList{position:absolute;left:0;right:0;bottom:0;top:0;width:100%;overflow-y:hidden;background-color:#f7f7f7;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;padding:5px;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important;color:#000}#noteItemList .item-thumb{padding-left:10px;width:100px;overflow:hidden;position:absolute;right:0;height:100px;background-color:#fff;margin-right:5px}.item-thumb img{width:100px}#noteItemList .item-desc{position:absolute;left:0;right:100px;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;top:1px;padding:3px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-blog:hover{opacity:.8}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#editorTool{margin:0;padding:0;list-style:none}#editorTool li{display:inline-block}#noteTitle:focus{outline:0!important}#editor,#mdEditor{z-index:2;top:71px;bottom:0;right:0;left:0;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:10px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#mdEditor .navbar-default{height:auto!important;border:none!important}#mdEditor .layout-wrapper-l3{border:none!important}#editorContent{position:absolute;top:30px;bottom:10px;right:0;left:0;overflow:auto}#editor .mce-ifr{border:none;overflow:hidden!important}#editor .mce-tinymce{border:none}#mceToolbar,#wmd-button-bar{position:relative;height:30px;overflow:hidden;background-color:#fbfcf7}.mce-btn-small button{padding:5px 5px!important;line-height:20px!important}.mce-btn{background-color:#fbfcf7!important}.mce-menubtn.mce-btn-small span{line-height:20px!important}.mce-btn span{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif!important}.mce-primary button,.mce-primary button i{text-shadow:none}.mce-primary{background-color:#47a447!important;border-color:#398439!important}.mce-menu-item:hover,.mce-menu-item.mce-selected,.mce-menu-item:focus{background-color:#ebeff2}.mce-menu-item:hover span,.mce-menu-item.mce-selected span,.mce-menu-item:focus span{color:#000!important}.mce-menu-item-normal.mce-active{background-color:#ebeff2}.tool-split{display:inline-block;line-height:25px;color:#ddd}#tool{display:none;border-bottom:1px solid #ddd}#tag{height:40px;line-height:38px}#tag .dropdown{line-height:30px}#addTagInput{line-height:25px;display:none;padding:0;border:none;background-color:#fbfcf7}#addTagInput:focus{outline:0}.label-default{background-color:#464C5E}.label-red{background-color:#d9534f}.label-yellow{background-color:#f0ad4e}.label-blue{background-color:#428bca}.label-green{background-color:#5cb85c}.label{border-radius:0;font-weight:400}.label i{width:10px;cursor:pointer;font-style:normal;display:inline-block;padding-left:3px;opacity:0}.label i:hover{opacity:1}.leanoteNav{position:absolute;right:5px;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-right:2px}.leanoteNav h1{margin:0;font-size:18px;padding:3px;cursor:pointer}.leanoteNav i{padding:3px}.leanoteNav span{display:none}.leanoteNav .leanoteNavContent{display:none;overflow:auto}.leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}.leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}.leanoteNav.unfolder span{display:inline}.leanoteNav.unfolder .leanoteNavContent{display:block;min-height:30px}.leanoteNav ul{margin:0;padding-left:23px}.leanoteNav ul li{list-style-type:disc}.leanoteNav ul li a:hover{color:#0fb264}.leanoteNav ul .nav-h2{margin-left:20px}.leanoteNav ul .nav-h3{margin-left:30px}.leanoteNav ul .nav-h4{margin-left:40px}.leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#mdEditor .leanoteNav{top:10px;right:0}#noteRead{position:absolute;left:0;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadContainer{position:relative;width:100%;height:100%}#noteReadTop{position:absolute;height:60px;left:0;right:0;border-bottom:1px solid #ebeff2}#noteReadTitle{margin:3px 0}#noteReadContent{position:absolute;top:60px;bottom:0;right:0;left:0;overflow:auto;padding:3px}.fa-calendar{color:#666}.dropdown-menu .fa{width:15px}.dropdown-menu span,.dropdown-menu a,.dropdown-menu li{cursor:default}#topNav a{display:inline-block;line-height:60px}.tab-pane{padding:5px 0 0}.alert{margin-bottom:10px}.btn{border-radius:0!important}#notebookNavForNewNote li,#notebookNavForNewSharedNote>li{padding-left:0;border-bottom:1px solid #ebeff2}#notebookNavForNewNote>li:hover,#notebookNavForNewNote>li:focus,#notebookNavForNewSharedNote>li:hover,#notebookNavForNewSharedNote>li:focus{background:0 0}.new-note-left{padding:0 5px;width:95px;overflow:hidden;white-space:nowrap;border-right:1px dashed #ebeff2}.new-note-left:hover{background-color:#ebeff2}.new-note-right{padding:0 5px}.new-note-right:hover{background-color:#ebeff2}#historyList table{width:100%}#historyList .btns{border-top:1px dashed #eee;padding:5px 0}#left-column{width:100%!important}#editorMask{position:absolute;top:30px;bottom:0;right:-30px;left:0;background-color:#fbfcf7;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff}html,body{background-color:#fbfcf7;overflow:hidden}#right-column,#newNoteMarkdownBtn,#newShareNoteMarkdownBtn,.new-split,#editorMask,#sortType,#myProfile,#demoRegister{display:none}#mainMask{position:absolute;left:0;right:0;bottom:0;top:0;background-color:#fbfcf7;text-align:center;padding-top:100px;z-index:1000}#header{position:absolute;left:0;right:0;z-index:333;color:#ccc}#header #leanoteMsg{position:absolute;width:700px;left:0;right:0;text-align:right;line-height:60px;margin:auto}#newNoteWrap{line-height:40px;margin-top:10px;margin-left:10px}#newNoteWrap,#topNav,#lea{opacity:0}#newNoteWrap:hover,#topNav:hover,#lea:hover{opacity:1}#mainContainer{overflow-y:hidden}#newMyNote,#newSharedNote{position:relative}#newMyNote .dropdown,#newSharedNote .dropdown{position:static}.dropdown-menu{border:1px solid #ccc;background-color:#fbfcf7}#note{position:absolute;width:700px;margin:auto;height:100%;left:0;right:0}#editor,#mdEditor{position:absolute;top:60px;z-index:2;background-color:#fbfcf7}#wmd-input{border:none;background-color:#fbfcf7!important;font-size:16px!important}#md-section-helper{display:none}#mdEditorPreview{top:43px!important}#mceToolbar,#wmd-button-bar{height:40px;padding:5px 0}.editorBg{height:3px;background:url(/images/editor/editor-shadow.png) no-repeat center bottom #f9faf4}.mce-btn-small i,.mce-menubtn.mce-btn-small span,.wmd-button>span{opacity:.85}.mce-ico{font-size:18px;line-height:18px;width:18px;height:18px}.tool-split{line-height:30px}.mce-menubtn.mce-fixed-width.mce-btn-small span{width:80px}.mce-menubtn.mce-btn-small span{font-size:16px}#editorContent_ifr html{border:none!important}#noteTop{position:absolute;z-index:999;left:0;right:150px;padding:15px 0;height:59px}#noteTitleDiv{height:30px}#noteTitle{height:100%;padding:0 3px;width:100%;border:none;background-color:#fbfcf7}#noteList{position:fixed;top:0;bottom:0;left:10px;margin-top:60px;width:200px;z-index:0;opacity:.8;overflow-x:hidden;overflow-y:hidden}#noteList #notesAndSort{display:none}#noteList #noteItemListWrap{display:none}#notesAndSort{background:0 0}#noteItemList{background:0 0}#noteItemList .item{background:0 0}.item-active,#noteItemList .item-active:hover{background-color:#F5F8EA!important;color:#000}.item-active .item-desc .fa,#noteItemList .item-active:hover .item-desc .fa{color:#666!important}.item-active .item-title,#noteItemList .item-active:hover .item-title{color:#000}#leanoteNav{background-color:#fbfcf7;opacity:.3;right:-30px}.new-note-right{padding:0 2px}#loading{display:inline-block;width:20px;height:20px;content:url(../../images/loading-a-20-black.gif);margin-top:10px;visibility:hidden}#moreBtn{right:0!important}#toggleEditorMode{margin:0 10px!important}#upload{position:absolute;z-index:0;bottom:0;right:0;left:0;padding:0;background-color:#fff;text-align:center;display:none}#upload #drop{width:100%;height:100%;padding-top:100px}#drop.in{border:1px solid #000}#drop.hover{border:2px solid #000}#uploadMsg{position:absolute;top:3px;right:3px;bottom:10px;overflow:scroll;list-style:none}#searchNotebookForAddDropdownList{left:0}#searchNotebookForAdd{background:0 0}.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}}@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}}#editorContent{border:none}#editorContent .ace-tomorrow{background-color:#fbfcf7}#wmd-input>.editor-content{padding-top:20px}#editorContent{padding-top:10px}#editor #mceToolbar{height:40px}#editor #editorContent{top:40px}#editor.all-tool #mceToolbar{height:80px}#editor.all-tool #editorContent{top:80px} \ No newline at end of file diff --git a/public/css/theme/writting.css b/public/css/theme/writting.css index ae4dadb..6802aa6 100644 --- a/public/css/theme/writting.css +++ b/public/css/theme/writting.css @@ -1 +1 @@ -@font-face{font-family:leanote;src:url(../../fonts/leanote-font2/leanote.eot?-vcf23i);src:url(../../fonts/leanote-font2/leanote.eot?#iefix-vcf23i) format('embedded-opentype'),url(../../fonts/leanote-font2/leanote.ttf?-vcf23i) format('truetype'),url(../../fonts/leanote-font2/leanote.woff?-vcf23i) format('woff'),url(../../fonts/leanote-font2/leanote.svg?-vcf23i#leanote) format('svg');font-weight:400;font-style:normal}#logo,#switcher span,.mce-i-mind,.mce-i-ace-pre,.lea-icon{font-family:leanote!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-markdown:before{content:"\e604"}.mce-i-mind:before{content:"\e602"}.mce-i-ace-pre:before{content:"\e603"}#logo:before{content:"\e600";line-height:1;margin-top:5px;display:inline-block;vertical-align:top}#switcher span:before{content:"\e601"}.new-split{display:none}.new-note{background-color:#000;border-radius:3px;padding:3px 5px;border:1px solid #080303}.new-note,.new-note a{color:#fff}.new-note:hover{background:#3D3B3B;border-color:transparent}.new-note:hover,.new-note:hover a{color:#fff}.new-markdown{margin-left:3px;margin-right:3px}*,.h1,.h2,.h3,.h4,.h5,.h6{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif}body{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:400;font-size:16px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){body{font-weight:300}}h1,h2,h3{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:400!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.editor-content,.preview-container{-webkit-overflow-scrolling:touch!important}.btn *{cursor:pointer!important}.ios7-a{display:inline-block;padding:0 10px;height:36px;vertical-align:middle;line-height:36px;cursor:pointer}#tool{border-bottom:1px solid #ddd;height:36px;margin-left:-5px}#tag{height:36px;line-height:36px}#editor,#mdEditor{position:absolute;z-index:2;top:66px;bottom:0;right:0;left:5px;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:5px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#tag .dropdown{line-height:30px}.btn{border-radius:2px}.alert{margin-bottom:10px}#logo{font-size:36px}#switcher span{border-radius:5px;display:inline-block;cursor:pointer;font-size:18px;height:34px;line-height:34px;margin-top:8px;padding:0 5px}.noteSplit{position:absolute;top:0;width:5px;height:100%;overflow:hidden;z-index:3333;cursor:col-resize}.dropdown-menu{border-radius:3px;margin:0;border:1px solid #0fb264;box-shadow:rgba(0,0,0,.172549)0 6px 12px 0}.dropdown-menu:before{content:"";width:20px;height:12px;position:absolute;top:-12px;right:8px;background-image:url(../../images/triangle_2x.png);background-size:20px 12px}.dropdown-submenu .dropdown-menu:before{background:0 0}#searchNotebookForAddDropdownList,#searchNotebookForAddShareDropdownList{left:-200px}#searchNotebookForAddDropdownList:before,#searchNotebookForAddShareDropdownList:before{left:190px;right:inherit}.dropdown-menu li{list-style:none;padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu li>a{color:#000;display:block;padding-right:20px}.dropdown-menu>li>a{padding:3px 20px 3px 0}#notebookNavForNewNote li:hover{background:0 0}#noteList{position:absolute;bottom:0;top:0}#noteAndEditorMask{position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;text-align:center;padding-top:60px;opacity:.3;z-index:20;display:none}.dropdown-submenu{position:relative}.dropdown-submenu>ul.dropdown-menu{top:0;left:100%;margin-left:-3px!important;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding-top:10px!important}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropdown-submenu:after{display:block;content:" ";position:absolute;right:0;top:10px;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#666}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.open>.dropdown-menu,.dropdown-submenu:hover>.dropdown-menu{opacity:1;transform:scale(1,1);-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1)}.dropdown-menu{opacity:0;display:block;-webkit-transform:scale(0,0);-webkit-transform-origin:top;-webkit-animation-fill-mode:forwards;-webkit-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-o-transform:scale(0,0);-o-transform-origin:top;-o-animation-fill-mode:forwards;-o-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-moz-transform:scale(0,0);-moz-transform-origin:top;-moz-animation-fill-mode:forwards;-moz-transition:all .2s cubic-bezier(0.34,1.21,.4,1);transform:scale(0,0);transform-origin:top;animation-fill-mode:forwards;transition:all .2s cubic-bezier(0.34,1.21,.4,1)}.dropdown-list{width:530px;border-radius:3px}.dropdown-list ul{margin:0;padding:0}.dropdown-list ul li{float:left;width:120px;margin-left:10px;margin-bottom:10px;border:1px dashed #ccc}.new-note-right{padding:0 5px;padding-left:3px}#leanoteMsg{line-height:40px;margin-top:10px;margin-left:10px}#newNoteWrap{line-height:40px;margin-top:10px}#editorTool{margin:0;margin-right:5px;padding:0;list-style:none}#editorTool li{display:inline-block}#searchNotebookForAdd{line-height:normal;width:200px;margin:0 10px;margin-bottom:10px;height:30px;border-color:#ebeff2;box-shadow:none}#myNotebooks .folderBody{padding-top:3px}.folderBody{overflow-x:hidden}#searchNotebookForList{height:30px;width:90%;margin:3px auto;margin-top:0;border-color:#ebeff2;box-shadow:none}#noteItemList .item-setting,#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;padding:3px;border-radius:5px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-setting .fa,#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-setting:hover,#noteItemList .item-blog:hover{opacity:.8}#noteItemList .item-blog{top:1px}#noteItemList .item-setting{bottom:0;display:none}#noteItemList .item:hover .item-setting{display:block}.friend-header{position:relative}.friend-header .notebook-setting{display:none;position:absolute;right:0;left:auto}.friend-header:hover .notebook-setting{display:block}.each-user{margin-bottom:5px;margin-left:5px;margin-right:5px;margin-top:3px;border:1px solid #eee;border-radius:3px}.notebook-number-notes{position:absolute;right:10px;top:0;bottom:0;z-index:1;display:inline-block;line-height:20px!important;height:20px;margin-top:5px;padding:0 3px}.notebook-setting{display:none;position:absolute;right:1px;top:0;bottom:0;z-index:2;line-height:30px}.notebook-setting:before{content:"\f013"}.ztree li a:hover .notebook-setting{display:block}#myTag .folderBody{padding:0 3px;padding-bottom:3px}#myTag .folderBody li{margin-left:10px;padding:3px;line-height:normal}#notebookList{border-top:1px solid rgba(255,255,255,.05)}.ztree{padding:0}#upload{position:absolute;z-index:0;bottom:0;right:0;left:0;padding:0;background-color:#fff;text-align:center;display:none}#upload #drop{width:100%;height:100%;padding-top:100px}#drop.in{border:1px solid #000}#drop.hover{border:2px solid #000}#uploadMsg{position:absolute;top:3px;right:3px;bottom:10px;overflow:scroll;list-style:none}#uploadAttach{position:relative;margin-top:5px}.dropzone{text-align:center}.dropzone input{display:none}.dropzone.in{border:1px solid #000}.dropzone.hover{border:2px solid #000}#attachUploadMsg,#avatarUploadMsg{list-style-type:none;margin:0;padding:0;max-height:240px;z-index:3}#attachUploadMsg .alert,#avatarUploadMsg .alert{margin:0;padding:0 3px;margin-top:10px}#attachMenu{width:450px;padding:10px 5px}#attachList{margin:0;padding:0;max-height:450px;overflow-y:auto}#attachList li{display:block;margin:0;padding:0 3px;border-radius:3px;border-bottom:1px dashed #eee;height:45px;line-height:45px}#attachList li div{float:left}#attachList li .attach-title{width:290px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#attachList li .attach-process{float:right}#attachList li.loading{text-align:center}.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-ms-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;-moz-animation-name:fadeIn;-o-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes fadeInUp{0%{opacity:0;-moz-transform:translateY(20px)}100%{opacity:1;-moz-transform:translateY(0)}}@-o-keyframes fadeInUp{0%{opacity:0;-o-transform:translateY(20px)}100%{opacity:1;-o-transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}100%{opacity:1;transform:translateY(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;-moz-animation-name:fadeInUp;-o-animation-name:fadeInUp;animation-name:fadeInUp}#historyList img{max-width:100%}#avatar{height:60px;max-width:200px;display:inline-block;margin:10px}#noteReadTitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#noteReadInfo{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#666;margin-top:8px}.my-link,.new-markdown-text-abbr,.new-note-text-abbr{display:none}#myAvatar{height:30px;max-width:30px;overflow:hidden;border-radius:50%}#tool{position:relative}#tag{position:absolute;right:300px;top:0;left:5px;bottom:0}#tagColor{left:10px}#tagColor:before{content:"";background-image:none}#addTagInput{width:100px}#notesAndSort{height:36px}#noteItemListWrap{position:absolute;left:0;right:0;top:36px;bottom:3px}#mdEditorPreview{position:absolute;top:35px;left:0;right:0;bottom:0}#left-column,#right-column,#mdSplitter{position:absolute;top:0;bottom:0}#mdSplitter{width:5px;height:100%;overflow:hidden;z-index:5;cursor:col-resize;left:450px;background:0 0}#left-column{left:0;width:450px}#right-column{left:450px;right:0;overflow:hidden}.wmd-panel-editor,.preview-container,#wmd-input{height:100%}.wmd-input,.wmd-input:focus,#md-section-helper{width:100%;border:1px #eee solid;border-radius:5px;outline:0;font-size:14px;resize:none;overflow-x:hidden}#md-section-helper{position:absolute;height:0;overflow-y:scroll;padding:0 6px;top:10px;z-index:-1;opacity:none}.preview-container{overflow:auto}.wmd-preview{width:100%;font-size:14px;overflow:auto;overflow-x:hidden}.wmd-button-row,.preview-button-row{padding:0;height:auto;margin:0}.wmd-spacer{width:0;height:20px;margin-left:10px;background-color:Silver;display:inline-block;list-style:none}.wmd-button,.preview-button{width:20px;height:20px;display:inline-block;list-style:none;cursor:pointer;font-size:17px}.wmd-button{margin-left:10px}.preview-button{margin-right:10px}.wmd-button>span,.preview-button>span{width:20px;height:20px;display:inline-block;font-size:14px}.top-nav{margin:0 10px;display:inline-block;line-height:60px}.cm-item{position:relative}.cm-item .cm-text{position:absolute;left:23px;right:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cm-item .cm-text .c-text{display:initial}.b-m-mpanel{border-radius:3px}#noteItemList{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;overflow-y:hidden;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important}.item-active,#noteItemList .item-active:hover{background-color:#65bd77!important;color:#fff}.item-active .fa,#noteItemList .item-active:hover .fa{color:#eee!important}.item-active .item-title,#noteItemList .item-active:hover .item-title{color:#fff}#noteItemList .item-thumb{width:100px;overflow:hidden;position:absolute;z-index:1;right:0;top:4px;height:100px;background-color:#fff;margin-right:5px;line-height:100px;text-align:center}.item-thumb img{max-width:100px}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#noteItemList .item-desc{position:absolute;left:0;top:4px;right:0;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-image .item-desc{right:100px}.item-info{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.desc{margin:0;word-wrap:break-word}#editorMask{position:absolute;top:0;bottom:0;right:0;left:0;background-color:#fff;display:none;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff}.note-mask{position:absolute;top:0;bottom:0;right:0;left:3px;z-index:-1}#noteMaskForLoading{padding-top:60px;background:#fff;text-align:center;opacity:.3}#themeForm td{padding:5px;text-align:center}#themeForm img{border:1px solid #eee;padding:2px}.dropdown-menu .divider{margin:3px 0}.ace_editor,.ace_editor *{font-family:Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro}.leanoteNav{position:absolute;right:0;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-top:4px}.leanoteNav h1{margin:0;font-size:16px;padding:3px;cursor:pointer}.leanoteNav i{padding:3px}.leanoteNav span{display:none}.leanoteNav .leanoteNavContent{display:none;overflow:auto}.leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}.leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}.leanoteNav.unfolder span{display:inline}.leanoteNav.unfolder .leanoteNavContent{display:block;min-height:30px}.leanoteNav ul{margin:0;padding-left:23px}.leanoteNav ul li{list-style-type:disc}.leanoteNav ul li a:hover{color:#0fb264}.leanoteNav ul .nav-h2{margin-left:20px}.leanoteNav ul .nav-h3{margin-left:30px}.leanoteNav ul .nav-h4{margin-left:40px}.leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#editorContent{border:1px solid #ccc;border-radius:5px;padding:5px;outline:0;margin-top:5px;bottom:5px!important}#editorContent pre{position:relative;-mo-height:auto!important}#editorContent pre .toggle-raw{position:absolute;left:2px;top:-2px;z-index:100;display:none}#editorContent pre:hover .toggle-raw{display:block}#editorContent *{font-family:inherit}.ace_invisible_space{visibility:hidden!important}.mce-tinymce-inline{border-width:0!important}#editorContent a{color:#2a6496;text-decoration:underline}#editorContent pre{font:12px / normal Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro,monospace;color:#4D4D4C}#editorContent .ace_searchbtn_close{margin:0}#editorContent .ace-tomorrow{padding:0;padding-left:44px}#editorContent .ace-to-pre{padding:0;padding-left:5px}#editorContent .ace_scrollbar-v{overflow-y:hidden}#editorContent .leanote-image-container{display:inline-block;width:100px}#editorContent .leanote-image-container .loader{display:inline-block;vertical-align:top;margin-right:3px;margin-top:5px}#editorContent .leanote-image-container .progress{display:inline-block;margin:0;width:80px}.close:focus{outline:0}#tagNav i,#tagNav em{font-style:normal}#tagNav .tag-delete{display:none;margin-left:3px;font-size:12px}#tagNav li:hover .tag-delete{display:inline-block}#tagNav a:hover{background:none!important}#listNotebookDropdownMenu{display:none}#moreBtn span{display:none}.mce-colorbtn-trans div{line-height:11px;text-align:center}.mce-btn-small .mce-caret{margin-top:8px}.mce-listbox.mce-btn-small .mce-caret{margin-top:-2px}.mce-btn i{text-shadow:none}.mce-colorbutton.mce-btn-small .mce-preview{width:15px}#noteList{z-index:333}#moreBtn{dispaly:block;position:absolute;cursor:pointer;right:5px;padding:3px 10px}.info-toolbar{position:absolute;top:0;left:0;right:0;bottom:0;line-height:30px;padding-left:5px;height:30px;display:none}.info-toolbar .toolbar-update{color:inherit;float:right;padding:0 10px}.info-toolbar .toolbar-update:hover{background:#fff;color:#000}.info-toolbar .created-time{display:inline-block;padding-right:10px}.invisible{visibility:hidden}#editorContent{-webkit-user-select:text}#editor.read-only #mceToolbarContainer{display:none}#editor.read-only .info-toolbar{display:block}#mdEditor.read-only .info-toolbar{display:block}#mdEditor.read-only .wmd-button-bar-inner,#mdEditor.read-only #mdSplitter2,#mdEditor.read-only .btn-info{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important}#mdEditor.read-only .preview-container{left:10px}#editor #mceToolbar{height:30px}#editor.all-tool #mceToolbar{height:60px}#editor.all-tool .more-fa:before{content:"\f106"}#editor.all-tool #editorContent{top:60px}#editor .more-fa:before{content:"\f107"}#note.read-only #editor,#note.read-only #mdEditor{top:60px}#note.read-only #tool{display:none}#note.read-only .toolbar-update{display:none}#note.read-only #noteReadTop{display:block}#note.read-only #infoToolbar,#note.read-only #mceToolbar,#note.read-only .navbar{display:none}#note.read-only #editorContent,#note.read-only #mdEditor .layout-wrapper-l3{top:0}#noteRead{position:absolute;left:5px;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadTop{position:absolute;height:60px;left:5px;right:0;top:0;bottom:0;z-index:2;display:none;background:#fff;padding-left:5px}#noteReadTitle{margin:3px 0;height:26px}#noteInfo{width:400px;box-sizing:border-box;padding:10px;-webkit-user-select:initial}#noteInfo table{width:100%;margin:0}#noteInfo table th{width:80px}#noteInfo table th,#noteInfo table td{border-top:none;border-bottom:1px solid #ddd}#noteInfo a{cursor:pointer}#noteInfo a.post-url{background:#FDF936}#noteInfo .post-url-wrap span{display:inline}#noteInfo .post-url-wrap input{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-pencil{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-text{display:none}#noteInfo .post-url-wrap.post-url-edit input{display:inline}.history-modal .modal-dialog{width:auto!important;position:absolute;left:5px;right:5px;top:5px;bottom:5px}.history-modal .modal-dialog .modal-content{position:absolute;left:0;right:0;top:0;bottom:0;margin:0;padding:0;overflow:scroll}.history-modal .modal-dialog .modal-content .modal-body{position:absolute;top:0;bottom:0;left:0;right:0;padding:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap{position:absolute;top:0;bottom:0;overflow-y:auto;width:200px;border-right:1px solid #ccc;box-shadow:1px 1px 10px #ddd}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list-header{line-height:50px;font-size:16px;font-weight:700;padding-left:15px;border-bottom:1px solid #eee;background-color:#ccc}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list{position:absolute;top:51px;bottom:0;left:0;right:0;overflow-y:auto;margin-bottom:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item{border-top:none}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item.active,.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item:hover{color:#000;background-color:#eee;border-color:#eee}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap{position:absolute;top:0;bottom:0;right:0;left:200px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .close{padding:10px 15px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .back{margin-left:10px;margin-top:5px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content-header{height:51px;border-bottom:1px solid #eee;box-shadow:5px 0 5px #ccc}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content{position:absolute;top:51px;bottom:0;right:0;left:0;padding-top:5px;padding-right:5px;padding-left:10px;overflow-y:auto}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url(../../fonts/open-sans2/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url(../../fonts/open-sans2/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url(../../fonts/open-sans2/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url(../../fonts/open-sans2/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff) format('woff')}::selection{background:#000;color:#fff}::-moz-selection{background:#000;color:#fff}::-webkit-selection{background:#000;color:#fff}html,body{background-color:#fbfcf7}*,body{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:300;font-size:16px}h1,h2,h3{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:300!important}a{color:#000;cursor:pointer}a:hover{text-decoration:none!important;color:#000}a.raw{color:#428bca}a.raw:hover{color:#2a6496}#header{height:60px;background-color:#fbfcf7;color:#fff;border-bottom:1px solid #ebeff2;webkit-user-select:none;-webkit-app-region:drag}#header a{color:#ccc}#header li{color:#000}#header li a{color:#000}#searchWrap,#logo,#switcher,#leftNotebook,.noteSplit{display:none}#header ul{margin:0;padding:0;list-style:none}#header ul li.dropdown{display:inline-block;height:60px}#header ul>li>a.dropdown-toggle{display:block;padding:15px 5px 0 0;position:relative}#header span.icon{display:inline-block;font-size:28px;color:#999}.dropdown-menu{border-radius:0;margin:0;-webkit-box-shadow:none;box-shadow:none;border:1px solid #0fb264;overflow-x:hidden;overflow-y:auto}.dropdown-menu li{padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu>li>a{color:#000;display:inline-block;padding:3px}.dropdown-menu>li:hover,.dropdown-menu>li:focus{background-color:#ebeff2}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{background-color:#ebeff2}.ios7-a{display:inline-block;padding:0 10px 0 5px;height:40px;vertical-align:middle;line-height:38px;cursor:pointer}#page{overflow:auto;position:absolute;top:0;left:0;bottom:0;right:0}#pageInner{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}#mainContainer{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;zoom:1}#search{border:#bababa 1px solid;background-color:#fff;white-space:nowrap;position:absolute;height:30px;left:3px;right:60px;margin-top:3px}#search label{display:none}#searchButton{border:0 none;width:16px;height:16px;overflow:hidden;cursor:pointer;position:absolute;right:3px;top:5px}#searchInput{border:0 none;overflow:hidden;position:absolute;right:20px;left:0;padding-left:10px;height:28px}#searchInput:focus{border:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}#notesAndSort{background-color:#eee;border-bottom:1px solid #ebeff2}#noteItemList{position:absolute;left:0;right:0;bottom:0;top:0;width:100%;overflow-y:hidden;background-color:#f7f7f7;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;padding:5px;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important;color:#000}#noteItemList .item-thumb{padding-left:10px;width:100px;overflow:hidden;position:absolute;right:0;height:100px;background-color:#fff;margin-right:5px}.item-thumb img{width:100px}#noteItemList .item-desc{position:absolute;left:0;right:100px;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;top:1px;padding:3px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-blog:hover{opacity:.8}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#editorTool{margin:0;padding:0;list-style:none}#editorTool li{display:inline-block}#noteTitle:focus{outline:0!important}#editor,#mdEditor{z-index:2;top:71px;bottom:0;right:0;left:0;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:10px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#editorContent{position:absolute;top:30px;bottom:10px;right:0;left:0;overflow:auto}#editor .mce-ifr{border:none;overflow:hidden!important}#editor .mce-tinymce{border:none}#mceToolbar,#wmd-button-bar{position:relative;height:30px;overflow:hidden;background-color:#fbfcf7}.mce-btn-small button{padding:5px 5px!important;line-height:20px!important}.mce-btn{background-color:#fbfcf7!important}.mce-menubtn.mce-btn-small span{line-height:20px!important}.mce-btn span{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif!important}.mce-primary button,.mce-primary button i{text-shadow:none}.mce-primary{background-color:#47a447!important;border-color:#398439!important}.mce-menu-item:hover,.mce-menu-item.mce-selected,.mce-menu-item:focus{background-color:#ebeff2}.mce-menu-item:hover span,.mce-menu-item.mce-selected span,.mce-menu-item:focus span{color:#000!important}.mce-menu-item-normal.mce-active{background-color:#ebeff2}.tool-split{display:inline-block;line-height:25px;color:#ddd}#tool{display:none;border-bottom:1px solid #ddd}#tag{height:40px;line-height:38px}#tag .dropdown{line-height:30px}#addTagInput{line-height:25px;display:none;padding:0;border:none;background-color:#fbfcf7}#addTagInput:focus{outline:0}.label-default{background-color:#464C5E}.label-red{background-color:#d9534f}.label-yellow{background-color:#f0ad4e}.label-blue{background-color:#428bca}.label-green{background-color:#5cb85c}.label{border-radius:0;font-weight:400}.label i{width:10px;cursor:pointer;font-style:normal;display:inline-block;padding-left:3px;opacity:0}.label i:hover{opacity:1}#leanoteNav{position:absolute;right:5px;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-right:2px}#leanoteNav h1{margin:0;font-size:18px;padding:3px;cursor:pointer}#leanoteNav i{padding:3px}#leanoteNav span{display:none}#leanoteNav #leanoteNavContent{display:none;overflow:auto}#leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}#leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}#leanoteNav.unfolder span{display:inline}#leanoteNav.unfolder #leanoteNavContent{display:block;min-height:30px}#leanoteNav ul{margin:0;padding-left:23px}#leanoteNav ul li{list-style-type:disc}#leanoteNav ul li a:hover{color:#0fb264}#leanoteNav ul .nav-h2{margin-left:20px}#leanoteNav ul .nav-h3{margin-left:30px}#leanoteNav ul .nav-h4{margin-left:40px}#leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#noteRead{position:absolute;left:0;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadContainer{position:relative;width:100%;height:100%}#noteReadTop{position:absolute;height:60px;left:0;right:0;border-bottom:1px solid #ebeff2}#noteReadTitle{margin:3px 0}#noteReadContent{position:absolute;top:60px;bottom:0;right:0;left:0;overflow:auto;padding:3px}.fa-calendar{color:#666}.dropdown-menu .fa{width:15px}.dropdown-menu span,.dropdown-menu a,.dropdown-menu li{cursor:default}#topNav a{display:inline-block;line-height:60px}.tab-pane{padding:5px 0 0}.alert{margin-bottom:10px}.btn{border-radius:0!important}#notebookNavForNewNote li,#notebookNavForNewSharedNote>li{padding-left:0;border-bottom:1px solid #ebeff2}#notebookNavForNewNote>li:hover,#notebookNavForNewNote>li:focus,#notebookNavForNewSharedNote>li:hover,#notebookNavForNewSharedNote>li:focus{background:0 0}.new-note-left{padding:0 5px;width:95px;overflow:hidden;white-space:nowrap;border-right:1px dashed #ebeff2}.new-note-left:hover{background-color:#ebeff2}.new-note-right{padding:0 5px}.new-note-right:hover{background-color:#ebeff2}#historyList table{width:100%}#historyList .btns{border-top:1px dashed #eee;padding:5px 0}#left-column{width:100%!important}#editorMask{position:absolute;top:0;bottom:0;right:0;left:0;background-color:#fff;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff} \ No newline at end of file +@font-face{font-family:leanote;src:url(../../fonts/leanote-font2/leanote.eot?-vcf23i);src:url(../../fonts/leanote-font2/leanote.eot?#iefix-vcf23i) format('embedded-opentype'),url(../../fonts/leanote-font2/leanote.ttf?-vcf23i) format('truetype'),url(../../fonts/leanote-font2/leanote.woff?-vcf23i) format('woff'),url(../../fonts/leanote-font2/leanote.svg?-vcf23i#leanote) format('svg');font-weight:400;font-style:normal}#logo,#switcher span,.mce-i-mind,.mce-i-ace-pre,.lea-icon{font-family:leanote!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-markdown:before{content:"\e604"}.mce-i-mind:before{content:"\e602"}.mce-i-ace-pre:before{content:"\e603"}#logo:before{content:"\e600";line-height:1;margin-top:5px;display:inline-block;vertical-align:top}#switcher span:before{content:"\e601"}.new-split{display:none}.new-note{background-color:#000;border-radius:3px;padding:3px 5px;border:1px solid #080303}.new-note,.new-note a{color:#fff}.new-note:hover{background:#3D3B3B;border-color:transparent}.new-note:hover,.new-note:hover a{color:#fff}.new-markdown{margin-left:3px;margin-right:3px}*,.h1,.h2,.h3,.h4,.h5,.h6{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif}body{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:400;font-size:16px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){body{font-weight:300}}h1,h2,h3{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:400!important}#noteItemList,#notebook,#leftNotebook,.slimScrollDiv,#editorContent,#editorContent_ifr,.mce-edit-area,.mce-container-body,.mce-tinymce,#editor .mce-ifr,.wmd-input,#noteReadContent,#attachList,#tags,.editor-content,.preview-container{-webkit-overflow-scrolling:touch!important}.btn *{cursor:pointer!important}.ios7-a{display:inline-block;padding:0 10px;height:36px;vertical-align:middle;line-height:36px;cursor:pointer}#tool{border-bottom:1px solid #ddd;height:36px;margin-left:-5px}#tag{height:36px;line-height:36px}#editor,#mdEditor{position:absolute;z-index:2;top:66px;bottom:0;right:0;left:5px;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:5px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#tag .dropdown{line-height:30px}.btn{border-radius:2px}.alert{margin-bottom:10px}#logo{font-size:36px}#switcher span{border-radius:5px;display:inline-block;cursor:pointer;font-size:18px;height:34px;line-height:34px;margin-top:8px;padding:0 5px}.noteSplit{position:absolute;top:0;width:5px;height:100%;overflow:hidden;z-index:3333;cursor:col-resize}.dropdown-menu{border-radius:3px;margin:0;border:1px solid #0fb264;box-shadow:rgba(0,0,0,.172549)0 6px 12px 0}.dropdown-menu:before{content:"";width:20px;height:12px;position:absolute;top:-12px;right:8px;background-image:url(../../images/triangle_2x.png);background-size:20px 12px}.dropdown-submenu .dropdown-menu:before{background:0 0}#searchNotebookForAddDropdownList,#searchNotebookForAddShareDropdownList{left:-200px}#searchNotebookForAddDropdownList:before,#searchNotebookForAddShareDropdownList:before{left:190px;right:inherit}.dropdown-menu li{list-style:none;padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu li>a{color:#000;display:block;padding-right:20px}.dropdown-menu>li>a{padding:3px 20px 3px 0}#notebookNavForNewNote li:hover{background:0 0}#noteList{position:absolute;bottom:0;top:0}#noteAndEditorMask{position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;text-align:center;padding-top:60px;opacity:.3;z-index:20;display:none}.dropdown-submenu{position:relative}.dropdown-submenu>ul.dropdown-menu{top:0;left:100%;margin-left:-3px!important;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding-top:10px!important}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropdown-submenu:after{display:block;content:" ";position:absolute;right:0;top:10px;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#666}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.open>.dropdown-menu,.dropdown-submenu:hover>.dropdown-menu{opacity:1;transform:scale(1,1);-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1)}.dropdown-menu{opacity:0;display:block;-webkit-transform:scale(0,0);-webkit-transform-origin:top;-webkit-animation-fill-mode:forwards;-webkit-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-o-transform:scale(0,0);-o-transform-origin:top;-o-animation-fill-mode:forwards;-o-transition:all .2s cubic-bezier(0.34,1.21,.4,1);-moz-transform:scale(0,0);-moz-transform-origin:top;-moz-animation-fill-mode:forwards;-moz-transition:all .2s cubic-bezier(0.34,1.21,.4,1);transform:scale(0,0);transform-origin:top;animation-fill-mode:forwards;transition:all .2s cubic-bezier(0.34,1.21,.4,1)}.dropdown-list{width:530px;border-radius:3px}.dropdown-list ul{margin:0;padding:0}.dropdown-list ul li{float:left;width:120px;margin-left:10px;margin-bottom:10px;border:1px dashed #ccc}.new-note-right{padding:0 5px;padding-left:3px}#leanoteMsg{line-height:40px;margin-top:10px;margin-left:10px}#newNoteWrap{line-height:40px;margin-top:10px}#editorTool{margin:0;margin-right:5px;padding:0;list-style:none}#editorTool li{display:inline-block}#searchNotebookForAdd{line-height:normal;width:200px;margin:0 10px;margin-bottom:10px;height:30px;border-color:#ebeff2;box-shadow:none}#myNotebooks .folderBody{padding-top:3px}.folderBody{overflow-x:hidden}#searchNotebookForList{height:30px;width:90%;margin:3px auto;margin-top:0;border-color:#ebeff2;box-shadow:none}#noteItemList{user-select:none;-webkit-user-select:none;-moz-user-select:none}#noteItemList .item-setting,#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;padding:3px;border-radius:5px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-setting .fa,#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-setting:hover,#noteItemList .item-blog:hover{opacity:.8}#noteItemList .item-blog{top:1px}#noteItemList .item-setting{bottom:0;display:none}#noteItemList .item:hover .item-setting{display:block}.batch #noteItemList .item-active .item-setting,.batch #noteItemList .item-active:hover .item-setting{display:none}.batch #toggleEditorMode{display:none}.friend-header{position:relative}.friend-header .notebook-setting{display:none;position:absolute;right:0;left:auto}.friend-header:hover .notebook-setting{display:block}.each-user{margin-bottom:5px;margin-left:5px;margin-right:5px;margin-top:3px;border:1px solid #eee;border-radius:3px}.notebook-number-notes{position:absolute;right:10px;top:0;bottom:0;z-index:1;display:inline-block;line-height:20px!important;height:20px;margin-top:5px;padding:0 3px}.notebook-setting{display:none;position:absolute;right:1px;top:0;bottom:0;z-index:2;line-height:30px}.notebook-setting:before{content:"\f013"}.ztree li a:hover .notebook-setting{display:block}#myTag .folderBody{padding:0 3px;padding-bottom:3px}#myTag .folderBody li{margin-left:10px;padding:3px;line-height:normal}#notebookList{border-top:1px solid rgba(255,255,255,.05)}.ztree{padding:0}#upload{position:absolute;z-index:0;bottom:0;right:0;left:0;padding:0;background-color:#fff;text-align:center;display:none}#upload #drop{width:100%;height:100%;padding-top:100px}#drop.in{border:1px solid #000}#drop.hover{border:2px solid #000}#uploadMsg{position:absolute;top:3px;right:3px;bottom:10px;overflow:scroll;list-style:none}#uploadAttach{position:relative;margin-top:5px}.dropzone{text-align:center}.dropzone input{display:none}.dropzone.in{border:1px solid #000}.dropzone.hover{border:2px solid #000}#attachUploadMsg,#avatarUploadMsg{list-style-type:none;margin:0;padding:0;max-height:240px;z-index:3}#attachUploadMsg .alert,#avatarUploadMsg .alert{margin:0;padding:0 3px;margin-top:10px}#attachMenu{width:450px;padding:10px 5px}#attachList{margin:0;padding:0;max-height:450px;overflow-y:auto}#attachList li{display:block;margin:0;padding:0 3px;border-radius:3px;border-bottom:1px dashed #eee;height:45px;line-height:45px}#attachList li div{float:left}#attachList li .attach-title{width:290px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#attachList li .attach-process{float:right}#attachList li.loading{text-align:center}.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-ms-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;-moz-animation-name:fadeIn;-o-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes fadeInUp{0%{opacity:0;-moz-transform:translateY(20px)}100%{opacity:1;-moz-transform:translateY(0)}}@-o-keyframes fadeInUp{0%{opacity:0;-o-transform:translateY(20px)}100%{opacity:1;-o-transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}100%{opacity:1;transform:translateY(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;-moz-animation-name:fadeInUp;-o-animation-name:fadeInUp;animation-name:fadeInUp}#historyList img{max-width:100%}#avatar{height:60px;max-width:200px;display:inline-block;margin:10px}#noteReadTitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#noteReadInfo{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#666;margin-top:8px}.my-link,.new-markdown-text-abbr,.new-note-text-abbr{display:none}#myAvatar{height:30px;max-width:30px;overflow:hidden;border-radius:50%}#tool{position:relative}#tag{position:absolute;right:300px;top:0;left:5px;bottom:0}#tagColor{left:10px}#tagColor:before{content:"";background-image:none}#addTagInput{width:100px}#notesAndSort{height:36px}#noteItemListWrap{position:absolute;left:0;right:0;top:36px;bottom:3px}#mdEditorPreview{position:absolute;top:35px;left:0;right:0;bottom:0}#left-column,#right-column,#mdSplitter{position:absolute;top:0;bottom:0}#mdSplitter{width:5px;height:100%;overflow:hidden;z-index:5;cursor:col-resize;left:450px;background:0 0}#left-column{left:0;width:450px}#right-column{left:450px;right:0;overflow:hidden}.wmd-panel-editor,.preview-container,#wmd-input{height:100%}.wmd-input,.wmd-input:focus,#md-section-helper{width:100%;border:1px #eee solid;border-radius:5px;outline:0;font-size:14px;resize:none;overflow-x:hidden}#md-section-helper{position:absolute;height:0;overflow-y:scroll;padding:0 6px;top:10px;z-index:-1;opacity:none}.preview-container{overflow:auto}.wmd-preview{width:100%;font-size:14px;overflow:auto;overflow-x:hidden}.wmd-button-row,.preview-button-row{padding:0;height:auto;margin:0}.wmd-spacer{width:0;height:20px;margin-left:10px;background-color:Silver;display:inline-block;list-style:none}.wmd-button,.preview-button{width:20px;height:20px;display:inline-block;list-style:none;cursor:pointer;font-size:17px}.wmd-button{margin-left:10px}.preview-button{margin-right:10px}.wmd-button>span,.preview-button>span{width:20px;height:20px;display:inline-block;font-size:14px}.top-nav{margin:0 10px;display:inline-block;line-height:60px}.cm-item{position:relative}.cm-item .cm-text{position:absolute;left:23px;right:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cm-item .cm-text .c-text{display:initial}.b-m-mpanel{border-radius:3px}#noteItemList{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;overflow-y:hidden;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important}.item-active,#noteItemList .item-active:hover{background-color:#65bd77!important;color:#fff}.item-active .fa,#noteItemList .item-active:hover .fa{color:#eee!important}.item-active .item-title,#noteItemList .item-active:hover .item-title{color:#fff}#noteItemList .item-thumb{width:100px;overflow:hidden;position:absolute;z-index:1;right:0;top:4px;height:100px;background-color:#fff;margin-right:5px;line-height:100px;text-align:center}.item-thumb img{max-width:100px}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#noteItemList .item-desc{position:absolute;left:0;top:4px;right:0;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-image .item-desc{right:100px}.item-info{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.desc{margin:0;word-wrap:break-word}#editorMask{position:absolute;top:0;bottom:0;right:0;left:0;background-color:#fff;display:none;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff}.note-mask{position:absolute;top:0;bottom:0;right:0;left:0;z-index:-1}#noteMaskForLoading{padding-top:60px;background:#fff;text-align:center;opacity:.3}#themeForm td{padding:5px;text-align:center}#themeForm img{border:1px solid #eee;padding:2px}.dropdown-menu .divider{margin:3px 0}.ace_editor,.ace_editor *{font-family:Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro}.leanoteNav{position:absolute;right:0;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-top:4px}.leanoteNav h1{margin:0;font-size:16px;padding:3px;cursor:pointer}.leanoteNav i{padding:3px}.leanoteNav span{display:none}.leanoteNav .leanoteNavContent{display:none;overflow:auto}.leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}.leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}.leanoteNav.unfolder span{display:inline}.leanoteNav.unfolder .leanoteNavContent{display:block;min-height:30px}.leanoteNav ul{margin:0;padding-left:23px}.leanoteNav ul li{list-style-type:disc}.leanoteNav ul li a:hover{color:#0fb264}.leanoteNav ul .nav-h2{margin-left:20px}.leanoteNav ul .nav-h3{margin-left:30px}.leanoteNav ul .nav-h4{margin-left:40px}.leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#editorContent{border:1px solid #ccc;border-radius:5px;padding:5px;outline:0;margin-top:5px;bottom:5px!important}#editorContent pre{position:relative;-mo-height:auto!important}#editorContent pre .toggle-raw{position:absolute;left:2px;top:-2px;z-index:100;display:none}#editorContent pre:hover .toggle-raw{display:block}#editorContent *{font-family:inherit}.ace_invisible_space{visibility:hidden!important}.mce-tinymce-inline{border-width:0!important}#editorContent a{color:#2a6496;text-decoration:underline}#editorContent pre{font:12px / normal Monaco,Menlo,'Ubuntu Mono',Consolas,source-code-pro,monospace;color:#4D4D4C}#editorContent .ace_searchbtn_close{margin:0}#editorContent .ace-tomorrow{padding:0;padding-left:44px}#editorContent .ace-to-pre{padding:0;padding-left:5px}#editorContent .ace_scrollbar-v{overflow-y:hidden}#editorContent .leanote-image-container{display:inline-block;width:100px}#editorContent .leanote-image-container .loader{display:inline-block;vertical-align:top;margin-right:3px;margin-top:5px}#editorContent .leanote-image-container .progress{display:inline-block;margin:0;width:80px}.close:focus{outline:0}#tagNav i,#tagNav em{font-style:normal}#tagNav .tag-delete{display:none;margin-left:3px;font-size:12px}#tagNav li:hover .tag-delete{display:inline-block}#tagNav a:hover{background:none!important}#listNotebookDropdownMenu{display:none}#moreBtn span{display:none}.mce-colorbtn-trans div{line-height:11px;text-align:center}.mce-btn-small .mce-caret{margin-top:8px}.mce-listbox.mce-btn-small .mce-caret{margin-top:-2px}.mce-btn i{text-shadow:none}.mce-colorbutton.mce-btn-small .mce-preview{width:15px}#noteList{z-index:333}#moreBtn{dispaly:block;position:absolute;cursor:pointer;right:5px;padding:3px 10px}.info-toolbar{position:absolute;top:0;left:0;right:0;bottom:0;line-height:30px;padding-left:5px;height:30px;display:none}.info-toolbar .toolbar-update{color:inherit;float:right;padding:0 10px}.info-toolbar .toolbar-update:hover{background:#fff;color:#000}.info-toolbar .created-time{display:inline-block;padding-right:10px}.invisible{visibility:hidden}#editorContent{-webkit-user-select:text}#editor.read-only #mceToolbarContainer{display:none}#editor.read-only .info-toolbar{display:block}#mdEditor.read-only .info-toolbar{display:block}#mdEditor.read-only .wmd-button-bar-inner,#mdEditor.read-only #mdSplitter2,#mdEditor.read-only .btn-info{display:none}#mdEditor.read-only #left-column{visibility:hidden}#mdEditor.read-only #right-column{left:0!important}#mdEditor.read-only .preview-container{left:10px}#editor #mceToolbar{height:30px}#editor.all-tool #mceToolbar{height:60px}#editor.all-tool .more-fa:before{content:"\f106"}#editor.all-tool #editorContent{top:60px}#editor .more-fa:before{content:"\f107"}#note.read-only #editor,#note.read-only #mdEditor{top:60px}#note.read-only #tool{display:none}#note.read-only .toolbar-update{display:none}#note.read-only #noteReadTop{display:block}#note.read-only #infoToolbar,#note.read-only #mceToolbar,#note.read-only .navbar{display:none}#note.read-only #editorContent,#note.read-only #mdEditor .layout-wrapper-l3{top:0}#noteRead{position:absolute;left:5px;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadTop{position:absolute;height:60px;left:5px;right:0;top:0;bottom:0;z-index:2;display:none;background:#fff;padding-left:5px}#noteReadTitle{margin:3px 0;height:26px}#noteInfo{width:400px;box-sizing:border-box;padding:10px;-webkit-user-select:initial}#noteInfo table{width:100%;margin:0}#noteInfo table th{width:80px}#noteInfo table th,#noteInfo table td{border-top:none;border-bottom:1px solid #ddd}#noteInfo a{cursor:pointer}#noteInfo a.post-url{background:#FDF936}#noteInfo .post-url-wrap span{display:inline}#noteInfo .post-url-wrap input{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-pencil{display:none}#noteInfo .post-url-wrap.post-url-edit .post-url-text{display:none}#noteInfo .post-url-wrap.post-url-edit input{display:inline}.history-modal .modal-dialog{width:auto!important;position:absolute;left:5px;right:5px;top:5px;bottom:5px}.history-modal .modal-dialog .modal-content{position:absolute;left:0;right:0;top:0;bottom:0;margin:0;padding:0;overflow:scroll}.history-modal .modal-dialog .modal-content .modal-body{position:absolute;top:0;bottom:0;left:0;right:0;padding:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap{position:absolute;top:0;bottom:0;overflow-y:auto;width:200px;border-right:1px solid #ccc;box-shadow:1px 1px 10px #ddd}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list-header{line-height:50px;font-size:16px;font-weight:700;padding-left:15px;border-bottom:1px solid #eee;background-color:#ccc}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .history-list{position:absolute;top:51px;bottom:0;left:0;right:0;overflow-y:auto;margin-bottom:0}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item{border-top:none}.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item.active,.history-modal .modal-dialog .modal-content .modal-body .history-list-wrap .list-group-item:hover{color:#000;background-color:#eee;border-color:#eee}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap{position:absolute;top:0;bottom:0;right:0;left:200px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .close{padding:10px 15px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .back{margin-left:10px;margin-top:5px}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content-header{height:51px;border-bottom:1px solid #eee;box-shadow:5px 0 5px #ccc}.history-modal .modal-dialog .modal-content .modal-body .history-content-wrap .history-content{position:absolute;top:51px;bottom:0;right:0;left:0;padding-top:5px;padding-right:5px;padding-left:10px;overflow-y:auto}#batchMask{background:#fff;user-select:none;-webkit-user-select:none;-moz-user-select:none}.batch-ctn{position:relative;padding:50px;width:100%;height:100%}.batch-note{display:inline-block;width:160px;position:absolute;left:50%;border:1px solid #ccc;height:200px;padding:5px;border-radius:5px;background:#eee;overflow:hidden;transition:margin .5s;margin-left:-1000px}.batch-note .title{font-size:16px;margin-bottom:5px;font-weight:700}.batch-info{position:absolute;left:0;top:0;right:0;text-align:center;margin-top:300px}.batch-info p{margin-top:8px}.batch-info .fa{cursor:pointer;font-size:16px}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url(../../fonts/open-sans2/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url(../../fonts/open-sans2/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url(../../fonts/open-sans2/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url(../../fonts/open-sans2/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff) format('woff')}::selection{background:#000;color:#fff}::-moz-selection{background:#000;color:#fff}::-webkit-selection{background:#000;color:#fff}html,body{background-color:#fbfcf7}*,body{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:300;font-size:16px}h1,h2,h3{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:300!important}a{color:#000;cursor:pointer}a:hover{text-decoration:none!important;color:#000}a.raw{color:#428bca}a.raw:hover{color:#2a6496}#header{height:60px;background-color:#fbfcf7;color:#fff;border-bottom:1px solid #ebeff2;webkit-user-select:none;-webkit-app-region:drag}#header a{color:#ccc}#header li{color:#000}#header li a{color:#000}#searchWrap,#logo,#switcher,#leftNotebook,.noteSplit{display:none}#header ul{margin:0;padding:0;list-style:none}#header ul li.dropdown{display:inline-block;height:60px}#header ul>li>a.dropdown-toggle{display:block;padding:15px 5px 0 0;position:relative}#header span.icon{display:inline-block;font-size:28px;color:#999}.dropdown-menu{border-radius:0;margin:0;-webkit-box-shadow:none;box-shadow:none;border:1px solid #0fb264;overflow-x:hidden;overflow-y:auto}.dropdown-menu li{padding-left:10px;width:100%;height:30px;line-height:30px}.dropdown-menu>li>a{color:#000;display:inline-block;padding:3px}.dropdown-menu>li:hover,.dropdown-menu>li:focus{background-color:#ebeff2}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{background-color:#ebeff2}.ios7-a{display:inline-block;padding:0 10px 0 5px;height:40px;vertical-align:middle;line-height:38px;cursor:pointer}#page{overflow:auto;position:absolute;top:0;left:0;bottom:0;right:0}#pageInner{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}#mainContainer{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;zoom:1}#search{border:#bababa 1px solid;background-color:#fff;white-space:nowrap;position:absolute;height:30px;left:3px;right:60px;margin-top:3px}#search label{display:none}#searchButton{border:0 none;width:16px;height:16px;overflow:hidden;cursor:pointer;position:absolute;right:3px;top:5px}#searchInput{border:0 none;overflow:hidden;position:absolute;right:20px;left:0;padding-left:10px;height:28px}#searchInput:focus{border:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}#notesAndSort{background-color:#eee;border-bottom:1px solid #ebeff2}#noteItemList{position:absolute;left:0;right:0;bottom:0;top:0;width:100%;overflow-y:hidden;background-color:#f7f7f7;padding:0 5px}#noteItemList .item{position:relative;height:110px;overflow:hidden;cursor:pointer;padding:5px;border:1px solid #ebeff2;border-radius:3px;margin-top:5px;background-color:#fff}#noteItemList .item:hover,#noteItemList .contextmenu-hover{background-color:#ddd!important;color:#000}#noteItemList .item-thumb{padding-left:10px;width:100px;overflow:hidden;position:absolute;right:0;height:100px;background-color:#fff;margin-right:5px}.item-thumb img{width:100px}#noteItemList .item-desc{position:absolute;left:0;right:100px;margin-left:4px}#noteItemList .item-desc .fa{color:#666}#noteItemList .item-blog{position:absolute;right:1px;font-size:10px;z-index:2;top:1px;padding:3px;cursor:pointer;width:20px;text-align:center;opacity:.5;background-color:#464C5E}#noteItemList .item-blog .fa{color:#fff!important}#noteItemList .item-blog:hover{opacity:.8}.item-title{font-size:16px;height:22px;line-height:20px;overflow:hidden;margin-bottom:0;color:#000;border-bottom:dashed 1px #ebeff2}#editorTool{margin:0;padding:0;list-style:none}#editorTool li{display:inline-block}#noteTitle:focus{outline:0!important}#editor,#mdEditor{z-index:2;top:71px;bottom:0;right:0;left:0;padding:0;display:none}#mdEditor{z-index:1;background-color:#fff;bottom:10px}#mdEditor #md-section-helper,#mdEditor #wmd-input{font-size:14px;line-height:22px}#editorContent{position:absolute;top:30px;bottom:10px;right:0;left:0;overflow:auto}#editor .mce-ifr{border:none;overflow:hidden!important}#editor .mce-tinymce{border:none}#mceToolbar,#wmd-button-bar{position:relative;height:30px;overflow:hidden;background-color:#fbfcf7}.mce-btn-small button{padding:5px 5px!important;line-height:20px!important}.mce-btn{background-color:#fbfcf7!important}.mce-menubtn.mce-btn-small span{line-height:20px!important}.mce-btn span{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif!important}.mce-primary button,.mce-primary button i{text-shadow:none}.mce-primary{background-color:#47a447!important;border-color:#398439!important}.mce-menu-item:hover,.mce-menu-item.mce-selected,.mce-menu-item:focus{background-color:#ebeff2}.mce-menu-item:hover span,.mce-menu-item.mce-selected span,.mce-menu-item:focus span{color:#000!important}.mce-menu-item-normal.mce-active{background-color:#ebeff2}.tool-split{display:inline-block;line-height:25px;color:#ddd}#tool{display:none;border-bottom:1px solid #ddd}#tag{height:40px;line-height:38px}#tag .dropdown{line-height:30px}#addTagInput{line-height:25px;display:none;padding:0;border:none;background-color:#fbfcf7}#addTagInput:focus{outline:0}.label-default{background-color:#464C5E}.label-red{background-color:#d9534f}.label-yellow{background-color:#f0ad4e}.label-blue{background-color:#428bca}.label-green{background-color:#5cb85c}.label{border-radius:0;font-weight:400}.label i{width:10px;cursor:pointer;font-style:normal;display:inline-block;padding-left:3px;opacity:0}.label i:hover{opacity:1}#leanoteNav{position:absolute;right:5px;border:1px solid #ccc;border-radius:3px;background-color:#fff;opacity:.5;z-index:11;margin-right:2px}#leanoteNav h1{margin:0;font-size:18px;padding:3px;cursor:pointer}#leanoteNav i{padding:3px}#leanoteNav span{display:none}#leanoteNav #leanoteNavContent{display:none;overflow:auto}#leanoteNav.unfolder{min-width:200px;max-width:300px;opacity:.8}#leanoteNav.unfolder h1{border-bottom:1px dashed #ebeff2}#leanoteNav.unfolder span{display:inline}#leanoteNav.unfolder #leanoteNavContent{display:block;min-height:30px}#leanoteNav ul{margin:0;padding-left:23px}#leanoteNav ul li{list-style-type:disc}#leanoteNav ul li a:hover{color:#0fb264}#leanoteNav ul .nav-h2{margin-left:20px}#leanoteNav ul .nav-h3{margin-left:30px}#leanoteNav ul .nav-h4{margin-left:40px}#leanoteNav ul .nav-h5{margin-left:50px}.scrollTo-a{cursor:pointer!important}#noteRead{position:absolute;left:0;right:0;top:0;bottom:0;display:none;z-index:100;padding-left:5px;background-color:#fff}#noteReadContainer{position:relative;width:100%;height:100%}#noteReadTop{position:absolute;height:60px;left:0;right:0;border-bottom:1px solid #ebeff2}#noteReadTitle{margin:3px 0}#noteReadContent{position:absolute;top:60px;bottom:0;right:0;left:0;overflow:auto;padding:3px}.fa-calendar{color:#666}.dropdown-menu .fa{width:15px}.dropdown-menu span,.dropdown-menu a,.dropdown-menu li{cursor:default}#topNav a{display:inline-block;line-height:60px}.tab-pane{padding:5px 0 0}.alert{margin-bottom:10px}.btn{border-radius:0!important}#notebookNavForNewNote li,#notebookNavForNewSharedNote>li{padding-left:0;border-bottom:1px solid #ebeff2}#notebookNavForNewNote>li:hover,#notebookNavForNewNote>li:focus,#notebookNavForNewSharedNote>li:hover,#notebookNavForNewSharedNote>li:focus{background:0 0}.new-note-left{padding:0 5px;width:95px;overflow:hidden;white-space:nowrap;border-right:1px dashed #ebeff2}.new-note-left:hover{background-color:#ebeff2}.new-note-right{padding:0 5px}.new-note-right:hover{background-color:#ebeff2}#historyList table{width:100%}#historyList .btns{border-top:1px dashed #eee;padding:5px 0}#left-column{width:100%!important}#editorMask{position:absolute;top:0;bottom:0;right:0;left:0;background-color:#fff;z-index:-10;padding-top:50px;text-align:center}#editorMask .fa,#editorMask a{font-size:24px}#editorMask a{display:inline-block;border-radius:3px;border:1px solid #ebeff2;padding:10px}#editorMask a:hover{background-color:#65bd77;color:#fff} \ No newline at end of file diff --git a/public/js/app/note.js b/public/js/app/note.js index 5c7c498..2185520 100644 --- a/public/js/app/note.js +++ b/public/js/app/note.js @@ -13,16 +13,16 @@ Note.interval = ""; // 定时器 Note.itemIsBlog = '
'; // for render -Note.itemTplNoImg = '
  • ' +Note.itemTplNoImg = '
  • ' Note.itemTplNoImg += Note.itemIsBlog +'

    ?

    ? ?

    ?

  • '; // 有image -Note.itemTpl = '
  • ' +Note.itemTpl = '
  • ' Note.itemTpl +=Note.itemIsBlog + '

    ?

    ? ?

    ?

  • '; // for new -Note.newItemTpl = '
  • ' -Note.newItemTpl += Note.itemIsBlog + '

    ?

    ? ?
    ?

  • '; +Note.newItemTpl = '
  • ' +Note.newItemTpl += Note.itemIsBlog + '

    ?

    ? ?

    ?

  • '; Note.noteItemListO = $("#noteItemList"); @@ -75,6 +75,13 @@ Note.setNoteCache = function(content, clear) { } } +Note.setCurNoteId = function (noteId) { + this.curNoteId = noteId; +}; +Note.clearCurNoteId = function () { + this.curNoteId = null; +} + // 得到当前的笔记 Note.getCurNote = function() { var self = this; @@ -482,11 +489,15 @@ Note.startUpdatePoolNoteInterval = function() { }, 1000); }; - // 样式 -Note.selectTarget = function(target) { +Note.clearSelect = function(target) { $(".item").removeClass("item-active"); +} +Note.selectTarget = function(target) { + this.clearSelect(); $(target).addClass("item-active"); + + // this.batch.reset(); } // 改变note @@ -494,7 +505,7 @@ Note.selectTarget = function(target) { // 1. 保存之前的note // 2. ajax得到现在的note Note.showContentLoading = function() { - $("#noteMaskForLoading").css("z-index", 99999); + $("#noteMaskForLoading").css("z-index", 11); }; Note.hideContentLoading = function() { $("#noteMaskForLoading").css("z-index", -1); @@ -581,12 +592,15 @@ Note.contentAjax = null; Note.contentAjaxSeq = 1; Note.changeNote = function(selectNoteId, isShare, needSaveChanged, callback) { var self = this; - + if (!selectNoteId) { + return; + } + // -1 停止定时器 Note.stopInterval(); - + // 0 - var target = $(tt('[noteId="?"]', selectNoteId)) + var target = self.getTargetById(selectNoteId); Note.selectTarget(target); // 1 之前的note, 判断是否已改变, 改变了就要保存之 @@ -603,7 +617,10 @@ Note.changeNote = function(selectNoteId, isShare, needSaveChanged, callback) { // 2 得到现在的 // ajax之 - var cacheNote = Note.cache[selectNoteId]; + var cacheNote = self.getNote(selectNoteId); + if (!cacheNote) { + return; + } // 判断是否是共享notes if(!isShare) { @@ -805,6 +822,9 @@ Note.hideEditorMask = function() { Note.renderNotesC = 0; Note.renderNotes = function(notes, forNewNote, isShared) { var renderNotesC = ++Note.renderNotesC; + + this.clearSeqForNew(); + this.batch.reset(); // 手机端不用 // slimScroll使得手机端滚动不流畅 @@ -860,24 +880,27 @@ Note.renderNotes = function(notes, forNewNote, isShared) { } } Note._renderNotes = function(notes, forNewNote, isShared, tang) { // 第几趟 - var baseClasses = "item-my"; - if(isShared) { - baseClasses = "item-shared"; - } - var len = notes.length; for(var i = (tang-1)*20; i < len && i < tang*20; ++i) { - var classes = baseClasses; + var note = notes[i]; + note.Title = trimTitle(note.Title); + + // 笔记作者不是我, 则是共享过来的 + var classes = 'item-my'; + Note.nowIsInShared = false; + if (isShared || note.UserId != UserInfo.UserId) { + classes = 'item-shared'; + Note.nowIsInShared = true; + } if(!forNewNote && i == 0) { classes += " item-active"; } - var note = notes[i]; + var tmp; - note.Title = trimTitle(note.Title); if(note.ImgSrc) { - tmp = tt(Note.itemTpl, classes, note.NoteId, note.ImgSrc, note.Title, Notebook.getNotebookTitle(note.NotebookId), goNowToDatetime(note.UpdatedTime), note.Desc); + tmp = tt(Note.itemTpl, classes, i, note.NoteId, note.ImgSrc, note.Title, Notebook.getNotebookTitle(note.NotebookId), goNowToDatetime(note.UpdatedTime), note.Desc); } else { - tmp = tt(Note.itemTplNoImg, classes, note.NoteId, note.Title, Notebook.getNotebookTitle(note.NotebookId), goNowToDatetime(note.UpdatedTime), note.Desc); + tmp = tt(Note.itemTplNoImg, classes, i, note.NoteId, note.Title, Notebook.getNotebookTitle(note.NotebookId), goNowToDatetime(note.UpdatedTime), note.Desc); } if(!note.IsBlog) { tmp = $(tmp); @@ -901,7 +924,15 @@ Note._renderNotes = function(notes, forNewNote, isShared, tang) { // 第几趟 } */ } -} +}; + +Note._seqForNew = 0; +Note.clearSeqForNew = function () { + this._seqForNew = 0; +}; +Note.newNoteSeq = function () { + return --this._seqForNew; +}; // 新建一个笔记 // 要切换到当前的notebook下去新建笔记 @@ -938,9 +969,9 @@ Note.newNote = function(notebookId, isShare, fromUserId, isMarkdown) { var notebookTitle = notebook ? notebook.Title : ""; var curDate = getCurDate(); if(isShare) { - newItem = tt(Note.newItemTpl, baseClasses, fromUserId, note.NoteId, note.Title, notebookTitle, curDate, ""); + newItem = tt(Note.newItemTpl, baseClasses, this.newNoteSeq(), fromUserId, note.NoteId, note.Title, notebookTitle, curDate, ""); } else { - newItem = tt(Note.newItemTpl, baseClasses, "", note.NoteId, note.Title, notebookTitle, curDate, ""); + newItem = tt(Note.newItemTpl, baseClasses, this.newNoteSeq(), "", note.NoteId, note.Title, notebookTitle, curDate, ""); } // notebook是否是Blog @@ -1012,68 +1043,127 @@ Note.changeToNext = function(target) { } Note.changeNote(next.attr("noteId")); -} +}; + +// 要删除noteIds, 找下一个可以的 +Note.changeToNextSkipNotes = function(noteIds) { + var me = Note; + if (isEmpty(noteIds)) { + return; + } + + // 全删除了 + if (me.$itemList.find('li').length == noteIds.length) { + me.showEditorMask(); + return; + } + + // 如果只有一个笔记, 且当前活跃的又不是要删除的, 则不用change + if (noteIds.length == 1) { + var $actives = me.$itemList.find('.item-active'); + if ($actives.length == 1 && $actives.attr('noteId') != noteIds[0]) { + return; + } + } + + var $start = me.getTargetById(noteIds[0]); + var $next = $start.next(); + var i = 1; + var len = noteIds.length; + var find = false; + while($next.length) { + // 超出了noteIds + if (i >= len) { + find = true; + break; + } + // 不在删除的列表中 + if ($next.attr('noteId') != me.getTargetById(noteIds[i]).attr('noteId')) { + find = true; + break; + } + + $next = $next.next(); + i++; + } + + // 找不到, 证明是要到前一个了 + if (!find) { + $next = $start.prev(); + } + + if ($next) { + me.changeNote($next.attr("noteId")); + } +}; // 删除笔记 // 1. 先隐藏, 成功后再移除DOM // 2. ajax之 noteId // Share.deleteSharedNote调用 Note.deleteNote = function(target, contextmenuItem, isShared) { + var me = Note; + + var noteIds; + if (me.inBatch) { + noteIds = me.getBatchNoteIds(); + } + else { + noteIds = [$(target).attr('noteId')]; + } + if (isEmpty(noteIds)) { + return; + } + // 如果删除的是已选中的, 赶紧设置curNoteId = null - if($(target).hasClass("item-active")) { + if(noteIds.length == 1 && $(target).hasClass("item-active")) { // -1 停止定时器 Note.stopInterval(); // 不保存 - Note.curNoteId = null; + me.clearCurNoteId(); // 清空信息 Note.clearNoteInfo(); } - - noteId = $(target).attr("noteId"); - if(!noteId) { - return; + + var $actives; + if(noteIds.length == 1) { + $actives = $(target); } + else { + $actives = me.$itemList.find('.item-active'); + } + // 1 - $(target).hide(); - + $actives.hide(); // 2 - var note = Note.cache[noteId]; - var url = "/note/deleteNote" - if(note.IsTrash) { - url = "/note/deleteTrash"; - } else { - // 减少数量 - Notebook.minusNotebookNumberNotes(note.NotebookId); - } - - ajaxGet(url, {noteId: noteId, userId: note.UserId, isShared: isShared}, function(ret) { + ajaxPost('/note/deleteNote', {noteIds: noteIds, isShared: isShared}, function(ret) { if(ret) { - Note.changeToNext(target); - - $(target).remove(); - + Note.changeToNextSkipNotes(noteIds); + $actives.remove(); + // 删除缓存 - if(note) { - Note.clearCacheByNotebookId(note.NotebookId); - delete Note.cache[noteId]; + for (var i = 0; i < noteIds.length; ++i) { + var noteId = noteIds[i]; + var note = me.getNote(noteId); + if (note) { + // 减少数量 + Notebook.minusNotebookNumberNotes(note.NotebookId); + Note.clearCacheByNotebookId(note.NotebookId); + delete Note.cache[noteId]; + } } - - showMsg("删除成功!", 500); - } else { - // 弹出信息 popup 不用点确认的 - $(target).show(); - showMsg("删除失败!", 2000); } }); - -} + + me.batch.reset(); +}; // 显示共享信息 Note.listNoteShareUserInfo = function(target) { var noteId = $(target).attr("noteId"); showDialogRemote("/share/listNoteShareUserInfo", {noteId: noteId}); } - + // 共享笔记 Note.shareNote = function(target) { var title = $(target).find(".item-title").text(); @@ -1210,28 +1300,44 @@ Note.searchNote = function() { // Note.lastSearch.abort(); } +Note.$itemList = $('#noteItemList'); +Note.getTargetById = function(noteId) { + return this.$itemList.find('li[noteId="' + noteId + '"]'); +}; + //---------- //设为blog/unset Note.setNote2Blog = function(target) { - var noteId = $(target).attr("noteId"); - var note = Note.cache[noteId]; - var isBlog = true; - if(note.IsBlog != undefined) { - isBlog = !note.IsBlog; + Note._setBlog(target, true); +}; +Note.unsetNote2Blog = function(target) { + Note._setBlog(target, false); +}; +Note._setBlog = function(target, isBlog) { + var me = Note; + // 批量操作 + var noteIds; + if (Note.inBatch) { + noteIds = me.getBatchNoteIds(); } - - ajaxPost("/note/setNote2Blog", {noteId: noteId, isBlog: isBlog}, function(ret) { + else { + noteIds = [$(target).attr("noteId")]; + } + ajaxPost("/note/setNote2Blog", {noteIds: noteIds, isBlog: isBlog}, function(ret) { if(ret) { - // 标志添加/去掉 - if(isBlog) { - $(target).find(".item-blog").show(); - } else { - $(target).find(".item-blog").hide(); + for (var i = 0; i < noteIds.length; ++i) { + var noteId = noteIds[i]; + var $t = me.getTargetById(noteId); + if(isBlog) { + $t.find(".item-blog").show(); + } else { + $t.find(".item-blog").hide(); + } + me.setNoteCache({NoteId: noteId, IsBlog: isBlog}, false); // 不清空NotesByNotebookId缓存 } - Note.setNoteCache({NoteId: noteId, IsBlog: isBlog}, false); // 不清空NotesByNotebookId缓存 } }); -} +}; // 设置notebook的blog状态 // 当修改notebook是否是blog时调用 @@ -1255,86 +1361,150 @@ Note.setAllNoteBlogStatus = function(notebookId, isBlog) { notes[i].IsBlog = isBlog; } } -} +}; // 移动 Note.moveNote = function(target, data) { - var noteId = $(target).attr("noteId"); - var note = Note.cache[noteId]; - var notebookId = data.notebookId; - - if(!note.IsTrash && note.NotebookId == notebookId) { + var me = Note; + // 批量操作 + var noteIds; + if (Note.inBatch) { + noteIds = me.getBatchNoteIds(); + } + else { + noteIds = [$(target).attr('noteId')]; + } + + // 当前在该笔记本下 + var toNotebookId = data.notebookId; + if (Notebook.getCurNotebookId() == toNotebookId) { return; } - - // 修改数量 - Notebook.incrNotebookNumberNotes(notebookId); - if(!note.IsTrash) { - Notebook.minusNotebookNumberNotes(note.NotebookId); + + if (noteIds.length == 1) { + var note = me.getNote(noteIds[0]); + if(!note.IsTrash && note.NotebookId == toNotebookId) { + return; + } } - ajaxGet("/note/moveNote", {noteId: noteId, notebookId: notebookId}, function(ret) { - if(ret && ret.NoteId) { - if(note.IsTrash) { - Note.changeToNext(target); - $(target).remove(); - Note.clearCacheByNotebookId(notebookId); - } else { - // 不是trash, 移动, 那么判断是当前是否是all下 - // 不在all下, 就删除之 - // 如果当前是active, 那么clearNoteInfo之 - if(!Notebook.curActiveNotebookIsAll()) { - Note.changeToNext(target); - if($(target).hasClass("item-active")) { - Note.clearNoteInfo(); + ajaxPost("/note/moveNote", {noteIds: noteIds, notebookId: toNotebookId}, function(ret) { + if(ret) { + + me.clearCacheByNotebookId(toNotebookId); + + for (var i = 0; i < noteIds.length; ++i) { + var noteId = noteIds[i]; + var note = me.getNote(noteId); + if (note) { + // 修改笔记数量 + if (note.NotebookId != toNotebookId) { + Notebook.incrNotebookNumberNotes(toNotebookId); + if (!note.IsTrash) { + Notebook.minusNotebookNumberNotes(note.NotebookId); + } } - $(target).remove(); - } else { - // 不移动, 那么要改变其notebook title - $(target).find(".note-notebook").html(Notebook.getNotebookTitle(notebookId)); + else if (note.IsTrash) { + Notebook.incrNotebookNumberNotes(note.NotebookId); + } + + me.clearCacheByNotebookId(note.NotebookId); + + // 设置缓存 + note.NotebookId = toNotebookId; + note.IsTrash = false; + note.UpdatedTime = new Date(); + me.setNoteCache(note); } - - // 重新清空cache 之前的和之后的 - Note.clearCacheByNotebookId(note.NotebookId); - Note.clearCacheByNotebookId(notebookId); } - - // 改变缓存 - Note.setNoteCache(ret) + + var $actives; + if(noteIds.length == 1) { + $actives = target; + } + else { + $actives = me.$itemList.find('.item-active'); + } + // 不在all下, 就删除之 + if(!Notebook.curActiveNotebookIsAll()) { + me.changeToNextSkipNotes(noteIds); + $actives.remove(); + } + // 在all下, 不要删除 + else { + // 不移动, 那么要改变其notebook title + $actives.find(".note-notebook").html(Notebook.getNotebookTitle(toNotebookId)); + + me.changeNote($actives.eq(0).attr('noteId')); + } } }); -} + + // 重置, 因为可能移动后笔记下没笔记了 + me.batch.reset(); +}; // 复制 // data是自动传来的, 是contextmenu数据 Note.copyNote = function(target, data, isShared) { - var noteId = $(target).attr("noteId"); - var note = Note.cache[noteId]; - var notebookId = data.notebookId; - - // trash不能复制, 不能复制给自己 - if(note.IsTrash || note.NotebookId == notebookId) { + var me = Note; + + var toNotebookId = data.notebookId; + var noteIds; + if (Note.inBatch) { + noteIds = me.getBatchNoteIds(); + } + else { + noteIds = [$(target).attr('noteId')]; + } + + // 得到需要复制的 + var needNoteIds = []; + for (var i = 0; i < noteIds.length; ++i) { + var noteId = noteIds[i]; + var note = me.getNote(noteId); + if (note) { + // trash不能复制, 不能复制给自己 + if (note.IsTrash || note.NotebookId == toNotebookId) { + continue; + } + needNoteIds.push(noteId); + } + } + if (needNoteIds.length == 0) { return; } - + var url = "/note/copyNote"; - var data = {noteId: noteId, notebookId: notebookId}; + var data = {noteIds: needNoteIds, notebookId: toNotebookId}; if(isShared) { url = "/note/copySharedNote"; + var note = me.getNote(needNoteIds[0]); data.fromUserId = note.UserId; } - - ajaxGet(url, data, function(ret) { - if(ret && ret.NoteId) { + + ajaxPost(url, data, function(ret) { + if(reIsOk(ret)) { + var notes = ret.Item; + if (isEmpty(notes)) { + return; + } + // 重新清空cache 之后的 - Note.clearCacheByNotebookId(notebookId); - // 改变缓存, 添加之 - Note.setNoteCache(ret) + Note.clearCacheByNotebookId(toNotebookId); + for (var i = 0; i < notes.length; ++i) { + var note = notes[i]; + if (!note.NoteId) { + continue; + } + // 改变缓存, 添加之 + Note.setNoteCache(note); + + // 增加数量 + Notebook.incrNotebookNumberNotes(toNotebookId) + } } }); - - // 增加数量 - Notebook.incrNotebookNumberNotes(notebookId) }; // 删除笔记标签 @@ -1428,10 +1598,10 @@ LEA.toggleWriteable = Note.toggleWriteable = function() { if(!note) { return; } - + Note.readOnly = false; LEA.readOnly = false; - + if(!note.readOnly) { return; } @@ -1509,7 +1679,7 @@ Note.initContextmenu = function() { { text: getMsg("shareToFriends"), alias: 'shareToFriends', icon: "", faIcon: "fa-share-square-o", action: Note.listNoteShareUserInfo}, { type: "splitLine" }, { text: getMsg("publicAsBlog"), alias: 'set2Blog', faIcon: "fa-bold", action: Note.setNote2Blog }, - { text: getMsg("cancelPublic"), alias: 'unset2Blog', faIcon: "fa-undo", action: Note.setNote2Blog }, + { text: getMsg("cancelPublic"), alias: 'unset2Blog', faIcon: "fa-undo", action: Note.unsetNote2Blog }, { type: "splitLine" }, // { text: "分享到社区", alias: 'html2Image', icon: "", action: Note.html2Image}, { text: getMsg("exportPdf"), alias: 'exportPDF', faIcon: "fa-file-pdf-o", action: Note.exportPDF}, @@ -1532,42 +1702,50 @@ Note.initContextmenu = function() { parent: "#noteItemList", children: ".item-my", } - - function menuAction(target) { - // $('#myModal').modal('show') - showDialog("dialogUpdateNotebook", {title: "修改笔记本", postShow: function() { - }}); - } + function applyrule(menu) { var noteId = $(this).attr("noteId"); - var note = Note.cache[noteId]; - if(!note) { - return; - } + // 要disable的items var items = []; - - // 如果是trash, 什么都不能做 - if(note.IsTrash) { + + // 批量模式下不能分享, 导出pdf + if (Note.inBatch) { items.push("shareToFriends"); - items.push("shareStatus"); - items.push("unset2Blog"); - items.push("set2Blog"); - items.push("copy"); - } else { - // console.log('haha'); - // console.log(note); - // 是否已公开为blog - if(!note.IsBlog) { + items.push('exportPDF'); + + // 如果在trash下 + if(Notebook.curActiveNotebookIsTrash()) { + items.push("shareStatus"); items.push("unset2Blog"); - } else { items.push("set2Blog"); + items.push("copy"); + } + } else { + var note = Note.getNote(noteId); + if(!note) { + return; + } + + // 如果是trash, 什么都不能做 + if(note.IsTrash || Notebook.curActiveNotebookIsTrash()) { + items.push("shareToFriends"); + items.push("shareStatus"); + items.push("unset2Blog"); + items.push("set2Blog"); + items.push("copy"); + } else { + if(!note.IsBlog) { + items.push("unset2Blog"); + } else { + items.push("set2Blog"); + } + + // 移动与复制不能是本notebook下 + var notebookTitle = Notebook.getNotebookTitle(note.NotebookId); + items.push("move." + notebookTitle); + items.push("copy." + notebookTitle); } - - // 移动与复制不能是本notebook下 - var notebookTitle = Notebook.getNotebookTitle(note.NotebookId); - items.push("move." + notebookTitle); - items.push("copy." + notebookTitle); } // diable 这里 @@ -1576,13 +1754,12 @@ Note.initContextmenu = function() { disable: true, items: items }); - } + function beforeContextMenu() { return this.id != "target3"; } - // 这里很慢!! Note.contextmenu = $("#noteItemList .item-my").contextmenu(noteListMenu); } @@ -1793,6 +1970,415 @@ var Attach = { } }; +// 批量操作 +Note.inBatch = false; +Note.getBatchNoteIds = function () { + var noteIds = []; + var items = Note.$itemList.find('.item-active'); + for (var i = 0; i < items.length; ++i) { + noteIds.push(items.eq(i).attr('noteId')); + } + return noteIds; +}; +Note.batch = { + $noteItemList: $("#noteItemList"), + + cancelInBatch: function () { + Note.inBatch = false; + }, + setInBatch: function () { + Note.inBatch = true; + }, + + // 是否是多选, 至少选了2个 + isInBatch: function () { + var me = this; + var items = me.$noteItemList.find('.item-active'); + if (items.length >= 2) { + return true; + } + return false; + }, + + + + // 得到开始的笔记 + _startNoteO: null, // 开始选择的笔记 + getStartNoteO: function () { + var me = this; + if (!me._startNoteO) { + me._startNoteO = me.getCurSelected(); + } + return me._startNoteO; + }, + + // 清空以start开头已选择的 + // 用于shift + _selectByStart: {}, // start.NoteId => [target1, target2] + clearByStart: function (noteId) { + var me = this; + if (!noteId) { + return; + } + var targets = this._selectByStart[noteId]; + if (isEmpty(targets)) { + return; + } + for(var i = 0; i < targets.length; ++i) { + me.clearTarget(targets[i]); + } + }, + selectTo: function ($to) { + var $start = this.getStartNoteO(); + if (!$start) { + alert('nono start'); + } + + var startSeq = +$start.data('seq'); + var toSeq = +$to.data('seq'); + + var $start2, $to2, startSeq2, toSeq2; + if (startSeq < toSeq) { + $start2 = $start; + $to2 = $to; + startSeq2 = startSeq; + toSeq2 = toSeq; + } + else { + $start2 = $to; + $to2 = $start; + startSeq2 = toSeq; + toSeq2 = startSeq; + } + + // 先清空之 + // 清空以$start为首的, 已选的笔记 + var startNoteId = $start.attr('noteId'); + this.clearByStart(startNoteId); + + var $now = $start2; + this._selectByStart[startNoteId] = []; + for (var i = startSeq2; i <= toSeq2; ++i) { + this.selectTarget($now); + this._selectByStart[startNoteId].push($now); + $now = $now.next(); + } + }, + + selectAll: function () { + this.$noteItemList.find('li').addClass('item-active'); + }, + + clearAllSelect: function () { + Note.clearSelect(); + }, + + selectTarget: function ($target) { + if ($target) { + $target.addClass('item-active'); + } + }, + clearTarget: function ($target) { + if ($target) { + $target.removeClass('item-active'); + } + }, + + // multi操作 + // 选择之某一 + // 如果之前已选择了, 则取消选择 + select: function ($target) { + var me = this; + // 之前已选中 + if ($target.hasClass('item-active')) { + var isInBatch = this.isInBatch(); + if (isInBatch) { + $target.removeClass('item-active'); + } + } + else { + me._startNoteO = $target; + this.selectTarget($target); + } + }, + + // 得到当前选中的元素 + getCurSelected: function () { + return this.$noteItemList.find('.item-active'); + }, + + // 当重新render后 + reset: function () { + this.cancelInBatch(); + this._selectByStart = {}; + this._startMove = false; + this._startNoteO = null; + this.clearRender(); + }, + + // 可以多选 + canBatch: function () { + return !LEA.em.isWritingMode; + }, + + init: function() { + var me = this; + me.$noteItemList.on("click", ".item", function(e) { + var $this = $(this); + var noteId = $this.attr("noteId"); + if(!noteId) { + return; + } + + var isMulti = false; + var isConti= false; + if (me.canBatch()) { + if (e.shiftKey) { + isConti = true; + } + else { + isMulti = e.metaKey || e.ctrlKey; + } + } + + //---------- + // 多选操作 + //---------- + + if (isMulti || isConti) { + Note.curChangedSaveIt(); + } + + // 多选 + if (isMulti) { + me.select($this); + + // 连续选 + } else if (isConti) { + // 选择 开始位置到结束位置 + // 当前点击的是结束位置 + me.selectTo($this); + } + + //--------- + // 单选 + //--------- + + // 否则, 不是多选, 清空item-active + else { + Note.selectTarget($this); + } + + me.finalFix(); + }); + + //---------- + + // 鼠标拖动开始 + me._startMove = false; + me.$noteItemList.on("mousedown", ".item", function(e) { + if (!me.canBatch()) { + return; + } + + // 右键 + if (me.isContextMenu(e)) { + return; + } + + if (!me._startMove && (e.metaKey || e.ctrlKey || e.shiftKey)) { + return; + } + + me._startNoteO = $(this); + me._startMove = true; + }); + + // 鼠标正在拖动 + me.$noteItemList.on("mousemove", ".item", function(e) { + if (me.canBatch() && me._startMove) { + + Note.curChangedSaveIt(); + + me.clearAllSelect(); + + me.selectTo($(this)); + + me.finalFix(true); + } + }); + + var $body = $('body'); + $body.on('mouseup', function() { + me._startMove = false; + }); + + // ctrl + all + $body.keydown(function (e) { + if (e.target && e.target.nodeName === 'BODY') { + if ((e.ctrlKey || e.metaKey) && e.which === 65) { + e.preventDefault(); + + if(me.canBatch()) { + Note.curChangedSaveIt(); + + me.selectAll(); + me.finalFix(); + } + } + } + }); + + // 不让拖动 + me.$noteItemList.on("dragstart", function(e) { + e.preventDefault(); + e.stopPropagation(); + }); + + me.initContextmenu(); + }, + + initContextmenu: function () { + var me = this; + + me.$batchMask.on('contextmenu', function (e) { + e.preventDefault(); + !Note.nowIsInShared ? Note.contextmenu.showMenu(e) : Share.contextmenu.showMenu(e); + }); + + me.$batchMask.find('.batch-info .fa').click(function (e) { + e.preventDefault(); + e.pageX -= 90; + e.pageY += 10; + + // 这导致其它dropdown不能隐藏 + e.stopPropagation(); + // 所以 + $(document).click(); + !Note.nowIsInShared ? Note.contextmenu.showMenu(e) : Share.contextmenu.showMenu(e); + }); + }, + + $body: $('body'), + finalFix: function (isMove) { + var me = this; + // 选择了几个? 如果 >= 2则是批量操作 + if (me.isInBatch()) { + // 清空当前笔记, 不让自动保存 + Note.clearCurNoteId(); + + me.$body.addClass('batch'); + me.renderBatchNotes(); + + me.setInBatch(); + + // 单个处理 + } else { + me.$body.removeClass('batch'); + me.clearRender(); + me.cancelInBatch(); + + // 为什么还要得到当前选中的, 因为有可能是取消选择 + // 得到当前选中的 + var $target = me.getCurSelected(); + if ($target) { + var noteId = $target.attr('noteId'); + + if (!isMove) { + me._startNoteO = $target; + } + + // 手机端处理 + Mobile.changeNote(noteId); + // 当前的和所选的是一个, 不改变 + if(Note.curNoteId != noteId) { + // 不用重定向到notebook + Note.changeNoteForPjax(noteId, true, false); + } + } + } + }, + + // 判断是否是右击 + isContextMenu: function(evt) { + if((evt.which != undefined && evt.which==1) || evt.button == 1) + return false; + else if((evt.which != undefined && evt.which == 3) || evt.button == 2) + return true; + return false; + }, + + //========== + _notes: {}, + clearRender: function () { + this._notes = {}; + this.$batchCtn.html(''); + this.hideMask(); + }, + showMask: function () { + this.$batchMask.css({'z-index': 99}).show(); + }, + hideMask: function () { + this.$batchMask.css({'z-index': -2}).hide(); + }, + renderBatchNotes: function () { + var me = this; + me.showMask(); + + var selectedTargets = me.$noteItemList.find('.item-active'); + me.$batchNum.html(selectedTargets.length); + + var ids = {}; + for (var i = 0; i < selectedTargets.length; ++i) { + var noteId = selectedTargets.eq(i).attr('noteId'); + me.addTo(noteId); + ids[noteId] = 1; + } + for (var noteId in me._notes) { + if (!ids[noteId]) { + var $tmp = me._notes[noteId]; + $tmp.css({'margin-left': '-800px'/*, 'margin-top': '100px'*/}); + setTimeout(function() { + $tmp.remove(); + }, 500); + delete me._notes[noteId]; + } + } + }, + $batchMask: $('#batchMask'), + $batchCtn: $('#batchCtn'), + $batchNum: $('#batchMask .batch-info span'), + _i: 1, + getRotate: function () { + var me = this; + var time = me._i++; + var e = time % 2 === 0 ? 1 : -1; + var rotate = e * Math.random() * 70; + var margins = [0, 10, 20, 30, 40]; + var margin = e * margins[time % 5] * 3; + // if (e < 0) { + margin -= 80; + // } + return [e * Math.random() * 30, margin]; + }, + addTo: function(noteId) { + var me = this; + if (me._notes[noteId]) { + return; + } + var note = Note.getNote(noteId); + var title = note.Title || getMsg('unTitled'); + var desc = note.Desc || '...'; + var $note = $('
    ' + title + '
    ' + desc + '
    '); + me._notes[noteId] = $note; + var rotate = me.getRotate(); + me.$batchCtn.append($note); + setTimeout(function () { + $note.css({transform: 'rotate(' + rotate[0] + 'deg)', 'margin-left': rotate[1] + 'px'}); + }); + } +}; + //------------------- 事件 $(function() { // 附件初始化 @@ -1807,24 +2393,8 @@ $(function() { $(this).trigger("click"); } }); - $("#noteItemList").on("click", ".item", function(event) { - // 为什么要stop, 这会导致context, dropdown不隐藏 - // event.stopPropagation(); - - var noteId = $(this).attr("noteId"); - - // 手机端处理 - Mobile.changeNote(noteId); - - if(!noteId) { - return; - } - // 当前的和所选的是一个, 不改变 - if(Note.curNoteId != noteId) { - // 不用重定向到notebook - Note.changeNoteForPjax(noteId, true, false); - } - }); + + Note.batch.init(); // 当前笔记可以已修改 $('#editorContent, #wmd-input, #noteTitle').on('keyup input', function() { @@ -1892,7 +2462,7 @@ $(function() { }); // blog - $("#noteItemList").on("click", ".item-blog", function(e) { + Note.$itemList.on("click", ".item-blog", function(e) { e.preventDefault(); // 这导致其它dropdown不能隐藏 e.stopPropagation(); @@ -1908,7 +2478,7 @@ $(function() { }); // note setting - $("#noteItemList").on("click", ".item-my .item-setting", function(e) { + Note.$itemList.on("click", ".item-my .item-setting", function(e) { e.preventDefault(); // 这导致其它dropdown不能隐藏 @@ -1928,4 +2498,4 @@ $(function() { }); // 定时器启动 -Note.startInterval(); +Note.startInterval(); \ No newline at end of file diff --git a/public/js/app/notebook.js b/public/js/app/notebook.js index 905a356..91a38ba 100644 --- a/public/js/app/notebook.js +++ b/public/js/app/notebook.js @@ -297,7 +297,7 @@ Notebook.cacheAllNotebooks = function(notebooks) { self.cacheAllNotebooks(notebook.Subs); } } -} +}; // 展开到笔记本 Notebook.expandNotebookTo = function(notebookId, userId) { @@ -332,8 +332,7 @@ Notebook.expandNotebookTo = function(notebookId, userId) { break; } } -} - +}; // RenderNotebooks调用, // nav 为了新建, 快速选择, 移动笔记 @@ -341,7 +340,7 @@ Notebook.expandNotebookTo = function(notebookId, userId) { Notebook.renderNav = function(nav) { var self = this; self.changeNav(); -} +}; // 搜索notebook Notebook.searchNotebookForAddNote = function(key) { @@ -365,7 +364,7 @@ Notebook.searchNotebookForAddNote = function(key) { } else { $("#notebookNavForNewNote").html(self.everNavForNewNote); } -} +}; // 搜索notebook Notebook.searchNotebookForList = function(key) { @@ -391,8 +390,7 @@ Notebook.searchNotebookForList = function(key) { $notebookList.show(); $("#notebookNavForNewNote").html(self.everNavForNewNote); } -} - +}; // 修改,添加,删除notebook后调用 // 改变nav @@ -422,7 +420,7 @@ Notebook.getChangedNotebooks = function(notebooks) { navForNewNote += eachForNew; } return navForNewNote; -} +}; Notebook.everNavForNewNote = ""; Notebook.everNotebooks = []; @@ -438,13 +436,9 @@ Notebook.changeNav = function() { $("#notebookNavForNewNote").html(html); // 移动, 复制重新来, 因为nav变了, 移动至-----的notebook导航也变了 - // 这里速度很慢 - var t1 = (new Date()).getTime(); Note.initContextmenu(); Share.initContextmenu(Note.notebooksCopy); - var t2 = (new Date()).getTime(); - log(t2-t1); -} +}; /** * 我的共享notebooks @@ -573,15 +567,18 @@ Notebook.changeNotebookNav = function(notebookId) { Notebook.isAllNotebookId = function(notebookId) { return notebookId == Notebook.allNotebookId; -} +}; Notebook.isTrashNotebookId = function(notebookId) { return notebookId == Notebook.trashNotebookId; -} +}; // 当前选中的笔记本是否是"所有" // called by Note Notebook.curActiveNotebookIsAll = function() { - return Notebook.isAllNotebookId($("#notebookList .active").attr("notebookId")); -} + return Notebook.isAllNotebookId($("#notebookList .curSelectedNode").attr("notebookId")); +}; +Notebook.curActiveNotebookIsTrash = function() { + return Notebook.isTrashNotebookId($("#notebookList .curSelectedNode").attr("notebookId")); +}; // 改变笔记本 // 0. 改变样式 diff --git a/public/js/app/page.js b/public/js/app/page.js index 5f620c8..a6e46ee 100644 --- a/public/js/app/page.js +++ b/public/js/app/page.js @@ -58,7 +58,7 @@ editorMode.prototype.changeMode = function(isWritingMode) { } else { this.normalMode(); } -} +}; editorMode.prototype.resizeEditor = function() { // css还没渲染完 @@ -93,13 +93,18 @@ editorMode.prototype.normalMode = function() { $("#noteList").width(UserInfo.NoteListWidth); $("#note").css("left", UserInfo.NoteListWidth); -} + + this.isWritingMode = false; +}; editorMode.prototype.writtingMode = function() { + if (Note.inBatch) { + return; + } if(this.$themeLink.attr('href').indexOf('writting-overwrite.css') == -1) { this.$themeLink.attr("href", "/css/theme/writting-overwrite.css"); } - + /* setTimeout(function() { var $c = $("#editorContent_ifr").contents(); @@ -126,7 +131,9 @@ editorMode.prototype.writtingMode = function() { // 切换到写模式 Note.toggleWriteable(); -} + + this.isWritingMode = true; +}; editorMode.prototype.getWritingCss = function() { if(this.isWritingMode) { @@ -681,8 +688,13 @@ function scrollTo(self, tagName, text) { // 主题 $("#themeForm").on("click", "input", function(e) { var val = $(this).val(); - $("#themeLink").attr("href", "/css/theme/" + val + ".css"); - + var preHref = $("#themeLink").attr("href"); // default.css?id=7 + var arr = preHref.split('='); + var id = 1; + if (arr.length == 2) { + id = arr[1]; + } + $("#themeLink").attr("href", "/css/theme/" + val + ".css?id=" + id); ajaxPost("/user/updateTheme", {theme: val}, function(re) { if(reIsOk(re)) { UserInfo.Theme = val @@ -800,6 +812,9 @@ function scrollTo(self, tagName, text) { if (UserInfo.LeftIsMin) { minLeft(false); } + else { + maxLeft(false); + } // end // 开始时显示loading...... @@ -1104,7 +1119,6 @@ LeaAce = { return function() { pre.find('.toggle-raw').remove(); var value = pre.html(); - log(value); value = value.replace(/ /g, " ").replace(/\
    /gi,"\n").replace(//g, '>'); pre.html(value); var id = pre.attr('id'); diff --git a/public/js/app/share.js b/public/js/app/share.js index 870fd39..0053fef 100644 --- a/public/js/app/share.js +++ b/public/js/app/share.js @@ -4,7 +4,7 @@ // 默认共享notebook id Share.defaultNotebookId = "share0"; -Share.defaultNotebookTitle = getMsg("defaulthhare"); +Share.defaultNotebookTitle = getMsg("defaultShare"); Share.sharedUserInfos = {}; // userId => {} // 在render时就创建, 以后复用之 @@ -19,12 +19,13 @@ Share.cache = {}; // note的cache Share.dialogIsNote = true; // 设置缓存 note +// 弃用 Share.setCache = function(note) { if(!note || !note.NoteId) { return; } Share.cache[note.NoteId] = note; -} +}; /** * 我的共享notebooks @@ -296,7 +297,6 @@ Share.changeNotebook = function(userId, notebookId, callback) { // // 如果是特定笔记本下的notes, 那么传过来的没有权限信息, 此时权限由notebookId决定 if(param.notebookId) { - } if(callback) { callback(ret); @@ -381,10 +381,10 @@ Share.changeNotebookForNewNote = function(notebookId) { // 删除笔记, 我有权限, 且是我创建的笔记 Share.deleteSharedNote = function(target, contextmenuItem) { Note.deleteNote(target, contextmenuItem, true); -} +}; Share.copySharedNote = function(target, contextmenuItem) { Note.copyNote(target, contextmenuItem, true); -} +}; Share.contextmenu = null; Share.initContextmenu = function(notebooksCopy) { @@ -412,12 +412,13 @@ Share.initContextmenu = function(notebooksCopy) { } function applyrule(menu) { var noteId = $(this).attr("noteId"); - var note = Share.cache[noteId]; - if(!note) { - return; - } + var note = Note.getNote(noteId); var items = []; - if(!(note.Perm && note.CreatedUserId == UserInfo.UserId)) { + if(Note.inBatch || !note) { + items.push("delete"); + } + // 批量操作时, 不让删除 + if(note && !(note.Perm && note.CreatedUserId == UserInfo.UserId)) { items.push("delete"); } // 不是自己的创建的不能删除 @@ -426,7 +427,6 @@ Share.initContextmenu = function(notebooksCopy) { disable: true, items: items }); - } Share.contextmenu = $("#noteItemList .item-shared").contextmenu(noteListMenu); diff --git a/public/js/contextmenu/css/contextmenu-min.css b/public/js/contextmenu/css/contextmenu-min.css index d4de895..e29ace5 100644 --- a/public/js/contextmenu/css/contextmenu-min.css +++ b/public/js/contextmenu/css/contextmenu-min.css @@ -1 +1 @@ -.b-m-mpanel{background:url(images/contextmenu/menu_bg.gif) left repeat-y #fff;border:1px solid #ccc;position:absolute;padding:2px 0;z-index:99997;left:0;top:0;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box;overflow:auto}.b-m-split{height:6px;background:url(images/contextmenu/m_splitLine.gif) center repeat-x;font-size:0;margin:0 2px}.b-m-idisable,.b-m-ifocus,.b-m-item{padding:4px 10px 4px 4px;cursor:default;line-height:100%}.b-m-idisable{color:grey}.b-m-arrow,.b-m-ibody{overflow:hidden;text-overflow:ellipsis}.b-m-arrow{background:url(images/contextmenu/m_arrow.gif) right no-repeat}.b-m-idisable .b-m-arrow{background:0 0}.b-m-idisable img,.b-m-ifocus img,.b-m-item img{margin-right:8px;width:16px}.b-m-ifocus{background-color:#CDE3F6}.b-m-idisable img{visibility:hidden}.c-text{display:inline-block;padding-left:3px}.b-m-icon{width:23px;padding-left:3px} \ No newline at end of file +.b-m-mpanel{background:url(images/contextmenu/menu_bg.gif) left repeat-y #fff;border:1px solid #ccc;position:absolute;padding:2px 0;z-index:99997;left:0;top:0;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box;overflow:auto}.b-m-split{height:6px;background:url(images/contextmenu/m_splitLine.gif) center repeat-x;font-size:0;margin:0 2px}.b-m-idisable,.b-m-ifocus,.b-m-item{padding:4px 10px 4px 4px;cursor:default;line-height:1.2}.b-m-idisable{color:grey}.b-m-arrow,.b-m-ibody{overflow:hidden;text-overflow:ellipsis}.b-m-arrow{background:url(images/contextmenu/m_arrow.gif) right no-repeat}.b-m-idisable .b-m-arrow{background:0 0}.b-m-idisable img,.b-m-ifocus img,.b-m-item img{margin-right:8px;width:16px}.b-m-ifocus{background-color:#CDE3F6}.b-m-idisable img{visibility:hidden}.c-text{display:inline-block;padding-left:3px}.b-m-icon{width:23px;padding-left:3px} \ No newline at end of file diff --git a/public/js/contextmenu/css/contextmenu.css b/public/js/contextmenu/css/contextmenu.css index 7ac431b..d2640c4 100644 --- a/public/js/contextmenu/css/contextmenu.css +++ b/public/js/contextmenu/css/contextmenu.css @@ -22,7 +22,7 @@ { padding: 4px 10px 4px 4px; cursor: default; - line-height:100%; + line-height:1.2; } .b-m-idisable { diff --git a/public/js/contextmenu/jquery.contextmenu.js b/public/js/contextmenu/jquery.contextmenu.js index 32cad56..716a0e6 100644 --- a/public/js/contextmenu/jquery.contextmenu.js +++ b/public/js/contextmenu/jquery.contextmenu.js @@ -180,20 +180,22 @@ LEA.cmroot = 1; pos.left = (pos.left + width + mwidth > bwidth) ? (pos.left - mwidth < 0 ? 0 : pos.left - mwidth) : pos.left + width; pos.top = (pos.top + mheight > bheight) ? (pos.top - mheight + (width > 0 ? 25 : 0) < 0 ? 0 : pos.top - mheight + (width > 0 ? 25 : 0)) : pos.top; $(this).css(pos).show().css("max-height", bheight); + showGroups.push(this.gidx); }; + //to hide menu var hideMenuPane = function() { var alias = null; + + // console.log('showGroups: ' + showGroups.length) for (var i = showGroups.length - 1; i >= 0; i--) { if (showGroups[i] == this.gidx) break; alias = showGroups.pop(); groups[alias].style.display = "none"; mitems[alias] && (mitems[alias].className = "b-m-item"); - - } //Endfor - //CollectGarbage(); + } }; function applyRule(rule) { /* @@ -216,19 +218,17 @@ LEA.cmroot = 1; /* to show menu */ function showMenu(e, menutarget) { + // 先隐藏之前的 + hideMenuPane(); + removeContextmenuClass(); + target = menutarget; showMenuGroup.call(groups[cmroot], { left: e.pageX, top: e.pageY }, 0); - // life - if(!$(target).hasClass("item-active")) { - $(target).addClass("contextmenu-hover"); + + // 在该target上添加contextmenu-hover + if(target && !$(target).hasClass("item-active")) { + $(target).addClass("contextmenu-hover"); } - - // life , 之前是mousedown - $(document).one('click', function() { - hideMenuPane(); - // life - $(target).removeClass("contextmenu-hover"); - }) } // 初始化 @@ -263,7 +263,17 @@ LEA.cmroot = 1; var me = $(option.parent).on('contextmenu', option.children, function(e){ onShowMenu.call(this, e); }); - + + function removeContextmenuClass() { + Note.$itemList.find('li').removeClass('contextmenu-hover'); + } + + // life , 之前是document, 绑定document即使stopPro也会执行到这里 + $('body').on('click', function(e) { + removeContextmenuClass(); + hideMenuPane(); + }); + //to apply rule if (option.rule) { applyRule(option.rule); diff --git a/public/js/i18n/msg.en.js b/public/js/i18n/msg.en.js index 4c1f189..43cad40 100644 --- a/public/js/i18n/msg.en.js +++ b/public/js/i18n/msg.en.js @@ -1 +1 @@ -var MSG={"app":"Leanote","share":"Share","noTag":"No Tags","inputEmail":"Email is required","history":"Histories","editorTips":"Tips","editorTipsInfo":"

    1. Short cuts

    ctrl+shift+c Toggle code

    2. shift+enter Get out of current block

    eg. in this situation you can use shift+enter to get out of current code block.","all":"Newest","trash":"Trash","delete":"Delete","unTitled":"UnTitled","writingMode":"Writing Mode","normalMode":"Normal Mode","saving":"Saving","saveSuccess":"Save success","update":"Update","close":"Close","cancel":"Cancel","send":"Send","shareToFriends":"Share to friends","publicAsBlog":"Public as blog","cancelPublic":"Cancel public","move":"Move","copy":"Copy","rename":"Rename","exportPdf":"Export PDF","addChildNotebook":"Add child notebook","deleteAllShared":"Delete shared user","deleteSharedNotebook":"Delete shared notebook","copyToMyNotebook":"Copy to my notebook","defaulthhare":"Default","friendEmail":"Friend email","readOnly":"Read only","writable":"Writable","inputFriendEmail":"Friend email is required","clickToChangePermission":"Click to change permission","sendInviteEmailToYourFriend":"Send invite email to your friend","friendNotExits":"Your friend hasn't %s's account, invite register link: %s","emailBodyRequired":"Email body is required","sendSuccess":"success","inviteEmailBody":"Hi,I am %s, %s is awesome, come on!","historiesNum":"We have saved at most 10 latest histories with each note","noHistories":"No histories","datetime":"Datetime","restoreFromThisVersion":"Restore from this version","confirmBackup":"Are you sure to restore from this version? We will backup the current note.","errorEmail":"Please input the right email"};function getMsg(key, data) {var msg = MSG[key];if(msg) {if(data) {if(!isArray(data)) {data = [data];}for(var i = 0; i < data.length; ++i) {msg = msg.replace("%s", data[i]);}}return msg;}return key;} \ No newline at end of file +var MSG={"app":"Leanote","share":"Share","noTag":"No Tags","inputEmail":"Email is required","history":"Histories","editorTips":"Tips","editorTipsInfo":"

    1. Short cuts

    ctrl+shift+c Toggle code

    2. shift+enter Get out of current block

    eg. in this situation you can use shift+enter to get out of current code block.","all":"Newest","trash":"Trash","delete":"Delete","unTitled":"UnTitled","defaultShare":"Default sharing","writingMode":"Writing Mode","normalMode":"Normal Mode","saving":"Saving","saveSuccess":"Save success","update":"Update","close":"Close","cancel":"Cancel","send":"Send","shareToFriends":"Share to friends","publicAsBlog":"Public as blog","cancelPublic":"Cancel public","move":"Move","copy":"Copy","rename":"Rename","exportPdf":"Export PDF","addChildNotebook":"Add child notebook","deleteAllShared":"Delete shared user","deleteSharedNotebook":"Delete shared notebook","copyToMyNotebook":"Copy to my notebook","defaulthhare":"Default","friendEmail":"Friend email","readOnly":"Read only","writable":"Writable","inputFriendEmail":"Friend email is required","clickToChangePermission":"Click to change permission","sendInviteEmailToYourFriend":"Send invite email to your friend","friendNotExits":"Your friend hasn't %s's account, invite register link: %s","emailBodyRequired":"Email body is required","sendSuccess":"success","inviteEmailBody":"Hi,I am %s, %s is awesome, come on!","historiesNum":"We have saved at most 10 latest histories with each note","noHistories":"No histories","datetime":"Datetime","restoreFromThisVersion":"Restore from this version","confirmBackup":"Are you sure to restore from this version? We will backup the current note.","errorEmail":"Please input the right email"};function getMsg(key, data) {var msg = MSG[key];if(msg) {if(data) {if(!isArray(data)) {data = [data];}for(var i = 0; i < data.length; ++i) {msg = msg.replace("%s", data[i]);}}return msg;}return key;} \ No newline at end of file diff --git a/public/js/i18n/msg.fr.js b/public/js/i18n/msg.fr.js index 14d113d..17d587a 100644 --- a/public/js/i18n/msg.fr.js +++ b/public/js/i18n/msg.fr.js @@ -1 +1 @@ -var MSG={"app":"Leanote","share":"Partager","noTag":"No Tags","inputEmail":"L'adresse courriel est requis","history":"Historique","editorTips":"Astuces","editorTipsInfo":"

    1. Raccourcis

    ctrl+maj+c Active/désactive le code

    2. maj+entrée Sortir du bloc courant

    ex. dans cette situation vous pouvez utiliser maj+entrée pour sortir du bloc de code courant.","all":"Le plus récent","trash":"Corbeille","delete":"Effacer","unTitled":"Sans titre","writingMode":"Mode écriture","normalMode":"Mode normal","saving":"Sauvegarde","saveSuccess":"Sauvegarde réussie","update":"Mettre à jour","close":"Fermer","cancel":"Annuler","send":"Envoyer","shareToFriends":"Partage avec ses amis","publicAsBlog":"Publier en tant que blog","cancelPublic":"Annuler la publication","move":"Déplacer","copy":"Copier","rename":"Renommer","addChildNotebook":"Ajouer un bloc-note enfant","deleteAllShared":"Effacer l'utilisateur partagé","deleteSharedNotebook":"Effacer le bloc-notes partagé","copyToMyNotebook":"Copier vers mon bloc-notes","defaulthhare":"Par défaut","friendEmail":"Courriel de l'ami","readOnly":"Lecture seule","writable":"Editable","inputFriendEmail":"Le courriel de votre ami est requis/","clickToChangePermission":"Cliquez pour changer l'autorisation.","sendInviteEmailToYourFriend":"Envoyer un courriel d'invitation à votre ami.","friendNotExits":"Votre ami n'a pas de compte %s, lien d'invitation à s'enregistrer: %s","emailBodyRequired":"Corps du message requis","sendSuccess":"succès","inviteEmailBody":"Coucou, je suis %s, %s est génial, viens!","historiesNum":"Nous avons enregistré au maximum 10 historiques récents de chaque note.","noHistories":"Pas d'historique.","fold":"Plier","unfold":"Déplier","datetime":"Date & Heure","restoreFromThisVersion":"Restaurer depuis cette version","confirmBackup":"Êtes-vous sûr de vouloir restaurer depuis cette version? Nous allons réaliser une copie de sauvegarde de la note actuelle.","errorEmail":"Veuillez renseigner le courriel correct"};function getMsg(key, data) {var msg = MSG[key];if(msg) {if(data) {if(!isArray(data)) {data = [data];}for(var i = 0; i < data.length; ++i) {msg = msg.replace("%s", data[i]);}}return msg;}return key;} \ No newline at end of file +var MSG={"app":"Leanote","share":"Partager","noTag":"No Tags","inputEmail":"L'adresse courriel est requis","history":"Historique","editorTips":"Astuces","editorTipsInfo":"

    1. Raccourcis

    ctrl+maj+c Active/désactive le code

    2. maj+entrée Sortir du bloc courant

    ex. dans cette situation vous pouvez utiliser maj+entrée pour sortir du bloc de code courant.","all":"Le plus récent","trash":"Corbeille","delete":"Effacer","unTitled":"Sans titre","defaultShare":"Partage par défaut","writingMode":"Mode écriture","normalMode":"Mode normal","saving":"Sauvegarde","saveSuccess":"Sauvegarde réussie","update":"Mettre à jour","close":"Fermer","cancel":"Annuler","send":"Envoyer","shareToFriends":"Partage avec ses amis","publicAsBlog":"Publier en tant que blog","cancelPublic":"Annuler la publication","move":"Déplacer","copy":"Copier","rename":"Renommer","addChildNotebook":"Ajouer un bloc-note enfant","deleteAllShared":"Effacer l'utilisateur partagé","deleteSharedNotebook":"Effacer le bloc-notes partagé","copyToMyNotebook":"Copier vers mon bloc-notes","defaulthhare":"Par défaut","friendEmail":"Courriel de l'ami","readOnly":"Lecture seule","writable":"Editable","inputFriendEmail":"Le courriel de votre ami est requis/","clickToChangePermission":"Cliquez pour changer l'autorisation.","sendInviteEmailToYourFriend":"Envoyer un courriel d'invitation à votre ami.","friendNotExits":"Votre ami n'a pas de compte %s, lien d'invitation à s'enregistrer: %s","emailBodyRequired":"Corps du message requis","sendSuccess":"succès","inviteEmailBody":"Coucou, je suis %s, %s est génial, viens!","historiesNum":"Nous avons enregistré au maximum 10 historiques récents de chaque note.","noHistories":"Pas d'historique.","fold":"Plier","unfold":"Déplier","datetime":"Date & Heure","restoreFromThisVersion":"Restaurer depuis cette version","confirmBackup":"Êtes-vous sûr de vouloir restaurer depuis cette version? Nous allons réaliser une copie de sauvegarde de la note actuelle.","errorEmail":"Veuillez renseigner le courriel correct"};function getMsg(key, data) {var msg = MSG[key];if(msg) {if(data) {if(!isArray(data)) {data = [data];}for(var i = 0; i < data.length; ++i) {msg = msg.replace("%s", data[i]);}}return msg;}return key;} \ No newline at end of file diff --git a/public/js/i18n/msg.zh.js b/public/js/i18n/msg.zh.js index f8c9fb8..276d164 100644 --- a/public/js/i18n/msg.zh.js +++ b/public/js/i18n/msg.zh.js @@ -1 +1 @@ -var MSG={"app":"Leanote","share":"分享","noTag":"无标签","inputEmail":"请输入Email","history":"历史记录","editorTips":"帮助","editorTipsInfo":"

    1. 快捷键

    ctrl+shift+c 代码块切换

    2. shift+enter 跳出当前区域

    比如在代码块中按shift+enter可跳出当前代码块.","all":"最新","trash":"废纸篓","delete":"删除","unTitled":"无标题","writingMode":"写作模式","normalMode":"普通模式","saving":"正在保存","saveSuccess":"保存成功","Are you sure to delete it ?":"确认删除?","Insert link into content":"将附件链接插入到内容中","Download":"下载","Delete":"删除","update":"更新","Update Time":"更新时间","Create Time":"创建时间","Post Url":"博文链接","close":"关闭","cancel":"取消","send":"发送","shareToFriends":"分享给好友","publicAsBlog":"公开为博客","cancelPublic":"取消公开为博客","move":"移动","copy":"复制","rename":"重命名","exportPdf":"导出PDF","addChildNotebook":"添加子笔记本","deleteAllShared":"删除所有共享","deleteSharedNotebook":"删除共享笔记本","copyToMyNotebook":"复制到我的笔记本","sendSuccess":"发送成功","defaulthhare":"默认共享","friendEmail":"好友邮箱","readOnly":"只读","writable":"可写","inputFriendEmail":"请输入好友邮箱","clickToChangePermission":"点击改变权限","sendInviteEmailToYourFriend":"发送邀请email给Ta","friendNotExits":"该用户还没有注册%s, 复制邀请链接发送给Ta, 邀请链接: %s","emailBodyRequired":"邮件内容不能为空","inviteEmailBody":"Hi, 你好, 我是%s, %s非常好用, 快来注册吧!","historiesNum":"leanote会保存笔记的最近10份历史记录","noHistories":"无历史记录","datetime":"日期","restoreFromThisVersion":"从该版本还原","confirmBackup":"确定要从该版还原? 还原前leanote会备份当前版本到历史记录中.","errorEmail":"请输入正确的email","Hyperlink":"超链接","Please provide the link URL and an optional title":"请填写链接和一个可选的标题","optional title":"可选标题","Cancel":"取消","Strong":"粗体","strong text":"粗体","Emphasis":"斜体","emphasized text":"斜体","Blockquote":"引用","Code Sample":"代码","enter code here":"代码","Image":"图片","Heading":"标题","Numbered List":"有序列表","Bulleted List":"无序列表","List item":"项目","Horizontal Rule":"水平线","Undo":"撤销","Redo":"重做","enter image description here":"图片标题","enter link description here":"链接标题","Add Album":"添加相册","Cannot delete default album":"不能删除默认相册","Cannot rename default album":"不能重命名默认相册","Rename Album":"重命名","Add Success!":"添加成功!","Rename Success!":"重命名成功!","Delete Success!":"删除成功","Are you sure to delete this image ?":"确定删除该图片?","click to remove this image":"删除图片","error":"错误","Error":"错误","Prev":"上一页","Next":"下一页"};function getMsg(key, data) {var msg = MSG[key];if(msg) {if(data) {if(!isArray(data)) {data = [data];}for(var i = 0; i < data.length; ++i) {msg = msg.replace("%s", data[i]);}}return msg;}return key;} \ No newline at end of file +var MSG={"app":"Leanote","share":"分享","noTag":"无标签","inputEmail":"请输入Email","history":"历史记录","editorTips":"帮助","editorTipsInfo":"

    1. 快捷键

    ctrl+shift+c 代码块切换

    2. shift+enter 跳出当前区域

    比如在代码块中按shift+enter可跳出当前代码块.","all":"最新","trash":"废纸篓","delete":"删除","unTitled":"无标题","defaultShare":"默认分享","writingMode":"写作模式","normalMode":"普通模式","saving":"正在保存","saveSuccess":"保存成功","Are you sure to delete it ?":"确认删除?","Insert link into content":"将附件链接插入到内容中","Download":"下载","Delete":"删除","update":"更新","Update Time":"更新时间","Create Time":"创建时间","Post Url":"博文链接","close":"关闭","cancel":"取消","send":"发送","shareToFriends":"分享给好友","publicAsBlog":"公开为博客","cancelPublic":"取消公开为博客","move":"移动","copy":"复制","rename":"重命名","exportPdf":"导出PDF","addChildNotebook":"添加子笔记本","deleteAllShared":"删除所有共享","deleteSharedNotebook":"删除共享笔记本","copyToMyNotebook":"复制到我的笔记本","sendSuccess":"发送成功","friendEmail":"好友邮箱","readOnly":"只读","writable":"可写","inputFriendEmail":"请输入好友邮箱","clickToChangePermission":"点击改变权限","sendInviteEmailToYourFriend":"发送邀请email给Ta","friendNotExits":"该用户还没有注册%s, 复制邀请链接发送给Ta, 邀请链接: %s","emailBodyRequired":"邮件内容不能为空","inviteEmailBody":"Hi, 你好, 我是%s, %s非常好用, 快来注册吧!","historiesNum":"leanote会保存笔记的最近10份历史记录","noHistories":"无历史记录","datetime":"日期","restoreFromThisVersion":"从该版本还原","confirmBackup":"确定要从该版还原? 还原前leanote会备份当前版本到历史记录中.","errorEmail":"请输入正确的email","Hyperlink":"超链接","Please provide the link URL and an optional title":"请填写链接和一个可选的标题","optional title":"可选标题","Cancel":"取消","Strong":"粗体","strong text":"粗体","Emphasis":"斜体","emphasized text":"斜体","Blockquote":"引用","Code Sample":"代码","enter code here":"代码","Image":"图片","Heading":"标题","Numbered List":"有序列表","Bulleted List":"无序列表","List item":"项目","Horizontal Rule":"水平线","Undo":"撤销","Redo":"重做","enter image description here":"图片标题","enter link description here":"链接标题","Add Album":"添加相册","Cannot delete default album":"不能删除默认相册","Cannot rename default album":"不能重命名默认相册","Rename Album":"重命名","Add Success!":"添加成功!","Rename Success!":"重命名成功!","Delete Success!":"删除成功","Are you sure to delete this image ?":"确定删除该图片?","click to remove this image":"删除图片","error":"错误","Error":"错误","Prev":"上一页","Next":"下一页"};function getMsg(key, data) {var msg = MSG[key];if(msg) {if(data) {if(!isArray(data)) {data = [data];}for(var i = 0; i < data.length; ++i) {msg = msg.replace("%s", data[i]);}}return msg;}return key;} \ No newline at end of file