mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
356 lines
9.9 KiB
SCSS
Executable File
Vendored
356 lines
9.9 KiB
SCSS
Executable File
Vendored
.common-user-detail-modal {
|
|
.ivu-modal-fullscreen {
|
|
.ivu-modal-content {
|
|
margin-top: calc(var(--status-bar-height) + 46px) !important;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
.ivu-modal-body {
|
|
border-radius: 16px 16px 0 0;
|
|
}
|
|
}
|
|
.ivu-modal-content {
|
|
background-color: transparent;
|
|
}
|
|
.ivu-modal-close {
|
|
.ivu-icon-ios-close {
|
|
color: #ffffff;
|
|
&:hover {
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
}
|
|
.ivu-modal-body {
|
|
padding: 0 !important;
|
|
background-color: #ffffff;
|
|
border-radius: 16px;
|
|
}
|
|
.user-detail-body {
|
|
.profile-header {
|
|
position: relative;
|
|
height: 180px;
|
|
.cover-photo {
|
|
background: $primary-color;
|
|
height: 130px;
|
|
border-top-left-radius: 16px;
|
|
border-top-right-radius: 16px;
|
|
}
|
|
.profile-avatar {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
border: 4px solid #fff;
|
|
border-radius: 50%;
|
|
.user-avatar {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
.profile-content {
|
|
padding: 16px 24px 24px;
|
|
text-align: center;
|
|
|
|
.user-info-top {
|
|
.username {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
}
|
|
.meta {
|
|
margin-top: 8px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #808695;
|
|
font-size: 13px;
|
|
.common-dialog {
|
|
cursor: pointer;
|
|
em {
|
|
padding-left: 4px;
|
|
font-style: normal;
|
|
color: $primary-color;
|
|
}
|
|
}
|
|
.separator {
|
|
margin: 0 8px;
|
|
opacity: 0.3;
|
|
}
|
|
}
|
|
}
|
|
|
|
.profile-actions {
|
|
margin-top: 16px;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
.ivu-btn {
|
|
border-radius: 6px;
|
|
border-color: #ececec;
|
|
&:hover {
|
|
border-color: #a2d98d;
|
|
}
|
|
.taskfont {
|
|
margin-right: 6px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.profile-bio {
|
|
color: $primary-title-color;
|
|
line-height: 1.6;
|
|
margin-top: 16px;
|
|
padding: 0 50px;
|
|
font-size: 12px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.profile-information {
|
|
margin-top: 24px;
|
|
text-align: left;
|
|
background-color: #f8f8f9;
|
|
padding: 16px;
|
|
border-radius: 8px;
|
|
|
|
h2 {
|
|
font-size: 16px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
li {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding: 8px 0;
|
|
font-size: 14px;
|
|
|
|
.ivu-icon {
|
|
font-size: 20px;
|
|
margin-right: 12px;
|
|
color: $primary-desc-color;
|
|
}
|
|
|
|
.label {
|
|
color: #808695;
|
|
flex: 0 0 64px;
|
|
flex-shrink: 0;
|
|
line-height: 22px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.value {
|
|
color: $primary-title-color;
|
|
font-weight: 500;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
margin-left: 0;
|
|
text-align: right;
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
overflow-wrap: break-word;
|
|
&.clickable {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.profile-tags {
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid #e5e5e5;
|
|
display: flex;
|
|
.tags-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
position: relative;
|
|
.recognition-total {
|
|
padding-left: 8px;
|
|
position: relative;
|
|
&:before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 2px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 2px;
|
|
height: 2px;
|
|
border-radius: 50%;
|
|
background-color: currentColor;
|
|
}
|
|
}
|
|
}
|
|
.ivu-btn {
|
|
border-radius: 6px;
|
|
&.ivu-btn-primary {
|
|
background-color: #ffffff;
|
|
color: $primary-color;
|
|
}
|
|
}
|
|
.ivu-tag {
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 共同群组弹窗样式
|
|
.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(var(--window-height, 100vh) - 310px);
|
|
|
|
@media (height <= 900px) {
|
|
max-height: calc(var(--window-height, 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;
|
|
}
|
|
}
|