writing mode v1.0
This commit is contained in:
@ -10,8 +10,8 @@ import (
|
||||
|
||||
// convert revel msg to js msg
|
||||
|
||||
var msgBasePath = "/Users/life/Documents/Go/package/src/leanote/messages/"
|
||||
var targetBasePath = "/Users/life/Documents/Go/package/src/leanote/public/js/i18n/"
|
||||
var msgBasePath = "/Users/life/Documents/Go/package/src/github.com/leanote/leanote/messages/"
|
||||
var targetBasePath = "/Users/life/Documents/Go/package/src/github.com/leanote/leanote/public/js/i18n/"
|
||||
func parse(filename string) {
|
||||
file, err := os.Open(msgBasePath + filename)
|
||||
reader := bufio.NewReader(file)
|
||||
|
@ -11,10 +11,22 @@
|
||||
<link href="css/bootstrap.css" rel="stylesheet" />
|
||||
<!-- 先加载, 没有样式, 宽度不定 -->
|
||||
<link rel="stylesheet" href="tinymce/skins/custom/skin.min.css" type="text/css" />
|
||||
|
||||
<!-- leanote css -->
|
||||
<link rel="stylesheet" href="css/theme/{{if .userInfo.Theme}}{{.userInfo.Theme}}{{else}}default{{end}}.css" type="text/css" id="themeLink" />
|
||||
<script>
|
||||
var hash = location.hash;
|
||||
if(hash == "#writing") {
|
||||
var files = '<link rel="stylesheet" href="css/theme/writting-overwrite.css" type="text/css" id="themeLink" />';
|
||||
} else {
|
||||
var files ='<link rel="stylesheet" href="css/theme/{{if .userInfo.Theme}}{{.userInfo.Theme}}{{else}}default{{end}}.css" type="text/css" id="themeLink" />';
|
||||
}
|
||||
document.write(files);
|
||||
</script>
|
||||
|
||||
<link href="css/font-awesome-4.0.3/css/font-awesome.css" rel="stylesheet" />
|
||||
|
||||
<!-- For Develop writting mod -->
|
||||
|
||||
<script>
|
||||
function log(o) {
|
||||
console.log(o);
|
||||
@ -42,14 +54,14 @@ function log(o) {
|
||||
<span id="leftSwitcher2" title="{{msg . "leftShow"}}">lea</span>
|
||||
</div>
|
||||
<!-- search -->
|
||||
<div class="pull-left">
|
||||
<div class="pull-left" id="searchWrap">
|
||||
<form class="navbar-form form-inline col-lg-2 hidden-xs" id="searchNote">
|
||||
<input class="form-control" placeholder="Search" type="text" id="searchNoteInput">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- 全局按钮 -->
|
||||
<div class="pull-left" style="line-height: 40px; margin-top: 10px;">
|
||||
<div class="pull-left" style="" id="newNoteWrap">
|
||||
|
||||
<!-- 新建笔记 -->
|
||||
<div id="newMyNote">
|
||||
@ -57,11 +69,12 @@ function log(o) {
|
||||
<i class="fa fa-file-o"></i>
|
||||
{{msg . "newNote"}}
|
||||
</a>
|
||||
|
|
||||
<span class="new-split">|</span>
|
||||
<a id="newNoteMarkdownBtn" title="{{msg . "newMarkdown"}}">
|
||||
Markdown
|
||||
</a>
|
||||
- <span id="curNotebookForNewNote" notebookId=""></span>
|
||||
<span class="for-split"> - </span>
|
||||
<span id="curNotebookForNewNote" notebookId=""></span>
|
||||
<div class="dropdown" style="display: inline-block">
|
||||
<a class="ios7-a dropdown-toggle"
|
||||
id="dropdownMenu2" data-toggle="dropdown">
|
||||
@ -78,11 +91,12 @@ function log(o) {
|
||||
<i class="fa fa-file-o"></i>
|
||||
{{msg . "newNote"}}
|
||||
</a>
|
||||
|
|
||||
<span class="new-split">|</span>
|
||||
<a id="newShareNoteMarkdownBtn" title="{{msg . "newMarkdown"}}">
|
||||
Markdown
|
||||
</a>
|
||||
- <span id="curNotebookForNewSharedNote" notebookId="" userId=""></span>
|
||||
<span class="for-split"> - </span>
|
||||
<span id="curNotebookForNewSharedNote" notebookId="" userId=""></span>
|
||||
<div class="dropdown" style="display: inline-block">
|
||||
<a class="ios7-a dropdown-toggle"
|
||||
id="dropdownMenu2" data-toggle="dropdown">
|
||||
@ -94,11 +108,10 @@ function log(o) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pull-left" style="line-height: 40px; margin-top: 10px; margin-left: 10px;" id="leanoteMsg">
|
||||
<div class="pull-left" id="leanoteMsg">
|
||||
<span id="msg" style="display: inline-block;"></span>
|
||||
<img id="loading" style="visibility: hidden" src="/images/loading-a-20.gif" />
|
||||
|
||||
|
||||
<span id="loading">
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
@ -163,6 +176,10 @@ function log(o) {
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
<div class="pull-right" style="line-height: 60px; margin-right:10px" id="toggleEditorMode">
|
||||
<a href="#writing">{{msg . "writingMode"}}</a>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<ul id="setting" class="pull-right">
|
||||
<li class="dropdown messages">
|
||||
@ -461,6 +478,7 @@ function log(o) {
|
||||
id="moreBtn"> <i class="fa fa-angle-down"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="editorBg"></div>
|
||||
<div id="leanoteNav">
|
||||
<h1>
|
||||
<i class="fa fa-align-justify" title="文档导航"></i>
|
||||
@ -477,6 +495,7 @@ function log(o) {
|
||||
|
||||
<div id="mdEditor">
|
||||
<div id="wmd-button-bar" id="mdBar"></div>
|
||||
<div class="editorBg"></div>
|
||||
<!-- 为了scroll -->
|
||||
|
||||
<div class="clearfix" id="mdEditorPreview">
|
||||
|
@ -81,6 +81,8 @@ defaultShare=Default sharing
|
||||
leftHidden=Hidden slide bar
|
||||
leftShow=Show slide bar
|
||||
nav=Note nav
|
||||
writingMode=Writing Mode
|
||||
normalMode=Normal Mode
|
||||
|
||||
update=Update
|
||||
create=Create
|
||||
|
@ -82,6 +82,8 @@ defaultShare=默认共享
|
||||
leftHidden=隐藏左侧
|
||||
leftShow=展开左侧
|
||||
nav=文档导航
|
||||
writingMode=写作模式
|
||||
normalMode=普通模式
|
||||
|
||||
update=更新
|
||||
create=创建
|
||||
|
@ -1,2 +0,0 @@
|
||||
html{margin-top:3px;padding:3px;border:1px solid #ebeff2;border-radius:5px;-webkit-border-radius:5px;border-width:1px;box-shadow:none}
|
||||
*{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif}
|
12
public/css/editor/editor-writting-mode.css
Normal file
12
public/css/editor/editor-writting-mode.css
Normal file
@ -0,0 +1,12 @@
|
||||
html {
|
||||
border: none;
|
||||
}
|
||||
body {
|
||||
background-color: #fbfcf7;
|
||||
}
|
||||
* {
|
||||
font-size: 16px;
|
||||
}
|
||||
pre {
|
||||
font-size: 14px;
|
||||
}
|
15
public/css/editor/editor-writting-mode.less
Normal file
15
public/css/editor/editor-writting-mode.less
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
@bgColor: #fbfcf7;
|
||||
|
||||
html {
|
||||
border: none;
|
||||
}
|
||||
body {
|
||||
background-color: @bgColor;
|
||||
}
|
||||
* {
|
||||
font-size: 16px;
|
||||
}
|
||||
pre {
|
||||
font-size:14px;
|
||||
}
|
12
public/css/editor/editor.css
Normal file
12
public/css/editor/editor.css
Normal file
@ -0,0 +1,12 @@
|
||||
html {
|
||||
margin-top: 3px;
|
||||
padding: 3px;
|
||||
border: 1px solid #ebeff2;
|
||||
border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-width: 1px;
|
||||
box-shadow: none;
|
||||
}
|
||||
* {
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Arial, 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
|
||||
}
|
@ -907,7 +907,6 @@ a.raw:hover {
|
||||
#leanoteNav {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top:32px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
background-color: #fff;
|
||||
@ -1191,4 +1190,18 @@ background-position:-1px -670px
|
||||
border-top: 1px dashed #eee;
|
||||
padding: 5px 0;
|
||||
}
|
||||
}
|
||||
#leanoteMsg {
|
||||
line-height: 40px; margin-top: 10px; margin-left: 10px;
|
||||
}
|
||||
#newNoteWrap {
|
||||
line-height: 40px; margin-top: 10px;
|
||||
}
|
||||
#loading {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
content: url(../../images/loading-a-20.gif);
|
||||
margin-top:10px;
|
||||
visibility: hidden;
|
||||
}
|
@ -872,7 +872,6 @@ border: 1px solid @borderColor;
|
||||
#leanoteNav {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top:32px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
background-color: #fff;
|
||||
@ -1152,3 +1151,18 @@ background-position:-1px -670px
|
||||
padding: 5px 0;
|
||||
}
|
||||
}
|
||||
|
||||
#leanoteMsg {
|
||||
line-height: 40px; margin-top: 10px; margin-left: 10px;
|
||||
}
|
||||
#newNoteWrap {
|
||||
line-height: 40px; margin-top: 10px;
|
||||
}
|
||||
#loading {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
content: url(../../images/loading-a-20-black.gif);
|
||||
margin-top:10px;
|
||||
visibility: hidden;
|
||||
}
|
@ -35,11 +35,15 @@
|
||||
background: #000000;
|
||||
color: #ffffff;
|
||||
}
|
||||
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: 14px;
|
||||
font-size: 16px;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
@ -64,7 +68,7 @@ a.raw:hover {
|
||||
/* header */
|
||||
#header {
|
||||
height: 60px;
|
||||
background-color: #ffffff;
|
||||
background-color: #fbfcf7;
|
||||
color: #ffffff;
|
||||
border-bottom: 1px solid #ebeff2;
|
||||
/* for app */
|
||||
@ -76,72 +80,21 @@ a.raw:hover {
|
||||
/* -webkit-app-region: no-drag; */
|
||||
|
||||
}
|
||||
#header {
|
||||
#header a {
|
||||
color: #ccc;
|
||||
}
|
||||
#header li {
|
||||
color: #000000;
|
||||
}
|
||||
#header li a {
|
||||
color: #000000;
|
||||
}
|
||||
#searchWrap,
|
||||
#logo,
|
||||
#logo span {
|
||||
line-height: 50px;
|
||||
font-size: 28px;
|
||||
}
|
||||
#logo {
|
||||
width: 140px;
|
||||
height: 60px;
|
||||
padding-left: 10px;
|
||||
padding-top: 0px;
|
||||
border-bottom: 1px solid transparent;
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
#logo span,
|
||||
#switcher span {
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
border-radius: 10px;
|
||||
display: inline-block;
|
||||
padding: 4px 0;
|
||||
line-height: 1.0;
|
||||
}
|
||||
#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;
|
||||
padding: 6px 4px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
}
|
||||
#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: none !important;
|
||||
border-color: #0fb264;
|
||||
box-shadow: none;
|
||||
#switcher,
|
||||
#leftNotebook,
|
||||
.noteSplit {
|
||||
display: none;
|
||||
}
|
||||
#header ul {
|
||||
margin: 0;
|
||||
@ -217,268 +170,13 @@ a.raw:hover {
|
||||
}
|
||||
#mainContainer {
|
||||
position: absolute;
|
||||
top: 60px;
|
||||
top: 0;
|
||||
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;
|
||||
}
|
||||
.noteSplit {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 5px;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
z-index: 5;
|
||||
cursor: col-resize;
|
||||
}
|
||||
#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;
|
||||
/*border: 1px solid #ccc;*/
|
||||
|
||||
background-color: #ffffff;
|
||||
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;
|
||||
}
|
||||
#notebookMin div.minContainer i {
|
||||
font-size: 20px;
|
||||
color: #000;
|
||||
}
|
||||
#notebookMin div.minContainer:hover i {
|
||||
color: #0fb264;
|
||||
}
|
||||
#notebookMin div.minContainer ul {
|
||||
background-color: #fff;
|
||||
opacity: 0.8;
|
||||
display: none;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
margin-left: 20px;
|
||||
padding: 5px 0px;
|
||||
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: 0px;
|
||||
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 {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
width: 250px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
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: #ffffff;
|
||||
}
|
||||
.folderHeader {
|
||||
min-height: 35px;
|
||||
line-height: 35px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid transparent;
|
||||
border-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.folderHeader span {
|
||||
display: inline-block;
|
||||
line-height: 35px;
|
||||
color: #000;
|
||||
font-size: 16px;
|
||||
}
|
||||
.folderHeader .fa-left,
|
||||
.each-user .fa {
|
||||
display: inline-block;
|
||||
line-height: 35px;
|
||||
font-size: 16px;
|
||||
width: 35px;
|
||||
border-right: 1px solid rgba(0, 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, 0.05);
|
||||
}
|
||||
.each-user div span {
|
||||
display: inline-block;
|
||||
line-height: 35px;
|
||||
color: #000;
|
||||
padding-left: 3px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.each-user div .fa {
|
||||
width: 20px;
|
||||
border-right: none;
|
||||
}
|
||||
.each-user ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.each-user ul a {
|
||||
padding-left: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
#myNotebooks.opened .fa-left {
|
||||
/*
|
||||
background-color: #65bd77;
|
||||
color: #e2f3e5;
|
||||
*/
|
||||
|
||||
}
|
||||
#myNotebooks .folderBody {
|
||||
max-height: 600px;
|
||||
overflow: auto;
|
||||
}
|
||||
#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: #ffffff;
|
||||
color: #0fb264;
|
||||
}
|
||||
.folderBody a {
|
||||
padding-left: 20px;
|
||||
display: block;
|
||||
color: #444;
|
||||
cursor: pointer;
|
||||
}
|
||||
.folderBody a:hover,
|
||||
.folderBody .contextmenu-hover {
|
||||
background-color: #ebeff2 !important;
|
||||
}
|
||||
#notebookList input {
|
||||
border: 1px solid #ebeff2;
|
||||
width: 90%;
|
||||
box-shadow: none;
|
||||
}
|
||||
#notebookList input:focus {
|
||||
outline: none !important;
|
||||
border-color: #0fb264;
|
||||
}
|
||||
#myTag .folderBody li {
|
||||
position: relative;
|
||||
}
|
||||
#myTag .folderBody li .badge {
|
||||
width: 40px;
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
top: 7px;
|
||||
font-weight: normal;
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
border: 1px solid #ebeff2;
|
||||
}
|
||||
/* notelist */
|
||||
#search {
|
||||
border: #bababa 1px solid;
|
||||
background-color: #fff;
|
||||
@ -518,24 +216,19 @@ a.raw:hover {
|
||||
outline-offset: -2px;
|
||||
}
|
||||
#notesAndSort {
|
||||
background-color: #ffffff;
|
||||
background-color: #eee;
|
||||
border-bottom: 1px solid #ebeff2;
|
||||
}
|
||||
#sortType {
|
||||
/* position: absolute;
|
||||
right:0;*/
|
||||
|
||||
float: right;
|
||||
}
|
||||
/* item list */
|
||||
#noteItemList {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
overflow-y: hidden;
|
||||
background-color: #f7f7f7;
|
||||
padding: 0 5px;
|
||||
}
|
||||
#noteItemList .item {
|
||||
@ -552,19 +245,7 @@ a.raw:hover {
|
||||
#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;
|
||||
color: #000000;
|
||||
}
|
||||
#noteItemList .item-thumb {
|
||||
padding-left: 10px;
|
||||
@ -618,6 +299,7 @@ a.raw:hover {
|
||||
color: #000000;
|
||||
border-bottom: dashed 1px #ebeff2;
|
||||
}
|
||||
/* note */
|
||||
/* editor */
|
||||
#editorTool {
|
||||
margin: 0;
|
||||
@ -627,54 +309,16 @@ a.raw:hover {
|
||||
#editorTool li {
|
||||
display: inline-block;
|
||||
}
|
||||
#noteTitleDiv {
|
||||
height: 30px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
#noteTitle {
|
||||
height: 100%;
|
||||
padding: 0px 3px;
|
||||
width: 100%;
|
||||
border: none;
|
||||
background-color: #ffffff;
|
||||
min-width: 300px;
|
||||
}
|
||||
#noteTitle:focus {
|
||||
outline: none !important;
|
||||
}
|
||||
#editorMask {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
bottom: 0px;
|
||||
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;
|
||||
}
|
||||
#editor,
|
||||
#mdEditor {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
top: 71px;
|
||||
bottom: 0px;
|
||||
right: 0;
|
||||
left: 5px;
|
||||
left: 0;
|
||||
padding: 0;
|
||||
display: none;
|
||||
}
|
||||
@ -715,8 +359,7 @@ a.raw:hover {
|
||||
position: relative;
|
||||
height: 30px;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #ccc;
|
||||
background-color: #f0f0f0;
|
||||
background-color: #fbfcf7;
|
||||
}
|
||||
/* 编辑器工具 需要important, 因为mce还要有js加载css, 肯定在此之后 */
|
||||
/*加高, 之前显得拥挤*/
|
||||
@ -724,6 +367,9 @@ a.raw:hover {
|
||||
padding: 5px 5px !important;
|
||||
line-height: 20px !important;
|
||||
}
|
||||
.mce-btn {
|
||||
background-color: #fbfcf7 !important;
|
||||
}
|
||||
.mce-menubtn.mce-btn-small span {
|
||||
line-height: 20px !important;
|
||||
}
|
||||
@ -758,6 +404,7 @@ a.raw:hover {
|
||||
}
|
||||
/*标签与其它工具*/
|
||||
#tool {
|
||||
display: none;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
/* tag */
|
||||
@ -773,7 +420,7 @@ a.raw:hover {
|
||||
display: none;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background-color: #ffffff;
|
||||
background-color: #fbfcf7;
|
||||
}
|
||||
#addTagInput:focus {
|
||||
outline: none;
|
||||
@ -814,7 +461,6 @@ a.raw:hover {
|
||||
#leanoteNav {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 32px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
background-color: #fff;
|
||||
@ -886,6 +532,7 @@ a.raw:hover {
|
||||
bottom: 0;
|
||||
display: none;
|
||||
z-index: 100;
|
||||
padding-left: 5px;
|
||||
background-color: #fff;
|
||||
}
|
||||
#noteReadContainer {
|
||||
@ -912,16 +559,17 @@ a.raw:hover {
|
||||
overflow: auto;
|
||||
padding: 3px;
|
||||
}
|
||||
/*scroll*/
|
||||
/*
|
||||
::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
height: 8px;
|
||||
background-color: @sbc;
|
||||
background: none;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: @sbc;
|
||||
border:1px solid #dadada;
|
||||
border-radius: 5px;
|
||||
background-color: #41586e;
|
||||
opacity: 0.1;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background-color:#dadada
|
||||
@ -1003,7 +651,9 @@ background-position:-1px -703px
|
||||
::-webkit-scrollbar-button:vertical:decrement:disabled {
|
||||
background-position:-1px -670px
|
||||
}
|
||||
|
||||
*/
|
||||
/*from notebook*/
|
||||
/*::-webkit-scrollbar{width:7px;height:7px;}::-webkit-scrollbar-thumb{background-color:rgba(50,50,50,0.3);}::-webkit-scrollbar-thumb:hover{background-color:rgba(50,50,50,0.6);}::-webkit-scrollbar-track{background-color:rgba(50,50,50,0.1);}::-webkit-scrollbar-track:hover{background-color:rgba(50,50,50,0.2);}
|
||||
*/
|
||||
.fa-calendar {
|
||||
color: #666;
|
||||
@ -1063,3 +713,245 @@ background-position:-1px -670px
|
||||
border-top: 1px dashed #eee;
|
||||
padding: 5px 0;
|
||||
}
|
||||
#left-column {
|
||||
width: 100% !important;
|
||||
}
|
||||
#editorMask {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
bottom: 0px;
|
||||
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;
|
||||
}
|
||||
html,
|
||||
body {
|
||||
background-color: #fbfcf7;
|
||||
overflow: hidden;
|
||||
}
|
||||
#right-column,
|
||||
#newNoteMarkdownBtn,
|
||||
#newShareNoteMarkdownBtn,
|
||||
.new-split,
|
||||
#editorMask,
|
||||
#sortType {
|
||||
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: 1;
|
||||
color: #ccc;
|
||||
}
|
||||
#header #leanoteMsg {
|
||||
position: absolute;
|
||||
width: 700px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: right;
|
||||
line-height: 60px;
|
||||
margin: auto;
|
||||
}
|
||||
#header .pull-right:hover a {
|
||||
color: #000;
|
||||
}
|
||||
#newNoteWrap {
|
||||
line-height: 40px;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
#newNoteWrap:hover {
|
||||
color: #000;
|
||||
}
|
||||
#newNoteWrap:hover a {
|
||||
color: #000;
|
||||
}
|
||||
#mainContainer {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
#newMyNote,
|
||||
#newSharedNote {
|
||||
position: relative;
|
||||
}
|
||||
#newMyNote .dropdown-menu,
|
||||
#newSharedNote .dropdown-menu {
|
||||
left: 0px !important;
|
||||
}
|
||||
#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;
|
||||
}
|
||||
#wmd-input {
|
||||
border: none;
|
||||
background-color: #fbfcf7;
|
||||
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: 0.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: 2;
|
||||
left: 0;
|
||||
right: 150px;
|
||||
padding: 15px 0;
|
||||
height: 59px;
|
||||
}
|
||||
#noteTitleDiv {
|
||||
height: 30px;
|
||||
}
|
||||
#noteTitle {
|
||||
height: 100%;
|
||||
padding: 0px 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: 0.8;
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
/*
|
||||
&:hover {
|
||||
#noteItemListWrap {
|
||||
display: block;
|
||||
}
|
||||
#notesAndSort {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
#noteList #notesAndSort {
|
||||
display: none;
|
||||
}
|
||||
#noteList #noteItemListWrap {
|
||||
display: none;
|
||||
}
|
||||
#notesAndSort {
|
||||
background: none;
|
||||
}
|
||||
#noteItemList {
|
||||
background: none;
|
||||
}
|
||||
#noteItemList .item {
|
||||
background: none;
|
||||
}
|
||||
.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: 0.3;
|
||||
}
|
||||
.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;
|
||||
}
|
1059
public/css/theme/writting-overwrite.less
Normal file
1059
public/css/theme/writting-overwrite.less
Normal file
File diff suppressed because it is too large
Load Diff
@ -35,11 +35,15 @@
|
||||
background: #000000;
|
||||
color: #ffffff;
|
||||
}
|
||||
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: 14px;
|
||||
font-size: 16px;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
@ -64,7 +68,7 @@ a.raw:hover {
|
||||
/* header */
|
||||
#header {
|
||||
height: 60px;
|
||||
background-color: #25313e;
|
||||
background-color: #fbfcf7;
|
||||
color: #ffffff;
|
||||
border-bottom: 1px solid #ebeff2;
|
||||
/* for app */
|
||||
@ -85,71 +89,12 @@ a.raw:hover {
|
||||
#header li a {
|
||||
color: #000000;
|
||||
}
|
||||
#searchWrap,
|
||||
#logo,
|
||||
#logo span {
|
||||
line-height: 50px;
|
||||
font-size: 28px;
|
||||
}
|
||||
#logo {
|
||||
width: 140px;
|
||||
height: 59px;
|
||||
padding-left: 10px;
|
||||
padding-top: 0px;
|
||||
border-bottom: 1px solid transparent;
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
#logo span,
|
||||
#switcher span {
|
||||
background-color: #000;
|
||||
border-radius: 10px;
|
||||
display: inline-block;
|
||||
padding: 4px 0;
|
||||
line-height: 1.0;
|
||||
}
|
||||
#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;
|
||||
padding: 8px 4px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
}
|
||||
#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: none !important;
|
||||
border-color: #0fb264;
|
||||
box-shadow: none;
|
||||
#switcher,
|
||||
#leftNotebook,
|
||||
.noteSplit {
|
||||
display: none;
|
||||
}
|
||||
#header ul {
|
||||
margin: 0;
|
||||
@ -225,288 +170,13 @@ a.raw:hover {
|
||||
}
|
||||
#mainContainer {
|
||||
position: absolute;
|
||||
top: 59px;
|
||||
top: 0;
|
||||
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;
|
||||
}
|
||||
.noteSplit {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 5px;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
z-index: 5;
|
||||
cursor: col-resize;
|
||||
}
|
||||
#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;
|
||||
/*border: 1px solid #ccc;*/
|
||||
|
||||
background-color: #41586e;
|
||||
/*
|
||||
overflow-y: auto;
|
||||
overflow-x: auto;
|
||||
*/
|
||||
|
||||
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, 0.3);
|
||||
padding: 5px;
|
||||
position: relative;
|
||||
}
|
||||
#notebookMin div.minContainer i {
|
||||
font-size: 20px;
|
||||
color: #fff;
|
||||
}
|
||||
#notebookMin div.minContainer:hover i {
|
||||
color: #0fb264;
|
||||
}
|
||||
#notebookMin div.minContainer ul {
|
||||
background-color: #fff;
|
||||
opacity: 0.8;
|
||||
display: none;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
margin-left: 20px;
|
||||
padding: 5px 0px;
|
||||
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: 0px;
|
||||
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 {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
width: 250px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
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: #ffffff;
|
||||
}
|
||||
.folderHeader {
|
||||
min-height: 35px;
|
||||
line-height: 35px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid transparent;
|
||||
border-color: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
.folderHeader span {
|
||||
display: inline-block;
|
||||
line-height: 35px;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
}
|
||||
.folderHeader .fa-left,
|
||||
.each-user .fa {
|
||||
display: inline-block;
|
||||
line-height: 35px;
|
||||
font-size: 16px;
|
||||
width: 35px;
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.05);
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
}
|
||||
.each-user div {
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid transparent;
|
||||
border-color: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
.each-user div span {
|
||||
display: inline-block;
|
||||
line-height: 35px;
|
||||
color: #fff;
|
||||
padding-left: 3px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.each-user div .fa {
|
||||
width: 20px;
|
||||
border-right: none;
|
||||
}
|
||||
.each-user ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.each-user ul a {
|
||||
padding-left: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
#myNotebooks.opened .fa-left {
|
||||
/*
|
||||
background-color: #65bd77;
|
||||
color: #e2f3e5;
|
||||
*/
|
||||
|
||||
}
|
||||
#myNotebooks .folderBody {
|
||||
/*
|
||||
max-height: 600px;
|
||||
overflow: auto;
|
||||
*/
|
||||
|
||||
}
|
||||
#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;
|
||||
}
|
||||
.folderBody a {
|
||||
padding-left: 20px;
|
||||
display: block;
|
||||
color: #ADBECE;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid transparent;
|
||||
border-color: rgba(255, 255, 255, 0.05);
|
||||
line-height: 35px;
|
||||
}
|
||||
.folderBody a:hover,
|
||||
.folderBody .contextmenu-hover {
|
||||
color: #fff;
|
||||
background-color: rgba(0, 0, 0, 0.05) !important;
|
||||
}
|
||||
.folderBody a.active,
|
||||
.folderBody a.active:hover {
|
||||
background-color: #25313e !important;
|
||||
color: #fff;
|
||||
}
|
||||
#notebookList input {
|
||||
border: 1px solid #ebeff2;
|
||||
width: 90%;
|
||||
box-shadow: none;
|
||||
}
|
||||
#notebookList input:focus {
|
||||
outline: none !important;
|
||||
border-color: #0fb264;
|
||||
}
|
||||
#myTag .folderBody {
|
||||
/*
|
||||
max-height: 200px;
|
||||
overflow: auto;
|
||||
*/
|
||||
|
||||
}
|
||||
#myTag .folderBody li {
|
||||
position: relative;
|
||||
}
|
||||
#myTag .folderBody li .badge {
|
||||
width: 40px;
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
top: 7px;
|
||||
font-weight: normal;
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
border: 1px solid #ebeff2;
|
||||
}
|
||||
/* notelist */
|
||||
#search {
|
||||
border: #bababa 1px solid;
|
||||
background-color: #fff;
|
||||
@ -549,12 +219,6 @@ a.raw:hover {
|
||||
background-color: #eee;
|
||||
border-bottom: 1px solid #ebeff2;
|
||||
}
|
||||
#sortType {
|
||||
/* position: absolute;
|
||||
right:0;*/
|
||||
|
||||
float: right;
|
||||
}
|
||||
/* item list */
|
||||
#noteItemList {
|
||||
position: absolute;
|
||||
@ -583,19 +247,6 @@ a.raw:hover {
|
||||
background-color: #ddd !important;
|
||||
color: #000000;
|
||||
}
|
||||
.item-active,
|
||||
#noteItemList .item-active:hover {
|
||||
background-color: #65bd77 !important;
|
||||
color: #fff;
|
||||
}
|
||||
.item-active .item-desc .fa,
|
||||
#noteItemList .item-active:hover .item-desc .fa {
|
||||
color: #eee !important;
|
||||
}
|
||||
.item-active .item-title,
|
||||
#noteItemList .item-active:hover .item-title {
|
||||
color: #fff;
|
||||
}
|
||||
#noteItemList .item-thumb {
|
||||
padding-left: 10px;
|
||||
width: 100px;
|
||||
@ -658,53 +309,16 @@ a.raw:hover {
|
||||
#editorTool li {
|
||||
display: inline-block;
|
||||
}
|
||||
#noteTitleDiv {
|
||||
height: 30px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
#noteTitle {
|
||||
height: 100%;
|
||||
padding: 0px 3px;
|
||||
width: 100%;
|
||||
border: none;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
#noteTitle:focus {
|
||||
outline: none !important;
|
||||
}
|
||||
#editorMask {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
bottom: 0px;
|
||||
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;
|
||||
}
|
||||
#editor,
|
||||
#mdEditor {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
top: 71px;
|
||||
bottom: 0px;
|
||||
right: 0;
|
||||
left: 5px;
|
||||
left: 0;
|
||||
padding: 0;
|
||||
display: none;
|
||||
}
|
||||
@ -745,8 +359,7 @@ a.raw:hover {
|
||||
position: relative;
|
||||
height: 30px;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #ccc;
|
||||
background-color: #f0f0f0;
|
||||
background-color: #fbfcf7;
|
||||
}
|
||||
/* 编辑器工具 需要important, 因为mce还要有js加载css, 肯定在此之后 */
|
||||
/*加高, 之前显得拥挤*/
|
||||
@ -754,6 +367,9 @@ a.raw:hover {
|
||||
padding: 5px 5px !important;
|
||||
line-height: 20px !important;
|
||||
}
|
||||
.mce-btn {
|
||||
background-color: #fbfcf7 !important;
|
||||
}
|
||||
.mce-menubtn.mce-btn-small span {
|
||||
line-height: 20px !important;
|
||||
}
|
||||
@ -788,6 +404,7 @@ a.raw:hover {
|
||||
}
|
||||
/*标签与其它工具*/
|
||||
#tool {
|
||||
display: none;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
/* tag */
|
||||
@ -803,7 +420,7 @@ a.raw:hover {
|
||||
display: none;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background-color: #ffffff;
|
||||
background-color: #fbfcf7;
|
||||
}
|
||||
#addTagInput:focus {
|
||||
outline: none;
|
||||
@ -844,7 +461,6 @@ a.raw:hover {
|
||||
#leanoteNav {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 32px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
background-color: #fff;
|
||||
@ -1097,3 +713,31 @@ background-position:-1px -670px
|
||||
border-top: 1px dashed #eee;
|
||||
padding: 5px 0;
|
||||
}
|
||||
#left-column {
|
||||
width: 100% !important;
|
||||
}
|
||||
#editorMask {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
bottom: 0px;
|
||||
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;
|
||||
}
|
832
public/css/theme/writting.less
Normal file
832
public/css/theme/writting.less
Normal file
@ -0,0 +1,832 @@
|
||||
|
||||
@bgColor: #fff;
|
||||
@headerBgColor: #25313e;
|
||||
@fontFamily: 'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;
|
||||
@aWhiteColor: #fff;
|
||||
@aBlackColor: #000;
|
||||
@borderColor: #EBEFF2;
|
||||
@headerHeight: 60px;
|
||||
@headerHeightNoBorder: 59px;
|
||||
@hColor: #0fb264; // #47a447;// 更深 #198764; // boostrap: #5cb85c; bootstrap:hover #47a447; // #5AD4A0; // #47a447
|
||||
@titleColor: @hColor;
|
||||
@fontSize: 14px;
|
||||
@leftNotebookWidth: 170px;
|
||||
@noteListWidth: 250px;
|
||||
@noteActiveBg: #65bd77;
|
||||
|
||||
@bgColor: #fbfcf7;
|
||||
@headerBgColor: #fbfcf7;
|
||||
@fontFamily: 'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;
|
||||
@aWhiteColor: #fff;
|
||||
@aBlackColor: #000;
|
||||
@borderColor: #EBEFF2;
|
||||
@headerHeight: 60px;
|
||||
@hColor: #0fb264; // #47a447;// 更深 #198764; // boostrap: #5cb85c; bootstrap:hover #47a447; // #5AD4A0; // #47a447
|
||||
@titleColor: @hColor;
|
||||
@fontSize: 16px;
|
||||
@leftNotebookWidth: 170px;
|
||||
@noteListWidth: 250px;
|
||||
@noteActiveBg: #65bd77;
|
||||
@editorWidth: 700px;
|
||||
|
||||
|
||||
// font
|
||||
@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');
|
||||
}
|
||||
|
||||
/*"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue", Helvetica, "Microsoft Yahei", Verdana, Simsun, "Segoe UI", "Segoe UI Web Regular", "Segoe UI Symbol", "BBAlpha Sans", "S60 Sans", Arial, sans-serif;*/
|
||||
|
||||
@selectionBg: @aBlackColor;
|
||||
@selectionColor: #fff;
|
||||
::selection { background:@selectionBg; color:@selectionColor; }
|
||||
::-moz-selection { background:@selectionBg; color:@selectionColor; }
|
||||
::-webkit-selection { background:@selectionBg; color:@selectionColor; }
|
||||
|
||||
html,body {
|
||||
background-color: @bgColor;
|
||||
}
|
||||
*, body {
|
||||
font-family: @fontFamily;
|
||||
font-weight: 300;
|
||||
font-size: @fontSize;
|
||||
}
|
||||
h1, h2, h3 {
|
||||
font-family: @fontFamily;
|
||||
font-weight: 300 !important;
|
||||
}
|
||||
a {
|
||||
color: @aBlackColor;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none !important;
|
||||
color: @aBlackColor;
|
||||
}
|
||||
|
||||
// 原生的a
|
||||
a.raw {
|
||||
color: #428bca;
|
||||
}
|
||||
a.raw:hover {
|
||||
color: #2a6496;
|
||||
}
|
||||
|
||||
/* header */
|
||||
|
||||
#header {
|
||||
height: @headerHeight;
|
||||
background-color: @headerBgColor;
|
||||
color: @aWhiteColor;
|
||||
a {
|
||||
color: #ccc;//@aWhiteColor;
|
||||
}
|
||||
li {
|
||||
color: @aBlackColor;
|
||||
}
|
||||
li a {
|
||||
color: @aBlackColor;
|
||||
}
|
||||
border-bottom: 1px solid @borderColor;
|
||||
|
||||
/* for app */
|
||||
webkit-user-select: none; /* 还不知 */
|
||||
-webkit-app-region: drag; /* -webkit-app-region: no-drag; */
|
||||
}
|
||||
|
||||
#searchWrap, #logo, #switcher,
|
||||
#leftNotebook,
|
||||
.noteSplit
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#header ul {
|
||||
margin:0;
|
||||
padding:0;
|
||||
list-style: none;
|
||||
}
|
||||
#header ul li.dropdown {
|
||||
display: inline-block;
|
||||
height: @headerHeight;
|
||||
}
|
||||
|
||||
#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: #999999;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
border-radius: 0;
|
||||
margin:0;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border: 1px solid @hColor;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.dropdown-menu li {
|
||||
padding-left: 10px;
|
||||
width: 100%;
|
||||
height: 30px; // 父设置了line-height, 子下拉也受影响, "新建笔记"
|
||||
line-height: 30px;
|
||||
}
|
||||
.dropdown-menu > li > a {
|
||||
color: @aBlackColor;
|
||||
display: inline-block;
|
||||
padding: 3px 3px;
|
||||
}
|
||||
.dropdown-menu>li:hover, .dropdown-menu>li:focus {
|
||||
background-color: @borderColor;
|
||||
}
|
||||
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
|
||||
background-color: @borderColor;
|
||||
}
|
||||
|
||||
.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: 0px;
|
||||
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; // #65bd77; // @bgColor;
|
||||
border-bottom: 1px solid @borderColor;
|
||||
a.dropdown-toggle {
|
||||
// color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
/* item list */
|
||||
#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 @borderColor;
|
||||
border-radius: 3px;
|
||||
margin-top: 5px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#noteItemList .item:hover,
|
||||
#noteItemList .contextmenu-hover {
|
||||
background-color: #ddd !important;
|
||||
color: @aBlackColor;
|
||||
.item-title {
|
||||
// color: @aBlackColor;
|
||||
//font-weight: 800;
|
||||
}
|
||||
}
|
||||
|
||||
#noteItemList .item-thumb {
|
||||
padding-left: 10px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
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;
|
||||
.fa { // folder, calender 颜色暗些
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
// blog
|
||||
#noteItemList .item-blog {
|
||||
position: absolute;
|
||||
right: 1px;
|
||||
font-size: 10px;
|
||||
z-index: 2;
|
||||
top: 1px;
|
||||
padding: 3px;
|
||||
cursor: pointer;
|
||||
.fa {
|
||||
color: #fff !important;
|
||||
}
|
||||
width: 20px;
|
||||
text-align: center;
|
||||
opacity: 0.5;
|
||||
&:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
background-color: #464C5E;
|
||||
}
|
||||
.item-title {
|
||||
/*font-weight: 400;*/
|
||||
font-size: 16px;
|
||||
height: 22px;
|
||||
line-height: 20px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 0px;
|
||||
color: @aBlackColor;
|
||||
border-bottom: dashed 1px @borderColor;
|
||||
}
|
||||
|
||||
/* note */
|
||||
|
||||
/* editor */
|
||||
#editorTool {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
// width: 200px;
|
||||
}
|
||||
#editorTool li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
#noteTitle:focus {
|
||||
// outline:thin dotted #333;outline:1px auto -webkit-focus-ring-color;outline-offset:-2px
|
||||
outline: none !important;
|
||||
// border: 1px solid @hColor;
|
||||
}
|
||||
|
||||
#editor, #mdEditor{
|
||||
z-index: 2;
|
||||
top: 71px;
|
||||
bottom: 0px;
|
||||
right: 0;
|
||||
left: 0;
|
||||
padding: 0; // 0px 0px 0px 0px;
|
||||
display: none;
|
||||
}
|
||||
#mdEditor {
|
||||
z-index: 1;
|
||||
background-color: #fff;
|
||||
bottom: 10px;
|
||||
#md-section-helper, #wmd-input {
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
#editorContent {
|
||||
position: absolute;
|
||||
top:30px;
|
||||
bottom: 10px;
|
||||
right: 0;
|
||||
left: 0;
|
||||
overflow: auto; // 不设置editor隐藏时没有scroll
|
||||
}
|
||||
#editorContent_ifr {
|
||||
// padding-top: 10px;
|
||||
}
|
||||
|
||||
/* 包裹iframe */
|
||||
#editor .mce-ifr {
|
||||
border: none;
|
||||
// padding: 10px;
|
||||
overflow: hidden !important; /*不知道哪里设置了auto*/
|
||||
/*border-radius: 5px;*/
|
||||
// border: 1px solid @borderColor;
|
||||
// border-top-left-radius: 5px;
|
||||
// border-bottom-left-radius: 5px;
|
||||
}
|
||||
|
||||
/* 最顶层 */
|
||||
#editor .mce-tinymce {
|
||||
border: none;
|
||||
}
|
||||
#editor iframe {
|
||||
}
|
||||
/*编辑器按钮*/
|
||||
#mceToolbar, #wmd-button-bar {
|
||||
position: relative;
|
||||
height: 30px;
|
||||
overflow: hidden;
|
||||
background-color: @bgColor;
|
||||
}
|
||||
/* 编辑器工具 需要important, 因为mce还要有js加载css, 肯定在此之后 */
|
||||
|
||||
/*加高, 之前显得拥挤*/
|
||||
.mce-btn-small button {
|
||||
padding: 5px 5px !important;
|
||||
line-height: 20px !important;
|
||||
}
|
||||
.mce-btn {
|
||||
background-color: @bgColor !important;
|
||||
}
|
||||
.mce-menubtn.mce-btn-small span {
|
||||
line-height: 20px !important;
|
||||
}
|
||||
.mce-btn span {
|
||||
font-family: @fontFamily !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: @borderColor;
|
||||
span {
|
||||
color: #000 !important;
|
||||
}
|
||||
}
|
||||
// 下拉选中
|
||||
.mce-menu-item-normal.mce-active {
|
||||
background-color: @borderColor;
|
||||
}
|
||||
// tool的分隔
|
||||
.tool-split {
|
||||
display: inline-block;
|
||||
line-height: 25px;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
/*标签与其它工具*/
|
||||
#tool {
|
||||
display: none;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
/* tag */
|
||||
#tag {
|
||||
height: 40px;
|
||||
line-height: 38px
|
||||
}
|
||||
// 前面的38影响了dropdown
|
||||
#tag .dropdown {
|
||||
line-height: 30px;
|
||||
}
|
||||
#addTagInput {
|
||||
line-height: 25px;
|
||||
display: none;
|
||||
padding:0;
|
||||
border: none;
|
||||
background-color: @bgColor;
|
||||
}
|
||||
#addTagInput:focus {
|
||||
outline: none;
|
||||
}
|
||||
.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: normal;
|
||||
}
|
||||
.label i {
|
||||
width: 10px;
|
||||
cursor: pointer;
|
||||
font-style: normal;
|
||||
/*border-left: 1px solid #ccc;*/
|
||||
display: inline-block;
|
||||
padding-left: 3px;
|
||||
opacity: 0;
|
||||
}
|
||||
.label i:hover {
|
||||
opacity: 1;
|
||||
// font-weight: bold;
|
||||
}
|
||||
|
||||
/* leanote nav */
|
||||
|
||||
#leanoteNav {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
background-color: #fff;
|
||||
opacity: 0.5;
|
||||
// display: none;
|
||||
z-index: 11;
|
||||
margin-right: 2px;
|
||||
h1 {
|
||||
margin:0;
|
||||
font-size: 18px;
|
||||
padding: 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
i {
|
||||
padding: 3px;
|
||||
}
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
#leanoteNavContent {
|
||||
display: none;
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
||||
#leanoteNav.unfolder {
|
||||
min-width: 200px;
|
||||
max-width: 300px;
|
||||
// bottom: 1px;
|
||||
opacity: 0.8;
|
||||
h1 {
|
||||
border-bottom: 1px dashed @borderColor;
|
||||
}
|
||||
span {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#leanoteNavContent {
|
||||
display: block;
|
||||
min-height: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
#leanoteNav ul {
|
||||
margin:0;
|
||||
padding-left: 23px;
|
||||
li {
|
||||
list-style-type: disc;
|
||||
a {
|
||||
&:hover {
|
||||
color: @hColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#leanoteNav ul .nav-h1 {
|
||||
}
|
||||
#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;
|
||||
}
|
||||
|
||||
//---------------
|
||||
// note for read
|
||||
#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%;
|
||||
}
|
||||
@noteReadTopHeight: 60px;
|
||||
#noteReadTop {
|
||||
position: absolute;
|
||||
height: @noteReadTopHeight;
|
||||
left:0;
|
||||
right: 0;
|
||||
border-bottom: 1px solid @borderColor;
|
||||
}
|
||||
#noteReadTitle {
|
||||
margin: 3px 0;
|
||||
}
|
||||
#noteReadContent {
|
||||
position: absolute;
|
||||
top: @noteReadTopHeight;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
overflow: auto;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
@sbc: @bgColor;
|
||||
|
||||
/*scroll*/
|
||||
/*
|
||||
::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
height: 8px;
|
||||
background: none;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #41586e;
|
||||
opacity: 0.1;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background-color:#dadada
|
||||
}
|
||||
::-webkit-scrollbar-thumb:active {
|
||||
background-color:#606060
|
||||
}
|
||||
::-webkit-scrollbar-thumb:disabled {
|
||||
background-color:#f9f9f9
|
||||
}
|
||||
::-webkit-scrollbar-corner {
|
||||
background-color:#f0f0f0
|
||||
}
|
||||
::-webkit-scrollbar-button {
|
||||
height: 0;
|
||||
background-color:#f0f0f0;
|
||||
background-repeat:no-repeat
|
||||
}
|
||||
::-webkit-scrollbar-button:vertical {
|
||||
height:0px
|
||||
}
|
||||
::-webkit-scrollbar-button:horizontal {
|
||||
width:33px
|
||||
}
|
||||
::-webkit-scrollbar-button:horizontal:increment {
|
||||
background-position:0 -444px
|
||||
}
|
||||
::-webkit-scrollbar-button:horizontal:decrement {
|
||||
background-position:12px -425px
|
||||
}
|
||||
::-webkit-scrollbar-button:vertical:increment {
|
||||
background-position:-1px -391px
|
||||
}
|
||||
::-webkit-scrollbar-button:vertical:decrement {
|
||||
background-position:-1px -358px
|
||||
}
|
||||
::-webkit-scrollbar-button:hover {
|
||||
background-color:#dadada
|
||||
}
|
||||
::-webkit-scrollbar-button:horizontal:increment:hover {
|
||||
background-position:0 -548px
|
||||
}
|
||||
::-webkit-scrollbar-button:horizontal:decrement:hover {
|
||||
background-position:12px -529px
|
||||
}
|
||||
::-webkit-scrollbar-button:vertical:increment:hover {
|
||||
background-position:-1px -495px
|
||||
}
|
||||
::-webkit-scrollbar-button:vertical:decrement:hover {
|
||||
background-position:-1px -462px
|
||||
}
|
||||
::-webkit-scrollbar-button:active {
|
||||
background-color:#606060
|
||||
}
|
||||
::-webkit-scrollbar-button:horizontal:increment:active {
|
||||
background-position:0 -652px
|
||||
}
|
||||
::-webkit-scrollbar-button:horizontal:decrement:active {
|
||||
background-position:12px -633px
|
||||
}
|
||||
::-webkit-scrollbar-button:vertical:increment:active {
|
||||
background-position:-1px -599px
|
||||
}
|
||||
::-webkit-scrollbar-button:vertical:decrement:active {
|
||||
background-position:-1px -566px
|
||||
}
|
||||
::-webkit-scrollbar-button:disabled {
|
||||
background-color:#f9f9f9
|
||||
}
|
||||
::-webkit-scrollbar-button:horizontal:increment:disabled {
|
||||
background-position:0 -756px
|
||||
}
|
||||
::-webkit-scrollbar-button:horizontal:decrement:disabled {
|
||||
background-position:12px -737px
|
||||
}
|
||||
::-webkit-scrollbar-button:vertical:increment:disabled {
|
||||
background-position:-1px -703px
|
||||
}
|
||||
::-webkit-scrollbar-button:vertical:decrement:disabled {
|
||||
background-position:-1px -670px
|
||||
}
|
||||
*/
|
||||
|
||||
/*from notebook*/
|
||||
/*::-webkit-scrollbar{width:7px;height:7px;}::-webkit-scrollbar-thumb{background-color:rgba(50,50,50,0.3);}::-webkit-scrollbar-thumb:hover{background-color:rgba(50,50,50,0.6);}::-webkit-scrollbar-track{background-color:rgba(50,50,50,0.1);}::-webkit-scrollbar-track:hover{background-color:rgba(50,50,50,0.2);}
|
||||
*/
|
||||
|
||||
#editorContent_ifr {
|
||||
// border: 1px solid red;
|
||||
}
|
||||
|
||||
.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 0;
|
||||
}
|
||||
.alert {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
.mce-container-body iframe {
|
||||
//overflow-x: hidden; // firefox 不能要
|
||||
//overflow-y: hidden;
|
||||
}
|
||||
// 新建笔记item
|
||||
#notebookNavForNewNote li, #notebookNavForNewSharedNote > li {
|
||||
padding-left: 0;
|
||||
border-bottom: 1px solid @borderColor;
|
||||
}
|
||||
#notebookNavForNewNote > li:hover, #notebookNavForNewNote > li:focus,
|
||||
#notebookNavForNewSharedNote > li:hover, #notebookNavForNewSharedNote > li:focus {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.new-note-left {
|
||||
padding: 0 5px;
|
||||
width: 95px;
|
||||
overflow: hidden;
|
||||
white-space:nowrap;
|
||||
border-right: 1px dashed @borderColor;
|
||||
&:hover {
|
||||
background-color:@borderColor;
|
||||
}
|
||||
}
|
||||
.new-note-right {
|
||||
padding: 0 5px;
|
||||
&:hover {
|
||||
background-color:@borderColor;
|
||||
}
|
||||
}
|
||||
|
||||
// 历史记录
|
||||
#historyList {
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
.btns{
|
||||
border-top: 1px dashed #eee;
|
||||
padding: 5px 0;
|
||||
}
|
||||
}
|
||||
|
||||
#left-column {
|
||||
width: 100% !important;
|
||||
}
|
||||
#editorMask {
|
||||
position: absolute; top: 0px; bottom: 0px; right: 0; left: 0;
|
||||
background-color: #fff;
|
||||
z-index: -10;
|
||||
.fa, a {
|
||||
font-size: 24px;
|
||||
}
|
||||
padding-top: 50px;
|
||||
text-align: center;
|
||||
a {
|
||||
display: inline-block;
|
||||
border-radius: 3px;
|
||||
border: 1px solid @borderColor;
|
||||
padding: 10px;
|
||||
&:hover {
|
||||
background-color: @noteActiveBg;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
BIN
public/images/editor/editor-shadow.png
Normal file
BIN
public/images/editor/editor-shadow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 309 B |
BIN
public/images/loading-a-20-black.gif
Normal file
BIN
public/images/loading-a-20-black.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.9 KiB |
@ -1,4 +1,7 @@
|
||||
// 主页渲染
|
||||
//-------------
|
||||
// 编辑器模式
|
||||
var em = new editorMode();
|
||||
|
||||
// ifr 的高度, 默认是小20px, 启动1s后运行resizeEditor()调整之
|
||||
|
||||
@ -96,15 +99,17 @@ $(function() {
|
||||
|
||||
var height = $("#mceToolbar").height();
|
||||
|
||||
// 现在是折叠的
|
||||
if (height < $("#popularToolbar").height()) {
|
||||
$("#mceToolbar").height($("#popularToolbar").height());
|
||||
$(this).find("i").removeClass("fa-angle-down").addClass("fa-angle-up");
|
||||
|
||||
} else {
|
||||
$("#mceToolbar").height(30);
|
||||
$("#mceToolbar").height(height/2);
|
||||
$(this).find("i").removeClass("fa-angle-up").addClass("fa-angle-down");
|
||||
}
|
||||
|
||||
/*
|
||||
// 新加 3.12
|
||||
var mceToolbarHeight = $("#mceToolbar").height();
|
||||
$("#editorContent").css("top", mceToolbarHeight);
|
||||
@ -113,6 +118,7 @@ $(function() {
|
||||
$("#leanoteNav").css("top", mceToolbarHeight + 2);
|
||||
|
||||
$("#editor").css("top", $("#noteTop").height());
|
||||
*/
|
||||
|
||||
resizeEditor();
|
||||
|
||||
@ -184,7 +190,7 @@ $(function() {
|
||||
selector : "#editorContent",
|
||||
// height: 100,//这个应该是文档的高度, 而其上层的高度是$("#content").height(),
|
||||
// parentHeight: $("#content").height(),
|
||||
content_css : ["css/bootstrap.css", "css/editor.css"],
|
||||
content_css : ["css/bootstrap.css", "css/editor/editor.css"].concat(em.getWritingCss()),
|
||||
skin : "custom",
|
||||
language: LEA.locale, // 语言
|
||||
plugins : [
|
||||
@ -611,7 +617,7 @@ $(function() {
|
||||
if(LEA.isMobile) {
|
||||
UserInfo.NoteListWidth = 101;
|
||||
}
|
||||
resize3ColumnsEnd(UserInfo.NotebookWidth, UserInfo.NoteListWidth);
|
||||
// resize3ColumnsEnd(UserInfo.NotebookWidth, UserInfo.NoteListWidth);
|
||||
if (UserInfo.LeftIsMin) {
|
||||
minLeft(false);
|
||||
}
|
||||
@ -679,4 +685,89 @@ $(function() {
|
||||
$("#wmd-panel-preview").css("width", "100%");
|
||||
}, 10);
|
||||
|
||||
});
|
||||
// 编辑器模式
|
||||
em.init();
|
||||
});
|
||||
|
||||
// 编辑器模式
|
||||
function editorMode() {
|
||||
this.writingHash = "#writing";
|
||||
this.normalHash = "#normal";
|
||||
this.isWritingMode = location.hash == this.writingHash;
|
||||
|
||||
this.toggleA = null;
|
||||
}
|
||||
|
||||
editorMode.prototype.toggleAText = function(isWriting) {
|
||||
var self = this;
|
||||
setTimeout(function() {
|
||||
toggleA = $("#toggleEditorMode a");
|
||||
if(isWriting) {
|
||||
toggleA.attr("href", self.normalHash).text(getMsg("normalMode"));
|
||||
} else {
|
||||
toggleA.attr("href", self.writingHash).text(getMsg("writingMode"));
|
||||
}
|
||||
}, 0);
|
||||
}
|
||||
editorMode.prototype.isWriting = function(hash) {
|
||||
return hash == this.writingHash;
|
||||
}
|
||||
editorMode.prototype.init = function() {
|
||||
this.changeMode(this.isWritingMode);
|
||||
var self = this;
|
||||
$("#toggleEditorMode").click(function() {
|
||||
var $a = $(this).find("a");
|
||||
var isWriting = self.isWriting($a.attr("href"));
|
||||
self.changeMode(isWriting);
|
||||
});
|
||||
}
|
||||
// 改变模式
|
||||
editorMode.prototype.changeMode = function(isWritingMode) {
|
||||
this.toggleAText(isWritingMode);
|
||||
if(isWritingMode) {
|
||||
this.writtingMode();
|
||||
} else {
|
||||
this.normalMode();
|
||||
}
|
||||
}
|
||||
editorMode.prototype.normalMode = function() {
|
||||
var $c = $("#editorContent_ifr").contents();
|
||||
|
||||
$c.contents().find("#writtingMode").remove();
|
||||
$c.contents().find('link[href$="editor-writting-mode.css"]').remove();
|
||||
|
||||
$("#noteItemListWrap, #notesAndSort").show();
|
||||
$("#noteList").unbind("mouseenter").unbind("mouseleave");
|
||||
|
||||
var theme = UserInfo.Theme || "default";
|
||||
theme += ".css";
|
||||
$("#themeLink").attr("href", "/css/theme/" + theme);
|
||||
|
||||
|
||||
}
|
||||
editorMode.prototype.writtingMode = function() {
|
||||
// $("body").fadeOut();
|
||||
|
||||
$("#themeLink").attr("href", "/css/theme/writting-overwrite.css");
|
||||
|
||||
setTimeout(function() {
|
||||
var $c = $("#editorContent_ifr").contents();
|
||||
$c.contents().find("head").append('<link type="text/css" rel="stylesheet" href="/css/editor/editor-writting-mode.css" id="writtingMode">');
|
||||
}, 0);
|
||||
|
||||
$("#noteItemListWrap, #notesAndSort").fadeOut();
|
||||
$("#noteList").hover(function() {
|
||||
$("#noteItemListWrap, #notesAndSort").fadeIn();
|
||||
}, function() {
|
||||
$("#noteItemListWrap, #notesAndSort").fadeOut();
|
||||
});
|
||||
|
||||
// $("body").fadeIn();
|
||||
}
|
||||
|
||||
editorMode.prototype.getWritingCss = function() {
|
||||
if(this.isWritingMode) {
|
||||
return ["css/editor/editor-writting-mode.css"];
|
||||
}
|
||||
return [];
|
||||
}
|
@ -1 +1 @@
|
||||
var MSG = {"3th":"Third-party accounts","a":"a","aboutLeanote":"About Leanote","accountSetting":"Account","addNotebook":"Add Notebook","all":"Newest","basicInfo":"Basic","blog":"Blog","blogInfo":"You can public your knowledge and Leanote is your blog!","blue":"blue","cancel":"Cancel","checkEmai":"Check email","clickAddTag":"Click to add Tag","close":"Close","confirmPassword":"Please confirm your password","cooperation":"Cooperation","cooperationInfo":"Collaborate with friends to improve your knowledge.","create":"Create","curUser":"Email","default":"Default","defaultShare":"Default sharing","demoRegister":"您现在使用的是体验帐号, \u003ca href=\"/register\"\u003e立即注册?\u003c/a\u003e","editorTips":"Editor Tips","editorTipsInfo":"\u003ch4\u003e1. Short Cuts\u003c/h4\u003ectrl+shift+c Toggle code \u003cbr /\u003e ctrl+shift+i Insert/edit image \u003ch4\u003e2. shift+enter Get out of current block\u003c/h4\u003e eg. \u003cimg src=\"/images/outofcode.png\" style=\"width: 90px\"/\u003e in this situation you can use shift+enter to get out of current code block.","email":"Email","emailOrOthers":"Email or other contact way","findPassword":"Find password","findPasswordSendEmailOver":"We have already send the find password link to your email, please check out your email","findPasswordTimeout":"time out","forgetPassword ":" Forget password?","green":"green","hi":"Hi","history":"Histories","home":"Home","ing":"processing","inputEmail":"Email is required","inputPassword":"Password is required","inputPassword2":"Please input your password again","inputUsername":"Username(email) is required","knowledge":"Knowledge","knowledgeInfo":"Use leanote as a note, manage your knowledge in Leanote.","leanoteBlog":"Blog","leftHidden":"Hidden slide bar","leftShow":"Show slide bar","login":"Login","loginSuccess":"login success","logining":"login","logout":"Logout","moto":"Not just a note!","myBlog":"Blog","myNote":"Enter to my note","myNotebook":"My Notebook","myTag":"My Tag","nav":"Note Nav","newMarkdown":"New Markdown Note","newNote":"New Note","newPassword":"New Password","notGoodPassword":"Tt's not a good password, the length is at least 6","notebook":"Notebook","oldPassword":"Old Password","or":"or","password":"Password","password2":"Confirm your password","passwordTips":"The length is at least 6","reFindPassword":"find password again","red":"red","register":"Register","registerSuccessAndRdirectToNote":"register success, now redirect to my note...","save":"Save","send":"Send","share":"Share","shareInfo":"Share your knowledge to your friends in Leanote.","simple":"Simple","submit":"submit","suggestions":"Suggestions","suggestionsInfo":"help us to improve our service.","tag":"Tag","themeSetting":"Theme","trash":"Trash","try":"Try it","unTitled":"UnTitled","update":"Update","updateEmail":"Update Email","updatePassword":"Update password","updatePasswordSuccessRedirectToLogin":"update password success and redirect to login page...","uploadImage":"Upload Image","usernameOrEmail":"Username or email","usernameSetting":"Update Username","welcomeUseLeanote":"Welcome!","wrongEmail":"Wrong email","wrongPassword":"Wrong password","wrongUsernameOrPassword":"Wrong username or password","yellow":"yellow","yourContact":"Your contact"};
|
||||
var MSG = {"3th":"Third-party accounts","aboutLeanote":"About leanote","aboutMe":"About me","accountSetting":"Account","addNotebook":"Add notebook","all":"Newest","basicInfo":"Basic","blog":"Blog","blogInfo":"You can public your knowledge and leanote is your blog!","blogSet":"Set blog","blue":"blue","cancel":"Cancel","checkEmai":"Check email","clickAddTag":"Click to add Tag","close":"Close","confirmPassword":"Please confirm your password","cooperation":"Cooperation","cooperationInfo":"Collaborate with friends to improve your knowledge.","create":"Create","curUser":"Email","default":"Default","defaultShare":"Default sharing","demoRegister":"\u003ca href=\"/register\"\u003eSign up\u003c/a\u003e","editorTips":"Tips","editorTipsInfo":"\u003ch4\u003e1. Short cuts\u003c/h4\u003ectrl+shift+c Toggle code \u003cbr /\u003e ctrl+shift+i Insert/edit image \u003ch4\u003e2. shift+enter Get out of current block\u003c/h4\u003e eg. \u003cimg src=\"/images/outofcode.png\" style=\"width: 90px\"/\u003e in this situation you can use shift+enter to get out of current code block.","email":"Email","emailOrOthers":"Email or other contact way","findPassword":"Find password","findPasswordSendEmailOver":"We have already send the find password link to your email, please check out your email","findPasswordTimeout":"time out","forgetPassword ":" Forget password?","green":"green","hi":"Hi","history":"Histories","home":"Home","ing":"processing","inputEmail":"Email is required","inputPassword":"Password is required","inputPassword2":"Please input your password again","inputUsername":"Username(email) is required","knowledge":"Knowledge","knowledgeInfo":"Use leanote as a note, manage your knowledge in leanote.","leanoteBlog":"Blog","leftHidden":"Hidden slide bar","leftShow":"Show slide bar","login":"Sign in","loginSuccess":"login success","logining":"Sign in","logout":"Logout","moto":"your own cloud note!","myBlog":"Blog","myNote":"My note","myNotebook":"My notebook","myTag":"My tag","nav":"Note nav","newMarkdown":"New markdown note","newNote":"New note","newPassword":"New password","normalMode":"Normal Mode","notFound":"This page cann't found.","notGoodPassword":"Tt's not a good password, the length is at least 6","notebook":"Notebook","oldPassword":"Old password","or":"or","password":"Password","password2":"Confirm your password","passwordTips":"The length is at least 6","reFindPassword":"find password again","red":"red","register":"Sign up","registerSuccessAndRdirectToNote":"register success, now redirect to my note...","save":"Save","send":"Send","share":"Share","shareInfo":"Share your knowledge to your friends in leanote.","simple":"Simple","submit":"submit","suggestions":"Suggestions","suggestionsInfo":"help us to improve our service.","tag":"Tag","themeSetting":"Theme","trash":"Trash","try":"Try it","unTitled":"UnTitled","update":"Update","updateEmail":"Update email","updatePassword":"Update password","updatePasswordSuccessRedirectToLogin":"update password success and redirect to login page...","uploadImage":"Upload image","usernameOrEmail":"Username or email","usernameSetting":"Update username","welcomeUseLeanote":"Welcome!","writingMode":"Writing Mode","wrongEmail":"Wrong email","wrongPassword":"Wrong password","wrongUsernameOrPassword":"Wrong username or password","yellow":"yellow","yourContact":"Your contact","yourSuggestions":"Suggestions"};
|
@ -1 +1 @@
|
||||
var MSG = {"3th":"第三方登录","aboutLeanote":"关于Leanote","accountSetting":"帐户设置","addNotebook":"添加笔记本","all":"最新","basicInfo":"基本信息","blog":"博客","blogInfo":"将笔记公开, 让知识传播的更远!","blue":"蓝色","cancel":"取消","checkEmai":"查收邮箱","clickAddTag":"点击添加标签","close":"关闭","confirmPassword":"两次密码输入不一致","cooperation":"协作","cooperationInfo":"分享给好友的同时也可以让你的好友和你一起来完善它.","create":"创建","curUser":"当前登录帐户","default":"默认","defaultShare":"默认共享","demoRegister":"您现在使用的是体验帐号, \u003ca href=\"/register\"\u003e立即注册?\u003c/a\u003e","editorTips":"帮助","editorTipsInfo":"\u003ch4\u003e1. 快捷键\u003c/h4\u003ectrl+shift+c 代码块切换 \u003cbr /\u003e ctrl+shift+i 插入/修改图片\u003ch4\u003e2. shift+enter 跳出当前区域\u003c/h4\u003e比如在代码块中\u003cimg src=\"/images/outofcode.png\" style=\"width: 90px\"/\u003e按shift+enter可跳出当前代码块.","email":"Email","emailOrOthers":"Email或其它联系方式","findPassword":"找回密码","findPasswordSendEmailOver":"已经将修改密码的链接发送到您的邮箱, 请查收邮件.","findPasswordTimeout":"链接已过期","forgetPassword ":" 忘记密码?","green":"绿色","hi":"Hi","history":"历史记录","home":"主页","ing":"正在处理","inputEmail":"请输入Email","inputPassword":"请输入密码","inputPassword2":"请再次输入密码","inputUsername":"请输入用户名或Email","knowledge":"知识","knowledgeInfo":"leanote是一个笔记, 你可以用它来管理自己的知识.","leanoteBlog":"官方博客","leftHidden":"隐藏左侧","leftShow":"展开左侧","login":"登录","loginSuccess":"登录成功, 正在跳转","logining":"正在登录","logout":"退出","moto":"不一样的笔记!","myBlog":"我的博客","myNote":"进入我的笔记","myNotebook":"我的笔记本","myTag":"我的标签","nav":"文档导航","newMarkdown":"新建Markdown笔记","newNote":"新建笔记","newPassword":"新密码","notGoodPassword":"密码至少6位","notebook":"笔记本","oldPassword":"旧密码","or":"或","password":"密码","password2":"确认密码","passwordTips":"密码至少6位","reFindPassword":"重新找回密码","red":"红色","register":"注册","registerSuccessAndRdirectToNote":"注册成功, 正在转至我的笔记...","save":"保存","send":"发送","share":"分享","shareInfo":"你也可以将知识分享给你的好友.","simple":"简约","submit":"提交","suggestions":"您的建议","suggestionsInfo":"帮助我们完善leanote","tag":"标签","themeSetting":"主题设置","trash":"废纸篓","try":"体验一下","unTitled":"无标题","update":"更新","updateEmail":"修改Email","updatePassword":"修改密码","updatePasswordSuccessRedirectToLogin":"修改成功, 正在跳转到登录页","uploadImage":"上传图片","usernameOrEmail":"用户名或Email","usernameSetting":"用户名设置","welcomeUseLeanote":"欢迎使用Leanote","wrongEmail":"Email格式有误","wrongPassword":"密码有误","wrongUsernameOrPassword":"用户名或密码有误","yellow":"黄色","yourContact":"您的联系方式"};
|
||||
var MSG = {"3th":"第三方登录","aboutLeanote":"关于leanote","aboutMe":"关于我","accountSetting":"帐户设置","addNotebook":"添加笔记本","all":"最新","basicInfo":"基本信息","blog":"博客","blogInfo":"将笔记公开, 让知识传播的更远!","blogSet":"博客设置","blue":"蓝色","cancel":"取消","checkEmai":"查收邮箱","clickAddTag":"点击添加标签","close":"关闭","confirmPassword":"两次密码输入不一致","cooperation":"协作","cooperationInfo":"分享给好友的同时也可以让你的好友和你一起来完善它.","create":"创建","curUser":"当前登录帐户","default":"默认","defaultShare":"默认共享","demoRegister":"\u003ca href=\"/register\"\u003e立即注册\u003c/a\u003e","editorTips":"帮助","editorTipsInfo":"\u003ch4\u003e1. 快捷键\u003c/h4\u003ectrl+shift+c 代码块切换 \u003cbr /\u003e ctrl+shift+i 插入/修改图片\u003ch4\u003e2. shift+enter 跳出当前区域\u003c/h4\u003e比如在代码块中\u003cimg src=\"/images/outofcode.png\" style=\"width: 90px\"/\u003e按shift+enter可跳出当前代码块.","email":"Email","emailOrOthers":"Email或其它联系方式","findPassword":"找回密码","findPasswordSendEmailOver":"已经将修改密码的链接发送到您的邮箱, 请查收邮件.","findPasswordTimeout":"链接已过期","forgetPassword ":" 忘记密码?","green":"绿色","hi":"Hi","history":"历史记录","home":"主页","ing":"正在处理","inputEmail":"请输入Email","inputPassword":"请输入密码","inputPassword2":"请再次输入密码","inputUsername":"请输入用户名或Email","knowledge":"知识","knowledgeInfo":"leanote是一个笔记, 你可以用它来管理自己的知识.","leanoteBlog":"官方博客","leftHidden":"隐藏左侧","leftShow":"展开左侧","login":"登录","loginSuccess":"登录成功, 正在跳转","logining":"正在登录","logout":"退出","moto":"不一样的笔记!","myBlog":"我的博客","myNote":"我的笔记","myNotebook":"我的笔记本","myTag":"我的标签","nav":"文档导航","newMarkdown":"新建Markdown笔记","newNote":"新建笔记","newPassword":"新密码","normalMode":"普通模式","notFound":"该页面不存在","notGoodPassword":"密码至少6位","notebook":"笔记本","oldPassword":"旧密码","or":"或","password":"密码","password2":"确认密码","passwordTips":"密码至少6位","reFindPassword":"重新找回密码","red":"红色","register":"注册","registerSuccessAndRdirectToNote":"注册成功, 正在转至我的笔记...","save":"保存","send":"发送","share":"分享","shareInfo":"你也可以将知识分享给你的好友.","simple":"简约","submit":"提交","suggestions":"建议","suggestionsInfo":"帮助我们完善leanote","tag":"标签","themeSetting":"主题设置","trash":"废纸篓","try":"体验一下","unTitled":"无标题","update":"更新","updateEmail":"修改Email","updatePassword":"修改密码","updatePasswordSuccessRedirectToLogin":"修改成功, 正在跳转到登录页","uploadImage":"上传图片","usernameOrEmail":"用户名或Email","usernameSetting":"用户名设置","welcomeUseLeanote":"欢迎使用leanote","writingMode":"写作模式","wrongEmail":"Email格式有误","wrongPassword":"密码有误","wrongUsernameOrPassword":"用户名或密码有误","yellow":"黄色","yourContact":"您的联系方式","yourSuggestions":"帮助完善leanote"};
|
Reference in New Issue
Block a user