|
26 | 26 |
|
27 | 27 |
|
28 | 28 |
|
29 | | -// 新的圆角立体卡片风格logo |
| 29 | +// 协调系统主题的logo卡片风格 |
30 | 30 | .system-logo-card { |
31 | 31 | height: 64px; |
32 | 32 | margin: 8px 12px; |
33 | 33 | position: relative; |
34 | | - border-radius: 16px; |
| 34 | + border-radius: 12px; |
35 | 35 | overflow: hidden; |
36 | | - transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); |
| 36 | + transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); |
37 | 37 | cursor: pointer; |
38 | 38 |
|
39 | | - // 靛蓝系列渐变背景 - 左上到右下 |
| 39 | + // 与系统主题协调的渐变背景 |
40 | 40 | background: linear-gradient(135deg, |
41 | | - #1e3a8a 0%, // 深靛蓝 |
42 | | - #4338ca 100% // 靛蓝紫 |
| 41 | + #f8fafc 0%, // 浅灰白 |
| 42 | + #e2e8f0 50%, // 浅灰 |
| 43 | + #cbd5e1 100% // 中灰 |
43 | 44 | ); |
44 | 45 |
|
45 | | - // 立体阴影效果 - 减少扩散范围 |
| 46 | + // 边框和阴影效果 |
| 47 | + border: 1px solid rgba(148, 163, 184, 0.2); |
46 | 48 | box-shadow: |
47 | | - 0 4px 16px rgba(30, 58, 138, 0.2), |
48 | | - 0 2px 8px rgba(30, 58, 138, 0.15), |
49 | | - inset 0 1px 0 rgba(255, 255, 255, 0.1), |
50 | | - inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
| 49 | + 0 2px 8px rgba(0, 0, 0, 0.06), |
| 50 | + 0 1px 3px rgba(0, 0, 0, 0.1), |
| 51 | + inset 0 1px 0 rgba(255, 255, 255, 0.8); |
51 | 52 |
|
52 | 53 | // hover浮动效果 |
53 | 54 | &:hover { |
54 | | - transform: translateY(-4px) scale(1.02); |
| 55 | + transform: translateY(-2px); |
| 56 | + background: linear-gradient(135deg, |
| 57 | + #ffffff 0%, // 纯白 |
| 58 | + #f1f5f9 50%, // 极浅灰 |
| 59 | + #e2e8f0 100% // 浅灰 |
| 60 | + ); |
| 61 | + border-color: rgba(59, 130, 246, 0.3); |
55 | 62 | box-shadow: |
56 | | - 0 8px 24px rgba(30, 58, 138, 0.3), |
57 | | - 0 4px 12px rgba(30, 58, 138, 0.25), |
58 | | - 0 2px 6px rgba(30, 58, 138, 0.2), |
59 | | - inset 0 1px 0 rgba(255, 255, 255, 0.15), |
60 | | - inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
| 63 | + 0 4px 16px rgba(0, 0, 0, 0.1), |
| 64 | + 0 2px 8px rgba(0, 0, 0, 0.08), |
| 65 | + inset 0 1px 0 rgba(255, 255, 255, 0.9); |
61 | 66 |
|
62 | 67 | .logo-background { |
63 | | - transform: scale(1.1) rotate(3deg); |
64 | | - box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); |
| 68 | + transform: scale(1.05); |
| 69 | + background: linear-gradient(135deg, |
| 70 | + rgba(59, 130, 246, 0.1) 0%, |
| 71 | + rgba(59, 130, 246, 0.05) 100% |
| 72 | + ); |
| 73 | + border-color: rgba(59, 130, 246, 0.2); |
65 | 74 | } |
66 | 75 |
|
67 | 76 | .system-name { |
68 | | - transform: translateX(4px); |
69 | | - text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3); |
| 77 | + transform: translateX(2px); |
| 78 | + color: #1e40af; |
70 | 79 | } |
71 | 80 |
|
72 | 81 | .card-glow { |
73 | | - opacity: 1; |
74 | | - transform: scale(1.1); |
| 82 | + opacity: 0.3; |
| 83 | + background: linear-gradient(135deg, |
| 84 | + rgba(59, 130, 246, 0.1) 0%, |
| 85 | + rgba(147, 197, 253, 0.05) 100% |
| 86 | + ); |
75 | 87 | } |
76 | 88 | } |
77 | 89 |
|
|
95 | 107 | .logo-background { |
96 | 108 | width: 48px; |
97 | 109 | height: 48px; |
98 | | - border-radius: 12px; |
| 110 | + border-radius: 10px; |
99 | 111 | background: linear-gradient(135deg, |
100 | | - rgba(255, 255, 255, 0.2) 0%, |
101 | | - rgba(255, 255, 255, 0.1) 50%, |
102 | | - rgba(255, 255, 255, 0.05) 100% |
| 112 | + rgba(255, 255, 255, 0.8) 0%, |
| 113 | + rgba(248, 250, 252, 0.6) 50%, |
| 114 | + rgba(241, 245, 249, 0.4) 100% |
103 | 115 | ); |
104 | | - backdrop-filter: blur(10px); |
105 | | - border: 1px solid rgba(255, 255, 255, 0.1); |
| 116 | + border: 1px solid rgba(148, 163, 184, 0.3); |
106 | 117 | display: flex; |
107 | 118 | align-items: center; |
108 | 119 | justify-content: center; |
109 | 120 | transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); |
110 | 121 | box-shadow: |
111 | | - 0 4px 12px rgba(0, 0, 0, 0.15), |
112 | | - inset 0 1px 0 rgba(255, 255, 255, 0.2); |
| 122 | + 0 2px 6px rgba(0, 0, 0, 0.08), |
| 123 | + inset 0 1px 0 rgba(255, 255, 255, 0.9); |
113 | 124 | } |
114 | 125 |
|
115 | 126 | // logo图片 |
|
129 | 140 | align-items: center; |
130 | 141 | position: relative; |
131 | 142 | z-index: 1; |
132 | | - font-weight: 700; |
133 | | - font-size: 18px; |
134 | | - text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); |
135 | | - letter-spacing: 0.5px; |
| 143 | + font-weight: 600; |
| 144 | + font-size: 16px; |
| 145 | + letter-spacing: 0.3px; |
136 | 146 | } |
137 | 147 |
|
138 | 148 | // 发光效果 |
|
142 | 152 | left: -2px; |
143 | 153 | right: -2px; |
144 | 154 | bottom: -2px; |
145 | | - border-radius: 18px; |
| 155 | + border-radius: 14px; |
146 | 156 | background: linear-gradient(135deg, |
147 | | - rgba(99, 102, 241, 0.3) 0%, |
148 | | - rgba(67, 56, 202, 0.2) 50%, |
149 | | - rgba(99, 102, 241, 0.3) 100% |
| 157 | + rgba(59, 130, 246, 0.1) 0%, |
| 158 | + rgba(147, 197, 253, 0.05) 50%, |
| 159 | + rgba(59, 130, 246, 0.1) 100% |
150 | 160 | ); |
151 | 161 | opacity: 0; |
152 | | - transition: all 0.4s ease; |
| 162 | + transition: all 0.3s ease; |
153 | 163 | z-index: 0; |
154 | | - filter: blur(8px); |
| 164 | + filter: blur(4px); |
155 | 165 | } |
156 | 166 | } |
157 | 167 |
|
|
0 commit comments