只读模式
group, 分享
评论更多问题
博客标签总是存在一个
This commit is contained in:
lealife committed 2015-06-15 18:01:48 +08:00
1 parent 7e458bb433
commit 6987a38820
1453 files changed
+114558 -91533

No files matched your search

+191 -4
View File
@@ -147,7 +147,7 @@ h1, h2, h3 {
width: 5px;
height: 100%;
overflow: hidden;
z-index: 5;
z-index: 3333;
cursor: col-resize;
}
.dropdown-menu {
@@ -401,6 +401,9 @@ h1, h2, h3 {
position: relative;
.notebook-setting {
display: none;
position: absolute;
right: 0;
left: auto;
}
&:hover {
.notebook-setting {
@@ -691,6 +694,7 @@ h1, h2, h3 {
#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;
@@ -965,6 +969,7 @@ top: 4px;
}
.desc {
margin: 0;
word-wrap: break-word;
}
//--------
@@ -1014,8 +1019,8 @@ top: 4px;
}
// ace 重置css, 必须
.ace_eidtor, .ace_editor * {
font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
.ace_editor, .ace_editor * {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro';
}
@@ -1127,6 +1132,9 @@ top: 4px;
display: block;
}
}
// 字体设置不起作用
* {font-family: inherit; }
}
// 不显示空白
@@ -1207,4 +1215,183 @@ top: 4px;
a:hover {
background: none !important;
}
}
}
// 新建不要显示笔记本下拉了, 没用
#listNotebookDropdownMenu {
display: none;
}
// more btn下怎么会有<span data-mce-type="bookmark" id="mce_1_start" data-mce-style="overflow:hidden;line-height:0px" style="overflow:hidden;line-height:0px"></span> ?
#moreBtn span {
display: none;
}
// 没有颜色, tinymce
.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;
}
// 字体没有shadow
.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;
}
// readonly
// readonly
.info-toolbar {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
line-height: 30px;
padding-left: 5px;
height: 30px;
display: none;
.toolbar-update {
color: inherit;
float: right;
padding: 0 10px;
&:hover {
background: #fff;
color: #000;
}
}
.created-time {
display: inline-block;
padding-right: 10px;
}
}
#editorContent {
-webkit-user-select: text;
}
#editor.read-only {
#mceToolbarContainer {
display: none;
}
.info-toolbar {
display: block;
}
}
#mdEditor.read-only {
.info-toolbar {
display: block;
}
.wmd-button-bar-inner,
#mdSplitter2, // 拖动
.btn-info // 拖动
{
display: none;
}
#left-column {
// display: none;
visibility: hidden;
}
#right-column {
left: 0 !important;
}
.preview-container {
left: 10px;
}
}
// 工具栏
#editor {
#mceToolbar {
height: 30px;
}
// 所有都展开
&.all-tool {
#mceToolbar {
height: 60px;
}
.more-fa:before {
content: "\f106";
}
#editorContent {
top: 60px;
}
}
.more-fa:before {
content: "\f107";
}
}
//---------------
// note for read
#note.read-only {
#editor, #mdEditor {
top: 60px;
}
#tool {
display: none;
}
.toolbar-update {
display: none;
}
#noteReadTop {
display: block;
}
#infoToolbar, #mceToolbar, .navbar {
display: none;
}
#editorContent, #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;
}
@noteReadTopHeight: 60px;
#noteReadTop {
position: absolute;
height: @noteReadTopHeight;
left: 5px;
right: 0;
top: 0;
bottom: 0;
z-index: 2;
display: none;
background: #fff;
padding-left: 5px;
}
#noteReadTitle {
margin: 3px 0;
height: 26px;
}
+198 -44
View File
@@ -143,7 +143,7 @@ h3 {
width: 5px;
height: 100%;
overflow: hidden;
z-index: 5;
z-index: 3333;
cursor: col-resize;
}
.dropdown-menu {
@@ -373,6 +373,9 @@ h3 {
}
.friend-header .notebook-setting {
display: none;
position: absolute;
right: 0;
left: auto;
}
.friend-header:hover .notebook-setting {
display: block;
@@ -636,6 +639,7 @@ h3 {
text-overflow: ellipsis;
overflow: hidden;
color: #666;
margin-top: 8px;
}
.my-link,
.new-markdown-text-abbr,
@@ -889,6 +893,7 @@ h3 {
}
.desc {
margin: 0;
word-wrap: break-word;
}
#editorMask {
position: absolute;
@@ -941,9 +946,9 @@ h3 {
.dropdown-menu .divider {
margin: 3px 0;
}
.ace_eidtor,
.ace_editor,
.ace_editor * {
font: 12px / normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro';
}
/* leanote nav */
.leanoteNav {
@@ -1034,6 +1039,9 @@ h3 {
#editorContent pre:hover .toggle-raw {
display: block;
}
#editorContent * {
font-family: inherit;
}
.ace_invisible_space {
visibility: hidden !important;
}
@@ -1095,6 +1103,152 @@ h3 {
#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;
}
#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;
}
::selection {
background: #000000;
color: #ffffff;
@@ -1411,11 +1565,18 @@ a.raw:hover {
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;
display: block;
position: absolute;
left: 23px;
top: 0;
right: 23px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.each-user div .fa {
width: 20px;
@@ -1696,41 +1857,6 @@ a.raw:hover {
.label i:hover {
opacity: 1;
}
#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;
}
/*scroll*/
/*
::-webkit-scrollbar {
@@ -1935,7 +2061,6 @@ background-position:-1px -670px
#notebookMin,
.ui-loader,
#md-section-helper,
#right-column,
.writing-mobile-hide {
display: none !important;
}
@@ -2122,7 +2247,8 @@ background-position:-1px -670px
.wmd-input,
#noteReadContent,
#attachList,
#tags {
#tags,
.wmd-input-section {
-webkit-overflow-scrolling: touch !important;
overflow: auto !important;
}
@@ -2166,6 +2292,20 @@ background-position:-1px -670px
#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,
@@ -2234,7 +2374,8 @@ background-position:-1px -670px
.wmd-input,
#noteReadContent,
#attachList,
#tags {
#tags,
.wmd-input-section {
overflow: auto !important;
-webkit-overflow-scrolling: touch !important;
}
@@ -2252,8 +2393,7 @@ background-position:-1px -670px
#listShareNotebookDropdownMenu,
.username,
.ui-loader,
#md-section-helper,
#right-column {
#md-section-helper {
display: none !important;
}
#tag {
@@ -2327,4 +2467,18 @@ background-position:-1px -670px
#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;
}
}
+8 -39
View File
@@ -358,11 +358,18 @@ a.raw:hover {
border-bottom: 1px solid transparent;
border-color: rgba(255,255,255,0.05);
span {
display: inline-block;
line-height: @folderHeaderHeight;
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;
}
.fa {
width: 20px;
@@ -678,44 +685,6 @@ a.raw:hover {
// font-weight: bold;
}
//---------------
// 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;
-1
View File
@@ -1 +0,0 @@
@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}*,body{font-family:'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;font-weight:300;font-size:14px}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:#25313e;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}#logo,#logo span{line-height:50px;font-size:28px}#logo{width:140px;height:59px;padding-left:10px;padding-top:0;border-bottom:1px solid transparent;border-color:rgba(255,255,255,.1)}#logo span,#switcher 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;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:0;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{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: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}.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;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}#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;lefLine truncated
+54 -4
View File
@@ -20,7 +20,6 @@
#notebookMin,
.ui-loader,
#md-section-helper,
#right-column,
.writing-mobile-hide
{
display: none !important;
@@ -214,7 +213,8 @@ a:focus, a:hover, a:active {
.wmd-input,
#noteReadContent,
#attachList,
#tags
#tags,
.wmd-input-section
{
-webkit-overflow-scrolling: touch !important; // for iphone
overflow: auto !important;
@@ -267,6 +267,31 @@ a:focus, a:hover, a:active {
padding: 0;
}
// readonly
// 正常下, 右侧是隐藏的
#mdEditor {
#right-column {
display: none;
}
}
// readonly下, 左侧是隐藏的
#mdEditor.read-only {
#left-column {
// display: none;
visibility: hidden;
}
#right-column {
left: 0 !important;
display: block;
-webkit-overflow-scrolling: touch !important;
}
.preview-container {
left: 10px;
}
}
}
// ipad
@@ -339,7 +364,8 @@ a:focus, a:hover, a:active {
.wmd-input,
#noteReadContent,
#attachList,
#tags
#tags,
.wmd-input-section
{
overflow: auto !important;
-webkit-overflow-scrolling: touch !important; // for iphone
@@ -360,7 +386,6 @@ a:focus, a:hover, a:active {
.username,
.ui-loader,
#md-section-helper,
#right-column
{
display: none !important;
}
@@ -446,4 +471,29 @@ a:focus, a:hover, a:active {
height: 70px !important;
}
// readonly
// 正常下, 右侧是隐藏的
#mdEditor {
#right-column {
display: none;
}
}
// readonly下, 左侧是隐藏的
#mdEditor.read-only {
#left-column {
// display: none;
visibility: hidden;
}
#right-column {
left: 0 !important;
display: block;
-webkit-overflow-scrolling: touch !important;
}
.preview-container {
left: 10px;
}
}
}
+198 -42
View File
@@ -143,7 +143,7 @@ h3 {
width: 5px;
height: 100%;
overflow: hidden;
z-index: 5;
z-index: 3333;
cursor: col-resize;
}
.dropdown-menu {
@@ -373,6 +373,9 @@ h3 {
}
.friend-header .notebook-setting {
display: none;
position: absolute;
right: 0;
left: auto;
}
.friend-header:hover .notebook-setting {
display: block;
@@ -636,6 +639,7 @@ h3 {
text-overflow: ellipsis;
overflow: hidden;
color: #666;
margin-top: 8px;
}
.my-link,
.new-markdown-text-abbr,
@@ -889,6 +893,7 @@ h3 {
}
.desc {
margin: 0;
word-wrap: break-word;
}
#editorMask {
position: absolute;
@@ -941,9 +946,9 @@ h3 {
.dropdown-menu .divider {
margin: 3px 0;
}
.ace_eidtor,
.ace_editor,
.ace_editor * {
font: 12px / normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro';
}
/* leanote nav */
.leanoteNav {
@@ -1034,6 +1039,9 @@ h3 {
#editorContent pre:hover .toggle-raw {
display: block;
}
#editorContent * {
font-family: inherit;
}
.ace_invisible_space {
visibility: hidden !important;
}
@@ -1095,6 +1103,152 @@ h3 {
#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;
}
#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;
}
::selection {
background: #000000;
color: #ffffff;
@@ -1407,6 +1561,14 @@ a.raw:hover {
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;
@@ -1657,40 +1819,6 @@ a.raw:hover {
.label i:hover {
opacity: 1;
}
#noteRead {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: none;
z-index: 100;
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;
}
/*
::-webkit-scrollbar {
width: 5px;
@@ -1867,7 +1995,6 @@ background-position:-1px -670px
#notebookMin,
.ui-loader,
#md-section-helper,
#right-column,
.writing-mobile-hide {
display: none !important;
}
@@ -2054,7 +2181,8 @@ background-position:-1px -670px
.wmd-input,
#noteReadContent,
#attachList,
#tags {
#tags,
.wmd-input-section {
-webkit-overflow-scrolling: touch !important;
overflow: auto !important;
}
@@ -2098,6 +2226,20 @@ background-position:-1px -670px
#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,
@@ -2166,7 +2308,8 @@ background-position:-1px -670px
.wmd-input,
#noteReadContent,
#attachList,
#tags {
#tags,
.wmd-input-section {
overflow: auto !important;
-webkit-overflow-scrolling: touch !important;
}
@@ -2184,8 +2327,7 @@ background-position:-1px -670px
#listShareNotebookDropdownMenu,
.username,
.ui-loader,
#md-section-helper,
#right-column {
#md-section-helper {
display: none !important;
}
#tag {
@@ -2259,4 +2401,18 @@ background-position:-1px -670px
#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;
}
}
+8 -38
View File
@@ -352,6 +352,14 @@ a.raw:hover {
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;
}
.fa {
width: 20px;
@@ -629,44 +637,6 @@ a.raw:hover {
// font-weight: bold;
}
//---------------
// note for read
#noteRead {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: none;
z-index: 100;
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;
/*
+175 -3
View File
@@ -143,7 +143,7 @@ h3 {
width: 5px;
height: 100%;
overflow: hidden;
z-index: 5;
z-index: 3333;
cursor: col-resize;
}
.dropdown-menu {
@@ -373,6 +373,9 @@ h3 {
}
.friend-header .notebook-setting {
display: none;
position: absolute;
right: 0;
left: auto;
}
.friend-header:hover .notebook-setting {
display: block;
@@ -636,6 +639,7 @@ h3 {
text-overflow: ellipsis;
overflow: hidden;
color: #666;
margin-top: 8px;
}
.my-link,
.new-markdown-text-abbr,
@@ -889,6 +893,7 @@ h3 {
}
.desc {
margin: 0;
word-wrap: break-word;
}
#editorMask {
position: absolute;
@@ -941,9 +946,9 @@ h3 {
.dropdown-menu .divider {
margin: 3px 0;
}
.ace_eidtor,
.ace_editor,
.ace_editor * {
font: 12px / normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro';
}
/* leanote nav */
.leanoteNav {
@@ -1034,6 +1039,9 @@ h3 {
#editorContent pre:hover .toggle-raw {
display: block;
}
#editorContent * {
font-family: inherit;
}
.ace_invisible_space {
visibility: hidden !important;
}
@@ -1095,6 +1103,152 @@ h3 {
#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;
}
#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;
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
@@ -2138,3 +2292,21 @@ body {
#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;
}
+29
View File
@@ -1154,4 +1154,33 @@ body {
}
#editorContent .ace-tomorrow {
background-color: #fbfcf7;
}
#wmd-input > .editor-content {
padding-top: 20px;
}
#editorContent {
padding-top: 10px;
}
// tool-bar
#editor {
#mceToolbar {
height: 40px;
}
#editorContent {
top: 40px;
}
// 所有都展开
&.all-tool {
#mceToolbar {
height: 80px;
}
#editorContent {
top: 80px;
}
}
}
+157 -3
View File
@@ -143,7 +143,7 @@ h3 {
width: 5px;
height: 100%;
overflow: hidden;
z-index: 5;
z-index: 3333;
cursor: col-resize;
}
.dropdown-menu {
@@ -373,6 +373,9 @@ h3 {
}
.friend-header .notebook-setting {
display: none;
position: absolute;
right: 0;
left: auto;
}
.friend-header:hover .notebook-setting {
display: block;
@@ -636,6 +639,7 @@ h3 {
text-overflow: ellipsis;
overflow: hidden;
color: #666;
margin-top: 8px;
}
.my-link,
.new-markdown-text-abbr,
@@ -889,6 +893,7 @@ h3 {
}
.desc {
margin: 0;
word-wrap: break-word;
}
#editorMask {
position: absolute;
@@ -941,9 +946,9 @@ h3 {
.dropdown-menu .divider {
margin: 3px 0;
}
.ace_eidtor,
.ace_editor,
.ace_editor * {
font: 12px / normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro';
}
/* leanote nav */
.leanoteNav {
@@ -1034,6 +1039,9 @@ h3 {
#editorContent pre:hover .toggle-raw {
display: block;
}
#editorContent * {
font-family: inherit;
}
.ace_invisible_space {
visibility: hidden !important;
}
@@ -1095,6 +1103,152 @@ h3 {
#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;
}
#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;
}
@font-face {
font-family: 'Open Sans';
font-style: normal;