吸收数字员工通知投影
This commit is contained in:
@@ -612,8 +612,145 @@
|
||||
color: #fff; background: rgba(255,255,255,0.12);
|
||||
cursor: pointer; transition: background 0.18s ease, transform 0.18s ease;
|
||||
}
|
||||
.de-header-icon:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }
|
||||
.de-header-icon:hover, .de-header-icon.active { background: rgba(255,255,255,0.22); transform: translateY(-1px); }
|
||||
.de-header-close { background: rgba(255,255,255,0.18); }
|
||||
.de-notification-anchor { position: relative; display: inline-flex; align-items: center; }
|
||||
.de-notification-count {
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
right: -8px;
|
||||
min-width: 17px;
|
||||
height: 17px;
|
||||
padding: 0 4px;
|
||||
border-radius: 999px;
|
||||
background: #ff5d73;
|
||||
color: #fff;
|
||||
border: 1px solid rgba(255,255,255,0.82);
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
line-height: 15px;
|
||||
box-shadow: 0 4px 12px rgba(198,33,70,0.32);
|
||||
}
|
||||
.de-notification-popover {
|
||||
position: absolute;
|
||||
top: 38px;
|
||||
right: 0;
|
||||
z-index: 360;
|
||||
width: min(380px, calc(100vw - 28px));
|
||||
max-height: min(620px, calc(100vh - 88px));
|
||||
display: grid;
|
||||
grid-template-rows: auto minmax(0, 1fr);
|
||||
overflow: hidden;
|
||||
border-radius: 14px;
|
||||
background: rgba(252,254,255,0.98);
|
||||
border: 1px solid rgba(61,132,184,0.18);
|
||||
box-shadow: 0 22px 60px rgba(18,52,79,0.24);
|
||||
}
|
||||
.de-notification-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 14px;
|
||||
border-bottom: 1px solid rgba(61,132,184,0.12);
|
||||
}
|
||||
.de-notification-head div { min-width: 0; display: grid; gap: 2px; }
|
||||
.de-notification-head strong { color: #12344f; font-size: 15px; }
|
||||
.de-notification-head span { color: #6a8094; font-size: 12px; }
|
||||
.de-notification-close { width: 26px; height: 26px; color: #496a85; background: rgba(79,172,254,0.1); }
|
||||
.de-notification-list {
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding: 12px;
|
||||
}
|
||||
.de-notification-empty {
|
||||
min-height: 86px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: #6a8094;
|
||||
font-size: 13px;
|
||||
}
|
||||
.de-notification-item {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 12px;
|
||||
border-radius: 10px;
|
||||
background: #fff;
|
||||
border: 1px solid rgba(61,132,184,0.12);
|
||||
}
|
||||
.de-notification-item--action { border-color: rgba(79,172,254,0.3); }
|
||||
.de-notification-item--warn { border-color: rgba(255,184,61,0.34); }
|
||||
.de-notification-item--error { border-color: rgba(244,96,96,0.3); }
|
||||
.de-notification-item-head,
|
||||
.de-notification-title-row,
|
||||
.de-notification-actions,
|
||||
.de-notification-reply-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.de-notification-item-head,
|
||||
.de-notification-title-row { justify-content: space-between; }
|
||||
.de-notification-level,
|
||||
.de-notification-title-row span {
|
||||
flex-shrink: 0;
|
||||
min-height: 20px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0 7px;
|
||||
border-radius: 999px;
|
||||
background: rgba(79,172,254,0.1);
|
||||
color: #22659a;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.de-notification-time { color: #7890a7; font-size: 11px; }
|
||||
.de-notification-title-row h3 {
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
color: #12344f;
|
||||
font-size: 14px;
|
||||
line-height: 1.32;
|
||||
}
|
||||
.de-notification-item p,
|
||||
.de-notification-reply {
|
||||
margin: 0;
|
||||
color: #536b80;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.de-notification-reply {
|
||||
padding: 8px;
|
||||
border-radius: 8px;
|
||||
background: rgba(79,172,254,0.08);
|
||||
color: #31526d;
|
||||
}
|
||||
.de-notification-actions { justify-content: flex-end; }
|
||||
.de-notification-icon-btn {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border: 1px solid rgba(61,132,184,0.16);
|
||||
border-radius: 999px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #31526d;
|
||||
background: rgba(247,251,255,0.96);
|
||||
cursor: pointer;
|
||||
}
|
||||
.de-notification-icon-btn:hover { background: rgba(79,172,254,0.14); }
|
||||
.de-notification-reply-row input {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
height: 30px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(61,132,184,0.18);
|
||||
padding: 0 9px;
|
||||
color: #12344f;
|
||||
background: #fff;
|
||||
}
|
||||
.de-digital-modal-close-hitbox {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
|
||||
Reference in New Issue
Block a user