2020-03-16 14:12:11 +08:00
|
|
|
|
.App {
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.App-logo {
|
|
|
|
|
|
animation: App-logo-spin infinite 20s linear;
|
|
|
|
|
|
height: 80px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.App-header {
|
|
|
|
|
|
background-color: #222;
|
|
|
|
|
|
height: 150px;
|
|
|
|
|
|
padding: 20px;
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.App-title {
|
|
|
|
|
|
font-size: 1.5em;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.App-intro {
|
|
|
|
|
|
font-size: large;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes App-logo-spin {
|
2020-04-28 17:23:34 +08:00
|
|
|
|
from {
|
|
|
|
|
|
transform: rotate(0deg);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
to {
|
|
|
|
|
|
transform: rotate(360deg);
|
|
|
|
|
|
}
|
2020-03-16 14:12:11 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 控制md编辑器列行的宽度
|
|
|
|
|
|
见 codermirror maybeUpdateLineNumberWidth方法
|
|
|
|
|
|
*/
|
|
|
|
|
|
.editormd .CodeMirror-linenumbers {
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
}
|
2020-04-28 17:23:34 +08:00
|
|
|
|
|
|
|
|
|
|
.editormd-html-preview hr,
|
|
|
|
|
|
.editormd-preview-container hr {
|
2020-03-16 14:12:11 +08:00
|
|
|
|
/* 颜色加深 */
|
|
|
|
|
|
border-top: 1px solid #ccc;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 重置掉antd的一些样式 */
|
2020-04-28 17:23:34 +08:00
|
|
|
|
html,
|
|
|
|
|
|
body {
|
2020-03-16 14:12:11 +08:00
|
|
|
|
-webkit-font-smoothing: auto !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ant-progress-textyes {
|
|
|
|
|
|
color: #52c41a;
|
|
|
|
|
|
}
|
2020-04-28 17:23:34 +08:00
|
|
|
|
|
|
|
|
|
|
.ant-progress-textno {
|
2020-03-16 14:12:11 +08:00
|
|
|
|
color: #f5222d;
|
|
|
|
|
|
}
|
2022-07-08 13:56:11 +08:00
|
|
|
|
.CodeMirror .CodeMirror-lines pre.CodeMirror-line{
|
2022-07-11 14:28:54 +08:00
|
|
|
|
font-size: 16px;
|
2022-07-08 13:56:11 +08:00
|
|
|
|
line-height: 20px;
|
|
|
|
|
|
font-family:"PingFang SC", "Segoe UI", Helvetica, Arial, "Apple Color Emoji", SimHei, SimSun, sans-serif, "Microsoft YaHei";
|
2021-08-05 10:30:04 +08:00
|
|
|
|
}
|
2022-07-11 14:28:54 +08:00
|
|
|
|
.react-codemirror2 .CodeMirror .CodeMirror-lines pre.CodeMirror-line{
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
2020-03-16 14:12:11 +08:00
|
|
|
|
/* md多空格 */
|
|
|
|
|
|
.markdown-body p {
|
2020-04-29 16:59:48 +08:00
|
|
|
|
margin:10px 0px!important;
|
|
|
|
|
|
font-size: 16px !important;
|
2022-11-11 14:52:20 +08:00
|
|
|
|
/* 用户提出多个徽章换行显示,p标签会换行显示 */
|
|
|
|
|
|
/* white-space: pre-wrap; */
|
2020-03-16 14:12:11 +08:00
|
|
|
|
}
|
2020-04-28 17:23:34 +08:00
|
|
|
|
|
|
|
|
|
|
.markdown-body>p {
|
2020-03-16 14:12:11 +08:00
|
|
|
|
line-height: 25px;
|
|
|
|
|
|
}
|
2020-04-28 17:23:34 +08:00
|
|
|
|
|
2020-03-16 14:12:11 +08:00
|
|
|
|
/* https://www.educoder.net/courses/2346/group_homeworks/34405/question */
|
|
|
|
|
|
.renderAsHtml.markdown-body p {
|
|
|
|
|
|
white-space: inherit;
|
|
|
|
|
|
}
|
2020-04-28 17:23:34 +08:00
|
|
|
|
|
2020-03-16 14:12:11 +08:00
|
|
|
|
/* resize */
|
|
|
|
|
|
.editormd .CodeMirror {
|
|
|
|
|
|
border-right: none !important;
|
|
|
|
|
|
}
|
2020-04-28 17:23:34 +08:00
|
|
|
|
|
2020-03-16 14:12:11 +08:00
|
|
|
|
.editormd-preview {
|
|
|
|
|
|
border-left: 1px solid rgb(221, 221, 221);
|
|
|
|
|
|
/* 某些情况下,被cm盖住了 */
|
|
|
|
|
|
z-index: 99;
|
2021-08-05 10:30:04 +08:00
|
|
|
|
padding:8px 8px 50px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.editormd-preview .markdown-body{
|
|
|
|
|
|
padding:0px !important;
|
2020-03-16 14:12:11 +08:00
|
|
|
|
}
|
2022-05-07 11:30:45 +08:00
|
|
|
|
.editormd-preview{
|
|
|
|
|
|
width: 50%!important;
|
|
|
|
|
|
}
|
2020-04-28 17:23:34 +08:00
|
|
|
|
|
2020-03-16 14:12:11 +08:00
|
|
|
|
/* 图片点击放大的场景,隐藏图片链接 */
|
|
|
|
|
|
.editormd-image-click-expand .editormd-image-dialog {
|
|
|
|
|
|
height: 234px !important;
|
|
|
|
|
|
}
|
2020-04-28 17:23:34 +08:00
|
|
|
|
|
|
|
|
|
|
.editormd-image-click-expand .editormd-image-dialog .image-link {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2020-03-16 14:12:11 +08:00
|
|
|
|
/* 解决鼠标框选时,左边第一列没高亮的问题 */
|
2020-04-28 17:23:34 +08:00
|
|
|
|
.CodeMirror .CodeMirror-lines pre.CodeMirror-line,
|
|
|
|
|
|
.CodeMirror .CodeMirror-lines pre.CodeMirror-line-like {
|
|
|
|
|
|
padding: 0 12px;
|
2020-03-16 14:12:11 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* antd扩展 */
|
2020-04-28 17:23:34 +08:00
|
|
|
|
.formItemInline.ant-form-item {
|
2020-03-16 14:12:11 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
}
|
2020-04-28 17:23:34 +08:00
|
|
|
|
|
2020-03-16 14:12:11 +08:00
|
|
|
|
.formItemInline .ant-form-item-control-wrapper {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
}
|
2020-04-28 17:23:34 +08:00
|
|
|
|
|
2020-03-16 14:12:11 +08:00
|
|
|
|
/* AutoComplete placeholder 不显示的问题 */
|
|
|
|
|
|
.ant-select-auto-complete.ant-select .ant-select-selection__placeholder {
|
|
|
|
|
|
z-index: 2;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 兼容性 */
|
|
|
|
|
|
/* 火狐有滚动条时高度问题 */
|
|
|
|
|
|
@-moz-document url-prefix() {
|
|
|
|
|
|
.newContainers {
|
|
|
|
|
|
min-height: calc(100% - 60px) !important;
|
|
|
|
|
|
}
|
2022-09-02 16:15:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2022-11-09 09:48:14 +08:00
|
|
|
|
.feedBackModal .ant-modal-header{
|
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
background: none;
|
|
|
|
|
|
padding: 16px 24px 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.feedBackModal .ant-modal-title{
|
|
|
|
|
|
font-weight:500 !important;
|
|
|
|
|
|
color:#151d40;
|
|
|
|
|
|
font-size:18px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.feedBackModal .anticon-close{
|
|
|
|
|
|
font-size: 22px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.feedBackModal .ant-modal-footer{
|
|
|
|
|
|
border-top: none;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
padding-bottom: 40px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.feedBackModal .ant-modal-content{
|
|
|
|
|
|
background-image:linear-gradient(359.37deg,#ebf3ff 0%,#f8fbff 55.01%,#cbdbff 100%);
|
|
|
|
|
|
border:1.5px solid #ffffff;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.feedBackModal .feedBackText{
|
|
|
|
|
|
padding: 20px;
|
|
|
|
|
|
font-size:15px;
|
|
|
|
|
|
color:#202d40;
|
|
|
|
|
|
}
|
|
|
|
|
|
.feedBackModal .feedBackText::placeholder{
|
|
|
|
|
|
color:#afb7c2;
|
|
|
|
|
|
}
|
|
|
|
|
|
.feedBackModal .gotoIssueFeedBack{
|
|
|
|
|
|
color: rgba(70, 106, 255, 1);
|
|
|
|
|
|
}
|
|
|
|
|
|
.feedBackBox{
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
background-color: white;
|
|
|
|
|
|
}
|
|
|
|
|
|
.feedBackText.errorInput{
|
|
|
|
|
|
border: 1px solid #f60011;
|
|
|
|
|
|
}
|
|
|
|
|
|
.errorInput{
|
|
|
|
|
|
background-color:rgba(255, 0, 0, 0.04) !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
.ant-input.errorInput:hover{
|
|
|
|
|
|
background-color: white !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
.countNumBox{
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
bottom: 2px;
|
|
|
|
|
|
right: 10px;
|
|
|
|
|
|
}
|