|
60 | 60 | .panel:hover { transform: none; box-shadow: none; } |
61 | 61 | .panel::before { display: none; } |
62 | 62 |
|
63 | | -.panel-grid, .directory-grid, .detail-layout, .spotlight-grid, .quickstart-grid, .directory-links { |
| 63 | +.panel-grid, .directory-grid, .agent-grid, .detail-layout, .spotlight-grid, .quickstart-grid, .directory-links { |
64 | 64 | display: grid; |
65 | 65 | gap: 10px; |
66 | 66 | align-items: stretch; |
67 | 67 | } |
68 | 68 |
|
69 | 69 | .panel-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } |
70 | 70 | .quickstart-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } |
| 71 | + |
| 72 | +/* ---- Quick start terminal panel ---- */ |
| 73 | + |
| 74 | +.qs-panel { |
| 75 | + border-radius: var(--r3); |
| 76 | + overflow: hidden; |
| 77 | + background: #0d1117; |
| 78 | + border: 1px solid rgba(255,255,255,0.08); |
| 79 | + box-shadow: |
| 80 | + 0 8px 32px rgba(0,0,0,0.25), |
| 81 | + 0 2px 8px rgba(0,0,0,0.15), |
| 82 | + inset 0 1px 0 rgba(255,255,255,0.04); |
| 83 | +} |
| 84 | + |
| 85 | +.qs-panel-header { |
| 86 | + display: flex; |
| 87 | + align-items: center; |
| 88 | + gap: 6px; |
| 89 | + padding: 10px 16px; |
| 90 | + background: rgba(255,255,255,0.04); |
| 91 | + border-bottom: 1px solid rgba(255,255,255,0.06); |
| 92 | +} |
| 93 | + |
| 94 | +.qs-dot { |
| 95 | + width: 10px; |
| 96 | + height: 10px; |
| 97 | + border-radius: 50%; |
| 98 | + flex-shrink: 0; |
| 99 | +} |
| 100 | + |
| 101 | +.qs-panel-title { |
| 102 | + margin-left: auto; |
| 103 | + margin-right: auto; |
| 104 | + font-size: 11px; |
| 105 | + color: rgba(255,255,255,0.3); |
| 106 | + font-family: "JetBrains Mono", monospace; |
| 107 | + letter-spacing: 0.02em; |
| 108 | +} |
| 109 | + |
| 110 | +.qs-panel-body { |
| 111 | + padding: 8px 0; |
| 112 | +} |
| 113 | + |
| 114 | +.qs-row { |
| 115 | + display: grid; |
| 116 | + grid-template-columns: 40px 1fr auto; |
| 117 | + align-items: center; |
| 118 | + gap: 0 8px; |
| 119 | + padding: 8px 20px; |
| 120 | + transition: background 150ms ease; |
| 121 | +} |
| 122 | + |
| 123 | +.qs-row:hover { |
| 124 | + background: rgba(99,102,241,0.06); |
| 125 | +} |
| 126 | + |
| 127 | +.qs-index { |
| 128 | + display: grid; |
| 129 | + place-items: center; |
| 130 | + width: 24px; |
| 131 | + height: 24px; |
| 132 | + border-radius: 6px; |
| 133 | + background: rgba(99,102,241,0.15); |
| 134 | + color: #a5b4fc; |
| 135 | + font-size: 11px; |
| 136 | + font-weight: 700; |
| 137 | + font-family: "JetBrains Mono", monospace; |
| 138 | + font-variant-numeric: tabular-nums; |
| 139 | +} |
| 140 | + |
| 141 | +.qs-row.is-first .qs-index { |
| 142 | + background: var(--accent); |
| 143 | + color: #fff; |
| 144 | + box-shadow: 0 0 12px rgba(99,102,241,0.4); |
| 145 | +} |
| 146 | + |
| 147 | +.qs-content { |
| 148 | + display: flex; |
| 149 | + align-items: center; |
| 150 | + gap: 10px; |
| 151 | + min-width: 0; |
| 152 | +} |
| 153 | + |
| 154 | +.qs-label { |
| 155 | + flex-shrink: 0; |
| 156 | + min-width: 56px; |
| 157 | + font-size: 12px; |
| 158 | + font-weight: 600; |
| 159 | + color: #a5b4fc; |
| 160 | + text-transform: uppercase; |
| 161 | + letter-spacing: 0.06em; |
| 162 | +} |
| 163 | + |
| 164 | +.qs-cmd { |
| 165 | + flex: 1; |
| 166 | + min-width: 0; |
| 167 | + padding: 6px 12px; |
| 168 | + border-radius: var(--r); |
| 169 | + background: rgba(255,255,255,0.04); |
| 170 | + border: 1px solid rgba(255,255,255,0.06); |
| 171 | + color: #e6edf3; |
| 172 | + font-family: "JetBrains Mono", monospace; |
| 173 | + font-size: 12.5px; |
| 174 | + line-height: 1.4; |
| 175 | + white-space: nowrap; |
| 176 | + overflow: hidden; |
| 177 | + text-overflow: ellipsis; |
| 178 | + transition: border-color 150ms, background 150ms; |
| 179 | +} |
| 180 | + |
| 181 | +.qs-row:hover .qs-cmd { |
| 182 | + border-color: rgba(99,102,241,0.25); |
| 183 | + background: rgba(255,255,255,0.06); |
| 184 | +} |
| 185 | + |
| 186 | +.qs-copy { |
| 187 | + display: grid; |
| 188 | + place-items: center; |
| 189 | + width: 28px; |
| 190 | + height: 28px; |
| 191 | + border-radius: var(--r); |
| 192 | + border: 1px solid rgba(255,255,255,0.08); |
| 193 | + background: transparent; |
| 194 | + color: rgba(255,255,255,0.3); |
| 195 | + cursor: pointer; |
| 196 | + transition: all 150ms; |
| 197 | + flex-shrink: 0; |
| 198 | +} |
| 199 | + |
| 200 | +.qs-copy:hover { |
| 201 | + color: #a5b4fc; |
| 202 | + border-color: rgba(99,102,241,0.3); |
| 203 | + background: rgba(99,102,241,0.1); |
| 204 | +} |
| 205 | + |
| 206 | +.qs-hint { |
| 207 | + grid-column: 2 / -1; |
| 208 | + padding: 2px 0 0; |
| 209 | + font-size: 11px; |
| 210 | + color: rgba(255,255,255,0.25); |
| 211 | + line-height: 1.4; |
| 212 | +} |
71 | 213 | .directory-grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); } |
72 | | -.agent-grid { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); } |
| 214 | +.agent-grid { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); } |
73 | 215 |
|
74 | 216 | body.page-agents .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } |
| 217 | +body.page-home .agent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } |
75 | 218 | body.page-skills #listing-grid, |
76 | 219 | body.page-categories .panel #listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } |
77 | 220 |
|
|
0 commit comments