.common-user-detail-modal { .ivu-modal { max-width: 90%; &.ivu-modal-fullscreen { max-width: none; .ivu-modal-content { margin-top: calc(var(--status-bar-height) + 46px); margin-bottom: 0; border-top-left-radius: 18px !important; border-top-right-radius: 18px !important; .ivu-modal-body { .user-detail-body { padding-bottom: var(--navigation-bar-height); } } } } .user-detail-actions { display: flex; gap: 10px; } .ivu-modal-content { overflow: hidden; .ivu-modal-body { padding: 0 !important; display: flex; flex-direction: column; .user-detail-body { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 84px 24px; .avatar-wrapper { cursor: pointer; } > ul { width: 80%; > li { list-style: none; display: flex; justify-content: center; margin: 12px auto; &.user-name { align-items: center; } > em { font-style: normal; &.disabled, &.deleted { display: inline-block; margin-left: 2px; white-space: nowrap; font-size: 12px; height: 20px; line-height: 20px; padding: 0 6px; border-radius: 3px; transform: scale(0.9); transform-origin: right center; color: #ffffff; background-color: #ED4014; } } > span { flex-shrink: 0; opacity: 0.8; padding-right: 4px; } } } } } } } } // 共同群组弹窗样式 .common-dialog-content { margin: -16px -32px 0; .loading-wrapper { display: flex; justify-content: center; align-items: center; text-align: center; padding-top: 60px; padding-bottom: 100px; } .empty-wrapper { display: flex; justify-content: center; align-items: center; padding-top: 40px; padding-bottom: 80px; .empty-content { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; color: #999; > i { opacity: 0.3; } } } .dialog-list { padding: 0 12px; overflow-y: auto; max-height: calc(100vh - 310px); @media (height <= 900px) { max-height: calc(100vh - 180px); } .dialog-item { display: flex; align-items: center; padding: 12px 16px; cursor: pointer; border-radius: 6px; margin: 4px 0; transition: background-color 0.2s; &:hover { background-color: #f5f7fa; } .dialog-avatar { flex-shrink: 0; margin-right: 12px; .img-avatar, .user-avatar, .icon-avatar { width: 42px; height: 42px; margin-right: 2px; flex-grow: 0; flex-shrink: 0; } .img-avatar { display: flex; align-items: center; justify-content: center; > img { width: 100%; height: 100%; } } .icon-avatar { display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 26px; background-color: #61B2F9; color: #ffffff; &.department { background-color: #5BC7B0; } &.project { background-color: #6E99EB; } &.task { background-color: #9B96DF; font-size: 24px; } } } .dialog-info { flex: 1; min-width: 0; .dialog-name { font-size: 14px; font-weight: 500; color: #17233d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; } .dialog-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #808695; .member-count { flex-shrink: 0; } .last-time { flex-shrink: 0; } } } .enter-icon { flex-shrink: 0; color: #c5c8ce; font-size: 16px; margin-left: 8px; } } &:last-child { padding-bottom: 16px; } } .load-more-wrapper { display: flex; justify-content: center; align-items: center; padding: 12px 0; } }