mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-18 17:48:00 +08:00
markdown编辑器增加cherryMarkdown
* 使用cherryMarkdown替换editorMd * 支持历史&边栏 * 优化代码&支持html格式渲染为预览格式&保存主题配置 * 修复drawio异常 * 优化drawio异常改法 * 自定义提示面板主题颜色 * drawio增加样式,并且更新到最新版本 * 增加代码块复制功能&&修复drawio渲染图片过大&&drawio生成图片背景改为透明 * 恢复原有markdown编辑器,新增cherry markdown编辑器 * 修复复制功能异常 * 修复drawio偶尔无法编辑 --------- Co-authored-by: zhangsheng.93 <zhangsheng.93@bytedance.com>
This commit is contained in:
@@ -1,9 +1,32 @@
|
||||
html,body {
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
body,form,ul,ol,table,input,button,p,h1,h2,h3,h4,h5,h6,blockquote,pre,dl,dt,dd,div,span,b,i {
|
||||
body,
|
||||
form,
|
||||
ul,
|
||||
ol,
|
||||
table,
|
||||
input,
|
||||
button,
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
blockquote,
|
||||
pre,
|
||||
dl,
|
||||
dt,
|
||||
dd,
|
||||
div,
|
||||
span,
|
||||
b,
|
||||
i {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
@@ -18,9 +41,22 @@ body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6,strong,input,select,textarea,button,body,code {
|
||||
font-family: "Helvetica Neue",Helvetica,"Segoe UI",Arial,freesans,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Microsoft Yahei","Helvetica Neue",Helvetica;
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
strong,
|
||||
input,
|
||||
select,
|
||||
textarea,
|
||||
button,
|
||||
body,
|
||||
code {
|
||||
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft Yahei", "Helvetica Neue", Helvetica;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.25em;
|
||||
font-weight: 500;
|
||||
@@ -50,21 +86,23 @@ h6 {
|
||||
font-size: .8em;
|
||||
font-weight: 200
|
||||
}
|
||||
table>tbody>tr:hover{
|
||||
|
||||
table>tbody>tr:hover {
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
|
||||
.m-manual:not(.manual-mobile) ::-webkit-scrollbar {
|
||||
height: 10px;
|
||||
width: 7px;
|
||||
background: rgba(0,0,0,.1);
|
||||
background: rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
.m-manual:not(.manual-mobile) ::-webkit-scrollbar:hover {
|
||||
background: rgba(0,0,0,.2)
|
||||
background: rgba(0, 0, 0, .2)
|
||||
}
|
||||
|
||||
.m-manual:not(.manual-mobile) ::-webkit-scrollbar-thumb {
|
||||
background: rgba(0,0,0,.3);
|
||||
background: rgba(0, 0, 0, .3);
|
||||
-webkit-border-radius: 6px;
|
||||
-moz-border-radius: 6px;
|
||||
-ms-border-radius: 6px;
|
||||
@@ -73,13 +111,14 @@ table>tbody>tr:hover{
|
||||
}
|
||||
|
||||
.m-manual:not(.manual-mobile)::-webkit-scrollbar-thumb:hover {
|
||||
-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
|
||||
-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
|
||||
-ms-box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
|
||||
-o-box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
|
||||
box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
|
||||
background-color: rgba(0,0,0,.4)
|
||||
-webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .25);
|
||||
-moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .25);
|
||||
-ms-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .25);
|
||||
-o-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .25);
|
||||
box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .25);
|
||||
background-color: rgba(0, 0, 0, .4)
|
||||
}
|
||||
|
||||
.m-manual.manual-reader .manual-head .slidebar {
|
||||
display: none
|
||||
}
|
||||
@@ -112,10 +151,12 @@ table>tbody>tr:hover{
|
||||
-o-transition-timing-function: linear;
|
||||
-o-transition-delay: 0s
|
||||
}
|
||||
.m-manual .slidebar{
|
||||
|
||||
.m-manual .slidebar {
|
||||
display: none;
|
||||
}
|
||||
.m-manual .manual-head .manual-title{
|
||||
|
||||
.m-manual .manual-head .manual-title {
|
||||
display: inline-block;
|
||||
height: 30px;
|
||||
line-height: 54px;
|
||||
@@ -123,6 +164,7 @@ table>tbody>tr:hover{
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.m-manual .manual-tab {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -130,6 +172,7 @@ table>tbody>tr:hover{
|
||||
left: 0;
|
||||
right: 0
|
||||
}
|
||||
|
||||
.m-manual .manual-left {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
@@ -142,7 +185,8 @@ table>tbody>tr:hover{
|
||||
}
|
||||
|
||||
.m-manual .manual-tab .tab-navg {
|
||||
zoom:1;border-bottom: 1px solid #ddd
|
||||
zoom: 1;
|
||||
border-bottom: 1px solid #ddd
|
||||
}
|
||||
|
||||
.m-manual .manual-tab .tab-util {
|
||||
@@ -150,6 +194,7 @@ table>tbody>tr:hover{
|
||||
top: 50%;
|
||||
right: -14px
|
||||
}
|
||||
|
||||
.m-manual .manual-tab .tab-util .item {
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
@@ -163,7 +208,8 @@ table>tbody>tr:hover{
|
||||
display: block
|
||||
}
|
||||
|
||||
.manual-fullscreen-switch .open,.manual-fullscreen-switch .close {
|
||||
.manual-fullscreen-switch .open,
|
||||
.manual-fullscreen-switch .close {
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
@@ -174,15 +220,18 @@ table>tbody>tr:hover{
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
vertical-align: top;
|
||||
opacity : 1;
|
||||
text-shadow:none;
|
||||
opacity: 1;
|
||||
text-shadow: none;
|
||||
font-weight: 400;
|
||||
}
|
||||
.manual-fullscreen-switch .open:hover,.manual-fullscreen-switch .close:hover {
|
||||
|
||||
.manual-fullscreen-switch .open:hover,
|
||||
.manual-fullscreen-switch .close:hover {
|
||||
background-color: #449d44;
|
||||
}
|
||||
|
||||
.manual-fullscreen-switch .open:before,.manual-fullscreen-switch .close:before {
|
||||
.manual-fullscreen-switch .open:before,
|
||||
.manual-fullscreen-switch .close:before {
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
right: 5px;
|
||||
@@ -203,10 +252,14 @@ table>tbody>tr:hover{
|
||||
.m-manual.manual-fullscreen-active .manual-fullscreen-switch .close {
|
||||
display: none;
|
||||
}
|
||||
.m-manual.manual-fullscreen-active .manual-left .m-copyright,.m-manual.manual-fullscreen-active .manual-left .tab-navg,.m-manual.manual-fullscreen-active .manual-left .tab-wrap{
|
||||
|
||||
.m-manual.manual-fullscreen-active .manual-left .m-copyright,
|
||||
.m-manual.manual-fullscreen-active .manual-left .tab-navg,
|
||||
.m-manual.manual-fullscreen-active .manual-left .tab-wrap {
|
||||
display: none;
|
||||
}
|
||||
.m-manual.manual-fullscreen-active .manual-left{
|
||||
|
||||
.m-manual.manual-fullscreen-active .manual-left {
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
@@ -240,13 +293,18 @@ table>tbody>tr:hover{
|
||||
font-weight: 200
|
||||
}
|
||||
|
||||
.m-manual .manual-tab .tab-navg .navg-item.active,.m-manual .manual-tab .tab-navg .navg-item.active:hover,.m-manual .manual-tab .tab-navg .navg-item:hover {
|
||||
.m-manual .manual-tab .tab-navg .navg-item.active,
|
||||
.m-manual .manual-tab .tab-navg .navg-item.active:hover,
|
||||
.m-manual .manual-tab .tab-navg .navg-item:hover {
|
||||
color: #333
|
||||
}
|
||||
|
||||
.m-manual .manual-tab .tab-navg .navg-item.active .icon,.m-manual .manual-tab .tab-navg .navg-item.active:hover .icon,.m-manual .manual-tab .tab-navg .navg-item:hover .icon {
|
||||
.m-manual .manual-tab .tab-navg .navg-item.active .icon,
|
||||
.m-manual .manual-tab .tab-navg .navg-item.active:hover .icon,
|
||||
.m-manual .manual-tab .tab-navg .navg-item:hover .icon {
|
||||
color: #333
|
||||
}
|
||||
|
||||
.m-manual .manual-tab .tab-navg .navg-item.active {
|
||||
border-bottom: 1px solid #fafafa;
|
||||
margin-bottom: -1px;
|
||||
@@ -256,6 +314,7 @@ table>tbody>tr:hover{
|
||||
padding-right: 8px;
|
||||
height: 31px;
|
||||
}
|
||||
|
||||
.m-manual .manual-tab .tab-item {
|
||||
display: none;
|
||||
position: absolute;
|
||||
@@ -271,25 +330,29 @@ table>tbody>tr:hover{
|
||||
.m-manual .manual-tab .tab-item.active {
|
||||
display: block
|
||||
}
|
||||
|
||||
.m-manual.manual-mode-search .manual-search {
|
||||
display: block
|
||||
}
|
||||
|
||||
.m-manual.manual-mode-view .manual-catalog {
|
||||
display: block
|
||||
}
|
||||
.m-manual.manual-mode-search .manual-search .search-container{
|
||||
|
||||
.m-manual.manual-mode-search .manual-search .search-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.m-manual .manual-search .search-form{
|
||||
|
||||
.m-manual .manual-search .search-form {
|
||||
margin: 5px 5px 10px 5px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.m-manual .manual-search .btn-search{
|
||||
.m-manual .manual-search .btn-search {
|
||||
background-color: #ffffff;
|
||||
border: 0;
|
||||
padding: 5px;
|
||||
@@ -297,16 +360,18 @@ table>tbody>tr:hover{
|
||||
top: 2px;
|
||||
right: 5px;
|
||||
}
|
||||
.m-manual .manual-search .btn-search .fa{
|
||||
|
||||
.m-manual .manual-search .btn-search .fa {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.m-manual .manual-search .btn-search .loading{
|
||||
|
||||
.m-manual .manual-search .btn-search .loading {
|
||||
background-image: url("../images/loading.gif");
|
||||
}
|
||||
|
||||
.m-manual .manual-search .search-result{
|
||||
.m-manual .manual-search .search-result {
|
||||
position: absolute;
|
||||
top: 45px;
|
||||
left: 0;
|
||||
@@ -316,32 +381,37 @@ table>tbody>tr:hover{
|
||||
overflow-y: auto;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
.m-manual .manual-search .search-result .search-empty{
|
||||
|
||||
.m-manual .manual-search .search-result .search-empty {
|
||||
position: absolute;
|
||||
top: 45%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.m-manual .manual-search .search-result .search-empty i{
|
||||
|
||||
.m-manual .manual-search .search-result .search-empty i {
|
||||
font-size: 50px;
|
||||
display: block;
|
||||
color: #999;
|
||||
font-weight: 200;
|
||||
}
|
||||
.m-manual .manual-search .search-result .search-empty .text{
|
||||
|
||||
.m-manual .manual-search .search-result .search-empty .text {
|
||||
font-size: 16px;
|
||||
font-weight: 200;
|
||||
color: #999;
|
||||
line-height: 40px;
|
||||
}
|
||||
.m-manual .manual-search .search-list{
|
||||
|
||||
.m-manual .manual-search .search-list {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
min-width: 100%;
|
||||
}
|
||||
.m-manual .manual-search .search-list a{
|
||||
|
||||
.m-manual .manual-search .search-list a {
|
||||
display: block;
|
||||
border-bottom: 0;
|
||||
height: 30px;
|
||||
@@ -349,27 +419,31 @@ table>tbody>tr:hover{
|
||||
padding: 3px 10px 3px 20px;
|
||||
color: #666;
|
||||
text-decoration: none;
|
||||
white-space:nowrap;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
.m-manual .manual-search .search-list a:hover{
|
||||
|
||||
.m-manual .manual-search .search-list a:hover {
|
||||
text-shadow: none;
|
||||
background: #116cd6;
|
||||
box-shadow: none;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
white-space:nowrap;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.m-manual .manual-search .search-list a.active{
|
||||
|
||||
.m-manual .manual-search .search-list a.active {
|
||||
background: #10af88;
|
||||
background: -webkit-linear-gradient(top, #beebff 0%, #a8e4ff 100%);
|
||||
background: linear-gradient(to bottom, #10af88 0%, #10af88 100%);
|
||||
color: #ffffff;
|
||||
}
|
||||
.m-manual .markdown-body .search-highlight{
|
||||
|
||||
.m-manual .markdown-body .search-highlight {
|
||||
background-color: #FFFF00 !important;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.m-manual .manual-left .m-copyright {
|
||||
border-top: 0;
|
||||
background: #fafafa;
|
||||
@@ -387,6 +461,7 @@ table>tbody>tr:hover{
|
||||
text-align: center;
|
||||
line-height: 24px
|
||||
}
|
||||
|
||||
.m-manual .manual-right {
|
||||
position: absolute;
|
||||
left: 280px;
|
||||
@@ -412,21 +487,27 @@ table>tbody>tr:hover{
|
||||
-o-transition-timing-function: linear;
|
||||
-o-transition-delay: 0s
|
||||
}
|
||||
.m-manual.manual-fullscreen-active .manual-right{
|
||||
|
||||
.m-manual.manual-fullscreen-active .manual-right {
|
||||
left: 0;
|
||||
}
|
||||
.m-manual .manual-right .manual-article{
|
||||
|
||||
.m-manual .manual-right .manual-article {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.manual-article .article-head {
|
||||
position: relative;
|
||||
zoom: 1;
|
||||
padding: 10px 20px
|
||||
padding: 10px 20px;
|
||||
width: 100%;
|
||||
}
|
||||
.manual-reader .book-title{
|
||||
|
||||
.manual-reader .book-title {
|
||||
color: #333333;
|
||||
}
|
||||
.manual-reader .book-title:hover{
|
||||
|
||||
.manual-reader .book-title:hover {
|
||||
text-decoration: none;
|
||||
color: #333333;
|
||||
}
|
||||
@@ -437,59 +518,65 @@ table>tbody>tr:hover{
|
||||
font-weight: 400;
|
||||
text-align: center;
|
||||
line-height: 42px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: #636363;
|
||||
}
|
||||
|
||||
.manual-article .article-head h3 {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
font-weight: 200;
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: #444
|
||||
}
|
||||
.manual-article .article-info{
|
||||
|
||||
.manual-article .article-info {
|
||||
padding: 5px;
|
||||
color: #AAA !important;
|
||||
}
|
||||
.manual-article .article-content{
|
||||
|
||||
.manual-article .article-content {
|
||||
min-width: 980px;
|
||||
max-width: 90%;
|
||||
padding: 10px 20px;
|
||||
margin-left: auto!important;
|
||||
margin-right: auto!important
|
||||
margin-left: auto !important;
|
||||
margin-right: auto !important
|
||||
}
|
||||
|
||||
@media screen and (max-width: 840px) {
|
||||
.manual-article .article-content{
|
||||
.manual-article .article-content {
|
||||
min-width: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.manual-article .article-content .article-body{
|
||||
.manual-article .article-content .article-body {
|
||||
min-height: 90px;
|
||||
padding: 5px;
|
||||
}
|
||||
.manual-article .article-content .article-body .attach-list{
|
||||
|
||||
.manual-article .article-content .article-body .attach-list {
|
||||
list-style: none;
|
||||
border-top: 1px solid #DDDDDD;
|
||||
padding-top: 15px;
|
||||
clear: both;
|
||||
}
|
||||
.manual-article .wiki-bottom{
|
||||
|
||||
.manual-article .wiki-bottom {
|
||||
border-top: 1px solid #E5E5E5;
|
||||
line-height: 25px;color: #333;
|
||||
text-align:right;
|
||||
line-height: 25px;
|
||||
color: #333;
|
||||
text-align: right;
|
||||
font-size: 12px;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 30px;
|
||||
padding: 5px;
|
||||
}
|
||||
.manual-article .jump-top .view-backtop{
|
||||
|
||||
.manual-article .jump-top .view-backtop {
|
||||
position: fixed;
|
||||
bottom: -30px;
|
||||
right: 30px;
|
||||
@@ -523,14 +610,16 @@ table>tbody>tr:hover{
|
||||
-o-transition-delay: 0s;
|
||||
}
|
||||
|
||||
.manual-article .jump-top .view-backtop.active{
|
||||
.manual-article .jump-top .view-backtop.active {
|
||||
opacity: 0.5;
|
||||
bottom: 30px;
|
||||
}
|
||||
.manual-article .jump-top .view-backtop.active:hover{
|
||||
|
||||
.manual-article .jump-top .view-backtop.active:hover {
|
||||
background-color: #449D44;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.m-manual .manual-progress {
|
||||
position: fixed;
|
||||
top: 54px;
|
||||
@@ -562,9 +651,11 @@ table>tbody>tr:hover{
|
||||
background-color: #136ec2;
|
||||
height: 100%
|
||||
}
|
||||
.m-comment{
|
||||
|
||||
.m-comment {
|
||||
margin: 30px auto 70px auto;
|
||||
}
|
||||
|
||||
.m-comment .comment-result .title {
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
@@ -573,12 +664,15 @@ table>tbody>tr:hover{
|
||||
border-bottom: 1px solid #ddddd9;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.w-textarea.textarea-full {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.w-fragment.fragment-tip {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.w-textarea .textarea-input {
|
||||
font-size: 14px;
|
||||
padding: 5px 10px;
|
||||
@@ -587,12 +681,14 @@ table>tbody>tr:hover{
|
||||
line-height: 1.7em;
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
.m-comment .comment-post .form .enter textarea {
|
||||
resize: none;
|
||||
min-height: 72px;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.m-comment .comment-list {
|
||||
padding-bottom: 12px
|
||||
}
|
||||
@@ -647,7 +743,7 @@ table>tbody>tr:hover{
|
||||
background-color: #f7f7f7;
|
||||
border: 0;
|
||||
border-radius: 3px;
|
||||
font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace
|
||||
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace
|
||||
}
|
||||
|
||||
.m-comment .comment-item .content pre>code {
|
||||
@@ -696,7 +792,8 @@ table>tbody>tr:hover{
|
||||
margin-right: 12px
|
||||
}
|
||||
|
||||
.m-comment .comment-item .vote .agree,.m-comment .comment-item .vote .oppose {
|
||||
.m-comment .comment-item .vote .agree,
|
||||
.m-comment .comment-item .vote .oppose {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
width: 30px;
|
||||
@@ -706,7 +803,9 @@ table>tbody>tr:hover{
|
||||
background-color: #f5f5f5;
|
||||
color: #666666;
|
||||
}
|
||||
.m-comment .comment-item .vote .agree:hover,.m-comment .comment-item .vote .oppose:hover{
|
||||
|
||||
.m-comment .comment-item .vote .agree:hover,
|
||||
.m-comment .comment-item .vote .oppose:hover {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
@@ -735,15 +834,18 @@ table>tbody>tr:hover{
|
||||
border-bottom-left-radius: 0
|
||||
}
|
||||
|
||||
.m-comment .comment-item .vote.disabled .agree,.m-comment .comment-item .vote.disabled .oppose {
|
||||
.m-comment .comment-item .vote.disabled .agree,
|
||||
.m-comment .comment-item .vote.disabled .oppose {
|
||||
cursor: default
|
||||
}
|
||||
|
||||
.m-comment .comment-item .vote.disabled .agree i,.m-comment .comment-item .vote.disabled .oppose i {
|
||||
.m-comment .comment-item .vote.disabled .agree i,
|
||||
.m-comment .comment-item .vote.disabled .oppose i {
|
||||
color: #ccc
|
||||
}
|
||||
|
||||
.m-comment .comment-item .vote.disabled .agree:hover i,.m-comment .comment-item .vote.disabled .oppose:hover i {
|
||||
.m-comment .comment-item .vote.disabled .agree:hover i,
|
||||
.m-comment .comment-item .vote.disabled .oppose:hover i {
|
||||
color: #ccc
|
||||
}
|
||||
|
||||
@@ -773,13 +875,15 @@ table>tbody>tr:hover{
|
||||
display: block
|
||||
}
|
||||
|
||||
.m-comment .comment-more,.m-comment .comment-replace {
|
||||
.m-comment .comment-more,
|
||||
.m-comment .comment-replace {
|
||||
display: none;
|
||||
text-align: center;
|
||||
margin-bottom: 24px
|
||||
}
|
||||
|
||||
.m-comment .comment-more .more-inner,.m-comment .comment-replace .more-inner {
|
||||
.m-comment .comment-more .more-inner,
|
||||
.m-comment .comment-replace .more-inner {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
height: 36px;
|
||||
@@ -790,20 +894,24 @@ table>tbody>tr:hover{
|
||||
border: 1px solid #aaa
|
||||
}
|
||||
|
||||
.m-comment .comment-more .more-inner:hover,.m-comment .comment-replace .more-inner:hover {
|
||||
.m-comment .comment-more .more-inner:hover,
|
||||
.m-comment .comment-replace .more-inner:hover {
|
||||
background-color: #f3f3f3;
|
||||
border-color: #888
|
||||
}
|
||||
|
||||
.m-comment .comment-more .more-inner:active,.m-comment .comment-replace .more-inner:active {
|
||||
box-shadow: 0 3px 6px rgba(99,99,99,.1) inset
|
||||
.m-comment .comment-more .more-inner:active,
|
||||
.m-comment .comment-replace .more-inner:active {
|
||||
box-shadow: 0 3px 6px rgba(99, 99, 99, .1) inset
|
||||
}
|
||||
|
||||
.m-comment .comment-more.more-active,.m-comment .comment-replace.more-active {
|
||||
.m-comment .comment-more.more-active,
|
||||
.m-comment .comment-replace.more-active {
|
||||
display: block
|
||||
}
|
||||
|
||||
.m-comment .comment-more.replace-active,.m-comment .comment-replace.replace-active {
|
||||
.m-comment .comment-more.replace-active,
|
||||
.m-comment .comment-replace.replace-active {
|
||||
display: block
|
||||
}
|
||||
|
||||
@@ -828,61 +936,87 @@ table>tbody>tr:hover{
|
||||
.m-comment.comment-disabled .comment-post-disabeld {
|
||||
display: block
|
||||
}
|
||||
|
||||
.editor-content {
|
||||
line-height: 1.7em;
|
||||
font-size: 14px
|
||||
}
|
||||
.editor-content p{
|
||||
|
||||
.editor-content p {
|
||||
margin-bottom: 14px;
|
||||
line-height: 1.7em;
|
||||
font-size: 1.3rem;
|
||||
color: #5D5D5D;
|
||||
}
|
||||
|
||||
.editor-content a {
|
||||
color: #3eb1d0
|
||||
}
|
||||
|
||||
.editor-content h1 {
|
||||
font-size: 1.7rem;
|
||||
line-height: 1.2
|
||||
}
|
||||
|
||||
.editor-content h2 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 1.6rem;
|
||||
line-height: 2.5em;
|
||||
border-bottom: 1px solid #eee
|
||||
}
|
||||
|
||||
.editor-content h3 {
|
||||
font-size: 1.65rem;
|
||||
line-height: 2em;
|
||||
border-bottom: 1px solid #eee
|
||||
}
|
||||
|
||||
.editor-content h4 {
|
||||
font-size: 1.5rem
|
||||
}
|
||||
|
||||
.editor-content h5 {
|
||||
font-size: 1.45em
|
||||
}
|
||||
|
||||
.editor-content h6 {
|
||||
font-size: 1.4em;
|
||||
color: #777
|
||||
}
|
||||
|
||||
.editor-content br {
|
||||
display: block;
|
||||
margin: .2em
|
||||
}
|
||||
|
||||
.editor-content hr {
|
||||
border: 0;
|
||||
border-bottom: 1px solid #ddd
|
||||
}
|
||||
|
||||
.editor-content ul {
|
||||
padding-left: 28px
|
||||
}
|
||||
|
||||
.editor-content ol {
|
||||
padding-left: 28px
|
||||
}
|
||||
.editor-content h1,.editor-content h2,.editor-content h3,.editor-content h4,.editor-content h5,.editor-content h6,.editor-content p,.editor-content ul,.editor-content ol,.editor-content blockquote,.teditor-content pre,.editor-content table {
|
||||
|
||||
.editor-content h1,
|
||||
.editor-content h2,
|
||||
.editor-content h3,
|
||||
.editor-content h4,
|
||||
.editor-content h5,
|
||||
.editor-content h6,
|
||||
.editor-content p,
|
||||
.editor-content ul,
|
||||
.editor-content ol,
|
||||
.editor-content blockquote,
|
||||
.teditor-content pre,
|
||||
.editor-content table {
|
||||
margin-bottom: 14px
|
||||
}
|
||||
|
||||
.editor-content table {
|
||||
border-collapse: collapse;
|
||||
table-layout: fixed;
|
||||
@@ -892,17 +1026,22 @@ table>tbody>tr:hover{
|
||||
word-break: keep-all;
|
||||
margin: 10px 0
|
||||
}
|
||||
|
||||
.editor-content th {
|
||||
text-align: left
|
||||
}
|
||||
.editor-content table thead tr{
|
||||
|
||||
.editor-content table thead tr {
|
||||
background-color: #0088CC;
|
||||
color: #ffffff;
|
||||
}
|
||||
.editor-content table tr:nth-child(2n) {
|
||||
|
||||
.editor-content table tr:nth-child(2n) {
|
||||
background-color: #f8f8f8
|
||||
}
|
||||
.editor-content table td,.editor-content table th {
|
||||
|
||||
.editor-content table td,
|
||||
.editor-content table th {
|
||||
padding: 6px 13px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
@@ -918,6 +1057,7 @@ table>tbody>tr:hover{
|
||||
.editor-content table p {
|
||||
margin: 0
|
||||
}
|
||||
|
||||
.editor-content blockquote {
|
||||
padding: 5px 5px 5px 15px;
|
||||
color: #777;
|
||||
@@ -956,18 +1096,23 @@ table>tbody>tr:hover{
|
||||
padding-left: 0;
|
||||
margin-bottom: 0
|
||||
}
|
||||
.editor-content pre{
|
||||
|
||||
.editor-content pre {
|
||||
border: 0;
|
||||
margin-bottom:14px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.editor-content code, .editor-content pre {
|
||||
|
||||
.editor-content code,
|
||||
.editor-content pre {
|
||||
border-radius: 0;
|
||||
font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
}
|
||||
.editor-content pre>code{
|
||||
|
||||
.editor-content pre>code {
|
||||
word-break: break-all;
|
||||
white-space: inherit;
|
||||
}
|
||||
|
||||
.editor-content blockquote {
|
||||
border-color: inherit;
|
||||
color: inherit;
|
||||
@@ -985,7 +1130,8 @@ table>tbody>tr:hover{
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.editor-content .markdown-toc{
|
||||
|
||||
.editor-content .markdown-toc {
|
||||
padding: 15px 5px;
|
||||
background-color: #FFFFFF;
|
||||
line-height: 25px;
|
||||
@@ -996,7 +1142,7 @@ table>tbody>tr:hover{
|
||||
margin: 0 0 10px 10px;
|
||||
}
|
||||
|
||||
.http-method .default{
|
||||
.http-method .default {
|
||||
width: 70px;
|
||||
display: inline-block;
|
||||
background-color: #333333;
|
||||
@@ -1015,21 +1161,25 @@ table>tbody>tr:hover{
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.http-method .post{
|
||||
|
||||
.http-method .post {
|
||||
background-color: #F47023 !important;
|
||||
}
|
||||
.http-method .get{
|
||||
background-color:#27AE60 !important;
|
||||
}
|
||||
.http-method .put{
|
||||
background-color:#4A90E2!important;
|
||||
|
||||
.http-method .get {
|
||||
background-color: #27AE60 !important;
|
||||
}
|
||||
|
||||
.http-method .del{
|
||||
background-color:red!important;
|
||||
.http-method .put {
|
||||
background-color: #4A90E2 !important;
|
||||
}
|
||||
.http-method .trace{
|
||||
background-color:#e09d43 !important;
|
||||
|
||||
.http-method .del {
|
||||
background-color: red !important;
|
||||
}
|
||||
|
||||
.http-method .trace {
|
||||
background-color: #e09d43 !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -1037,14 +1187,15 @@ table>tbody>tr:hover{
|
||||
@media screen and (max-width: 840px) {
|
||||
|
||||
.m-manual.manual-reader {
|
||||
font-size:12px;
|
||||
font-size: 12px;
|
||||
min-width: initial
|
||||
}
|
||||
|
||||
.m-manual.manual-reader .manual-head {
|
||||
min-width: initial
|
||||
}
|
||||
.m-manual.manual-reader .manual-head .manual-menu{
|
||||
|
||||
.m-manual.manual-reader .manual-head .manual-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -1114,7 +1265,8 @@ table>tbody>tr:hover{
|
||||
display: none
|
||||
}
|
||||
|
||||
.m-manual.manual-reader .article-jump .jump-up,.m-manual.manual-reader .article-jump .jump-down {
|
||||
.m-manual.manual-reader .article-jump .jump-up,
|
||||
.m-manual.manual-reader .article-jump .jump-down {
|
||||
float: none;
|
||||
display: block
|
||||
}
|
||||
@@ -1147,12 +1299,14 @@ table>tbody>tr:hover{
|
||||
padding: 0 12px
|
||||
}
|
||||
|
||||
.m-manual.manual-reader .manual-article .article-head{
|
||||
.m-manual.manual-reader .manual-article .article-head {
|
||||
display: none
|
||||
}
|
||||
.m-manual.manual-reader .manual-article .editor-content .markdown-toc{
|
||||
|
||||
.m-manual.manual-reader .manual-article .editor-content .markdown-toc {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.m-manual.manual-reader .manual-mask {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@@ -1173,4 +1327,4 @@ table>tbody>tr:hover{
|
||||
opacity: .3;
|
||||
z-index: 3000
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@@ -1,18 +1,22 @@
|
||||
body{
|
||||
body {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
::-webkit-scrollbar , body .scrollbar-track-color{
|
||||
|
||||
::-webkit-scrollbar,
|
||||
body .scrollbar-track-color {
|
||||
height: 9px;
|
||||
width: 7px;
|
||||
background: #E6E6E6;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar:hover {
|
||||
background: #CCCCCC;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #A2A2A2;
|
||||
-webkit-border-radius: 6px;
|
||||
@@ -21,15 +25,18 @@ body{
|
||||
-o-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.error-message{
|
||||
|
||||
.error-message {
|
||||
color: red;
|
||||
}
|
||||
.manual-head{
|
||||
|
||||
.manual-head {
|
||||
padding: 5px 5px 5px 5px;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
}
|
||||
.manual-category{
|
||||
|
||||
.manual-category {
|
||||
width: 280px;
|
||||
position: fixed;
|
||||
border-top: 1px solid #DDDDDD;
|
||||
@@ -39,17 +46,19 @@ body{
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding-bottom: 15px;
|
||||
overflow-y:auto;
|
||||
overflow-y: auto;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.manual-category .manual-nav {
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
font-weight: 200;
|
||||
zoom:1;
|
||||
zoom: 1;
|
||||
border-bottom: 1px solid #ddd
|
||||
}
|
||||
.manual-category .manual-tree{
|
||||
|
||||
.manual-category .manual-tree {
|
||||
margin-top: 10px;
|
||||
width: 280px;
|
||||
position: absolute;
|
||||
@@ -59,7 +68,8 @@ body{
|
||||
bottom: 0;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.manual-category .manual-nav .nav-item{
|
||||
|
||||
.manual-category .manual-nav .nav-item {
|
||||
font-size: 14px;
|
||||
padding: 0 9px;
|
||||
cursor: pointer;
|
||||
@@ -68,6 +78,7 @@ body{
|
||||
line-height: 30px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.manual-category .manual-nav .nav-plus {
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
@@ -77,10 +88,12 @@ body{
|
||||
display: inline-block;
|
||||
margin-top: 4px
|
||||
}
|
||||
.manual-category .manual-nav .nav-plus:hover{
|
||||
|
||||
.manual-category .manual-nav .nav-plus:hover {
|
||||
color: #333333;
|
||||
}
|
||||
.manual-category .manual-nav .nav-item.active{
|
||||
|
||||
.manual-category .manual-nav .nav-item.active {
|
||||
border-bottom: 1px solid #fafafa;
|
||||
margin-bottom: -1px;
|
||||
border-left: 1px solid #ddd;
|
||||
@@ -88,7 +101,8 @@ body{
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
.manual-editor-container{
|
||||
|
||||
.manual-editor-container {
|
||||
position: absolute;
|
||||
left: 280px;
|
||||
top: 40px;
|
||||
@@ -98,68 +112,86 @@ body{
|
||||
border-top: 1px solid #DDDDDD;
|
||||
z-index: 999;
|
||||
}
|
||||
.manual-editor-container .manual-editormd{
|
||||
|
||||
.manual-editor-container .manual-editormd {
|
||||
position: absolute;
|
||||
bottom: 30px;
|
||||
top: -1px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.manual-editor-container .manual-editormd .manual-editormd-active,
|
||||
.manual-wangEditor,.manual-wangEditor .wangEditor-container,
|
||||
.manual-wangEditor .wangEditor-container .wangEditor-txt{
|
||||
.manual-wangEditor,
|
||||
.manual-wangEditor .wangEditor-container,
|
||||
.manual-wangEditor .wangEditor-container .wangEditor-txt {
|
||||
position: absolute;
|
||||
top:0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.manual-wangEditor,.manual-wangEditor .wangEditor-container{
|
||||
|
||||
.manual-wangEditor,
|
||||
.manual-wangEditor .wangEditor-container {
|
||||
bottom: 15px;
|
||||
border-top: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.manual-wangEditor .wangEditor-container .wangEditor-txt{
|
||||
|
||||
.manual-wangEditor .wangEditor-container .wangEditor-txt {
|
||||
top: 32px;
|
||||
}
|
||||
.manual-wangEditor .wangEditor-container .wangEditor-menu-container{
|
||||
|
||||
.manual-wangEditor .wangEditor-container .wangEditor-menu-container {
|
||||
position: fixed;
|
||||
z-index: 10000;
|
||||
}
|
||||
.manual-wangEditor .wangEditor-container .code-textarea{
|
||||
|
||||
.manual-wangEditor .wangEditor-container .code-textarea {
|
||||
position: absolute;
|
||||
top: 32px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
.btn-toolbar{position: absolute;}
|
||||
.editormd-group{
|
||||
|
||||
.btn-toolbar {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.editormd-group {
|
||||
float: left;
|
||||
height: 32px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.editormd-group a,.editormd-group .editor-item{
|
||||
|
||||
.editormd-group a,
|
||||
.editormd-group .editor-item {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.editormd-group .change i{
|
||||
.editormd-group .change i {
|
||||
color: #ffffff;
|
||||
background-color: #44B036 !important;
|
||||
border: 1px #44B036 solid !important;
|
||||
}
|
||||
.editormd-group .change i:hover{
|
||||
|
||||
.editormd-group .change i:hover {
|
||||
background-color: #58CB48 !important;
|
||||
}
|
||||
.editormd-group .disabled i:hover{
|
||||
|
||||
.editormd-group .disabled i:hover {
|
||||
background: #ffffff !important;
|
||||
}
|
||||
.editormd-group a.disabled{
|
||||
|
||||
.editormd-group a.disabled {
|
||||
border-color: #c9c9c9;
|
||||
opacity: .6;
|
||||
cursor: default
|
||||
}
|
||||
.editormd-group a>i{
|
||||
|
||||
.editormd-group a>i {
|
||||
display: inline-block;
|
||||
width: 34px !important;
|
||||
height: 30px !important;
|
||||
@@ -171,33 +203,37 @@ body{
|
||||
border-radius: 4px;
|
||||
font-size: 15px
|
||||
}
|
||||
.editormd-group a>i.item{
|
||||
|
||||
.editormd-group a>i.item {
|
||||
border-radius: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
.editormd-group a>i.last{
|
||||
border-bottom-left-radius:0;
|
||||
border-top-left-radius:0;
|
||||
|
||||
.editormd-group a>i.last {
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
}
|
||||
.editormd-group a>i.first{
|
||||
|
||||
.editormd-group a>i.first {
|
||||
border-right: 0;
|
||||
border-bottom-right-radius:0;
|
||||
border-top-right-radius:0;
|
||||
border-bottom-right-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
.editormd-group a i:hover {
|
||||
|
||||
.editormd-group a i:hover {
|
||||
background-color: #e4e4e4
|
||||
}
|
||||
|
||||
.editormd-group a i:after {
|
||||
.editormd-group a i:after {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
font-family: icomoon,Helvetica,Arial,sans-serif;
|
||||
font-family: icomoon, Helvetica, Arial, sans-serif;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.manual-editor-status{
|
||||
.manual-editor-status {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
@@ -210,74 +246,85 @@ body{
|
||||
z-index: 1000;
|
||||
line-height: 30px;
|
||||
}
|
||||
.manual-editor-status .item{
|
||||
|
||||
.manual-editor-status .item {
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
margin-left: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/***************附件管理的样式*******************/
|
||||
.attach-drop-panel{
|
||||
.attach-drop-panel {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.attach-drop-panel .webuploader-element-invisible{
|
||||
|
||||
.attach-drop-panel .webuploader-element-invisible {
|
||||
width: 500px;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
||||
}
|
||||
.attach-drop-panel .webuploader-pick{
|
||||
|
||||
.attach-drop-panel .webuploader-pick {
|
||||
color: #ccc;
|
||||
text-align: center;
|
||||
margin: 20px 20px 15px!important;
|
||||
padding: 5px!important;
|
||||
margin: 20px 20px 15px !important;
|
||||
padding: 5px !important;
|
||||
font-size: 65px;
|
||||
cursor: pointer;
|
||||
border: 2px dotted #999;
|
||||
display: block!important;
|
||||
display: block !important;
|
||||
background: #ffffff;
|
||||
}
|
||||
.attach-drop-panel .webuploader-pick:hover{
|
||||
|
||||
.attach-drop-panel .webuploader-pick:hover {
|
||||
color: #333;
|
||||
border-color: #333;
|
||||
}
|
||||
.attach-list{
|
||||
|
||||
background:#ffffff;
|
||||
.attach-list {
|
||||
|
||||
background: #ffffff;
|
||||
font-size: 12px;
|
||||
}
|
||||
.attach-list .attach-item{
|
||||
|
||||
.attach-list .attach-item {
|
||||
padding: 8px 10px;
|
||||
line-height: 36px;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: none;
|
||||
border-top-left-radius:3px;
|
||||
border-top-right-radius:3px;
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
.attach-list .attach-item:last-child{
|
||||
|
||||
.attach-list .attach-item:last-child {
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-bottom-left-radius:3px;
|
||||
border-bottom-right-radius:3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
.attach-list .attach-item .progress{
|
||||
|
||||
.attach-list .attach-item .progress {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
.attach-list .attach-item .form-control{
|
||||
|
||||
.attach-list .attach-item .form-control {
|
||||
width: 60%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.attach-list .attach-item .text{
|
||||
.attach-list .attach-item .text {
|
||||
display: inline-block;
|
||||
padding: 0 15px;
|
||||
}
|
||||
.attach-list .attach-item .close{
|
||||
|
||||
.attach-list .attach-item .close {
|
||||
float: right;
|
||||
display: inline-block;
|
||||
padding: 8px 0;
|
||||
@@ -285,17 +332,20 @@ body{
|
||||
background: #ffffff;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.attach-list .attach-item .close:hover {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/***********选择模板时的样式**************/
|
||||
.template-list .container{
|
||||
.template-list .container {
|
||||
margin-top: 60px;
|
||||
margin-bottom: 40px;
|
||||
padding: 0 15px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.template-list .container .section{
|
||||
|
||||
.template-list .container .section {
|
||||
position: relative;
|
||||
margin: 0 15px;
|
||||
padding-top: 60px;
|
||||
@@ -306,12 +356,14 @@ body{
|
||||
border: 1px solid #ddddd9;
|
||||
text-align: center
|
||||
}
|
||||
.template-list .container .section>h3 a{
|
||||
|
||||
.template-list .container .section>h3 a {
|
||||
font-size: 20px;
|
||||
font-weight: 200;
|
||||
text-decoration: none;
|
||||
color: #5d606b
|
||||
}
|
||||
|
||||
.template-list .container .section>a {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
@@ -321,6 +373,7 @@ body{
|
||||
height: 56px;
|
||||
margin-left: -28px
|
||||
}
|
||||
|
||||
.template-list .container .section>a .fa {
|
||||
display: inline-block;
|
||||
width: 56px;
|
||||
@@ -332,6 +385,7 @@ body{
|
||||
font-size: 24px;
|
||||
color: #ddddd9
|
||||
}
|
||||
|
||||
.template-list .container .section:hover {
|
||||
border-color: #44b035
|
||||
}
|
||||
@@ -345,17 +399,20 @@ body{
|
||||
margin-left: -33px;
|
||||
top: -33px
|
||||
}
|
||||
|
||||
.template-list .container .section:hover>a .fa {
|
||||
background-color: #78c56d;
|
||||
color: #fff;
|
||||
border: 0;
|
||||
line-height: 54px
|
||||
}
|
||||
|
||||
.template-list .container .section ul {
|
||||
margin-top: 35px;
|
||||
padding-left: 0;
|
||||
list-style: none
|
||||
}
|
||||
|
||||
.template-list .container .section ul li {
|
||||
margin-bottom: 10px;
|
||||
padding: 0 10px;
|
||||
@@ -364,5 +421,145 @@ body{
|
||||
}
|
||||
|
||||
|
||||
.markdown-category {
|
||||
width: 280px;
|
||||
position: fixed;
|
||||
border-top: 1px solid #DDDDDD;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background-color: #FAFAFA;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding-bottom: 15px;
|
||||
overflow-y: auto;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.markdown-category .markdown-nav {
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
font-weight: 200;
|
||||
zoom: 1;
|
||||
border-bottom: 1px solid #ddd
|
||||
}
|
||||
|
||||
.markdown-category .markdown-tree {
|
||||
margin-top: 0;
|
||||
width: 280px;
|
||||
position: absolute;
|
||||
top: 35px;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.markdown-category .markdown-nav .nav-item {
|
||||
font-size: 14px;
|
||||
padding: 0 9px;
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
height: 35px;
|
||||
line-height: 30px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.markdown-category .markdown-nav .nav-plus {
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
line-height: 24px;
|
||||
display: inline-block;
|
||||
margin-top: 4px
|
||||
}
|
||||
|
||||
.markdown-category .markdown-nav .nav-plus:hover {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.markdown-category .markdown-nav .nav-item.active {
|
||||
border-bottom: 1px solid #fafafa;
|
||||
margin-bottom: -1px;
|
||||
border-left: 1px solid #ddd;
|
||||
border-right: 1px solid #ddd;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
.markdown-editor-container {
|
||||
position: absolute;
|
||||
left: 280px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
overflow: hidden;
|
||||
border-top: 1px solid #DDDDDD;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.markdown-editor-container .markdown-editormd {
|
||||
position: absolute;
|
||||
bottom: 30px;
|
||||
top: -1px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.markdown-editor-status {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 30px;
|
||||
overflow: hidden;
|
||||
border-left: 1px solid #DDDDDD;
|
||||
color: #555;
|
||||
background-color: #FAFAFA;
|
||||
z-index: 1000;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.markdown-editor-status .item {
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
margin-left: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
iframe.cherry-dialog-iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.manual-article.cherry {
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.manual-article.cherry .cherry-highlight-line {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.manual-article.cherry-markdown .toc {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
width: 200px;
|
||||
margin-top: -70px;
|
||||
overflow: auto;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.markdown-article-body {
|
||||
margin-right: 200px !important;
|
||||
}
|
||||
|
||||
.markdown-article-head {
|
||||
margin-right: 200px !important;
|
||||
width: unset !important;
|
||||
padding: unset !important;
|
||||
padding-top: 10px !important;
|
||||
}
|
||||
|
||||
.markdown-title {
|
||||
padding: unset !important;
|
||||
width: 100% !important;
|
||||
}
|
Reference in New Issue
Block a user