mindoc/static/css/markdown.css

565 lines
10 KiB
Go
Raw Normal View History

body {
2017-04-26 18:17:38 +08:00
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
::-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;
-moz-border-radius: 6px;
-ms-border-radius: 6px;
-o-border-radius: 6px;
border-radius: 6px;
}
.error-message {
2017-04-27 18:19:37 +08:00
color: red;
}
.manual-head {
2017-04-26 18:17:38 +08:00
padding: 5px 5px 5px 5px;
position: fixed;
width: 100%;
}
.manual-category {
2017-04-26 18:17:38 +08:00
width: 280px;
position: fixed;
border-top: 1px solid #DDDDDD;
2018-01-24 19:41:59 +08:00
bottom: 0;
2017-04-26 18:17:38 +08:00
top: 40px;
2017-04-27 18:19:37 +08:00
background-color: #FAFAFA;
left: 0;
right: 0;
2017-05-13 12:12:37 +08:00
padding-bottom: 15px;
overflow-y: auto;
2018-01-24 19:41:59 +08:00
z-index: 999;
2017-04-27 18:19:37 +08:00
}
2017-04-27 18:19:37 +08:00
.manual-category .manual-nav {
font-size: 14px;
color: #333333;
font-weight: 200;
zoom: 1;
2017-04-27 18:19:37 +08:00
border-bottom: 1px solid #ddd
}
.manual-category .manual-tree {
2017-04-27 18:19:37 +08:00
margin-top: 10px;
2017-05-12 11:41:59 +08:00
width: 280px;
position: absolute;
top: 30px;
right: 0;
left: 0;
bottom: 0;
overflow-y: auto;
2017-04-27 18:19:37 +08:00
}
.manual-category .manual-nav .nav-item {
2017-04-27 18:19:37 +08:00
font-size: 14px;
padding: 0 9px;
cursor: pointer;
float: left;
height: 30px;
line-height: 30px;
color: #666;
}
2017-04-27 18:19:37 +08:00
.manual-category .manual-nav .nav-plus {
color: #999;
cursor: pointer;
height: 24px;
width: 24px;
line-height: 24px;
display: inline-block;
margin-top: 4px
}
.manual-category .manual-nav .nav-plus:hover {
2017-04-27 18:19:37 +08:00
color: #333333;
}
.manual-category .manual-nav .nav-item.active {
2017-04-27 18:19:37 +08:00
border-bottom: 1px solid #fafafa;
margin-bottom: -1px;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
padding-left: 8px;
padding-right: 8px;
2017-04-26 18:17:38 +08:00
}
.manual-editor-container {
2017-04-26 18:17:38 +08:00
position: absolute;
left: 280px;
top: 40px;
right: 0;
bottom: 0;
overflow: hidden;
2017-04-27 18:19:37 +08:00
border-top: 1px solid #DDDDDD;
z-index: 999;
2017-04-27 18:19:37 +08:00
}
.manual-editor-container .manual-editormd {
2017-04-27 18:19:37 +08:00
position: absolute;
2017-04-28 18:08:01 +08:00
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 {
2017-04-28 18:08:01 +08:00
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.manual-wangEditor,
.manual-wangEditor .wangEditor-container {
bottom: 15px;
border-top: 0;
overflow: hidden;
}
.manual-wangEditor .wangEditor-container .wangEditor-txt {
top: 32px;
}
.manual-wangEditor .wangEditor-container .wangEditor-menu-container {
position: fixed;
z-index: 10000;
}
.manual-wangEditor .wangEditor-container .code-textarea {
position: absolute;
top: 32px;
2017-04-28 18:08:01 +08:00
bottom: 0;
left: 0;
right: 0;
2017-04-26 18:17:38 +08:00
}
.btn-toolbar {
position: absolute;
}
.editormd-group {
2017-04-26 18:17:38 +08:00
float: left;
height: 32px;
margin-right: 10px;
}
.editormd-group a,
.editormd-group .editor-item {
2017-04-26 18:17:38 +08:00
float: left;
}
2017-04-28 18:08:01 +08:00
.editormd-group .change i {
2017-04-28 18:08:01 +08:00
color: #ffffff;
background-color: #44B036 !important;
border: 1px #44B036 solid !important;
}
.editormd-group .change i:hover {
2017-04-28 18:08:01 +08:00
background-color: #58CB48 !important;
}
.editormd-group .disabled i:hover {
2017-04-28 18:08:01 +08:00
background: #ffffff !important;
}
.editormd-group a.disabled {
2017-04-26 18:17:38 +08:00
border-color: #c9c9c9;
opacity: .6;
cursor: default
}
.editormd-group a>i {
2017-04-26 18:17:38 +08:00
display: inline-block;
2018-01-23 20:09:08 +08:00
width: 34px !important;
height: 30px !important;
2017-04-26 18:17:38 +08:00
line-height: 30px;
text-align: center;
color: #4b4b4b;
border: 1px solid #ccc;
background: #fff;
border-radius: 4px;
font-size: 15px
}
.editormd-group a>i.item {
2017-04-26 18:17:38 +08:00
border-radius: 0;
border-right: 0;
}
.editormd-group a>i.last {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
2017-04-26 18:17:38 +08:00
}
.editormd-group a>i.first {
2017-04-26 18:17:38 +08:00
border-right: 0;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
2017-04-26 18:17:38 +08:00
}
.editormd-group a i:hover {
2017-04-26 18:17:38 +08:00
background-color: #e4e4e4
}
.editormd-group a i:after {
2017-04-26 18:17:38 +08:00
display: block;
overflow: hidden;
line-height: 30px;
text-align: center;
font-family: icomoon, Helvetica, Arial, sans-serif;
2017-04-26 18:17:38 +08:00
font-style: normal;
2017-04-27 18:19:37 +08:00
}
.manual-editor-status {
2017-04-27 18:19:37 +08:00
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 30px;
overflow: hidden;
border-left: 1px solid #DDDDDD;
color: #555;
background-color: #FAFAFA;
2017-04-28 18:08:01 +08:00
z-index: 1000;
2017-05-12 19:14:29 +08:00
line-height: 30px;
}
.manual-editor-status .item {
2017-05-12 19:14:29 +08:00
display: inline-block;
margin-right: 10px;
margin-left: 10px;
cursor: pointer;
}
2017-05-26 14:19:27 +08:00
/***************附件管理的样式*******************/
.attach-drop-panel {
2017-05-12 19:14:29 +08:00
display: block;
position: relative;
width: 100%;
height: 100%;
}
.attach-drop-panel .webuploader-element-invisible {
2017-05-12 19:14:29 +08:00
width: 500px;
height: 100px;
position: absolute;
top: 0;
}
.attach-drop-panel .webuploader-pick {
2017-05-12 19:14:29 +08:00
color: #ccc;
text-align: center;
margin: 20px 20px 15px !important;
padding: 5px !important;
2017-05-12 19:14:29 +08:00
font-size: 65px;
cursor: pointer;
border: 2px dotted #999;
display: block !important;
2017-05-12 19:14:29 +08:00
background: #ffffff;
}
.attach-drop-panel .webuploader-pick:hover {
2017-05-12 19:14:29 +08:00
color: #333;
border-color: #333;
}
.attach-list {
background: #ffffff;
2017-05-12 19:14:29 +08:00
font-size: 12px;
}
.attach-list .attach-item {
2017-05-12 19:14:29 +08:00
padding: 8px 10px;
line-height: 36px;
border: 1px solid #ddd;
border-bottom: none;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
2017-05-12 19:14:29 +08:00
}
.attach-list .attach-item:last-child {
2017-05-12 19:14:29 +08:00
border-bottom: 1px solid #ddd;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
2017-05-12 19:14:29 +08:00
}
.attach-list .attach-item .progress {
2017-05-12 19:14:29 +08:00
margin-top: 10px;
margin-bottom: 10px;
height: 10px;
}
.attach-list .attach-item .form-control {
2017-05-12 19:14:29 +08:00
width: 60%;
float: left;
}
.attach-list .attach-item .text {
2017-05-12 19:14:29 +08:00
display: inline-block;
padding: 0 15px;
}
.attach-list .attach-item .close {
2017-05-12 19:14:29 +08:00
float: right;
display: inline-block;
padding: 8px 0;
color: #586069;
background: #ffffff;
font-size: 16px;
}
2017-05-12 19:14:29 +08:00
.attach-list .attach-item .close:hover {
color: #333;
}
2017-05-26 14:19:27 +08:00
/***********选择模板时的样式**************/
.template-list .container {
2017-05-26 14:19:27 +08:00
margin-top: 60px;
margin-bottom: 40px;
padding: 0 15px;
box-sizing: border-box;
}
.template-list .container .section {
2017-05-26 14:19:27 +08:00
position: relative;
margin: 0 15px;
padding-top: 60px;
float: left;
width: 150px;
height: 236px;
background: #fdfefe;
border: 1px solid #ddddd9;
text-align: center
}
.template-list .container .section>h3 a {
2017-05-26 14:19:27 +08:00
font-size: 20px;
font-weight: 200;
text-decoration: none;
color: #5d606b
}
2017-05-26 14:19:27 +08:00
.template-list .container .section>a {
display: inline-block;
position: absolute;
left: 50%;
top: -28px;
width: 56px;
height: 56px;
margin-left: -28px
}
2017-05-26 14:19:27 +08:00
.template-list .container .section>a .fa {
display: inline-block;
width: 56px;
height: 56px;
background-color: #fbfefe;
border: 1px solid #ddddd9;
border-radius: 50%;
line-height: 54px;
font-size: 24px;
color: #ddddd9
}
2017-05-26 14:19:27 +08:00
.template-list .container .section:hover {
border-color: #44b035
}
2017-05-12 19:14:29 +08:00
2017-05-26 14:19:27 +08:00
.template-list .container .section:hover>a {
background-color: #44b035;
padding: 5px;
border-radius: 50%;
width: 66px;
height: 66px;
margin-left: -33px;
top: -33px
}
2017-05-26 14:19:27 +08:00
.template-list .container .section:hover>a .fa {
background-color: #78c56d;
color: #fff;
border: 0;
line-height: 54px
}
2017-05-26 14:19:27 +08:00
.template-list .container .section ul {
margin-top: 35px;
padding-left: 0;
list-style: none
}
2017-05-26 14:19:27 +08:00
.template-list .container .section ul li {
margin-bottom: 10px;
padding: 0 10px;
line-height: 1.2;
color: #8e8d8d
}
2017-05-12 19:14:29 +08:00
.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;
}
2017-05-12 19:14:29 +08:00
.markdown-article-head {
margin-right: 200px !important;
width: unset !important;
padding: unset !important;
padding-top: 10px !important;
}
2017-05-12 19:14:29 +08:00
.markdown-title {
padding: unset !important;
width: 100% !important;
}