249 lines
4.8 KiB
SCSS
Raw Normal View History

2026-04-14 21:36:19 +08:00
.processed_card {
background: linear-gradient(135deg, #fffcf8 0%, #ffffff 100%);
border: 1px solid #e8e8e8;
width: 18vw;
min-width: 280px;
max-width: 320px;
padding: 20px 24px;
border-radius: 12px;
color: #f77a3a;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
position: relative;
overflow: hidden;
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
135deg,
rgba(247, 122, 58, 0.05) 0%,
transparent 100%
);
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
&:hover {
box-shadow: 0 8px 24px rgba(247, 122, 58, 0.15);
transform: translateY(-4px);
border-color: #f77a3a;
&::before {
opacity: 1;
}
}
&:active {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(247, 122, 58, 0.12);
}
&_header {
display: flex;
align-items: center;
margin-bottom: 16px;
position: relative;
z-index: 1;
img {
width: 56px;
height: 56px;
transition: transform 0.3s ease;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
}
&:hover &_header img {
transform: scale(1.1) rotate(3deg);
filter: drop-shadow(0 4px 8px rgba(247, 122, 58, 0.2));
}
&_label {
color: #2c2c2c;
font-size: 20px;
font-weight: 600;
padding-left: 12px;
letter-spacing: 0.5px;
position: relative;
z-index: 1;
transition: color 0.3s ease;
}
2026-04-23 10:19:50 +08:00
// &:hover &_label {
// color: #f77a3a;
// }
2026-04-14 21:36:19 +08:00
&_footer {
width: 100%;
display: flex;
padding-top: 12px;
align-items: center;
justify-content: space-between;
font-weight: 600;
border-top: 1px solid rgba(0, 0, 0, 0.06);
position: relative;
z-index: 1;
&_count {
font-size: 28px;
color: #f77a3a;
font-weight: 700;
letter-spacing: -0.5px;
transition: transform 0.3s ease;
}
&:hover &_count {
transform: scale(1.05);
}
.unreviewed_btn {
color: #f77a3a;
background: linear-gradient(135deg, #fff4ee 0%, #ffe8d6 100%);
padding: 8px 20px;
font-size: 15px;
font-weight: 600;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid transparent;
box-shadow: 0 2px 4px rgba(247, 122, 58, 0.1);
position: relative;
overflow: hidden;
&::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(247, 122, 58, 0.3);
transform: translate(-50%, -50%);
transition: width 0.6s ease, height 0.6s ease;
}
&:hover {
background: linear-gradient(135deg, #ffe8d6 0%, #ffd6b8 100%);
box-shadow: 0 4px 12px rgba(247, 122, 58, 0.2);
transform: scale(1.05);
&::after {
width: 200px;
height: 200px;
}
}
&:active {
transform: scale(0.98);
}
}
}
}
.others_card {
background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 100%);
color: #2a7efb;
border-color: #e8f0ff;
&::before {
background: linear-gradient(
135deg,
rgba(42, 126, 251, 0.05) 0%,
transparent 100%
);
}
&:hover {
box-shadow: 0 8px 24px rgba(42, 126, 251, 0.15);
border-color: #2a7efb;
&_label {
color: #2a7efb;
}
}
&:active {
box-shadow: 0 4px 12px rgba(42, 126, 251, 0.12);
}
&:hover &_header img {
filter: drop-shadow(0 4px 8px rgba(42, 126, 251, 0.2));
}
.processed_card_footer {
border-top-color: rgba(42, 126, 251, 0.1);
&_count {
color: #2a7efb;
}
.unreviewed_btn {
color: #2a7efb;
background: linear-gradient(135deg, #f3f8fb 0%, #e6f0ff 100%);
box-shadow: 0 2px 4px rgba(42, 126, 251, 0.1);
&::after {
background: rgba(42, 126, 251, 0.3);
}
&:hover {
background: linear-gradient(135deg, #e6f0ff 0%, #cce0ff 100%);
box-shadow: 0 4px 12px rgba(42, 126, 251, 0.2);
}
}
}
}
@media (max-width: 1400px) {
.processed_card {
width: 20vw;
min-width: 260px;
max-width: 300px;
}
}
@media (max-width: 1200px) {
.processed_card {
width: 22vw;
min-width: 240px;
max-width: 280px;
padding: 16px 20px;
&_header img {
width: 48px;
height: 48px;
}
&_label {
font-size: 18px;
}
&_footer {
&_count {
font-size: 24px;
}
.unreviewed_btn {
padding: 6px 16px;
font-size: 14px;
}
}
}
}
@media (max-width: 768px) {
.processed_card {
width: 100%;
min-width: unset;
max-width: unset;
}
}