v1.0
只读模式 group, 分享 评论更多问题 博客标签总是存在一个
This commit is contained in:
1 parent
7e458bb433
commit
6987a38820
1453 files changed
+114558
-91533
No files matched your search
+161
-17
@@ -155,7 +155,7 @@ a:hover {
|
||||
}
|
||||
.thumbnails {
|
||||
padding: 0;
|
||||
margin: 25px 0 0;
|
||||
padding-top: 25px;
|
||||
}
|
||||
.thumbnails > li {
|
||||
position: relative;
|
||||
@@ -195,32 +195,176 @@ a:hover {
|
||||
.article .article-info > a {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.avatar {
|
||||
.user-card {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
padding-right: 50px;
|
||||
right: -50px;
|
||||
}
|
||||
.user-card .dropdown-menu {
|
||||
width: 310px;
|
||||
left: -140px;
|
||||
}
|
||||
.user-card .dropdown-menu:before {
|
||||
content: "";
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-bottom: 10px solid #eaedef;
|
||||
background: none;
|
||||
background-image: none;
|
||||
top: -7px;
|
||||
left: 145px;
|
||||
right: auto;
|
||||
}
|
||||
.user-card .user-card-content {
|
||||
width: 310px;
|
||||
padding: 0;
|
||||
background: #eaedef;
|
||||
top: 35px;
|
||||
border-radius: 6px;
|
||||
word-break: break-all;
|
||||
}
|
||||
.user-card .user-card-content .loading {
|
||||
display: none;
|
||||
}
|
||||
.user-card .user-card-content.loading .loading {
|
||||
display: block;
|
||||
}
|
||||
.user-card .user-card-content.loading .header,
|
||||
.user-card .user-card-content.loading .content {
|
||||
display: none;
|
||||
}
|
||||
.user-card .user-card-content .loading {
|
||||
text-align: center;
|
||||
padding: 10px 0;
|
||||
}
|
||||
.user-card .user-card-content .loading:before {
|
||||
content: "";
|
||||
width: 17px;
|
||||
height: 11px;
|
||||
background: url(http://baijii-common.b0.upaiyun.com/loaders/tiny.gif);
|
||||
background-size: 17px 11px;
|
||||
display: inline-block;
|
||||
}
|
||||
.user-card .user-card-content .header {
|
||||
padding: 10px;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #d9d9d9;
|
||||
border-radius: 6px 6px 0 0;
|
||||
}
|
||||
.user-card .user-card-content .header .btn {
|
||||
box-sizing: border-box;
|
||||
width: 95px;
|
||||
}
|
||||
.user-card .user-card-content .header .follow-btn {
|
||||
display: none;
|
||||
}
|
||||
.user-card .user-card-content .header.not-followed .follow-btn {
|
||||
display: block;
|
||||
}
|
||||
.user-card .user-card-content .header.not-followed .following-btn {
|
||||
display: none;
|
||||
}
|
||||
.user-card .user-card-content .header .following-btn .unfollow {
|
||||
display: none;
|
||||
}
|
||||
.user-card .user-card-content .header .following-btn:hover .following {
|
||||
display: none;
|
||||
}
|
||||
.user-card .user-card-content .header .following-btn:hover .unfollow {
|
||||
display: block;
|
||||
}
|
||||
.user-card .user-card-content .header .follow-btn,
|
||||
.user-card .user-card-content .header .following-btn {
|
||||
float: right;
|
||||
padding: 4px 10px 2px;
|
||||
margin: 0;
|
||||
}
|
||||
.user-card .user-card-content .header .avatar {
|
||||
float: left;
|
||||
}
|
||||
.user-card .user-card-content .username {
|
||||
line-height: 32px;
|
||||
padding-left: 10px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
margin-right: 100px;
|
||||
display: block;
|
||||
}
|
||||
.user-card .user-card-content .header > span {
|
||||
position: relative;
|
||||
top: 6px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.user-card .user-card-content .content {
|
||||
padding: 0 10px 10px;
|
||||
font-size: 12px;
|
||||
font-family: "lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
|
||||
}
|
||||
.user-card .user-card-content .content p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.user-card .user-card-content .content .intro {
|
||||
padding: 10px 12px 7px;
|
||||
margin: 0 -10px 0;
|
||||
background: white;
|
||||
border-bottom: 1px solid #d9d9d9;
|
||||
}
|
||||
.user-card .user-card-content .content ul {
|
||||
padding: 1px 10px 2px 10px;
|
||||
margin: 0 -10px 10px;
|
||||
background: #ffffff;
|
||||
}
|
||||
.user-card .user-card-content .content ul li {
|
||||
border-bottom: 1px dashed #d9d9d9;
|
||||
}
|
||||
.user-card .user-card-content .content ul li a {
|
||||
margin: 5px 0;
|
||||
line-height: 20px;
|
||||
display: block;
|
||||
}
|
||||
.user-card .user-card-content .content ul time {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
color: #999999;
|
||||
font-size: 12px;
|
||||
}
|
||||
.user-card .user-card-content .content h5 {
|
||||
margin: 0;
|
||||
padding-top: 3px;
|
||||
margin-right: 63px;
|
||||
font-size: 12px;
|
||||
font-family: "lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
|
||||
font-weight: normal;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.user-card .user-card-content .content a {
|
||||
color: #999999;
|
||||
}
|
||||
.avatar {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
text-align: center;
|
||||
-webkit-border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.avatar img {
|
||||
width: 32px;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
/*
|
||||
-webkit-border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
-webkit-transition: border-color 0.3s !important;
|
||||
-moz-transition: border-color 0.3s !important;
|
||||
-ms-transition: border-color 0.3s !important;
|
||||
-o-transition: border-color 0.3s !important;
|
||||
transition: border-color 0.3s !important;
|
||||
*/
|
||||
}
|
||||
.avatar img {
|
||||
width: 30px;
|
||||
border-radius: 50%;
|
||||
-webkit-border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
}
|
||||
#pagination {
|
||||
text-align: center;
|
||||
|
||||
+195
-15
@@ -1,6 +1,7 @@
|
||||
@bgColor: #fff;
|
||||
@headerBgColor: #fff;
|
||||
@fontFamily: 'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;
|
||||
@fontFamily: "lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
|
||||
@aWhiteColor: #fff;
|
||||
@aBlackColor: #000;
|
||||
@borderColor: #EBEFF2;
|
||||
@@ -103,11 +104,12 @@ a:hover {
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
}
|
||||
@navbarBg: #fafbfc;
|
||||
.navbar, .navbar-default {
|
||||
margin: 0;
|
||||
border-bottom: 1px solid #DEDDDF;
|
||||
box-shadow: 0 1px 2px rgba(0,0,0,.04),inset 0 1px 0 #fff;
|
||||
background-color: #fafbfc;
|
||||
background-color: @navbarBg;
|
||||
a {
|
||||
font-size: 16px;
|
||||
}
|
||||
@@ -174,7 +176,7 @@ a:hover {
|
||||
// 文章列表
|
||||
.thumbnails {
|
||||
padding: 0;
|
||||
margin: 25px 0 0;
|
||||
padding-top: 25px;
|
||||
}
|
||||
.thumbnails > li {
|
||||
position: relative;
|
||||
@@ -218,31 +220,209 @@ a:hover {
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
.avatar {
|
||||
|
||||
@cardBg: #EAEDEF;
|
||||
.user-card {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
padding-right: 50px;
|
||||
right: -50px;
|
||||
.dropdown-menu {
|
||||
width: 310px;
|
||||
left: -140px;
|
||||
&:before {
|
||||
|
||||
content: "";
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-bottom: 10px solid @cardBg;
|
||||
background: none;
|
||||
background-image: none;
|
||||
top: -7px;
|
||||
|
||||
left: 145px;
|
||||
right: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.user-card-content {
|
||||
width: 310px;
|
||||
padding: 0;
|
||||
background: @cardBg;
|
||||
top: 35px;
|
||||
border-radius: 6px;
|
||||
word-break: break-all;
|
||||
|
||||
.loading {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.loading {
|
||||
.loading {
|
||||
display: block;
|
||||
}
|
||||
.header,
|
||||
.content {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.user-card-content .loading {
|
||||
text-align: center;
|
||||
padding: 10px 0;
|
||||
&:before {
|
||||
content: "";
|
||||
width: 17px;
|
||||
height: 11px;
|
||||
background: url(http://7xj51o.com1.z0.glb.clouddn.com/bar-loading.gif);
|
||||
background-size: 17px 11px;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.user-card-content .header {
|
||||
padding: 10px;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #d9d9d9;
|
||||
border-radius: 6px 6px 0 0;
|
||||
|
||||
.btn {
|
||||
box-sizing: border-box;
|
||||
width: 95px;
|
||||
}
|
||||
|
||||
.follow-btn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.not-followed {
|
||||
.follow-btn {
|
||||
display: block;
|
||||
}
|
||||
.following-btn {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.following-btn {
|
||||
.unfollow {
|
||||
display: none;
|
||||
}
|
||||
&:hover {
|
||||
.following {
|
||||
display: none;
|
||||
}
|
||||
.unfollow {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.user-card-content .header .follow-btn,
|
||||
.user-card-content .header .following-btn {
|
||||
float: right;
|
||||
padding: 4px 10px 2px;
|
||||
margin: 0
|
||||
}
|
||||
|
||||
.user-card-content .header .avatar {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.user-card-content .username {
|
||||
line-height: 32px;
|
||||
padding-left: 10px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
margin-right: 100px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.user-card-content .header>span {
|
||||
position: relative;
|
||||
top: 6px;
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.user-card-content .content {
|
||||
padding: 0 10px 10px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.user-card-content .content p {
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
.user-card-content .content .intro {
|
||||
padding: 10px 12px 7px;
|
||||
margin: 0 -10px 0;
|
||||
background: white;
|
||||
border-bottom: 1px solid #d9d9d9
|
||||
}
|
||||
|
||||
.user-card-content .content ul {
|
||||
padding: 1px 10px 2px 10px;
|
||||
margin: 0 -10px 10px;
|
||||
background: white
|
||||
}
|
||||
|
||||
.user-card-content .content ul li {
|
||||
border-bottom: 1px dashed #d9d9d9;
|
||||
a {
|
||||
margin: 5px 0;
|
||||
line-height: 20px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.user-card-content .content ul time {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
color: #999999;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.user-card-content .content h5 {
|
||||
margin: 0;
|
||||
padding-top: 3px;
|
||||
margin-right: 63px;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap
|
||||
}
|
||||
|
||||
.user-card-content .content a {
|
||||
color: #999999
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.avatar {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
text-align: center;
|
||||
-webkit-border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
img {
|
||||
width: 32px;
|
||||
// border: 2px solid white;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
width: 30px;
|
||||
/*
|
||||
border-radius: 50%;
|
||||
-webkit-border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
-webkit-transition: border-color 0.3s !important;
|
||||
-moz-transition: border-color 0.3s !important;
|
||||
-ms-transition: border-color 0.3s !important;
|
||||
-o-transition: border-color 0.3s !important;
|
||||
transition: border-color 0.3s !important;
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
+16
-2
@@ -37,7 +37,7 @@
|
||||
}
|
||||
*,
|
||||
body {
|
||||
font-family: 'Open Sans', '微软雅黑', Arial, Tahoma, sans-serif;
|
||||
font-family: "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
@@ -45,7 +45,7 @@ body {
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-family: 'Open Sans', '微软雅黑', Arial, Tahoma, sans-serif;
|
||||
font-family: "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
|
||||
}
|
||||
a {
|
||||
cursor: pointer;
|
||||
@@ -73,6 +73,16 @@ a:hover {
|
||||
line-height: 60px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
#lang {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: -2px;
|
||||
z-index: 11111;
|
||||
}
|
||||
#lang a {
|
||||
font-size: 12px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
#postsContainer,
|
||||
#suggestion {
|
||||
background: #f5f5f5 url("../images/noise.png");
|
||||
@@ -161,6 +171,7 @@ section {
|
||||
#navbar {
|
||||
float: right;
|
||||
background: #fff;
|
||||
padding-right: 0;
|
||||
}
|
||||
#loginBtns {
|
||||
border-left: 1px solid #eee;
|
||||
@@ -214,6 +225,9 @@ section {
|
||||
padding-right: 10px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
#lang {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 600px) {
|
||||
.header .btn {
|
||||
|
||||
+20
-1
@@ -1,6 +1,7 @@
|
||||
@bgColor: #fff;
|
||||
@headerBgColor: #fff;
|
||||
@fontFamily: 'Open Sans', '微软雅黑', Arial, Tahoma, sans-serif;
|
||||
@fontFamily: 'Open Sans', '微软雅黑', Arial, Tahoma, sans-serif;
|
||||
@fontFamily: "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
|
||||
@aWhiteColor: #fff;
|
||||
@aBlackColor: #000;
|
||||
@borderColor: #EBEFF2;
|
||||
@@ -87,6 +88,18 @@ a:hover {
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
#lang {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: -2px;
|
||||
z-index: 11111;
|
||||
a {
|
||||
font-size: 12px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
#header, #posts, #loginContainer {
|
||||
}
|
||||
#postsContainer, #suggestion {
|
||||
@@ -182,6 +195,7 @@ section {
|
||||
#navbar {
|
||||
float: right;
|
||||
background: #fff;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#loginBtns {
|
||||
@@ -237,6 +251,10 @@ section {
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
#lang {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width:600px) {
|
||||
.header .btn {
|
||||
@@ -246,6 +264,7 @@ section {
|
||||
.mobile {
|
||||
top: 0 !important;
|
||||
}
|
||||
|
||||
}
|
||||
/* posts */
|
||||
#posts {
|
||||
|
||||
+191
-4
@@ -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
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
|
||||
Vendored
-1
@@ -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
|
||||
@@ -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
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
/*
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
+28
-19
@@ -1,56 +1,57 @@
|
||||
@font-face {
|
||||
font-family: Si;
|
||||
src: url("/public/fonts/MSYH.TTF");
|
||||
}
|
||||
@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');
|
||||
src: local('Open Sans Light'), local('OpenSans-Light'), url('/public/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');
|
||||
src: local('Open Sans'), local('OpenSans'), url('/public/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');
|
||||
src: local('Open Sans Bold'), local('OpenSans-Bold'), url('/public/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');
|
||||
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('/public/fonts/open-sans2/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff') format('woff');
|
||||
}
|
||||
*,
|
||||
body {
|
||||
font-family: 'Microsoft YaHei', 'WenQuanYi Micro Hei', 'Open Sans', 'Helvetica Neue', Arial, 'Hiragino Sans GB', sans-serif;
|
||||
font-family: Si, 'Microsoft YaHei', 'WenQuanYi Micro Hei', 'Helvetica Neue', Arial, 'Hiragino Sans GB';
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-family: 'Microsoft YaHei', 'WenQuanYi Micro Hei', 'Open Sans', 'Helvetica Neue', Arial, 'Hiragino Sans GB', sans-serif;
|
||||
font-family: Si, 'Microsoft YaHei', 'WenQuanYi Micro Hei', 'Helvetica Neue', Arial, 'Hiragino Sans GB';
|
||||
}
|
||||
* {
|
||||
font-size: 18px;
|
||||
font-size: 16px;
|
||||
}
|
||||
body {
|
||||
width: 500px;
|
||||
width: 650px;
|
||||
margin: auto;
|
||||
}
|
||||
body * {
|
||||
line-height: 1.5;
|
||||
}
|
||||
#content {
|
||||
padding: 0 10px;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
h1.title {
|
||||
font-size: 24px;
|
||||
font-size: 32px;
|
||||
border-left: 5px solid #65bd77;
|
||||
padding-left: 10px;
|
||||
font-weight: bold;
|
||||
@@ -64,29 +65,37 @@ h1.title {
|
||||
#tag {
|
||||
width: 15px;
|
||||
display: inline-block;
|
||||
margin-left: 10px;
|
||||
margin-top: -3px;
|
||||
}
|
||||
.created-time {
|
||||
margin: 20px 0;
|
||||
margin-bottom: 20px;
|
||||
margin: 30px 0;
|
||||
}
|
||||
#footer {
|
||||
background-color: #65bd77;
|
||||
color: #fff;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 20px;
|
||||
color: #ccc;
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
font-size: 14px !important;
|
||||
}
|
||||
#footer #leanote_logo {
|
||||
height: 50px;
|
||||
}
|
||||
#footer .split {
|
||||
border-top: #ccc 1px solid;
|
||||
height: 1px;
|
||||
width: 60px;
|
||||
margin: auto;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#footer p {
|
||||
margin: 0;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
#footer a {
|
||||
color: #fff;
|
||||
color: #ccc;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
pre * {
|
||||
font-size: 14px;
|
||||
font-family: "Open Sans";
|
||||
}
|
||||
+36
-22
@@ -1,35 +1,39 @@
|
||||
@bgColor: #fff;
|
||||
@headerBgColor: #fff;
|
||||
@fontFamily: 'Microsoft YaHei','WenQuanYi Micro Hei','Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB',sans-serif;
|
||||
|
||||
@green: #65bd77;
|
||||
@font-face {
|
||||
font-family: Si;
|
||||
src:url("/public/fonts/MSYH.TTF");
|
||||
}
|
||||
|
||||
// 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');
|
||||
src: local('Open Sans Light'), local('OpenSans-Light'), url('/public/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');
|
||||
src: local('Open Sans'), local('OpenSans'), url('/public/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');
|
||||
src: local('Open Sans Bold'), local('OpenSans-Bold'), url('/public/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');
|
||||
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('/public/fonts/open-sans2/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff') format('woff');
|
||||
}
|
||||
|
||||
@bgColor: #fff;
|
||||
@headerBgColor: #fff;
|
||||
@fontFamily: Si, 'Microsoft YaHei','WenQuanYi Micro Hei','Helvetica Neue',Arial,'Hiragino Sans GB';
|
||||
@green: #65bd77;
|
||||
|
||||
*, body {
|
||||
font-family: @fontFamily;
|
||||
font-weight: 300;
|
||||
@@ -39,23 +43,23 @@ h1, h2, h3 {
|
||||
font-family: @fontFamily;
|
||||
}
|
||||
* {
|
||||
font-size: 18px;
|
||||
font-size: 16px;
|
||||
}
|
||||
body {
|
||||
width: 500px;
|
||||
width: 650px;
|
||||
margin: auto;
|
||||
* {
|
||||
line-height: 1.5;
|
||||
}
|
||||
}
|
||||
#content {
|
||||
padding: 0 10px;
|
||||
// padding: 0 10px;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
h1.title {
|
||||
font-size: 24px;
|
||||
font-size: 32px;
|
||||
border-left: 5px solid @green;
|
||||
padding-left: 10px;
|
||||
font-weight: bold;
|
||||
@@ -69,30 +73,40 @@ h1.title {
|
||||
#tag {
|
||||
width: 15px;
|
||||
display: inline-block;
|
||||
margin-left: 10px;
|
||||
// margin-left: 10px;
|
||||
margin-top: -3px;
|
||||
}
|
||||
.created-time {
|
||||
margin: 20px 0;
|
||||
margin-bottom: 20px;
|
||||
margin: 30px 0;
|
||||
}
|
||||
#footer {
|
||||
background-color: @green;
|
||||
color: #fff;
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
color: #ccc;
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
#leanote_logo {
|
||||
height: 50px;
|
||||
}
|
||||
font-size: 14px !important;
|
||||
.split {
|
||||
border-top: #ccc 1px solid;
|
||||
height: 1px;
|
||||
width: 60px;
|
||||
margin: auto;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
p {
|
||||
margin: 0;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
a {
|
||||
color: #fff;
|
||||
color: #ccc;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
}
|
||||
// 代码
|
||||
pre * {
|
||||
font-size: 14px;
|
||||
font-family: "Open Sans"
|
||||
}
|
||||
Reference in new issue
Block a user