@quilltap/theme-storybook 1.0.78 → 1.0.79
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/index.css +76 -0
- package/package.json +1 -1
- package/src/css/qt-components.css +110 -0
package/dist/index.css
CHANGED
|
@@ -3835,3 +3835,79 @@ body {
|
|
|
3835
3835
|
font-size: 0.75rem;
|
|
3836
3836
|
color: var(--qt-storyteller-meta-fg, var(--color-muted-foreground));
|
|
3837
3837
|
}
|
|
3838
|
+
.qt-intervention {
|
|
3839
|
+
color: var(--qt-intervention-fg, var(--color-foreground));
|
|
3840
|
+
}
|
|
3841
|
+
.qt-intervention-queue {
|
|
3842
|
+
font-weight: 600;
|
|
3843
|
+
color: var(--qt-intervention-queue-fg, var(--color-primary));
|
|
3844
|
+
}
|
|
3845
|
+
.qt-intervention-section {
|
|
3846
|
+
padding: 0.5rem 0.75rem;
|
|
3847
|
+
border: 1px solid var(--qt-intervention-section-border, var(--color-border));
|
|
3848
|
+
border-radius: var(--qt-intervention-section-radius, 0.5rem);
|
|
3849
|
+
}
|
|
3850
|
+
.qt-intervention-section--pinned {
|
|
3851
|
+
border-color: var(--qt-intervention-pinned-border, var(--color-primary));
|
|
3852
|
+
}
|
|
3853
|
+
.qt-intervention-reset {
|
|
3854
|
+
text-decoration: underline;
|
|
3855
|
+
color: var(--qt-intervention-reset-fg, var(--color-primary));
|
|
3856
|
+
cursor: pointer;
|
|
3857
|
+
}
|
|
3858
|
+
.qt-intervention-row {
|
|
3859
|
+
display: block;
|
|
3860
|
+
width: 100%;
|
|
3861
|
+
text-align: left;
|
|
3862
|
+
opacity: 0.75;
|
|
3863
|
+
cursor: pointer;
|
|
3864
|
+
}
|
|
3865
|
+
.qt-intervention-row:hover {
|
|
3866
|
+
opacity: 1;
|
|
3867
|
+
}
|
|
3868
|
+
.qt-intervention-row--winning {
|
|
3869
|
+
opacity: 1;
|
|
3870
|
+
font-weight: 600;
|
|
3871
|
+
outline: 2px solid var(--qt-intervention-winning-outline, var(--color-primary));
|
|
3872
|
+
outline-offset: 1px;
|
|
3873
|
+
}
|
|
3874
|
+
.qt-intervention-effect {
|
|
3875
|
+
padding: 0.375rem 0;
|
|
3876
|
+
border-bottom: 1px solid var(--qt-intervention-section-border, var(--color-border));
|
|
3877
|
+
}
|
|
3878
|
+
.qt-intervention-effect:last-child {
|
|
3879
|
+
border-bottom: none;
|
|
3880
|
+
}
|
|
3881
|
+
.qt-intervention-note {
|
|
3882
|
+
font-size: 0.75rem;
|
|
3883
|
+
font-style: italic;
|
|
3884
|
+
color: var(--qt-intervention-note-fg, var(--color-warning));
|
|
3885
|
+
}
|
|
3886
|
+
.qt-intervention-badge {
|
|
3887
|
+
display: inline-flex;
|
|
3888
|
+
align-items: center;
|
|
3889
|
+
margin-left: 0.25rem;
|
|
3890
|
+
color: var(--qt-intervention-badge-fg, var(--color-muted-foreground));
|
|
3891
|
+
}
|
|
3892
|
+
.qt-intervention-mark {
|
|
3893
|
+
display: inline-block;
|
|
3894
|
+
flex-shrink: 0;
|
|
3895
|
+
color: var(--qt-intervention-badge-fg, var(--color-muted-foreground));
|
|
3896
|
+
}
|
|
3897
|
+
.qt-intervene-toggle {
|
|
3898
|
+
display: inline-flex;
|
|
3899
|
+
align-items: center;
|
|
3900
|
+
justify-content: center;
|
|
3901
|
+
padding: 0.125rem;
|
|
3902
|
+
border-radius: 0.25rem;
|
|
3903
|
+
color: var(--qt-intervene-toggle-fg, var(--color-primary));
|
|
3904
|
+
background: transparent;
|
|
3905
|
+
cursor: pointer;
|
|
3906
|
+
}
|
|
3907
|
+
.qt-intervene-toggle:hover {
|
|
3908
|
+
background-color: var(--qt-intervene-toggle-hover-bg, var(--color-accent));
|
|
3909
|
+
}
|
|
3910
|
+
.qt-intervene-toggle--off {
|
|
3911
|
+
color: var(--qt-intervene-toggle-off-fg, var(--color-muted-foreground));
|
|
3912
|
+
opacity: 0.5;
|
|
3913
|
+
}
|
package/package.json
CHANGED
|
@@ -4756,3 +4756,113 @@
|
|
|
4756
4756
|
font-size: 0.75rem;
|
|
4757
4757
|
color: var(--qt-storyteller-meta-fg, var(--color-muted-foreground));
|
|
4758
4758
|
}
|
|
4759
|
+
|
|
4760
|
+
/**
|
|
4761
|
+
* Pascal operator intervention — the hold dialog, the Workbench's hand toggles,
|
|
4762
|
+
* and the "adjusted" badge on a Pascal chip.
|
|
4763
|
+
* Mirrors app/styles/qt-components/_intervention.css.
|
|
4764
|
+
*/
|
|
4765
|
+
/* The hold dialog's body. */
|
|
4766
|
+
.qt-intervention {
|
|
4767
|
+
color: var(--qt-intervention-fg, var(--color-foreground));
|
|
4768
|
+
}
|
|
4769
|
+
|
|
4770
|
+
/* "2 more waiting." beside the header line. */
|
|
4771
|
+
.qt-intervention-queue {
|
|
4772
|
+
font-weight: 600;
|
|
4773
|
+
color: var(--qt-intervention-queue-fg, var(--color-primary));
|
|
4774
|
+
}
|
|
4775
|
+
|
|
4776
|
+
/* One part of the run: parameters, roll, consult, outcome… */
|
|
4777
|
+
.qt-intervention-section {
|
|
4778
|
+
padding: 0.5rem 0.75rem;
|
|
4779
|
+
border: 1px solid var(--qt-intervention-section-border, var(--color-border));
|
|
4780
|
+
border-radius: var(--qt-intervention-section-radius, 0.5rem);
|
|
4781
|
+
}
|
|
4782
|
+
|
|
4783
|
+
/* A section the operator has changed. */
|
|
4784
|
+
.qt-intervention-section--pinned {
|
|
4785
|
+
border-color: var(--qt-intervention-pinned-border, var(--color-primary));
|
|
4786
|
+
}
|
|
4787
|
+
|
|
4788
|
+
/* The reset control: unpins the section. */
|
|
4789
|
+
.qt-intervention-reset {
|
|
4790
|
+
text-decoration: underline;
|
|
4791
|
+
color: var(--qt-intervention-reset-fg, var(--color-primary));
|
|
4792
|
+
cursor: pointer;
|
|
4793
|
+
}
|
|
4794
|
+
|
|
4795
|
+
/* One outcome row; click to force it. Wears the .qt-pascal-result accent. */
|
|
4796
|
+
.qt-intervention-row {
|
|
4797
|
+
display: block;
|
|
4798
|
+
width: 100%;
|
|
4799
|
+
text-align: left;
|
|
4800
|
+
opacity: 0.75;
|
|
4801
|
+
cursor: pointer;
|
|
4802
|
+
}
|
|
4803
|
+
|
|
4804
|
+
.qt-intervention-row:hover {
|
|
4805
|
+
opacity: 1;
|
|
4806
|
+
}
|
|
4807
|
+
|
|
4808
|
+
/* The row that wins under the current settings. */
|
|
4809
|
+
.qt-intervention-row--winning {
|
|
4810
|
+
opacity: 1;
|
|
4811
|
+
font-weight: 600;
|
|
4812
|
+
outline: 2px solid var(--qt-intervention-winning-outline, var(--color-primary));
|
|
4813
|
+
outline-offset: 1px;
|
|
4814
|
+
}
|
|
4815
|
+
|
|
4816
|
+
/* One declared effect, with its Auto / On / Off control. */
|
|
4817
|
+
.qt-intervention-effect {
|
|
4818
|
+
padding: 0.375rem 0;
|
|
4819
|
+
border-bottom: 1px solid var(--qt-intervention-section-border, var(--color-border));
|
|
4820
|
+
}
|
|
4821
|
+
|
|
4822
|
+
.qt-intervention-effect:last-child {
|
|
4823
|
+
border-bottom: none;
|
|
4824
|
+
}
|
|
4825
|
+
|
|
4826
|
+
/* An advisory note: a stale answer, a forced row, a clamped parameter. */
|
|
4827
|
+
.qt-intervention-note {
|
|
4828
|
+
font-size: 0.75rem;
|
|
4829
|
+
font-style: italic;
|
|
4830
|
+
color: var(--qt-intervention-note-fg, var(--color-warning));
|
|
4831
|
+
}
|
|
4832
|
+
|
|
4833
|
+
/* The "adjusted" hand beside a Pascal chip's label. */
|
|
4834
|
+
.qt-intervention-badge {
|
|
4835
|
+
display: inline-flex;
|
|
4836
|
+
align-items: center;
|
|
4837
|
+
margin-left: 0.25rem;
|
|
4838
|
+
color: var(--qt-intervention-badge-fg, var(--color-muted-foreground));
|
|
4839
|
+
}
|
|
4840
|
+
|
|
4841
|
+
/* The hand on an intervenable tool in the Workbench library. */
|
|
4842
|
+
.qt-intervention-mark {
|
|
4843
|
+
display: inline-block;
|
|
4844
|
+
flex-shrink: 0;
|
|
4845
|
+
color: var(--qt-intervention-badge-fg, var(--color-muted-foreground));
|
|
4846
|
+
}
|
|
4847
|
+
|
|
4848
|
+
/* The Workbench's per-field hand toggle: shown in the hold dialog, or not. */
|
|
4849
|
+
.qt-intervene-toggle {
|
|
4850
|
+
display: inline-flex;
|
|
4851
|
+
align-items: center;
|
|
4852
|
+
justify-content: center;
|
|
4853
|
+
padding: 0.125rem;
|
|
4854
|
+
border-radius: 0.25rem;
|
|
4855
|
+
color: var(--qt-intervene-toggle-fg, var(--color-primary));
|
|
4856
|
+
background: transparent;
|
|
4857
|
+
cursor: pointer;
|
|
4858
|
+
}
|
|
4859
|
+
|
|
4860
|
+
.qt-intervene-toggle:hover {
|
|
4861
|
+
background-color: var(--qt-intervene-toggle-hover-bg, var(--color-accent));
|
|
4862
|
+
}
|
|
4863
|
+
|
|
4864
|
+
/* A field the author has hidden from the dialog. */
|
|
4865
|
+
.qt-intervene-toggle--off {
|
|
4866
|
+
color: var(--qt-intervene-toggle-off-fg, var(--color-muted-foreground));
|
|
4867
|
+
opacity: 0.5;
|
|
4868
|
+
}
|