fix(scan): 移除扫描卡片顶部 inset 高光
用户反馈卡片顶部仍有亮线:border:none 已去边框,但 box-shadow 的 inset 0 1px 0 顶部内高光仍形成一条亮边,暗色(.18)/亮色(.85)两处一并移除, 仅保留外部投影保持悬浮感。
This commit is contained in:
@@ -148,8 +148,7 @@ html[data-theme="bright"] .scan-mask {
|
||||
border: none;
|
||||
border-radius: 20px;
|
||||
box-shadow:
|
||||
0 24px 60px -16px rgba(0, 0, 0, .35),
|
||||
inset 0 1px 0 rgba(255, 255, 255, .18);
|
||||
0 24px 60px -16px rgba(0, 0, 0, .35);
|
||||
padding: 32px 44px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -161,8 +160,7 @@ html[data-theme="bright"] .scan-mask {
|
||||
html[data-theme="bright"] .scan-card {
|
||||
background: rgba(255, 255, 255, .6);
|
||||
box-shadow:
|
||||
0 24px 60px -16px rgba(0, 0, 0, .22),
|
||||
inset 0 1px 0 rgba(255, 255, 255, .85);
|
||||
0 24px 60px -16px rgba(0, 0, 0, .22);
|
||||
}
|
||||
.scan-spinner {
|
||||
width: 40px;
|
||||
|
||||
Reference in New Issue
Block a user