@sourcegraph/cody-web 0.18.0 → 0.20.0

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.
package/dist/style.css CHANGED
@@ -35,28 +35,32 @@
35
35
  --description-font-size: 0.9em; /* match VS Code quickpick description */
36
36
  }
37
37
 
38
- ._title_1nc1q_5, ._description_1nc1q_5, ._warning_1nc1q_5 {
38
+ ._title_1ibg5_5, ._description_1ibg5_5, ._warning_1ibg5_5 {
39
39
  white-space: nowrap;
40
40
  text-overflow: ellipsis;
41
41
  overflow: hidden;
42
42
  }
43
43
 
44
- ._row_1nc1q_11 {
44
+ ._row_1ibg5_11 {
45
45
  display: flex;
46
46
  align-items: center;
47
47
  gap: 0.35rem;
48
48
  }
49
49
 
50
- ._description_1nc1q_5, ._warning_1nc1q_5 {
50
+ ._row_1ibg5_11:hover {
51
+ color: inherit;
52
+ }
53
+
54
+ ._description_1ibg5_5, ._warning_1ibg5_5 {
51
55
  font-size: var(--description-font-size);
52
56
  opacity: 0.7;
53
57
  }
54
58
 
55
- ._description_1nc1q_5 {
59
+ ._description_1ibg5_5 {
56
60
  flex: 1;
57
61
  }
58
62
 
59
- ._title_1nc1q_5:hover {
63
+ ._title_1ibg5_5:hover {
60
64
  direction: rtl;
61
65
  }
62
66
  ._context-item-mention-node_1eamp_1 {
@@ -211,46 +215,46 @@ html[data-ide=JetBrains] ._template-input-node_14yoh_1 {
211
215
  color: var(--vscode-input-foreground);
212
216
  opacity: 0.5;
213
217
  }
214
- ._outer-container_t0bbj_1 {
215
- background-color: var(--vscode-sideBar-background);
216
- display: flex;
217
- flex-direction: column;
218
- box-sizing: border-box;
219
- height: 100%;
220
- overflow: hidden;
221
- }
222
-
223
- ._error-container_t0bbj_10 {
224
- display: flex;
225
- flex-direction: column-reverse;
226
- gap: 0.5rem;
218
+ ._outer-container_1xpow_1 {
219
+ background-color: var(--vscode-sideBar-background);
220
+ display: flex;
221
+ flex-direction: column;
222
+ box-sizing: border-box;
223
+ height: 100%;
224
+ overflow: hidden;
227
225
  }
228
226
 
229
- ._error_t0bbj_10 {
230
- flex-direction: row;
231
- display: flex;
232
- padding: 1rem;
233
- color: var(--vscode-input-foreground);
234
- background-color: var(--vscode-inputValidation-errorBackground);
235
- min-height: 2rem;
236
- position: relative;
237
- overflow: auto;
238
- align-items: baseline;
227
+ ._error-container_1xpow_10 {
228
+ display: flex;
229
+ flex-direction: column-reverse;
230
+ gap: 0.5rem;
239
231
  }
240
232
 
241
- ._close-btn_t0bbj_28 {
242
- position: absolute;
243
- top: 0.65rem;
244
- right: 0.65rem;
245
- background: none;
246
- border: none;
247
- color: var(--vscode-input-foreground);
248
- cursor: pointer;
233
+ ._error_1xpow_10 {
234
+ flex-direction: row;
235
+ display: flex;
236
+ padding: 1rem;
237
+ color: var(--vscode-input-foreground);
238
+ background-color: var(--vscode-inputValidation-errorBackground);
239
+ min-height: 2rem;
240
+ position: relative;
241
+ overflow: auto;
242
+ align-items: baseline;
243
+ }
244
+
245
+ ._close-btn_1xpow_28 {
246
+ position: absolute;
247
+ top: 0.65rem;
248
+ right: 0.65rem;
249
+ background: none;
250
+ border: none;
251
+ color: var(--vscode-input-foreground);
252
+ cursor: pointer;
249
253
  }
250
254
 
251
255
  /* Undo the UA stylesheet set by vscode */
252
256
  kbd {
253
- all: unset;
257
+ all: unset;
254
258
  }
255
259
  ._path_1dh30_1 {
256
260
  white-space: nowrap;
@@ -960,6 +964,61 @@ body[data-vscode-theme-kind='vscode-light'] ._content_1kf9a_116 pre > code {
960
964
  ._filter_u880r_1 svg {
961
965
  fill: currentColor;
962
966
  }
967
+ ._root_fzfjq_1 {
968
+ container-type: inline-size;
969
+ container-name: root-outer-container;
970
+ }
971
+
972
+ ._results-container_fzfjq_6 {
973
+ max-width: calc(100% - 266px);
974
+ }
975
+
976
+ ._results-container_fzfjq_6._filters-sidebar-hidden_fzfjq_9 {
977
+ max-width: 100%;
978
+ }
979
+
980
+ @container root-outer-container (max-width: 899px) {
981
+ ._filters-sidebar_fzfjq_9,
982
+ ._filters-sidebar-toggle_fzfjq_16 {
983
+ display: none !important;
984
+ }
985
+
986
+ ._container_fzfjq_20 {
987
+ display: block !important;
988
+ }
989
+
990
+ ._results-container_fzfjq_6 {
991
+ max-width: 100% !important;
992
+ }
993
+ }
994
+
995
+ @container root-outer-container (min-width: 900px) {
996
+ ._filters-modal-trigger_fzfjq_30 {
997
+ display: none !important;
998
+ }
999
+ }
1000
+
1001
+ ._filters-sidebar_fzfjq_9 && ._results-container_fzfjq_6 {
1002
+ transition: all 1s ease-in;
1003
+ }
1004
+
1005
+ ._filters-sidebar_fzfjq_9 {
1006
+ background-color: var(--vscode-input-background);
1007
+ }
1008
+
1009
+ ._search-results-header_fzfjq_43 {
1010
+ container-type: inline-size;
1011
+ container-name: search-results-header
1012
+ }
1013
+
1014
+ /*
1015
+ Hide labels for small containers
1016
+ */
1017
+ @container search-results-header (width < 475px) {
1018
+ ._search-results-header__label_fzfjq_52 {
1019
+ display: none;
1020
+ }
1021
+ }
963
1022
  ._context-item_1qxrh_1 {
964
1023
  display: inline-flex;
965
1024
  padding: 2px 4px 2px 2px;
@@ -1479,14 +1538,14 @@ button > ._model-title-with-icon_1bw6t_1 ._badge_1bw6t_35 {
1479
1538
  Root element which only exists to use container query
1480
1539
  for changing header tabs layout.
1481
1540
  */
1482
- ._tabs-root_ild96_10 {
1541
+ ._tabs-root_11pag_10 {
1483
1542
  container-type: inline-size;
1484
1543
  container-name: tabs-container;
1485
1544
  isolation: isolate;
1486
- z-index: 1;
1545
+ z-index: 2;
1487
1546
  }
1488
1547
 
1489
- ._tabs-container_ild96_17 {
1548
+ ._tabs-container_11pag_17 {
1490
1549
  display: flex;
1491
1550
  width: 100%;
1492
1551
  padding: 0;
@@ -1496,7 +1555,7 @@ button > ._model-title-with-icon_1bw6t_1 ._badge_1bw6t_35 {
1496
1555
  background-color: var(--vscode-sideBar-background);
1497
1556
  }
1498
1557
 
1499
- ._tabs_ild96_10 {
1558
+ ._tabs_11pag_10 {
1500
1559
  display: flex;
1501
1560
  flex-shrink: 0;
1502
1561
  gap: 2px;
@@ -1505,27 +1564,27 @@ button > ._model-title-with-icon_1bw6t_1 ._badge_1bw6t_35 {
1505
1564
  border-bottom: 1px solid var(--vscode-dropdown-border);
1506
1565
  }
1507
1566
 
1508
- ._tabs_ild96_10 > * {
1567
+ ._tabs_11pag_10 > * {
1509
1568
  flex-shrink: 0;
1510
1569
  }
1511
1570
 
1512
- ._sub-tabs_ild96_40 {
1571
+ ._sub-tabs_11pag_40 {
1513
1572
  display: flex;
1514
1573
  flex-shrink: 0;
1515
1574
  gap: 8px;
1516
1575
  padding: 0 8px;
1517
1576
  }
1518
1577
 
1519
- ._sub-tabs_ild96_40 > * {
1578
+ ._sub-tabs_11pag_40 > * {
1520
1579
  flex-shrink: 0;
1521
1580
  }
1522
1581
 
1523
- ._sub-tabs_ild96_40 > button,
1524
- ._sub-tabs_ild96_40 > a {
1582
+ ._sub-tabs_11pag_40 > button,
1583
+ ._sub-tabs_11pag_40 > a {
1525
1584
  padding: 8px;
1526
1585
  }
1527
1586
 
1528
- ._tab-action-label_ild96_56 {
1587
+ ._tab-action-label_11pag_56 {
1529
1588
  display: inline;
1530
1589
  }
1531
1590
 
@@ -1537,25 +1596,25 @@ button > ._model-title-with-icon_1bw6t_1 ._badge_1bw6t_35 {
1537
1596
  this override)
1538
1597
  */
1539
1598
  @container tabs-container (width < 575px) {
1540
- ._tabs-root_ild96_10:not(._tabs-root--cody-web_ild96_68) ._tab-action-label_ild96_56 {
1599
+ ._tabs-root_11pag_10:not(._tabs-root--cody-web_11pag_68) ._tab-action-label_11pag_56 {
1541
1600
  display: none;
1542
1601
  }
1543
1602
  }
1544
1603
 
1545
1604
  /* Special override for Cody Web tabs */
1546
1605
  @container tabs-container (width < 375px) {
1547
- ._tabs-root--cody-web_ild96_68 ._tab-action-label_ild96_56 {
1606
+ ._tabs-root--cody-web_11pag_68 ._tab-action-label_11pag_56 {
1548
1607
  display: none;
1549
1608
  }
1550
1609
  }
1551
1610
 
1552
- ._dialog-overlay_ild96_1 {
1611
+ ._dialog-overlay_11pag_1 {
1553
1612
  inset: 0;
1554
1613
  position: fixed;
1555
1614
  background-color: var(--vscode-overlay-background);
1556
1615
  }
1557
1616
 
1558
- ._dialog-content_ild96_1 {
1617
+ ._dialog-content_11pag_1 {
1559
1618
  width: 90vw;
1560
1619
  max-width: 450px;
1561
1620
  max-height: 85vh;
@@ -1571,23 +1630,23 @@ button > ._model-title-with-icon_1bw6t_1 ._badge_1bw6t_35 {
1571
1630
  hsl(206deg 22% 7% / 20%) 0 10px 20px -15px;
1572
1631
  }
1573
1632
 
1574
- ._dialog-content_ild96_1:focus {
1633
+ ._dialog-content_11pag_1:focus {
1575
1634
  outline: none;
1576
1635
  }
1577
1636
 
1578
- ._dialog-title_ild96_1 {
1637
+ ._dialog-title_11pag_1 {
1579
1638
  margin: 0;
1580
1639
  font-weight: 500;
1581
1640
  font-size: 17px;
1582
1641
  }
1583
1642
 
1584
- ._dialog-description_ild96_1 {
1643
+ ._dialog-description_11pag_1 {
1585
1644
  margin: 10px 0 20px;
1586
1645
  font-size: 15px;
1587
1646
  line-height: 1.5;
1588
1647
  }
1589
1648
 
1590
- ._dialog-footer_ild96_1 {
1649
+ ._dialog-footer_11pag_1 {
1591
1650
  margin-top: 1.5rem;
1592
1651
  width: 100%;
1593
1652
  display: flex;
@@ -2281,6 +2340,9 @@ imported in Sourcegraph shell.
2281
2340
  .tw-top-2 {
2282
2341
  top: 4px;
2283
2342
  }
2343
+ .tw-top-3 {
2344
+ top: 6px;
2345
+ }
2284
2346
  .tw-top-\[0px\] {
2285
2347
  top: 0px;
2286
2348
  }
@@ -2306,24 +2368,18 @@ imported in Sourcegraph shell.
2306
2368
  margin-left: 4px;
2307
2369
  margin-right: 4px;
2308
2370
  }
2309
- .tw-mx-4 {
2310
- margin-left: 8px;
2311
- margin-right: 8px;
2312
- }
2313
2371
  .tw-my-2 {
2314
2372
  margin-top: 4px;
2315
2373
  margin-bottom: 4px;
2316
2374
  }
2375
+ .tw-my-20 {
2376
+ margin-top: 40px;
2377
+ margin-bottom: 40px;
2378
+ }
2317
2379
  .tw-my-4 {
2318
2380
  margin-top: 8px;
2319
2381
  margin-bottom: 8px;
2320
2382
  }
2321
- .tw--ml-2 {
2322
- margin-left: -4px;
2323
- }
2324
- .tw--mr-2 {
2325
- margin-right: -4px;
2326
- }
2327
2383
  .tw-mb-10 {
2328
2384
  margin-bottom: 20px;
2329
2385
  }
@@ -2354,9 +2410,6 @@ imported in Sourcegraph shell.
2354
2410
  .tw-ml-4 {
2355
2411
  margin-left: 8px;
2356
2412
  }
2357
- .tw-ml-8 {
2358
- margin-left: 16px;
2359
- }
2360
2413
  .tw-ml-auto {
2361
2414
  margin-left: auto;
2362
2415
  }
@@ -2375,6 +2428,9 @@ imported in Sourcegraph shell.
2375
2428
  .tw-mt-0\.5 {
2376
2429
  margin-top: 0.125rem;
2377
2430
  }
2431
+ .tw-mt-1 {
2432
+ margin-top: 2px;
2433
+ }
2378
2434
  .tw-mt-2 {
2379
2435
  margin-top: 4px;
2380
2436
  }
@@ -2484,9 +2540,6 @@ imported in Sourcegraph shell.
2484
2540
  .tw-w-4 {
2485
2541
  width: 8px;
2486
2542
  }
2487
- .tw-w-48 {
2488
- width: 12rem;
2489
- }
2490
2543
  .tw-w-72 {
2491
2544
  width: 18rem;
2492
2545
  }
@@ -2508,8 +2561,8 @@ imported in Sourcegraph shell.
2508
2561
  .tw-w-\[20px\] {
2509
2562
  width: 20px;
2510
2563
  }
2511
- .tw-w-\[225px\] {
2512
- width: 225px;
2564
+ .tw-w-\[240px\] {
2565
+ width: 240px;
2513
2566
  }
2514
2567
  .tw-w-\[250px\] {
2515
2568
  width: 250px;
@@ -2541,6 +2594,9 @@ imported in Sourcegraph shell.
2541
2594
  .tw-min-w-\[1\.5em\] {
2542
2595
  min-width: 1.5em;
2543
2596
  }
2597
+ .tw-min-w-\[250px\] {
2598
+ min-width: 250px;
2599
+ }
2544
2600
  .tw-min-w-\[325px\] {
2545
2601
  min-width: 325px;
2546
2602
  }
@@ -2625,6 +2681,9 @@ imported in Sourcegraph shell.
2625
2681
  .tw-grid-cols-5 {
2626
2682
  grid-template-columns: repeat(5, minmax(0, 1fr));
2627
2683
  }
2684
+ .tw-flex-row {
2685
+ flex-direction: row;
2686
+ }
2628
2687
  .tw-flex-col {
2629
2688
  flex-direction: column;
2630
2689
  }
@@ -2652,9 +2711,6 @@ imported in Sourcegraph shell.
2652
2711
  .tw-items-stretch {
2653
2712
  align-items: stretch;
2654
2713
  }
2655
- .\!tw-justify-start {
2656
- justify-content: flex-start !important;
2657
- }
2658
2714
  .tw-justify-start {
2659
2715
  justify-content: flex-start;
2660
2716
  }
@@ -2664,6 +2720,9 @@ imported in Sourcegraph shell.
2664
2720
  .tw-justify-center {
2665
2721
  justify-content: center;
2666
2722
  }
2723
+ .\!tw-justify-between {
2724
+ justify-content: space-between !important;
2725
+ }
2667
2726
  .tw-justify-between {
2668
2727
  justify-content: space-between;
2669
2728
  }
@@ -2972,6 +3031,10 @@ imported in Sourcegraph shell.
2972
3031
  padding-left: 16px !important;
2973
3032
  padding-right: 16px !important;
2974
3033
  }
3034
+ .\!tw-py-1 {
3035
+ padding-top: 2px !important;
3036
+ padding-bottom: 2px !important;
3037
+ }
2975
3038
  .tw-px-0 {
2976
3039
  padding-left: 0px;
2977
3040
  padding-right: 0px;
@@ -3039,15 +3102,15 @@ imported in Sourcegraph shell.
3039
3102
  .tw-pb-12 {
3040
3103
  padding-bottom: 24px;
3041
3104
  }
3042
- .tw-pb-2 {
3043
- padding-bottom: 4px;
3044
- }
3045
3105
  .tw-pb-6 {
3046
3106
  padding-bottom: 12px;
3047
3107
  }
3048
3108
  .tw-pl-5 {
3049
3109
  padding-left: 10px;
3050
3110
  }
3111
+ .tw-pl-6 {
3112
+ padding-left: 12px;
3113
+ }
3051
3114
  .tw-pr-4 {
3052
3115
  padding-right: 8px;
3053
3116
  }
@@ -3599,6 +3662,9 @@ imported in Sourcegraph shell.
3599
3662
  .hover\:\!tw-bg-button-secondary-background-hover:hover {
3600
3663
  background-color: var(--vscode-button-secondaryHoverBackground) !important;
3601
3664
  }
3665
+ .hover\:\!tw-bg-transparent:hover {
3666
+ background-color: transparent !important;
3667
+ }
3602
3668
  .hover\:tw-bg-accent:hover {
3603
3669
  background-color: var(--vscode-list-activeSelectionBackground);
3604
3670
  }