@quilltap/theme-storybook 1.0.78 → 1.0.80
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 +105 -0
- package/package.json +1 -1
- package/src/css/qt-components.css +145 -0
package/dist/index.css
CHANGED
|
@@ -3763,6 +3763,11 @@ body {
|
|
|
3763
3763
|
font-size: 0.8125rem;
|
|
3764
3764
|
font-weight: 600;
|
|
3765
3765
|
}
|
|
3766
|
+
.qt-storyteller-board-tools {
|
|
3767
|
+
display: flex;
|
|
3768
|
+
align-items: center;
|
|
3769
|
+
gap: 0.25rem;
|
|
3770
|
+
}
|
|
3766
3771
|
.qt-storyteller-cards {
|
|
3767
3772
|
display: grid;
|
|
3768
3773
|
grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
|
|
@@ -3794,6 +3799,30 @@ body {
|
|
|
3794
3799
|
.qt-storyteller-card-quiet {
|
|
3795
3800
|
opacity: 0.65;
|
|
3796
3801
|
}
|
|
3802
|
+
.qt-storyteller-card-draggable {
|
|
3803
|
+
cursor: grab;
|
|
3804
|
+
}
|
|
3805
|
+
.qt-storyteller-card-dragging {
|
|
3806
|
+
position: relative;
|
|
3807
|
+
z-index: 10;
|
|
3808
|
+
cursor: grabbing;
|
|
3809
|
+
opacity: 0.85;
|
|
3810
|
+
box-shadow: var(--qt-storyteller-card-dragging-shadow, 0 4px 12px rgb(0 0 0 / 0.25));
|
|
3811
|
+
}
|
|
3812
|
+
.qt-storyteller-card-order {
|
|
3813
|
+
display: inline-flex;
|
|
3814
|
+
align-items: center;
|
|
3815
|
+
justify-content: center;
|
|
3816
|
+
flex-shrink: 0;
|
|
3817
|
+
min-width: 1.25rem;
|
|
3818
|
+
height: 1.25rem;
|
|
3819
|
+
padding: 0 0.25rem;
|
|
3820
|
+
border-radius: 9999px;
|
|
3821
|
+
font-size: 0.6875rem;
|
|
3822
|
+
font-weight: 700;
|
|
3823
|
+
background: var(--qt-storyteller-card-order-bg, var(--color-primary));
|
|
3824
|
+
color: var(--qt-storyteller-card-order-fg, var(--color-primary-foreground));
|
|
3825
|
+
}
|
|
3797
3826
|
.qt-storyteller-card-head {
|
|
3798
3827
|
display: flex;
|
|
3799
3828
|
align-items: center;
|
|
@@ -3835,3 +3864,79 @@ body {
|
|
|
3835
3864
|
font-size: 0.75rem;
|
|
3836
3865
|
color: var(--qt-storyteller-meta-fg, var(--color-muted-foreground));
|
|
3837
3866
|
}
|
|
3867
|
+
.qt-intervention {
|
|
3868
|
+
color: var(--qt-intervention-fg, var(--color-foreground));
|
|
3869
|
+
}
|
|
3870
|
+
.qt-intervention-queue {
|
|
3871
|
+
font-weight: 600;
|
|
3872
|
+
color: var(--qt-intervention-queue-fg, var(--color-primary));
|
|
3873
|
+
}
|
|
3874
|
+
.qt-intervention-section {
|
|
3875
|
+
padding: 0.5rem 0.75rem;
|
|
3876
|
+
border: 1px solid var(--qt-intervention-section-border, var(--color-border));
|
|
3877
|
+
border-radius: var(--qt-intervention-section-radius, 0.5rem);
|
|
3878
|
+
}
|
|
3879
|
+
.qt-intervention-section--pinned {
|
|
3880
|
+
border-color: var(--qt-intervention-pinned-border, var(--color-primary));
|
|
3881
|
+
}
|
|
3882
|
+
.qt-intervention-reset {
|
|
3883
|
+
text-decoration: underline;
|
|
3884
|
+
color: var(--qt-intervention-reset-fg, var(--color-primary));
|
|
3885
|
+
cursor: pointer;
|
|
3886
|
+
}
|
|
3887
|
+
.qt-intervention-row {
|
|
3888
|
+
display: block;
|
|
3889
|
+
width: 100%;
|
|
3890
|
+
text-align: left;
|
|
3891
|
+
opacity: 0.75;
|
|
3892
|
+
cursor: pointer;
|
|
3893
|
+
}
|
|
3894
|
+
.qt-intervention-row:hover {
|
|
3895
|
+
opacity: 1;
|
|
3896
|
+
}
|
|
3897
|
+
.qt-intervention-row--winning {
|
|
3898
|
+
opacity: 1;
|
|
3899
|
+
font-weight: 600;
|
|
3900
|
+
outline: 2px solid var(--qt-intervention-winning-outline, var(--color-primary));
|
|
3901
|
+
outline-offset: 1px;
|
|
3902
|
+
}
|
|
3903
|
+
.qt-intervention-effect {
|
|
3904
|
+
padding: 0.375rem 0;
|
|
3905
|
+
border-bottom: 1px solid var(--qt-intervention-section-border, var(--color-border));
|
|
3906
|
+
}
|
|
3907
|
+
.qt-intervention-effect:last-child {
|
|
3908
|
+
border-bottom: none;
|
|
3909
|
+
}
|
|
3910
|
+
.qt-intervention-note {
|
|
3911
|
+
font-size: 0.75rem;
|
|
3912
|
+
font-style: italic;
|
|
3913
|
+
color: var(--qt-intervention-note-fg, var(--color-warning));
|
|
3914
|
+
}
|
|
3915
|
+
.qt-intervention-badge {
|
|
3916
|
+
display: inline-flex;
|
|
3917
|
+
align-items: center;
|
|
3918
|
+
margin-left: 0.25rem;
|
|
3919
|
+
color: var(--qt-intervention-badge-fg, var(--color-muted-foreground));
|
|
3920
|
+
}
|
|
3921
|
+
.qt-intervention-mark {
|
|
3922
|
+
display: inline-block;
|
|
3923
|
+
flex-shrink: 0;
|
|
3924
|
+
color: var(--qt-intervention-badge-fg, var(--color-muted-foreground));
|
|
3925
|
+
}
|
|
3926
|
+
.qt-intervene-toggle {
|
|
3927
|
+
display: inline-flex;
|
|
3928
|
+
align-items: center;
|
|
3929
|
+
justify-content: center;
|
|
3930
|
+
padding: 0.125rem;
|
|
3931
|
+
border-radius: 0.25rem;
|
|
3932
|
+
color: var(--qt-intervene-toggle-fg, var(--color-primary));
|
|
3933
|
+
background: transparent;
|
|
3934
|
+
cursor: pointer;
|
|
3935
|
+
}
|
|
3936
|
+
.qt-intervene-toggle:hover {
|
|
3937
|
+
background-color: var(--qt-intervene-toggle-hover-bg, var(--color-accent));
|
|
3938
|
+
}
|
|
3939
|
+
.qt-intervene-toggle--off {
|
|
3940
|
+
color: var(--qt-intervene-toggle-off-fg, var(--color-muted-foreground));
|
|
3941
|
+
opacity: 0.5;
|
|
3942
|
+
}
|
package/package.json
CHANGED
|
@@ -4672,6 +4672,12 @@
|
|
|
4672
4672
|
font-weight: 600;
|
|
4673
4673
|
}
|
|
4674
4674
|
|
|
4675
|
+
.qt-storyteller-board-tools {
|
|
4676
|
+
display: flex;
|
|
4677
|
+
align-items: center;
|
|
4678
|
+
gap: 0.25rem;
|
|
4679
|
+
}
|
|
4680
|
+
|
|
4675
4681
|
.qt-storyteller-cards {
|
|
4676
4682
|
display: grid;
|
|
4677
4683
|
grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
|
|
@@ -4709,6 +4715,35 @@
|
|
|
4709
4715
|
opacity: 0.65;
|
|
4710
4716
|
}
|
|
4711
4717
|
|
|
4718
|
+
/* A bid card can be dragged to set the running order. */
|
|
4719
|
+
.qt-storyteller-card-draggable {
|
|
4720
|
+
cursor: grab;
|
|
4721
|
+
}
|
|
4722
|
+
|
|
4723
|
+
.qt-storyteller-card-dragging {
|
|
4724
|
+
position: relative;
|
|
4725
|
+
z-index: 10;
|
|
4726
|
+
cursor: grabbing;
|
|
4727
|
+
opacity: 0.85;
|
|
4728
|
+
box-shadow: var(--qt-storyteller-card-dragging-shadow, 0 4px 12px rgb(0 0 0 / 0.25));
|
|
4729
|
+
}
|
|
4730
|
+
|
|
4731
|
+
/* Its place in the running order, once the operator has arranged the board. */
|
|
4732
|
+
.qt-storyteller-card-order {
|
|
4733
|
+
display: inline-flex;
|
|
4734
|
+
align-items: center;
|
|
4735
|
+
justify-content: center;
|
|
4736
|
+
flex-shrink: 0;
|
|
4737
|
+
min-width: 1.25rem;
|
|
4738
|
+
height: 1.25rem;
|
|
4739
|
+
padding: 0 0.25rem;
|
|
4740
|
+
border-radius: 9999px;
|
|
4741
|
+
font-size: 0.6875rem;
|
|
4742
|
+
font-weight: 700;
|
|
4743
|
+
background: var(--qt-storyteller-card-order-bg, var(--color-primary));
|
|
4744
|
+
color: var(--qt-storyteller-card-order-fg, var(--color-primary-foreground));
|
|
4745
|
+
}
|
|
4746
|
+
|
|
4712
4747
|
.qt-storyteller-card-head {
|
|
4713
4748
|
display: flex;
|
|
4714
4749
|
align-items: center;
|
|
@@ -4756,3 +4791,113 @@
|
|
|
4756
4791
|
font-size: 0.75rem;
|
|
4757
4792
|
color: var(--qt-storyteller-meta-fg, var(--color-muted-foreground));
|
|
4758
4793
|
}
|
|
4794
|
+
|
|
4795
|
+
/**
|
|
4796
|
+
* Pascal operator intervention — the hold dialog, the Workbench's hand toggles,
|
|
4797
|
+
* and the "adjusted" badge on a Pascal chip.
|
|
4798
|
+
* Mirrors app/styles/qt-components/_intervention.css.
|
|
4799
|
+
*/
|
|
4800
|
+
/* The hold dialog's body. */
|
|
4801
|
+
.qt-intervention {
|
|
4802
|
+
color: var(--qt-intervention-fg, var(--color-foreground));
|
|
4803
|
+
}
|
|
4804
|
+
|
|
4805
|
+
/* "2 more waiting." beside the header line. */
|
|
4806
|
+
.qt-intervention-queue {
|
|
4807
|
+
font-weight: 600;
|
|
4808
|
+
color: var(--qt-intervention-queue-fg, var(--color-primary));
|
|
4809
|
+
}
|
|
4810
|
+
|
|
4811
|
+
/* One part of the run: parameters, roll, consult, outcome… */
|
|
4812
|
+
.qt-intervention-section {
|
|
4813
|
+
padding: 0.5rem 0.75rem;
|
|
4814
|
+
border: 1px solid var(--qt-intervention-section-border, var(--color-border));
|
|
4815
|
+
border-radius: var(--qt-intervention-section-radius, 0.5rem);
|
|
4816
|
+
}
|
|
4817
|
+
|
|
4818
|
+
/* A section the operator has changed. */
|
|
4819
|
+
.qt-intervention-section--pinned {
|
|
4820
|
+
border-color: var(--qt-intervention-pinned-border, var(--color-primary));
|
|
4821
|
+
}
|
|
4822
|
+
|
|
4823
|
+
/* The reset control: unpins the section. */
|
|
4824
|
+
.qt-intervention-reset {
|
|
4825
|
+
text-decoration: underline;
|
|
4826
|
+
color: var(--qt-intervention-reset-fg, var(--color-primary));
|
|
4827
|
+
cursor: pointer;
|
|
4828
|
+
}
|
|
4829
|
+
|
|
4830
|
+
/* One outcome row; click to force it. Wears the .qt-pascal-result accent. */
|
|
4831
|
+
.qt-intervention-row {
|
|
4832
|
+
display: block;
|
|
4833
|
+
width: 100%;
|
|
4834
|
+
text-align: left;
|
|
4835
|
+
opacity: 0.75;
|
|
4836
|
+
cursor: pointer;
|
|
4837
|
+
}
|
|
4838
|
+
|
|
4839
|
+
.qt-intervention-row:hover {
|
|
4840
|
+
opacity: 1;
|
|
4841
|
+
}
|
|
4842
|
+
|
|
4843
|
+
/* The row that wins under the current settings. */
|
|
4844
|
+
.qt-intervention-row--winning {
|
|
4845
|
+
opacity: 1;
|
|
4846
|
+
font-weight: 600;
|
|
4847
|
+
outline: 2px solid var(--qt-intervention-winning-outline, var(--color-primary));
|
|
4848
|
+
outline-offset: 1px;
|
|
4849
|
+
}
|
|
4850
|
+
|
|
4851
|
+
/* One declared effect, with its Auto / On / Off control. */
|
|
4852
|
+
.qt-intervention-effect {
|
|
4853
|
+
padding: 0.375rem 0;
|
|
4854
|
+
border-bottom: 1px solid var(--qt-intervention-section-border, var(--color-border));
|
|
4855
|
+
}
|
|
4856
|
+
|
|
4857
|
+
.qt-intervention-effect:last-child {
|
|
4858
|
+
border-bottom: none;
|
|
4859
|
+
}
|
|
4860
|
+
|
|
4861
|
+
/* An advisory note: a stale answer, a forced row, a clamped parameter. */
|
|
4862
|
+
.qt-intervention-note {
|
|
4863
|
+
font-size: 0.75rem;
|
|
4864
|
+
font-style: italic;
|
|
4865
|
+
color: var(--qt-intervention-note-fg, var(--color-warning));
|
|
4866
|
+
}
|
|
4867
|
+
|
|
4868
|
+
/* The "adjusted" hand beside a Pascal chip's label. */
|
|
4869
|
+
.qt-intervention-badge {
|
|
4870
|
+
display: inline-flex;
|
|
4871
|
+
align-items: center;
|
|
4872
|
+
margin-left: 0.25rem;
|
|
4873
|
+
color: var(--qt-intervention-badge-fg, var(--color-muted-foreground));
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
/* The hand on an intervenable tool in the Workbench library. */
|
|
4877
|
+
.qt-intervention-mark {
|
|
4878
|
+
display: inline-block;
|
|
4879
|
+
flex-shrink: 0;
|
|
4880
|
+
color: var(--qt-intervention-badge-fg, var(--color-muted-foreground));
|
|
4881
|
+
}
|
|
4882
|
+
|
|
4883
|
+
/* The Workbench's per-field hand toggle: shown in the hold dialog, or not. */
|
|
4884
|
+
.qt-intervene-toggle {
|
|
4885
|
+
display: inline-flex;
|
|
4886
|
+
align-items: center;
|
|
4887
|
+
justify-content: center;
|
|
4888
|
+
padding: 0.125rem;
|
|
4889
|
+
border-radius: 0.25rem;
|
|
4890
|
+
color: var(--qt-intervene-toggle-fg, var(--color-primary));
|
|
4891
|
+
background: transparent;
|
|
4892
|
+
cursor: pointer;
|
|
4893
|
+
}
|
|
4894
|
+
|
|
4895
|
+
.qt-intervene-toggle:hover {
|
|
4896
|
+
background-color: var(--qt-intervene-toggle-hover-bg, var(--color-accent));
|
|
4897
|
+
}
|
|
4898
|
+
|
|
4899
|
+
/* A field the author has hidden from the dialog. */
|
|
4900
|
+
.qt-intervene-toggle--off {
|
|
4901
|
+
color: var(--qt-intervene-toggle-off-fg, var(--color-muted-foreground));
|
|
4902
|
+
opacity: 0.5;
|
|
4903
|
+
}
|