// ===== 和信智汇学院 文字 Logo:渐变流光 + 呼吸辉光 + 脉冲光点 ===== // 侧边栏(menu.vue)与登录页(Login.vue)共用,由 main.ts 全局引入。 // 品牌名由「AIDO」更名而来:中文六个字,字号/字距相应收窄以适配 // 260px 展开侧栏(logo 与搜索/折叠图标同行)与登录页左上角。 .aido-logo { position: relative; display: inline-flex; align-items: baseline; gap: 3px; padding: 2px 6px 2px 2px; border-radius: 8px; user-select: none; cursor: pointer; transition: transform 0.25s ease; &:hover { transform: translateY(-1px) scale(1.04); } &__text { font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif; font-size: 19px; line-height: 1.15; font-weight: 700; white-space: nowrap; letter-spacing: 1px; background-image: linear-gradient(110deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 58%), linear-gradient(95deg, #07c05f 0%, #0bbf9a 35%, #10b4c8 65%, #3b82f6 100%); background-size: 220% 100%, 100% 100%; background-position: -130% 0, 0 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: aido-shine 3.6s ease-in-out infinite, aido-glow 2.8s ease-in-out infinite; } &__dot { align-self: flex-start; width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7ef7c1, #07c05f 60%); box-shadow: 0 0 6px 2px rgba(7, 192, 95, 0.55); animation: aido-pulse 2.2s ease-in-out infinite; } } @keyframes aido-shine { 0% { background-position: -130% 0, 0 0; } 55%, 100% { background-position: 230% 0, 0 0; } } @keyframes aido-glow { 0%, 100% { filter: drop-shadow(0 0 3px rgba(7, 192, 95, 0.25)); } 50% { filter: drop-shadow(0 0 9px rgba(16, 180, 200, 0.45)); } } @keyframes aido-pulse { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.3); opacity: 1; } } @media (prefers-reduced-motion: reduce) { .aido-logo, .aido-logo__text, .aido-logo__dot { animation: none; } } // Dark mode: 渐变在深色背景上稍微提亮 html[theme-mode="dark"] .aido-logo__text { background-image: linear-gradient(110deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0) 58%), linear-gradient(95deg, #2ad57a 0%, #17d3ab 35%, #22c8dc 65%, #5b9bff 100%); }