时里院子市集
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

89 lines
1.4 KiB

.admin-panel {
/* 面板动画 */
.admin-panel-content {
animation: slideUp 0.3s ease-out;
}
/* 网格布局优化 */
.admin-feature-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
@media (max-width: 375px) {
grid-template-columns: 1fr;
}
}
/* 功能卡片样式 */
.admin-feature-card {
transition: all 0.2s ease;
cursor: pointer;
&:active {
transform: scale(0.95);
}
&:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
}
/* 图标容器 */
.admin-feature-icon {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
margin-right: 8px;
}
/* 模式切换按钮动画 */
.mode-toggle-btn {
transition: all 0.3s ease;
cursor: pointer;
&:active {
transform: scale(0.95);
}
}
/* 管理面板按钮 */
.admin-panel-btn {
transition: all 0.2s ease;
cursor: pointer;
&:active {
transform: scale(0.95);
background-color: rgba(59, 130, 246, 0.1);
}
}
}
/* 滑入动画 */
@keyframes slideUp {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/* 遮罩层动画 */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.admin-panel-overlay {
animation: fadeIn 0.3s ease-out;
}