.jnpf-common-form-wrapper {
|
display: flex;
|
height: 100%;
|
overflow: hidden;
|
|
.jnpf-common-form-wrapper__main {
|
position: relative;
|
flex: 1;
|
flex-shrink: 0;
|
overflow: auto;
|
}
|
}
|
|
.form-extra-panel {
|
position: relative;
|
display: flex;
|
flex-shrink: 1;
|
flex-direction: column;
|
width: 361px;
|
height: 100%;
|
border-left: 1px solid var(--border-color-base);
|
|
&.form-extra-panel-unfold {
|
width: 0;
|
border-left: unset;
|
|
.trigger-btn {
|
border-right: unset;
|
}
|
}
|
|
& > .ant-tabs {
|
flex-shrink: 0;
|
|
&.average-tabs-single {
|
.ant-tabs-tab {
|
&:hover,
|
&.ant-tabs-tab-active .ant-tabs-tab-btn {
|
color: inherit !important;
|
}
|
}
|
|
.ant-tabs-ink-bar {
|
display: none;
|
}
|
}
|
}
|
|
.trigger-btn {
|
position: absolute;
|
top: calc(50% - 21px);
|
left: -20px;
|
z-index: 10;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
width: 20px;
|
height: 42px;
|
text-align: center;
|
cursor: pointer;
|
background: var(--component-background);
|
border: 1px solid var(--border-color-base);
|
border-radius: 4px 0 0 4px;
|
box-shadow: 0 3px 6px rgb(0 0 0 / 10%);
|
}
|
|
.form-extra-panel-main {
|
flex: 1;
|
overflow: hidden;
|
}
|
|
.form-extra-comment {
|
display: flex;
|
flex-direction: column;
|
height: 100%;
|
|
.form-extra-comment-main {
|
flex: 1;
|
overflow: hidden;
|
}
|
|
.form-extra-comment-list {
|
padding: 0 20px;
|
|
.form-extra-comment-item {
|
padding: 20px 0;
|
border-bottom: 1px solid var(--border-color-base);
|
|
&:last-child {
|
border-bottom: unset;
|
}
|
|
.form-extra-comment-item-main {
|
display: flex;
|
|
.comment-avatar {
|
flex-shrink: 0;
|
margin-right: 12px;
|
}
|
|
.comment-content {
|
flex: 1;
|
min-width: 0;
|
|
.comment-head {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
margin-bottom: 10px;
|
font-size: 12px;
|
line-height: 16px;
|
|
.username {
|
flex: 1;
|
min-width: 0;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
|
.replay-separate {
|
margin: 0 5px;
|
color: var(--text-color-label);
|
}
|
|
i {
|
margin-left: 5px;
|
font-size: 14px;
|
line-height: 16px;
|
vertical-align: 0;
|
color: var(--text-color-label);
|
cursor: pointer;
|
}
|
}
|
|
.time {
|
flex-shrink: 0;
|
margin-left: 10px;
|
color: var(--text-color-label);
|
}
|
}
|
|
.comment-text {
|
font-size: 12px;
|
line-height: 24px;
|
vertical-align: middle;
|
color: var(--text-color-label);
|
word-break: break-all;
|
|
.comment-text-emoji {
|
display: inline-block;
|
vertical-align: middle;
|
}
|
}
|
|
.comment-other {
|
padding: 8px 4px 2px;
|
margin-top: 12px;
|
background-color: #f4f4f4;
|
border-radius: 4px;
|
}
|
|
.comment-img-list {
|
.comment-img-item {
|
display: inline-block;
|
width: 40px;
|
height: 40px;
|
margin: 0 6px 6px 0;
|
overflow: hidden;
|
cursor: pointer;
|
object-fit: cover;
|
}
|
}
|
|
.comment-file-List {
|
margin-bottom: 8px;
|
|
.anticon-download {
|
right: 5px;
|
}
|
|
.anticon-eye {
|
right: 25px;
|
}
|
}
|
|
.comment-actions {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
margin-top: 4px;
|
|
.ant-btn {
|
padding: 0;
|
font-size: 12px;
|
}
|
}
|
}
|
}
|
}
|
}
|
|
.form-extra-comment-list-footer {
|
flex-shrink: 0;
|
border-top: 1px solid var(--border-color-base);
|
}
|
}
|
|
.form-extra-log {
|
height: 100%;
|
|
.form-extra-log-list {
|
height: 100%;
|
padding: 24px 12px 0;
|
overflow: auto;
|
|
.tag {
|
display: block;
|
width: 10px;
|
height: 10px;
|
border-radius: 50%;
|
}
|
|
.time-item-container {
|
padding: 0 10px;
|
margin-top: 8px;
|
background-color: var(--app-content-background);
|
border-radius: 4px;
|
|
.time-item-head {
|
display: flex;
|
align-items: center;
|
height: 40px;
|
|
.head-avatar {
|
margin-right: 6px;
|
}
|
|
.head-name {
|
flex: 1;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
line-height: 24px;
|
white-space: nowrap;
|
}
|
|
.head-status {
|
padding-inline: 10px;
|
margin-inline-end: 0;
|
border-radius: 10px;
|
}
|
}
|
|
.time-item-log {
|
padding: 10px 0 10px 30px;
|
border-top: 1px solid var(--border-color-base);
|
|
.time-item-log-total {
|
display: flex;
|
margin-bottom: 4px;
|
|
span {
|
color: var(--error-color);
|
}
|
}
|
|
.time-item-log-item {
|
margin-bottom: 8px;
|
|
&:last-child {
|
margin-bottom: 0;
|
}
|
|
&-label {
|
font-weight: 600;
|
}
|
|
&-value {
|
color: var(--text-color-label);
|
word-break: break-all;
|
|
&-old {
|
text-decoration: line-through;
|
}
|
|
&-new {
|
color: var(--text-color-base);
|
}
|
|
&-more {
|
color: var(--primary-color);
|
cursor: pointer;
|
}
|
|
&-modify {
|
color: var(--warning-color);
|
}
|
}
|
}
|
}
|
}
|
}
|
}
|
}
|
|
.comment-input-wrapper {
|
&.comment-input-wrapper-inner {
|
border: 1px solid var(--border-color-base);
|
border-radius: 4px;
|
|
&.comment-input-wrapper-active {
|
border: 1px solid var(--primary-color);
|
}
|
|
.comment-input-placeholder {
|
height: 96px;
|
padding: 0 11px;
|
line-height: 30px;
|
color: #bfbfbf;
|
}
|
}
|
|
.comment-input-placeholder {
|
padding: 0 10px;
|
line-height: 50px;
|
color: #bfbfbf;
|
}
|
|
.comment-input-wrapper-content {
|
margin-bottom: 22px;
|
|
textarea {
|
border: unset !important;
|
box-shadow: unset !important;
|
}
|
}
|
|
.ant-input-textarea-show-count::after {
|
padding-right: 10px;
|
}
|
|
.comment-input-wrapper-actions {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
height: 50px;
|
padding: 0 10px;
|
|
.actions-left {
|
display: flex;
|
align-items: center;
|
|
.ym-custom,
|
.icon-ym {
|
margin-right: 15px;
|
font-size: 18px;
|
color: #bfbfbf;
|
cursor: pointer;
|
}
|
}
|
}
|
|
.comment-img-list {
|
display: flex;
|
flex-wrap: wrap;
|
padding-left: 10px;
|
margin-top: 10px;
|
|
.img-item {
|
position: relative;
|
flex-shrink: 0;
|
width: 40px;
|
height: 40px;
|
margin-right: 10px;
|
margin-bottom: 10px;
|
cursor: pointer;
|
object-fit: cover;
|
|
.badge {
|
position: absolute;
|
top: -9px;
|
right: -9px;
|
z-index: 100;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
width: 18px;
|
height: 18px;
|
font-size: 12px;
|
line-height: 18px;
|
color: #fff;
|
cursor: pointer;
|
background-color: var(--error-color);
|
border: 1px solid #fff;
|
border-radius: 10px;
|
|
.icon-ym {
|
display: inline-block;
|
font-size: 12px;
|
transform: scale(0.7);
|
}
|
}
|
}
|
}
|
|
.comment-upload-file {
|
padding: 0 10px;
|
|
.anticon-close {
|
display: block !important;
|
}
|
|
.upload-file-list__item {
|
margin-top: 5px !important;
|
}
|
}
|
}
|
|
.emojiBox {
|
width: 300px;
|
height: 150px;
|
overflow: auto;
|
text-align: left;
|
}
|
|
.emojiBox .emoji {
|
padding: 0;
|
}
|
|
.emojiBox li {
|
display: inline-block;
|
width: 28px;
|
height: 28px;
|
line-height: 28px;
|
text-align: center;
|
cursor: pointer;
|
}
|
|
.emoji-popover {
|
z-index: 30000 !important;
|
|
.ant-popover-inner-content {
|
padding: 10px;
|
}
|
}
|
|
.dark,
|
.dark[data-theme='custom'],
|
.dark[data-theme='default'] {
|
.form-extra-panel .form-extra-comment-list .form-extra-comment-item .form-extra-comment-item-main .comment-content .comment-other {
|
background-color: #333 !important;
|
}
|
|
.comment-input-wrapper {
|
.comment-input-placeholder {
|
color: rgb(255 255 255 / 30%);
|
}
|
|
.comment-input-wrapper-actions {
|
.actions-left {
|
.ym-custom,
|
.icon-ym {
|
color: rgb(255 255 255 / 30%);
|
}
|
}
|
}
|
}
|
}
|