pi-studio 0.11.6 → 0.11.8

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
@@ -4828,6 +4828,57 @@
4828
4828
  line-height: 1.35;
4829
4829
  }
4830
4830
 
4831
+ .repl-quick-sender {
4832
+ display: inline-flex;
4833
+ align-items: center;
4834
+ gap: 2px;
4835
+ min-width: 0;
4836
+ white-space: nowrap;
4837
+ }
4838
+
4839
+ .repl-quick-sender strong {
4840
+ min-width: 0;
4841
+ max-width: 28ch;
4842
+ margin-left: 4px;
4843
+ overflow: hidden;
4844
+ color: var(--text);
4845
+ font-weight: 600;
4846
+ text-overflow: ellipsis;
4847
+ }
4848
+
4849
+ .repl-quick-sender-edit {
4850
+ min-height: 0;
4851
+ padding: 0 4px;
4852
+ border-color: transparent;
4853
+ border-radius: 5px;
4854
+ background: transparent;
4855
+ color: var(--muted);
4856
+ font-size: 12px;
4857
+ line-height: 1.35;
4858
+ }
4859
+
4860
+ .repl-quick-sender-edit:not(:disabled):hover,
4861
+ .repl-quick-sender-edit:focus-visible {
4862
+ border-color: transparent;
4863
+ background: var(--studio-header-action-hover-bg, var(--panel-2));
4864
+ color: var(--text);
4865
+ }
4866
+
4867
+ /* As the new layout's other text fields (Quick send's box, Files' path): a border, no ring. */
4868
+ .repl-quick-sender input {
4869
+ width: 18ch;
4870
+ min-height: 0;
4871
+ margin-left: 4px;
4872
+ padding: 2px 6px;
4873
+ border: 1px solid var(--control-border);
4874
+ border-radius: 6px;
4875
+ background: var(--panel);
4876
+ color: var(--text);
4877
+ font: inherit;
4878
+ font-weight: 600;
4879
+ outline: none;
4880
+ }
4881
+
4831
4882
  .repl-quick-send-btn {
4832
4883
  border-color: color-mix(in srgb, var(--accent) 58%, var(--control-border));
4833
4884
  background: color-mix(in srgb, var(--accent) 14%, var(--panel));
@@ -4952,7 +5003,8 @@
4952
5003
 
4953
5004
  .repl-studio-entry {
4954
5005
  position: relative;
4955
- padding: 2px 8.5em 6px 0;
5006
+ /* Room for who sent it, such as "Oliver · via Pi Studio" (the meta's 12em at 11px). */
5007
+ padding: 2px calc(12 * 11px + 10px) 6px 0;
4956
5008
  background: transparent;
4957
5009
  }
4958
5010
 
@@ -4968,7 +5020,7 @@
4968
5020
  position: absolute;
4969
5021
  top: 3px;
4970
5022
  right: 0;
4971
- max-width: 8.1em;
5023
+ max-width: 12em;
4972
5024
  overflow: hidden;
4973
5025
  text-overflow: ellipsis;
4974
5026
  white-space: nowrap;
@@ -7785,6 +7837,14 @@
7785
7837
  box-shadow: none;
7786
7838
  border-color: var(--control-border);
7787
7839
  }
7840
+ /* Start cmd stays plain like the selects beside it, and in use looks like the other text fields: a border, no ring. */
7841
+ body.studio-workspace-layout .repl-command-label input { border: 1px solid transparent; border-radius: 6px; font-family: inherit; font-weight: 400; }
7842
+ body.studio-workspace-layout .repl-command-label input:focus {
7843
+ outline: none;
7844
+ box-shadow: none;
7845
+ border-color: var(--control-border);
7846
+ background: var(--panel);
7847
+ }
7788
7848
 
7789
7849
  /* Oliver, 10 Oct: the side thread's model and Thinking sit beside its Ask button. */
7790
7850
  body.studio-workspace-layout .side-question-actions { align-items: center; }