185 lines
3.1 KiB
Plaintext
185 lines
3.1 KiB
Plaintext
/* 授权状态:版本徽标 + 公告铃铛(插在页头右上角) */
|
|
.wrap {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.ver {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 24px;
|
|
padding: 0 10px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border: 1px solid rgba(127, 127, 127, 0.35);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.2px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: background 0.15s ease;
|
|
|
|
&:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
}
|
|
|
|
/* 有新版本:琥珀底 + 右上角红点,一直亮着直到用户更新(可随时点开看) */
|
|
.verNew {
|
|
color: #ffb020;
|
|
background: rgba(255, 176, 32, 0.16);
|
|
border-color: rgba(255, 176, 32, 0.55);
|
|
|
|
&:hover {
|
|
background: rgba(255, 176, 32, 0.26);
|
|
}
|
|
}
|
|
|
|
.verDot {
|
|
position: absolute;
|
|
top: -3px;
|
|
right: -3px;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: #ff4d4f;
|
|
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
.bell {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 50%;
|
|
color: #fff;
|
|
opacity: 1;
|
|
cursor: pointer;
|
|
transition: background 0.15s ease;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
background: rgba(255, 255, 255, 0.14);
|
|
}
|
|
}
|
|
|
|
.bellDot {
|
|
position: absolute;
|
|
top: 1px;
|
|
right: 1px;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: #ff4d4f;
|
|
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
/* 公告列表(semi Popover 是浅色底,这里按浅色写字色) */
|
|
.pop {
|
|
width: 296px;
|
|
max-height: 340px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.popItem {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 9px 4px;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
|
|
cursor: pointer;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
&:hover .popTitle {
|
|
color: #7c3aed;
|
|
}
|
|
}
|
|
|
|
.topTag {
|
|
flex: none;
|
|
padding: 1px 5px;
|
|
border-radius: 4px;
|
|
background: #fff1f0;
|
|
border: 1px solid #ffccc7;
|
|
color: #cf1322;
|
|
font-size: 11px;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.popTitle {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: #1f2329;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.popTime {
|
|
flex: none;
|
|
color: #8f959e;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.popEmpty {
|
|
padding: 8px 2px;
|
|
color: #8f959e;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* 弹窗内容 */
|
|
.logBox {
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.log {
|
|
margin: 0 0 8px;
|
|
padding: 12px;
|
|
max-height: 260px;
|
|
overflow: auto;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
background: #f7f8fa;
|
|
border: 1px solid #e4e6eb;
|
|
border-radius: 8px;
|
|
color: #1f2329;
|
|
font-family: inherit;
|
|
font-size: 13px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.logMuted {
|
|
margin: 0 0 6px;
|
|
color: #646a73;
|
|
font-size: 13px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.noticeBody {
|
|
padding: 4px 0 10px;
|
|
color: #1f2329;
|
|
font-size: 14px;
|
|
line-height: 1.8;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.acts {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
padding-top: 12px;
|
|
}
|