safety-eval-service-frontend/src/pages/Container/WpsEditor/index.less

132 lines
2.4 KiB
Plaintext
Raw Normal View History

2026-07-20 11:16:32 +08:00
.WpsEditor-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99;
}
.WpsEditor-flexContainer {
display: flex;
height: 100%;
overflow: hidden;
}
.WpsEditor-editorArea {
height: 99%;
min-width: 1100px;
width: 100%;
}
.WpsEditor-sidePanel {
overflow-x: auto;
width: 425px;
scrollbar-width: thin;
.WpsEditor-dock {
padding-left: 10px;
padding-right: 3px;
}
.WpsEditor-dock-cats {
margin: 8px 0;
overflow-x: auto;
scrollbar-width: thin;
}
.WpsEditor-dock-heading {
margin-bottom: 8px;
}
.WpsEditor-dock-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.WpsEditor-resourceCard {
border: 1px solid #e8e8e8;
border-radius: 6px;
padding: 10px;
}
.WpsEditor-resourceTitle {
display: block;
margin: 4px 0;
}
.WpsEditor-resourceDesc {
margin: 0 0 4px 0 !important;
font-size: 12px;
}
.WpsEditor-templateCard {
border: 1px solid #e8e8e8;
border-radius: 6px;
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
&.active {
border-color: #1677ff;
background: #f0f5ff;
}
}
.WpsEditor-templateNote {
margin-top: 8px;
padding: 8px;
background: #fafafa;
border-radius: 6px;
}
.WpsEditor-signProgress {
font-size: 12px;
color: #1677ff;
}
.WpsEditor-signer {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 0;
border-bottom: 1px solid #f0f0f0;
&:last-child {
border-bottom: none;
}
&.locked {
opacity: 0.5;
}
}
.WpsEditor-signerAvatar {
width: 32px;
height: 32px;
border-radius: 50%;
background: #1677ff;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
flex-shrink: 0;
}
.WpsEditor-signerInfo {
flex: 1;
min-width: 0;
}
.WpsEditor-signRule {
margin-top: 8px;
padding: 8px;
background: #fffbe6;
border: 1px solid #ffe58f;
border-radius: 6px;
}
}