Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
206 commits
Select commit Hold shift + click to select a range
5ebd70a
switch hide js to electron
ncannasse Oct 9, 2026
c037a1e
added jsdx12
ncannasse Oct 9, 2026
99dd493
finalised dx12 driver integration
ncannasse Oct 10, 2026
adf3a85
added meshtools
ncannasse Oct 10, 2026
34549f6
[js] Fix missing dev tools
EspeuteClement Oct 12, 2026
168075e
emitter-spec.md
trethaller Oct 12, 2026
e04676b
Values: VLerp and VEasing, easing functions
trethaller Oct 12, 2026
80df4db
Emitter: params with modes, upgrade of the old format on load
trethaller Oct 12, 2026
5fefc27
Emitter2D: params with modes, upgrade of the old format on load
trethaller Oct 12, 2026
6ab4543
emitter-spec: params reference their animation curves by path
trethaller Oct 12, 2026
a223ac4
Ensure hide jsdx when running with vscode launch
BorisRaymondPerier Oct 12, 2026
f86d480
Make GPU emitter working with hide_jsdx
BorisRaymondPerier Oct 12, 2026
486e810
changed hlemu.I64 from Float to haxe.Int64 (prevent overflow on big a…
ncannasse Oct 12, 2026
794ca88
FX animation curves hold the value they animate, upgrade of the old o…
trethaller Oct 12, 2026
1b1b689
FXEditor: new animation tracks start from the current value
trethaller Oct 12, 2026
cebacac
Reference: old overrides on upgraded animation curves
trethaller Oct 12, 2026
3c212c0
AnimUpgrade: refine the samples of a re-bake where linear keys miss t…
trethaller Oct 12, 2026
4500dd0
Put back hide webgl by default. Create hide_jsdx target
BorisRaymondPerier Oct 13, 2026
8bc54c0
[js] Rework first time setup
EspeuteClement Oct 13, 2026
6c6f061
[js] Add driver in status bar
EspeuteClement Oct 13, 2026
8c665d9
[js] Use haxelib to get hashlink source
EspeuteClement Oct 13, 2026
3af3276
[js] Fix packaged electron build
EspeuteClement Oct 13, 2026
7556a1c
Merge remote-tracking branch 'origin/master' into hide_jsx
BorisRaymondPerier Oct 13, 2026
62434bc
ShaderCache: add shader cache to hide_jsx
LeoVgr Oct 13, 2026
2715a0b
GameLauncher: add game launcher to hide
LeoVgr Oct 14, 2026
acc4a8f
Emitters: fix emitter tick when scene isn't ready yet
LeoVgr Oct 13, 2026
27a1912
fixed align when deploying sub-sub tables
ncannasse Oct 13, 2026
d8eda6a
various fixes in props display + improved style + options to scale ic…
ncannasse Oct 13, 2026
17300e6
added parameters and toplevel completion + fix bug
ncannasse Oct 13, 2026
7cc2f3a
[js] Add --project-dir command line arg
EspeuteClement Oct 13, 2026
cbcb779
[js] Read only config mode
EspeuteClement Oct 13, 2026
e5f5a9c
switch hide js to electron
ncannasse Oct 9, 2026
71e29d7
[js] Pass project to thumbnail generator
EspeuteClement Oct 14, 2026
c0279cb
Merge origin/master into emitter-params-reboot
trethaller Oct 14, 2026
8422fbd
emitter-spec: rotation units, shear upgrade with a parent object
trethaller Oct 14, 2026
6185bce
emitter-spec: one-shot migration tool instead of upgrade on load
trethaller Oct 14, 2026
beaaece
emitter-spec: on-load upgrade kept as a fallback
trethaller Oct 14, 2026
b1de39d
emitter-spec: file format version
trethaller Oct 14, 2026
fd0e7be
FileWatchers: use root filewatcher with recursive watchers for optimi…
LeoVgr Oct 14, 2026
7d139fd
emitter-spec: the format version is FX specific
trethaller Oct 14, 2026
da09a6d
emitter-spec: particle shader params are Constant or Curve
trethaller Oct 14, 2026
9d09dd7
Prefab macros: serialized enums declared in the module of another type
trethaller Oct 14, 2026
14ab1dc
FX data version 1: emitter params as typed fields, no upgrade on load
trethaller Oct 14, 2026
b30ad6f
hide/tools/migrate: migration of FX data version 0, tool and fallback…
trethaller Oct 14, 2026
bca6dd8
FX values: one constructor per param mode, a single evaluation path
trethaller Oct 14, 2026
1872f0a
migrate: re-bake transforms to what the old runtime showed, parents o…
trethaller Oct 14, 2026
85a011a
migrate: re-bake tolerances of the order of the check, half the sampl…
trethaller Oct 14, 2026
ce88d82
FX load and simulation: back to master's time or below
trethaller Oct 14, 2026
1c1d77e
emitter-spec: UI in the JS editor, HideHL dropped
trethaller Oct 14, 2026
8ad0ed3
emitter-spec: particle shader params stored on the shader
trethaller Oct 14, 2026
a9a3e2d
emitter-spec: animation curves found by name
trethaller Oct 14, 2026
701b782
FX inspector: animate properties from the new inspector
trethaller Oct 14, 2026
03d6bc1
Emitter inspector: params with modes and inline particle curves
trethaller Oct 14, 2026
1eea606
Particle shader params in the new inspector
trethaller Oct 14, 2026
e7ef3fb
FX editor timeline: animation curves only
trethaller Oct 14, 2026
6c1c577
Revert the Curve bake and prefab macro load optimizations, keep the e…
trethaller Oct 14, 2026
aece12c
FX values: one flat constructor per param mode, curve shapes, the Eva…
trethaller Oct 14, 2026
3b30247
Animation curves of the emitters found by name only, animCurves removed
trethaller Oct 14, 2026
671085d
Particle shader params: stored by name like the emitter params, exact…
trethaller Oct 14, 2026
4e84523
AnimEdit: the marker reads the value of the animation curve, a refere…
trethaller Oct 14, 2026
9c8b67d
Emitter2D: init reuses its evaluator
trethaller Oct 14, 2026
f4b80ce
Animation markers: bound where the sliders are built, kit marker, one…
trethaller Oct 14, 2026
1ace371
Emitters behind one interface, the animation curve names of the timel…
trethaller Oct 14, 2026
fec6204
EmitterEdit: typed modes, the fields of a mode edited by name
trethaller Oct 14, 2026
4ddcdac
Particle shader params: one detection of the particle shaders and of …
trethaller Oct 14, 2026
eca8947
Shapes of the emitter params found by Prefab.locatePrefab
trethaller Oct 14, 2026
1be7edf
Dead code and stale comments
trethaller Oct 14, 2026
7d4c757
EmitterMacros: the emitter object type by its path, statics apart, ex…
trethaller Oct 14, 2026
ec23cc3
EditContext2.tempLoad: private load out of the editor builds
trethaller Oct 15, 2026
ec90203
hidekit.less: the marker and particle curve rules in the kit-root blo…
trethaller Oct 15, 2026
ab6de30
Migration: FX.VERSION only, no frozen claim, helpers merged, transfor…
trethaller Oct 15, 2026
021a796
FX / FX2D: the object animation helpers private again
trethaller Oct 15, 2026
7c5be6f
Emitter params declared by group
trethaller Oct 15, 2026
461ffce
ParamCurve: Y grid, at least 0 to 1 shown, zoomed by hand
trethaller Oct 15, 2026
b2522bb
Emitter params: the mode select shown as a caret
trethaller Oct 15, 2026
bb42064
Emitter params: the components of a vector on one line when all constant
trethaller Oct 15, 2026
3e85283
Emitter params: a new curve goes from 0 to 1
trethaller Oct 15, 2026
2c8cb20
emitter-spec: the inspector of the UI feedback
trethaller Oct 15, 2026
53a05de
migrate: transforms re-baked without sampling, exact affine forms or …
trethaller Oct 15, 2026
0abcea0
emitter-spec: transform upgrade, exact bakes or a parent, no sampling
trethaller Oct 15, 2026
13dbff4
migrate: no parent for the objects that read their parent object or s…
trethaller Oct 15, 2026
b9bc22c
migrate: the object paths that read an object moved under a parent ge…
trethaller Oct 15, 2026
7dadfa5
emitter-spec: the objects that cannot get a parent, the targets of a …
trethaller Oct 15, 2026
d114ba8
migrate: sheared scales and objects without a parent sampled to what …
trethaller Oct 15, 2026
7e8d993
emitter-spec: transform upgrade, sheared scales and objects without a…
trethaller Oct 15, 2026
a996c58
review
trethaller Oct 15, 2026
8104440
migrate: one warning per sampled object, the quaternion normalization…
trethaller Oct 15, 2026
d12e970
kit Select: sub menus, previews and separators in the entries, a plac…
trethaller Oct 15, 2026
f18f3e2
kit Element: faded, cssClass
trethaller Oct 15, 2026
ff90ef1
ParamCurve: edited as in the timeline curve editor, zoom around the c…
trethaller Oct 15, 2026
4577635
Emitter params: unset shown as the default value, Remove entries, sha…
trethaller Oct 15, 2026
a0cbedd
FX timeline: a particle curve shown when it is selected
trethaller Oct 15, 2026
064f350
emitter-spec: UX feedback, unset is the default value, Remove entries…
trethaller Oct 15, 2026
f7551ef
kit: the line menu of the clicked element, Line.stealLabel
trethaller Oct 15, 2026
d113ac7
Animation markers: only on the animated fields, animate from the cont…
trethaller Oct 15, 2026
1a21f1b
Emitter params: the mode and Remove in the context menu of the clicke…
trethaller Oct 15, 2026
72bcac8
emitter-spec: mode and Remove in the context menu, animate from the c…
trethaller Oct 15, 2026
460bbfd
Particle curves: the view framed on the curve when its range changes
trethaller Oct 15, 2026
284178a
Particle curves: from and to on one line below the curve, a button sw…
trethaller Oct 15, 2026
cd0a637
emitter-spec: from and to below the particle curve, swapped by a button
trethaller Oct 15, 2026
d69e4c1
hidekit: the widgets of a line take at most @content-max-width after …
trethaller Oct 15, 2026
2465c71
Particle curves: the curve and its from / to fields take the whole wi…
trethaller Oct 15, 2026
bd21373
Migration: shader param bases from the prefab field and its class def…
trethaller Oct 16, 2026
5155085
Migration tool: how a game builds it with its prefab classes
trethaller Oct 16, 2026
9067250
Migration: sampled transforms over the input of their curves, the FX …
trethaller Oct 16, 2026
26097ba
Merge branch 'hide_jsx' into fx-reboot
LeoVgr Oct 16, 2026
d7641dc
Merge branch 'master' into fx-reboot
LeoVgr Oct 16, 2026
28c8eba
Merge branch 'master' into fx-reboot
LeoVgr Oct 19, 2026
94d0973
Emitter values: no curve shape tree, a curve is plain keys or read at…
trethaller Oct 16, 2026
570c6b7
Particle curves: a blend shape shows its two curves dashed under the …
trethaller Oct 16, 2026
c667bec
Curve inspector: the FX parameters are the entries of the blend param…
trethaller Oct 16, 2026
ad6fc50
Shader particle params: their own type, serialized by @:s
trethaller Oct 16, 2026
bdcd083
Prefab macros: a null optional field of an anonymous structure is not…
trethaller Oct 16, 2026
0889ae4
Emitter params: a scalar is a ParamMode, a vector a ParamVec3 / Param…
trethaller Oct 16, 2026
2636646
No Null<> on reference types, only on Float, Int and Bool
trethaller Oct 16, 2026
c445e8c
Param modes and shapes: no letter prefix on their constructors
trethaller Oct 16, 2026
c69bb13
emitter-spec: the storage of the vector params and of the particle sh…
trethaller Oct 16, 2026
da94677
Minor review
trethaller Oct 19, 2026
3e0e07c
Migration: particle curves close to an easing become that easing, err…
trethaller Oct 19, 2026
8ba873b
[js] updated plugin macro for dx12 version
EspeuteClement Oct 19, 2026
53a6ccc
[hide] Remove F12 shrotcut for dev tools (now ctrl + shift + i)
EspeuteClement Oct 19, 2026
2599db3
Migration: fewer keys on the sampled transforms, the fewest of a line…
trethaller Oct 19, 2026
9e58fe4
Emitter depth sort: an insertion sort, the particles being about in o…
trethaller Oct 20, 2026
40ab63b
Emitter particles: a rotation about z only skips the 4 other sin/cos …
trethaller Oct 20, 2026
251f614
Emitter depth sort: back to ListSort.sort, the insertion sort was no …
trethaller Oct 20, 2026
9554c34
Emitter particles: the rotation about z only in EmitterHelper.rotateZ
trethaller Oct 20, 2026
1b0863c
No easings: a particle curve shape is a curve again
trethaller Oct 20, 2026
13480a0
Ide: fix recent projects with backslash instead of slash
LeoVgr Oct 20, 2026
d55f0e8
Merge branch 'master' into fx-reboot
LeoVgr Oct 21, 2026
a7ae266
Electron: add sub windows
LeoVgr Oct 21, 2026
af96ac9
ContextMenu: fix context menu in popup windows
LeoVgr Oct 21, 2026
f5c7bcf
ContextMenu: fix context menu in popup windows
LeoVgr Oct 21, 2026
2a873da
Emitter depth sort: the particles added since the last sort sorted ap…
trethaller Oct 20, 2026
1dddc08
hrt review: TRE notes, comments, naming, diff with master
trethaller Oct 20, 2026
f7d9cf4
hrt review: remove descriptive comments, keep the rare non-obvious ones
trethaller Oct 20, 2026
86d0517
FX instanciation: curve names compared in place, emitter values share…
trethaller Oct 20, 2026
e8a1966
Curve: back to the plain name compare (getCurve / getCurves), the in-…
trethaller Oct 20, 2026
f066095
FXAnimation: no curve lookups for an object without an enabled curve …
trethaller Oct 20, 2026
0ba0a97
Merge remote-tracking branch 'remotes/origin/master' into fx-reboot
trethaller Oct 26, 2026
72c1e15
FX: rework UI/UX
LeoVgr Oct 28, 2026
1a48e54
Merge branch 'master' into fx-reboot
LeoVgr Oct 28, 2026
ec1fb69
Merge branch 'master' into fx-reboot
LeoVgr Oct 28, 2026
03543bb
FX: move curve editor to package, change datas
LeoVgr Oct 29, 2026
633b3b1
Curve: remove keymode from curve
LeoVgr Oct 29, 2026
8e7e3eb
Curves: remove hidden / lock / selected from curves prefab
LeoVgr Oct 30, 2026
5488aea
FX: clean param varaible in curve fx
LeoVgr Oct 30, 2026
9019d9f
FX: remove maxTime, miNValue and maxValue from curve
LeoVgr Oct 30, 2026
d83bd33
CI: remove hide_hl
LeoVgr Oct 30, 2026
b7ee66b
Merge branch 'master' into fx-reboot
LeoVgr Oct 30, 2026
2df4f2c
FXAnim: remove new UI
LeoVgr Oct 30, 2026
85b943b
Category: clean some code
LeoVgr Oct 30, 2026
2754942
FX: clean some code
LeoVgr Oct 30, 2026
7b23551
Test PR update
LeoVgr Nov 2, 2026
c3e8f42
REvert test PR update
LeoVgr Nov 2, 2026
95ad918
FX: fix crash on removing curve
LeoVgr Nov 2, 2026
7ae597e
Migration: a Curve Range is one curve of two datas, the old random bl…
trethaller Nov 2, 2026
e4ae1b1
Curve: makeVal on the plain curve, VCurve of its keys, as before the …
trethaller Nov 2, 2026
3fb6664
FX: move emitter editing out of hrt
trethaller Nov 2, 2026
556d5d5
Unify Curve and fx.Curve, dis moi leo si tu detestes
trethaller Nov 2, 2026
0930290
renames
trethaller Nov 2, 2026
b4c8210
FX: emitter editing back in EmitterHelper
trethaller Nov 2, 2026
7a0d26e
Evaluator: randValues as on master, not initialized (allocRandom alwa…
trethaller Nov 2, 2026
935a82d
Prefab macros: revert the save of the optional fields of anonymous st…
trethaller Nov 2, 2026
e760b3d
FX cleanup: remove unused leftovers of the reworked UI
trethaller Nov 2, 2026
1a2951d
guard migration behind fx_migration
trethaller Nov 2, 2026
321dae2
Doc
trethaller Nov 2, 2026
d719e7d
Evaluator: use getFast directly when possible
trethaller Nov 2, 2026
273c0dd
better split of getFloat getFast
trethaller Nov 2, 2026
8b1a80e
Minor
trethaller Nov 2, 2026
9d5f752
KitRoot: add animations
LeoVgr Nov 2, 2026
3bd8469
clean
trethaller Nov 2, 2026
15425f6
Merge branch 'fx-reboot' of https://github.com/HeapsIO/hide into fx-r…
trethaller Nov 2, 2026
6c3d68f
SubWindow: clean some code
LeoVgr Nov 3, 2026
b71e388
FX: Random Curve with an absolute curve and a random amount
trethaller Nov 3, 2026
b63b3e4
Slider: shared decimals formatting, no refresh of a field being typed
trethaller Nov 3, 2026
d9d435b
Move code out of Curve to baseFX
trethaller Nov 3, 2026
9c08219
FX: remove the emitter param interfaces, EmitterHelper dispatches on …
trethaller Nov 3, 2026
dcc91b3
minor
trethaller Nov 3, 2026
b0f2b02
Merge branch 'master' into fx-reboot
LeoVgr Nov 3, 2026
2558958
CurveEditor: add key with double click
LeoVgr Nov 3, 2026
7f6be48
CurveThumbnail: clean some code
LeoVgr Nov 3, 2026
2d17b17
FX: scale / orbit speed over time as animated emitter settings
trethaller Nov 3, 2026
e6e3a44
FX: an emitter out of any FX is versioned and upgraded again
trethaller Nov 3, 2026
3c55e5c
CurveEditor: better sampling for curves
LeoVgr Nov 4, 2026
4ed7707
FX: Random Curve spread follows the value of the curve
trethaller Nov 4, 2026
aea07ab
Remove comments
trethaller Nov 4, 2026
4e0a77a
FX: emitter params stored directly on the emitter, no `params` object
trethaller Nov 4, 2026
deec70d
FX: no base value fallback for the shader and renderer FX animation c…
trethaller Nov 4, 2026
66f64bc
FX: vectors of 3 components, colors apart (VColor)
trethaller Nov 4, 2026
95eee3e
Emitter: add params descriptions and reorder params
LeoVgr Nov 4, 2026
0179649
FX: remove the RandomBlend curve mode
trethaller Nov 4, 2026
0690bdc
FX: curve blend mode saved by name, a blend holds its two curves as d…
trethaller Nov 4, 2026
da569fd
FX: emitter param curves found by name, params prefixed with part
trethaller Nov 4, 2026
4a85f54
FX: sortMode alone (None for no sort), randomColorMode instead of use…
trethaller Nov 4, 2026
94f6fe8
Read-only range mode in selector
trethaller Nov 6, 2026
ee13f84
FX: remove the local position/rotation animations of the leaves
trethaller Nov 6, 2026
a7b55ba
FX emitters: property and param names agree with their labels
trethaller Nov 6, 2026
2f38076
Merge remote-tracking branch 'origin/master' into fx-reboot
trethaller Nov 6, 2026
ec60c5c
HuiCurveBox: fix HL build after removal of Curve maxTime/maxValue
trethaller Nov 6, 2026
45db7a4
Merge branch 'master' into fx-reboot
trethaller Nov 6, 2026
6620973
FX emitters: `part` prefix for the particle params only, no ParticleDef
trethaller Nov 6, 2026
ce6ad8b
comments
trethaller Nov 6, 2026
f0010bf
Curves: a clone shares the curve data of its source out of the editor…
trethaller Nov 6, 2026
ca61c9c
FX object animations: a uniform scale evaluated once, no rotate witho…
trethaller Nov 6, 2026
3c2ea34
FX emitters: the object reads the emitter properties from its prefab,…
trethaller Nov 6, 2026
de7dac1
Merge remote-tracking branch 'origin/master' into fx-reboot
trethaller Nov 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
232 changes: 230 additions & 2 deletions bin/hidekit.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,216 @@ kit-root {
max-height: 500px;
overflow: auto;
}
}

kit-div.kit-param-comp > kit-text {
flex: 0 0 auto;
min-width: 10px;
margin-left: 3px;
}

kit-curve-editor {
flex: 1 1;
display: flex;
min-width: 0;
height: 22px;
cursor: pointer;

> svg {
flex: 1 1;
min-width: 0;
width: 0;
padding: 2px;
overflow: visible;
}
> svg path.main {
stroke-width: 1.5px;
}
&:hover > svg {
border-color: var(--color-tool-bg-hover);
}
}
kit-curve-editor, kit-curve-editor-window {
svg {
box-sizing: border-box;
background-color: #161616;
border: 1px solid var(--color-border);
border-radius: 3px;
}
path {
fill: none;
stroke: #f05a5a;
}
path, line {
vector-effect: non-scaling-stroke;
}
path.main {
stroke-width: 2px;
}
path.extreme {
stroke-width: 1px;
stroke-dasharray: 4 3;
}
.band {
fill: rgba(240, 90, 90, 0.15);
stroke: none;
}
line.grid {
stroke: var(--color-border);
}
line.zero {
stroke: #555;
}
rect.outside {
fill: rgba(0, 0, 0, 0.35);
}
rect.keys-box {
fill: rgba(240, 181, 90, 0.12);
stroke: #f0b55a;
stroke-dasharray: 3 2;
pointer-events: none;
}
rect.selection-box {
fill: rgba(240, 181, 90, 0.06);
stroke: #f0b55a;
}
text {
fill: var(--color-highlight-gray);
font-size: 9px;
pointer-events: none;
user-select: none;
}
rect.key {
fill: #eee;
cursor: move;
}
rect.key.selected {
fill: #f0b55a;
}
path.other {
opacity: 0.5;
}
rect.key.other {
fill: var(--color-highlight-gray);
cursor: pointer;
}
line.tangent {
stroke: #999;
}
circle.handle {
fill: #999;
cursor: move;
}
}

kit-curve-editor-window {
flex: 1 1;
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
font-size: 11px;
color: var(--color-text);

kit-curve-body {
flex: 1 1;
display: flex;
flex-direction: column;
gap: 6px;
min-height: 0;
padding: 8px;
}

kit-root.kit-curve-fields-root {
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
}
kit-line.kit-curve-fields {
grid-column: 2;
flex-wrap: wrap;
max-width: none;
margin-block: 0;
padding: 2px 4px;
border-radius: 3px;

&.kit-curve-selectable {
cursor: pointer;
&:hover:not(.active) {
background-color: hsl(from var(--color-menu-bg-highlight) h s l / 0.5);
}
}
&.active {
background-color: var(--color-menu-bg-highlight);
}
kit-text {
flex: 0 0 auto;
min-width: 28px;
}
> kit-div {
flex: 0 0 auto;
}
kit-select {
min-width: 120px;
}
kit-slider {
width: 64px;
}
kit-button {
flex: 0 0 auto;
width: 24px;
}
> kit-spacer {
flex: 1 1;
}
}
kit-curve-view {
flex: 1 1;
display: flex;
min-height: 0;
outline: none;

> svg {
flex: 1 1;
min-width: 0;
}
}
kit-presets {
flex: 0 0 auto;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
padding: 6px 8px;
background-color: var(--color-menu-bg);
border-top: 1px solid var(--color-border);

svg {
width: 44px;
height: 28px;
padding: 3px;
overflow: visible;
background-color: var(--color-menu-bg);
cursor: pointer;
}
svg:hover {
border-color: var(--color-tool-bg-hover);
background-color: var(--color-menu-bg-highlight);
}
}
kit-curve-hint {
margin-left: auto;
color: var(--color-highlight-gray);
}
}

.kit-unset:not(kit-div), kit-div.kit-unset > * {
opacity: 0.45;
filter: grayscale(1);
}
.kit-unset:not(kit-div):hover, kit-div.kit-unset > :hover, kit-div.kit-unset > :focus-within {
opacity: 0.8;
}
}
/**
We use scope to avoid messing with the inner styles of complex widgets
**/
Expand All @@ -71,6 +279,8 @@ kit-root {
--widget-bg-disabled: #222222;
--widget-border-color: #484848;
--widget-border-color-disabled: #333333;
--widget-bg-animated: #2c3d26;
--widget-border-color-animated: #4f7a3a;
--widget-border-color-hover: hsl(from var(--widget-border-color) h s calc(l + 20));

--widget-left-pad: 5px;
Expand All @@ -87,6 +297,10 @@ kit-root {

--section-padding: 8px;

/* the label of a line, and the most its widgets take after it (the rest of the panel stays empty) */
--label-width: 120px;
--content-max-width: 260px;

/* needed for range background */
--range-fill: var(--button-bg-highlight);

Expand Down Expand Up @@ -202,6 +416,15 @@ kit-root {
}
}

.kit-animated.disabled {
pointer-events: auto;

input {
background-color: var(--widget-bg-animated);
border-color: var(--widget-border-color-animated);
}
}

--basic-border: 1px solid;

kit-button, input {
Expand Down Expand Up @@ -312,6 +535,9 @@ kit-root {
font-variant-numeric: tabular-nums;
}
> kit-line {
/* the header of a collapsible item (list) spans the panel */
max-width: none;

&::before {
display: block;
content: "";
Expand Down Expand Up @@ -588,6 +814,8 @@ kit-root {
gap: 4px;
min-width: 0;
min-height: var(--widget-height);
/* the label, the gap after it, the widgets, the paddings */
max-width: calc(var(--label-width) + 4px + var(--content-max-width) + var(--section-padding) + 2px);

kit-label {
font-variant-numeric: tabular-nums;
Expand Down Expand Up @@ -621,7 +849,7 @@ kit-root {
}

.first {
flex: 0 0 85px;
flex: 0 0 var(--label-width);
text-align: right;
margin-left: 0;
}
Expand Down
55 changes: 28 additions & 27 deletions bin/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1776,33 +1776,6 @@ input[type=checkbox] {
/* background-color: rgba(0, 0, 0, 0.219); */
outline: none;
}
.keyPopup {
padding: 4px;
padding-bottom: 2px;
.line {
display: flex;
align-items: baseline;
margin-bottom: 2px;
}
label{
text-align: right;
padding-right: 0.5em;
width: 40px;
display: inline-block;
}
input, select {
box-sizing: border-box;
height: 22px !important;
width: 100px !important;
margin: 0;
padding: 2px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
}
svg {
--selectCol: rgb(255, 255, 255);
--previewCol: rgb(192, 111, 6);
Expand Down Expand Up @@ -1886,6 +1859,34 @@ input[type=checkbox] {
}
}

.keyPopup {
padding: 4px;
padding-bottom: 2px;
.line {
display: flex;
align-items: baseline;
margin-bottom: 2px;
}
label{
text-align: right;
padding-right: 0.5em;
width: 40px;
display: inline-block;
}
input, select {
box-sizing: border-box;
height: 22px !important;
width: 100px !important;
margin: 0;
padding: 2px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
}

/* FX Editor */

.fx-script {
Expand Down
Loading
Loading