@yesdgq/claude-buddy 1.1.1018 → 1.1.2000

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -208,16 +208,20 @@ code {
208
208
  }
209
209
 
210
210
  /* Entrance animations for cards */
211
- .auth-card {
211
+ div:not(.auth-list-ready) > .auth-card {
212
212
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
213
213
  }
214
214
 
215
215
  /* 卡片交错延迟 - 向上滑动效果,间隔更大 */
216
- .auth-card:nth-child(1) { animation-delay: 0ms; }
217
- .auth-card:nth-child(2) { animation-delay: 150ms; }
218
- .auth-card:nth-child(3) { animation-delay: 300ms; }
219
- .auth-card:nth-child(4) { animation-delay: 450ms; }
220
- .auth-card:nth-child(5) { animation-delay: 600ms; }
216
+ div:not(.auth-list-ready) > .auth-card:nth-child(1) { animation-delay: 0ms; }
217
+ div:not(.auth-list-ready) > .auth-card:nth-child(2) { animation-delay: 150ms; }
218
+ div:not(.auth-list-ready) > .auth-card:nth-child(3) { animation-delay: 300ms; }
219
+ div:not(.auth-list-ready) > .auth-card:nth-child(4) { animation-delay: 450ms; }
220
+ div:not(.auth-list-ready) > .auth-card:nth-child(5) { animation-delay: 600ms; }
221
+
222
+ .auth-list-ready > .auth-card {
223
+ animation: none;
224
+ }
221
225
 
222
226
  /* Fade animation */
223
227
  /* ============================================
@@ -835,10 +839,11 @@ code {
835
839
  position: relative;
836
840
  padding-left: 3.5rem;
837
841
  transition: all var(--duration-normal) var(--ease-out-quart);
842
+ will-change: transform;
838
843
  }
839
844
 
840
845
  /* 卡片悬停效果 */
841
- .auth-card:hover {
846
+ .auth-card:hover:not(.auth-card-shift-up):not(.auth-card-shift-down):not(.auth-card-dragging) {
842
847
  border-color: var(--accent-primary);
843
848
  box-shadow: var(--shadow-lg);
844
849
  transform: translateY(-2px);
@@ -860,6 +865,9 @@ code {
860
865
  .auth-card-dragging {
861
866
  opacity: 0.5;
862
867
  cursor: grabbing;
868
+ z-index: 10;
869
+ transform: translateY(var(--drag-follow-offset, 0px));
870
+ transition: opacity var(--duration-fast);
863
871
  }
864
872
 
865
873
  .auth-card-drag-over {
@@ -868,6 +876,12 @@ code {
868
876
  box-shadow: var(--shadow-glow-blue);
869
877
  }
870
878
 
879
+ .auth-card-shift-up,
880
+ .auth-card-shift-down {
881
+ transform: translateY(var(--drag-shift-offset));
882
+ transition: transform var(--duration-normal) var(--ease-out-quart), border-color var(--duration-fast), box-shadow var(--duration-fast);
883
+ }
884
+
871
885
  /* Drag handle */
872
886
  .auth-card .drag-handle {
873
887
  position: absolute;
@@ -1242,6 +1256,93 @@ code {
1242
1256
  color: var(--text-primary);
1243
1257
  }
1244
1258
 
1259
+ .auth-card .auth-body .codex-env-section {
1260
+ display: flex;
1261
+ flex-direction: column;
1262
+ gap: var(--space-sm);
1263
+ margin-top: var(--space-sm);
1264
+ margin-bottom: var(--space-md);
1265
+ padding: 12px;
1266
+ background-color: rgba(255, 255, 255, 0.025);
1267
+ border: 1px solid var(--border-subtle);
1268
+ border-radius: var(--radius-md);
1269
+ }
1270
+
1271
+ [data-theme="light"] .auth-card .auth-body .codex-env-section {
1272
+ background-color: rgba(16, 185, 129, 0.075);
1273
+ border-color: rgba(16, 185, 129, 0.18);
1274
+ }
1275
+
1276
+ .auth-card .auth-body .codex-env-section .default-model-row {
1277
+ display: flex;
1278
+ align-items: center;
1279
+ gap: var(--space-md);
1280
+ }
1281
+
1282
+ .auth-card .auth-body .codex-env-section .default-model-header {
1283
+ display: flex;
1284
+ align-items: center;
1285
+ justify-content: space-between;
1286
+ gap: var(--space-sm);
1287
+ }
1288
+
1289
+ .auth-card .auth-body .codex-env-section .default-model-header label,
1290
+ .auth-card .auth-body .codex-env-section .default-model-inline-label {
1291
+ display: flex;
1292
+ align-items: center;
1293
+ gap: 6px;
1294
+ font-size: 0.75rem;
1295
+ font-weight: 600;
1296
+ color: var(--text-secondary);
1297
+ text-transform: uppercase;
1298
+ letter-spacing: 0.05em;
1299
+ }
1300
+
1301
+ .auth-card .auth-body .codex-env-section .default-model-inline-label {
1302
+ flex: 0 0 132px;
1303
+ min-height: 42px;
1304
+ justify-content: flex-start;
1305
+ padding: 0 var(--space-md);
1306
+ color: var(--text-tertiary);
1307
+ white-space: nowrap;
1308
+ background-color: var(--bg-tertiary);
1309
+ border: 1px solid var(--border-subtle);
1310
+ border-radius: var(--radius-md);
1311
+ }
1312
+
1313
+ .auth-card .auth-body .codex-env-section .default-model-header label i {
1314
+ color: var(--accent-primary);
1315
+ }
1316
+
1317
+ .auth-card .auth-body .codex-env-section .default-model-input-wrap {
1318
+ position: relative;
1319
+ flex: 0 1 calc((100% - 132px - var(--space-md)) / 2);
1320
+ min-width: 0;
1321
+ }
1322
+
1323
+ .auth-card .auth-body .codex-env-section input {
1324
+ width: 100%;
1325
+ min-height: 42px;
1326
+ padding: 10px var(--space-md);
1327
+ font-size: 0.875rem;
1328
+ font-family: var(--font-mono);
1329
+ color: var(--text-primary);
1330
+ background-color: var(--bg-tertiary);
1331
+ border: 1px solid var(--border-subtle);
1332
+ border-radius: var(--radius-md);
1333
+ outline: none;
1334
+ transition: all var(--duration-fast);
1335
+ }
1336
+
1337
+ .auth-card .auth-body .codex-env-section input::placeholder {
1338
+ color: var(--text-disabled);
1339
+ }
1340
+
1341
+ .auth-card .auth-body .codex-env-section input:focus {
1342
+ background-color: var(--bg-elevated);
1343
+ border-color: var(--accent-primary);
1344
+ }
1345
+
1245
1346
  /* ============================================
1246
1347
  Model & Env Sections
1247
1348
  ============================================ */
@@ -1463,20 +1564,18 @@ code {
1463
1564
  flex: 1;
1464
1565
  }
1465
1566
 
1466
- /* 右下角悬浮保存按钮 */
1567
+ /* 右下角悬浮按钮 */
1568
+ .fab-add,
1467
1569
  .fab-save {
1468
1570
  position: fixed;
1469
- bottom: var(--space-xl);
1470
1571
  right: var(--space-xl);
1471
1572
  width: 56px;
1472
1573
  height: 56px;
1473
1574
  border-radius: 50%;
1474
1575
  border: none;
1475
- background: linear-gradient(135deg, var(--accent-success) 0%, #34d399 100%);
1476
1576
  color: white;
1477
1577
  font-size: 1.25rem;
1478
1578
  cursor: pointer;
1479
- box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45), 0 8px 24px rgba(16, 185, 129, 0.25);
1480
1579
  transition: all var(--duration-fast) var(--ease-out-quart);
1481
1580
  z-index: 100;
1482
1581
  display: flex;
@@ -1484,11 +1583,32 @@ code {
1484
1583
  justify-content: center;
1485
1584
  }
1486
1585
 
1586
+ .fab-add {
1587
+ bottom: calc(var(--space-xl) + 68px);
1588
+ background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-hover) 100%);
1589
+ box-shadow: 0 4px 16px rgba(14, 165, 233, 0.45), 0 8px 24px rgba(14, 165, 233, 0.25);
1590
+ }
1591
+
1592
+ .fab-save {
1593
+ bottom: var(--space-xl);
1594
+ background: linear-gradient(135deg, var(--accent-success) 0%, #34d399 100%);
1595
+ box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45), 0 8px 24px rgba(16, 185, 129, 0.25);
1596
+ }
1597
+
1598
+ .fab-add:hover,
1487
1599
  .fab-save:hover:not(:disabled) {
1488
1600
  transform: translateY(-3px) scale(1.05);
1601
+ }
1602
+
1603
+ .fab-add:hover {
1604
+ box-shadow: 0 6px 24px rgba(14, 165, 233, 0.6), 0 12px 36px rgba(14, 165, 233, 0.35);
1605
+ }
1606
+
1607
+ .fab-save:hover:not(:disabled) {
1489
1608
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.6), 0 12px 36px rgba(16, 185, 129, 0.35);
1490
1609
  }
1491
1610
 
1611
+ .fab-add:active,
1492
1612
  .fab-save:active:not(:disabled) {
1493
1613
  transform: translateY(0) scale(0.98);
1494
1614
  }
@@ -1499,13 +1619,21 @@ code {
1499
1619
  }
1500
1620
 
1501
1621
  @media (max-width: 768px) {
1622
+ .fab-add,
1502
1623
  .fab-save {
1503
1624
  width: 48px;
1504
1625
  height: 48px;
1505
1626
  font-size: 1.125rem;
1506
- bottom: var(--space-lg);
1507
1627
  right: var(--space-lg);
1508
1628
  }
1629
+
1630
+ .fab-add {
1631
+ bottom: calc(var(--space-lg) + 60px);
1632
+ }
1633
+
1634
+ .fab-save {
1635
+ bottom: var(--space-lg);
1636
+ }
1509
1637
  }
1510
1638
 
1511
1639
  /* ============================================
@@ -1516,6 +1644,21 @@ code {
1516
1644
  padding: 0 var(--space-sm);
1517
1645
  }
1518
1646
 
1647
+ .auth-card .auth-body .codex-env-section .default-model-row {
1648
+ flex-direction: column;
1649
+ align-items: stretch;
1650
+ gap: var(--space-sm);
1651
+ }
1652
+
1653
+ .auth-card .auth-body .codex-env-section .default-model-inline-label {
1654
+ flex-basis: auto;
1655
+ justify-content: flex-start;
1656
+ }
1657
+
1658
+ .auth-card .auth-body .codex-env-section .default-model-input-wrap {
1659
+ flex: 1 1 auto;
1660
+ }
1661
+
1519
1662
  .header-row {
1520
1663
  flex-direction: column;
1521
1664
  align-items: flex-start;