Spaces:
Sleeping
Sleeping
File size: 3,374 Bytes
ceb3821 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | /* Header - 玻璃拟态效果 */
.header {
background: var(--bg-glass);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border-color);
position: sticky;
top: 0;
z-index: 100;
transition: var(--transition);
}
.header-content {
max-width: 1600px;
margin: 0 auto;
padding: 0.75rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.header h1 {
font-size: 1.25rem;
font-weight: 700;
color: var(--text-primary);
display: flex;
align-items: center;
letter-spacing: -0.025em;
}
.header h1 i {
margin-right: 0.5rem;
}
.header-controls {
display: flex;
gap: 1rem;
align-items: center;
}
.status-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: var(--bg-tertiary);
border-radius: var(--radius-full);
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.status-badge i {
color: var(--success-color);
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
font-size: 0.6rem;
}
.status-badge.error i {
color: var(--danger-color);
}
.logout-btn {
padding: 0.5rem 1rem;
background: transparent;
color: var(--text-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
cursor: pointer;
font-size: 0.875rem;
font-weight: 600;
transition: var(--transition);
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.logout-btn:hover {
background: var(--bg-tertiary);
color: var(--danger-color);
border-color: var(--danger-color);
}
.logout-btn:active {
transform: scale(0.98);
}
.logout-btn i {
font-size: 14px;
}
.github-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
padding: 0;
background: transparent;
color: var(--text-secondary);
border: 1px solid var(--border-color);
border-radius: 50%;
cursor: pointer;
font-size: 1.125rem;
transition: var(--transition);
text-decoration: none;
position: relative;
overflow: hidden;
}
.github-link:hover {
background: var(--bg-tertiary);
color: var(--primary-color);
border-color: var(--primary-color);
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.github-link:active {
transform: translateY(0);
}
.github-link i {
transition: transform 0.3s ease;
}
/* KIRO 购买链接 */
.kiro-buy-link {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: linear-gradient(135deg, var(--warning-color) 0%, #f97316 100%);
color: var(--white);
text-decoration: none;
border-radius: 9999px;
font-size: 0.875rem;
font-weight: 600;
transition: var(--transition);
box-shadow: 0 2px 8px var(--warning-30);
}
.kiro-buy-link:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px var(--warning-40);
background: linear-gradient(135deg, #f97316 0%, var(--warning-color) 100%);
}
.kiro-buy-link:active {
transform: translateY(0);
}
.kiro-buy-link i {
font-size: 0.875rem;
}
/* 暗黑主题适配 */
[data-theme="dark"] .header {
background: var(--bg-glass);
}
|