Files
video-gen/video-gen-app/src/components/Layout/AppLayout.css
T
root 13970941d5 1、修改左上角背景图颜色修改
2、左下角文字变大
3、默认账户名字修改
4、右下角联系我们修改位置跟可以移动
2026-06-29 18:12:48 +08:00

256 lines
4.8 KiB
CSS

.desktop-sidebar {
display: flex;
}
.desktop-content {
display: block;
}
.mobile-header {
display: none;
}
.mobile-content {
display: none;
}
.mobile-menu-drawer {
display: none;
}
.mobile-menu-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
margin: 2px 8px;
border-radius: 10px;
cursor: pointer;
transition: all 0.2s ease;
min-height: 48px;
}
.mobile-menu-item:hover {
background: rgba(99, 102, 241, 0.05);
}
.mobile-menu-item-active {
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%) !important;
}
.mobile-menu-group {
cursor: default;
}
.mobile-menu-group:hover {
background: transparent;
}
.mobile-menu-icon {
font-size: 18px;
flex-shrink: 0;
width: 24px;
display: flex;
align-items: center;
justify-content: center;
}
.mobile-menu-label {
flex: 1;
font-size: 15px;
}
.mobile-submenu {
padding-left: 12px;
background: rgba(248, 250, 252, 0.5);
margin: 0 8px;
border-radius: 8px;
}
.mobile-submenu-item {
padding: 10px 16px 10px 20px;
margin: 1px 0;
min-height: 44px;
}
.mobile-recharge-item {
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}
.mobile-recharge-item:hover {
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
}
.contact-button-wrapper {
position: fixed;
right: 24px;
bottom: 25%;
z-index: 1000;
cursor: move;
}
.contact-tooltip {
position: absolute;
right: 64px;
bottom: 8px;
padding: 8px 16px;
background: rgba(30, 41, 59, 0.9);
color: #ffffff;
border-radius: 8px;
font-size: 13px;
white-space: nowrap;
transition: opacity 0.2s ease;
pointer-events: none;
}
.contact-button {
width: 40px;
height: 40px;
border-radius: 50%;
border: none;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
color: #ffffff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
transition: all 0.3s ease;
}
.contact-button:hover {
transform: scale(1.05);
background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%);
box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}
.contact-button.dragging {
cursor: grabbing;
transform: scale(1.1);
box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}
@media (max-width: 767px) {
.desktop-sidebar {
display: none !important;
}
.desktop-content {
display: none !important;
}
.mobile-header {
display: block;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mobile-header-content {
display: flex;
align-items: center;
justify-content: space-between;
height: 56px;
padding: 0 16px;
}
.mobile-menu-btn {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
cursor: pointer;
color: #475569;
transition: all 0.2s ease;
}
.mobile-menu-btn:hover {
background: rgba(99, 102, 241, 0.08);
color: #6366f1;
}
.mobile-header-title {
font-size: 18px;
font-weight: 700;
color: #1e293b;
background: linear-gradient(135deg, #6366f1, #8b5cf6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.mobile-header-right {
display: flex;
align-items: center;
gap: 12px;
}
.mobile-credits-badge {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
background: rgba(99, 102, 241, 0.08);
border-radius: 20px;
color: #6366f1;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
}
.mobile-credits-badge:hover {
background: rgba(99, 102, 241, 0.15);
}
.mobile-content {
display: block;
padding-top: 56px;
padding-bottom: 24px;
min-height: 100vh;
background: #f8fafc;
}
.mobile-content > div {
margin: 12px;
padding: 16px;
background: #ffffff;
border-radius: 16px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
border: 1px solid rgba(0, 0, 0, 0.04);
min-height: calc(100vh - 104px);
}
.contact-button-wrapper {
right: 16px;
bottom: 16px;
}
.contact-tooltip {
display: none;
}
.contact-button {
width: 44px;
height: 44px;
}
.recharge-modal .ant-modal {
max-width: calc(100vw - 32px) !important;
margin: 16px !important;
}
.contact-modal .ant-modal {
max-width: calc(100vw - 32px) !important;
margin: 16px !important;
}
}