refactor(ui): 删除组件替换后失效的样式规则(B3 收尾)
- sidebar.module.css: 删掉 editorDownloadLink(含 :hover 与 focus-visible 组内一行)、mediaPreviewNotice、largeFileDownload 及其说明注释;largeFileNoticeAction 仍被 LargeFileView 使用,保留。 - terminal.module.css: 删掉 .notice / .error / .action / .action:hover,以及同组零引用的 .noticeBlock。
This commit is contained in:
1 parent
5a8ab2f805
commit
0cd0765fad
2 files changed
-71
No files matched your search
@@ -61,45 +61,7 @@
|
||||
background: var(--dsw-alias-bg-layer-2);
|
||||
}
|
||||
|
||||
.noticeBlock {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 16px;
|
||||
min-height: 0;
|
||||
padding: 24px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.notice {
|
||||
max-width: 32ch;
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
text-align: center;
|
||||
overflow-wrap: anywhere;
|
||||
color: var(--dsw-alias-label-primary);
|
||||
}
|
||||
|
||||
.error {
|
||||
margin: 0;
|
||||
padding: 10px 12px;
|
||||
overflow-wrap: anywhere;
|
||||
color: var(--dsw-alias-label-primary);
|
||||
background: var(--dsw-alias-bg-layer-2);
|
||||
}
|
||||
|
||||
.action {
|
||||
flex: none;
|
||||
padding: 3px 10px;
|
||||
border: 0.5px solid var(--dsw-alias-border-l4);
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
color: var(--dsw-alias-label-primary);
|
||||
background: var(--dsw-alias-bg-layer-1);
|
||||
}
|
||||
|
||||
.action:hover {
|
||||
background: var(--dsw-alias-bg-layer-2);
|
||||
}
|
||||
Reference in new issue
Block a user