sass警告
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
/* 会员权限拦截弹窗样式 */
|
||||
@use '../variables' as *;
|
||||
|
||||
.member-access-dialog-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: $overlay-bg;
|
||||
z-index: 9999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.14rem;
|
||||
}
|
||||
|
||||
.member-access-dialog {
|
||||
background: $bg-white;
|
||||
border-radius: 0.12rem;
|
||||
padding: 0.4rem 0.36rem 0.3rem;
|
||||
width: 3.8rem;
|
||||
text-align: center;
|
||||
box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
/* 锁图标 */
|
||||
.member-access-dialog__icon {
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.member-access-dialog__lock-svg {
|
||||
width: 0.48rem;
|
||||
height: 0.48rem;
|
||||
color: $accent;
|
||||
}
|
||||
|
||||
/* 提示文字 */
|
||||
.member-access-dialog__text {
|
||||
font-size: 0.15rem;
|
||||
color: $text-dark;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 0.3rem;
|
||||
}
|
||||
|
||||
/* 操作按钮区域 */
|
||||
.member-access-dialog__actions {
|
||||
display: flex;
|
||||
gap: 0.16rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.member-access-dialog__btn {
|
||||
flex: 1;
|
||||
height: 0.4rem;
|
||||
border-radius: 0.06rem;
|
||||
font-size: 0.14rem;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
transition: opacity 0.2s;
|
||||
|
||||
&:hover {
|
||||
opacity: 0.85;
|
||||
}
|
||||
}
|
||||
|
||||
/* 灰色取消按钮 */
|
||||
.member-access-dialog__btn--cancel {
|
||||
background: $bg-main;
|
||||
color: $text-middle;
|
||||
}
|
||||
|
||||
/* 主题色确认按钮 */
|
||||
.member-access-dialog__btn--confirm {
|
||||
background: $btn-dark;
|
||||
color: $bg-white;
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
@use 'sass:color';
|
||||
@use '../variables' as *;
|
||||
|
||||
// ==================== 欢迎使用弹窗 ====================
|
||||
@@ -56,12 +57,12 @@
|
||||
margin-bottom: 0.14rem;
|
||||
|
||||
&:hover {
|
||||
background: darken(#F3F4F5, 3%);
|
||||
background: color.adjust(#F3F4F5, $lightness: -3%);
|
||||
}
|
||||
|
||||
// 拖拽悬停时背景色变化
|
||||
&.is-dragover {
|
||||
background: darken(#F3F4F5, 6%);
|
||||
background: color.adjust(#F3F4F5, $lightness: -6%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@use 'sass:color';
|
||||
@use '../variables' as *;
|
||||
|
||||
// ==================== 简历上传弹窗 ====================
|
||||
@@ -83,7 +84,7 @@
|
||||
|
||||
// 拖拽悬停状态 — 背景色加深
|
||||
&.is-dragover {
|
||||
background: darken(#F6FCFC, 4%);
|
||||
background: color.adjust(#F6FCFC, $lightness: -4%);
|
||||
border-color: $accent;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@use 'sass:color';
|
||||
@use '../variables' as *;
|
||||
|
||||
// ==================== 注销账号弹窗 ====================
|
||||
@@ -247,7 +248,7 @@
|
||||
color: $bg-white;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: darken(#DC2626, 8%);
|
||||
background: color.adjust(#DC2626, $lightness: -8%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -387,7 +388,7 @@
|
||||
color: $bg-white;
|
||||
|
||||
&:hover {
|
||||
background: darken(#DC2626, 8%);
|
||||
background: color.adjust(#DC2626, $lightness: -8%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
@use './components/settings-invite-dialog.scss';
|
||||
@use './components/resume-upload-dialog.scss';
|
||||
@use './components/agreement-preview-dialog.scss';
|
||||
@use './components/member-access-dialog.scss';
|
||||
|
||||
// 全局样式(优先级最高)
|
||||
@use './auto.scss';
|
||||
|
||||
Reference in New Issue
Block a user