@cmstops/pro-compo
Version:
[物料平台文档中心](https://arco.design/docs/material/guide)
112 lines (111 loc) • 2.6 kB
CSS
.doc-diff-panel-wrap {
box-sizing: border-box;
width: 100% ;
margin: 0;
margin-bottom: 0;
padding: 24px;
font-size: 17px;
line-height: 31px;
text-align: justify;
}
.doc-diff-panel-wrap .doc-title {
color: var(--color-text-1);
font-weight: bold;
font-size: 24px;
}
.doc-diff-panel-wrap .doc-content-wrap {
display: flex;
}
.doc-diff-panel-wrap .doc-content-wrap .doc-content {
margin: 0;
margin-bottom: 0;
font-size: 17px;
line-height: 31px;
text-align: justify;
}
.doc-diff-panel-wrap .doc-content-wrap .doc-content img,
.doc-diff-panel-wrap .doc-content-wrap .doc-content video {
display: block;
width: 100%;
max-width: 100% ;
margin: 15px auto;
}
.doc-diff-panel-wrap .doc-content-wrap .doc-content p {
margin-bottom: 10px ;
font-size: 18px;
line-height: 30px ;
text-indent: 2em ;
}
.doc-history-list-wrap {
box-sizing: border-box;
border-left: 1px solid var(--color-border-1);
}
.doc-history-list-wrap .doc-history-item {
display: flex;
flex-direction: column;
gap: 5px;
box-sizing: border-box;
width: 260px;
padding: 20px 16px;
border-bottom: 1px solid var(--color-border-1);
border-left: 3px solid transparent;
cursor: pointer;
}
.doc-history-list-wrap .doc-history-item .update-time {
color: var(--color-text-1);
font-size: 14px;
}
.doc-history-list-wrap .doc-history-item .tips {
color: var(--color-text-2);
font-size: 12px;
}
.doc-history-list-wrap .doc-history-item .doc-author {
display: flex;
gap: 8px;
align-items: center;
color: var(--color-text-1);
font-size: 14px;
}
.doc-history-list-wrap .doc-history-item .doc-author::before {
width: 5px;
height: 5px;
background-color: rgb(var(--primary-6));
border-radius: 50%;
content: ' ';
}
.doc-history-list-wrap .doc-history-item.active {
background-color: rgba(var(--primary-6), 0.1);
border-left-color: rgb(var(--primary-6));
}
.doc-history-list-wrap .doc-history-item.active .update-time {
color: rgb(var(--primary-6));
}
.doc-history-list-wrap .doc-history-item:hover {
background-color: var(--color-fill-1);
}
.doc-history-wrap {
display: flex;
width: 100%;
height: 100%;
overflow: hidden;
}
.doc-history-wrap .doc-diff-panel {
flex: 1;
height: 100%;
}
.doc-history-wrap .doc-diff-panel .doc-diff-panel-wrap {
padding: 24px;
}
.doc-history-wrap .doc-history-list {
height: 100%;
}
.doc-history-drawer .arco-drawer-body {
padding: 0;
}
.doc-history-drawer .arco-drawer-footer {
text-align: left;
}
.doc-history-modal-wrap {
height: 70vh;
padding: 0;
}