pi-studio 0.9.54 → 0.9.56

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/client/studio.css CHANGED
@@ -222,9 +222,30 @@
222
222
  }
223
223
 
224
224
  button {
225
+ -webkit-appearance: none;
226
+ appearance: none;
225
227
  cursor: pointer;
226
228
  }
227
229
 
230
+ .studio-flat-select {
231
+ -webkit-appearance: none;
232
+ appearance: none;
233
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23717a84' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
234
+ background-position: right 8px center !important;
235
+ background-repeat: no-repeat !important;
236
+ background-size: 10px 6px !important;
237
+ padding-right: 26px !important;
238
+ }
239
+
240
+ @media (forced-colors: active) {
241
+ .studio-flat-select {
242
+ -webkit-appearance: auto;
243
+ appearance: auto;
244
+ background-image: none !important;
245
+ padding-right: 10px !important;
246
+ }
247
+ }
248
+
228
249
  button:not(:disabled):hover,
229
250
  select:hover {
230
251
  background: var(--panel-2);
@@ -442,20 +463,52 @@
442
463
  color: var(--accent);
443
464
  }
444
465
 
466
+ .studio-header-select-wrap {
467
+ position: relative;
468
+ display: inline-flex;
469
+ align-items: center;
470
+ min-width: 0;
471
+ }
472
+
473
+ .studio-header-select-wrap::after {
474
+ content: "⌄";
475
+ position: absolute;
476
+ top: 50%;
477
+ right: 4px;
478
+ color: var(--studio-info-text, var(--muted));
479
+ font-size: 14px;
480
+ font-weight: 600;
481
+ line-height: 1;
482
+ pointer-events: none;
483
+ transform: translateY(-58%);
484
+ }
485
+
486
+ .studio-header-select-wrap:hover::after,
487
+ .studio-header-select-wrap:focus-within::after {
488
+ color: var(--text);
489
+ }
490
+
445
491
  .section-header select {
446
492
  font-weight: 600;
447
493
  font-size: 14px;
448
494
  border: none;
449
495
  border-radius: 4px;
450
496
  background: inherit;
497
+ background-image: none;
451
498
  color: inherit;
452
499
  cursor: pointer;
453
- padding: 2px 4px;
500
+ padding: 2px 18px 2px 4px;
454
501
  margin: 0;
455
- -webkit-appearance: menulist;
456
- appearance: menulist;
502
+ -webkit-appearance: none;
503
+ appearance: none;
504
+ }
505
+
506
+ .section-header select:hover,
507
+ .section-header select:focus {
508
+ background-color: var(--studio-header-action-hover-bg, var(--panel-2));
457
509
  }
458
510
 
511
+ body[data-studio-mode="editor-only"] #editorViewSelectWrap,
459
512
  body[data-studio-mode="editor-only"] #editorViewSelect,
460
513
  body[data-studio-mode="editor-only"] #sendRunBtn,
461
514
  body[data-studio-mode="editor-only"] #queueSteerBtn,
@@ -464,7 +517,9 @@
464
517
  body[data-studio-mode="editor-only"] #critiqueBtn,
465
518
  body[data-studio-mode="editor-only"] #showMeBtn,
466
519
  body[data-studio-mode="editor-only"] #showMeResponseBtn,
520
+ body[data-studio-mode="editor-only"] #followSelectWrap,
467
521
  body[data-studio-mode="editor-only"] #followSelect,
522
+ body[data-studio-mode="editor-only"] #responseHighlightSelectWrap,
468
523
  body[data-studio-mode="editor-only"] #responseHighlightSelect,
469
524
  body[data-studio-mode="editor-only"] #pullLatestBtn,
470
525
  body[data-studio-mode="editor-only"] #historyPrevBtn,
@@ -496,6 +551,10 @@
496
551
  font-size: 14px;
497
552
  }
498
553
 
554
+ body[data-watched-file-preview="1"] #leftSectionHeader .section-header-main::before {
555
+ content: "Source (read-only)";
556
+ }
557
+
499
558
  body[data-watched-file-preview="1"] #rightSectionHeader .section-header-main::before {
500
559
  content: "Watched preview";
501
560
  }
@@ -3252,6 +3311,20 @@
3252
3311
  flex: 0 0 auto;
3253
3312
  }
3254
3313
 
3314
+ #responseActions .response-option-select-wrap {
3315
+ width: auto;
3316
+ flex: 0 0 auto;
3317
+ }
3318
+
3319
+ #responseActions .response-option-select-wrap select {
3320
+ width: 100%;
3321
+ min-width: 0;
3322
+ padding-right: 26px;
3323
+ -webkit-appearance: none;
3324
+ appearance: none;
3325
+ background-image: none;
3326
+ }
3327
+
3255
3328
  #critiqueView.git-changes-host {
3256
3329
  flex: 1 1 auto;
3257
3330
  min-height: 0;
@@ -4911,15 +4984,43 @@
4911
4984
  line-height: 1.35;
4912
4985
  }
4913
4986
 
4987
+ .studio-menu-select-wrap {
4988
+ position: relative;
4989
+ display: flex;
4990
+ width: 100%;
4991
+ min-width: 0;
4992
+ }
4993
+
4994
+ .studio-menu-select-wrap::after {
4995
+ content: "⌄";
4996
+ position: absolute;
4997
+ top: 50%;
4998
+ right: 8px;
4999
+ color: var(--studio-info-text, var(--muted));
5000
+ font-size: 14px;
5001
+ font-weight: 600;
5002
+ line-height: 1;
5003
+ pointer-events: none;
5004
+ transform: translateY(-58%);
5005
+ }
5006
+
5007
+ .studio-menu-select-wrap:hover::after,
5008
+ .studio-menu-select-wrap:focus-within::after {
5009
+ color: var(--text);
5010
+ }
5011
+
4914
5012
  .footer-model-menu-field select {
4915
5013
  width: 100%;
4916
5014
  min-width: 0;
4917
5015
  background: var(--panel-2);
5016
+ background-image: none;
4918
5017
  color: var(--text);
4919
5018
  border: 1px solid var(--control-border);
4920
5019
  border-radius: 8px;
4921
- padding: 5px 7px;
5020
+ padding: 5px 24px 5px 7px;
4922
5021
  font: inherit;
5022
+ -webkit-appearance: none;
5023
+ appearance: none;
4923
5024
  }
4924
5025
 
4925
5026
  .footer-model-menu-note {
@@ -5667,6 +5768,10 @@
5667
5768
  font-size: 12px;
5668
5769
  }
5669
5770
 
5771
+ body.studio-ui-refresh #responseActions .response-option-select-wrap select {
5772
+ padding-right: 24px;
5773
+ }
5774
+
5670
5775
 
5671
5776
  body.studio-ui-refresh main {
5672
5777
  gap: 0;
@@ -5832,8 +5937,11 @@
5832
5937
  body.studio-ui-refresh #rightSectionHeader #rightViewSelect {
5833
5938
  font-size: 14px;
5834
5939
  font-weight: 700;
5835
- padding: 3px 5px;
5940
+ padding: 3px 20px 3px 5px;
5836
5941
  max-width: 230px;
5942
+ -webkit-appearance: none;
5943
+ appearance: none;
5944
+ background-image: none;
5837
5945
  }
5838
5946
 
5839
5947
  body.studio-ui-refresh .studio-refresh-static-title {
@@ -5845,6 +5953,34 @@
5845
5953
  white-space: nowrap;
5846
5954
  }
5847
5955
 
5956
+ body.studio-ui-refresh .studio-watched-source-title {
5957
+ padding-right: 1px;
5958
+ }
5959
+
5960
+ body.studio-ui-refresh .studio-watched-source-read-only-badge {
5961
+ display: inline-flex;
5962
+ align-items: center;
5963
+ gap: 5px;
5964
+ min-height: 20px;
5965
+ padding: 1px 4px;
5966
+ border: 0;
5967
+ background: transparent;
5968
+ color: var(--studio-info-text, var(--muted));
5969
+ font-size: 11px;
5970
+ font-weight: 500;
5971
+ line-height: 1.2;
5972
+ white-space: nowrap;
5973
+ }
5974
+
5975
+ body.studio-ui-refresh .studio-watched-source-read-only-badge::before {
5976
+ content: "";
5977
+ width: 5px;
5978
+ height: 5px;
5979
+ border-radius: 999px;
5980
+ background: currentColor;
5981
+ opacity: 0.72;
5982
+ }
5983
+
5848
5984
  body.studio-ui-refresh #leftFocusBtn,
5849
5985
  body.studio-ui-refresh #rightFocusBtn {
5850
5986
  width: 29px;