Gentix v1.0.32

This commit is contained in:
samuel committed 2026-10-04 21:09:27 +08:00
commit 4d839f4850
372 files changed
+36942

No files matched your search

Binary file not shown.
+47
View File
@@ -0,0 +1,47 @@
fileFormatVersion: 2
guid: 8c6e1f6a0b1d4f9bb2c9a7e4f8061526
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
DefaultValueInitialized: true
- first:
Standalone: Linux64
second:
enabled: 1
settings: {}
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings: {}
- first:
Standalone: Win
second:
enabled: 1
settings: {}
- first:
Standalone: Win64
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 34b1e64297b86b0478ddb5dcf18992c2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
+422
View File
@@ -0,0 +1,422 @@
/* Gentix editor UI theme (UI Toolkit / USS).
*
* Rules honored here (Unity USS does NOT support these):
* - no transform, overflow, z-index, box-shadow, text-shadow, transition, animation
* - no !important, no inherit/initial/unset
* - no gap / row-gap / column-gap: USS has no flex gap at all, so spacing
* is done with margins on the children
* - scrolling is done with a ScrollView element, never with overflow
* - font styles use -unity-font-style / -unity-text-align
* "Glass" is expressed with semi-transparent background-color plus a 1px
* border and border-radius, which is what USS can actually render.
*/
:root {
--gentix-surface: rgba(28, 30, 36, 0.82);
--gentix-surface-raised: rgba(38, 41, 49, 0.88);
--gentix-surface-sunken: rgba(20, 22, 27, 0.72);
--gentix-border: rgba(255, 255, 255, 0.12);
--gentix-border-strong: rgba(255, 255, 255, 0.24);
--gentix-accent: rgba(74, 158, 255, 0.95);
--gentix-accent-muted: rgba(74, 158, 255, 0.22);
--gentix-success: rgba(96, 205, 138, 0.95);
--gentix-warning: rgba(240, 180, 80, 0.95);
--gentix-danger: rgba(238, 106, 106, 0.95);
--gentix-text: rgba(236, 238, 242, 1);
--gentix-text-dim: rgba(236, 238, 242, 0.62);
--gentix-radius: 6px;
}
/* ---------- window shell ---------- */
.gentix-window {
flex-grow: 1;
background-color: var(--gentix-surface);
border-left-width: 1px;
border-right-width: 1px;
border-top-width: 1px;
border-bottom-width: 1px;
border-color: var(--gentix-border);
}
.gentix-header {
flex-direction: row;
align-items: center;
justify-content: space-between;
padding-left: 16px;
padding-right: 16px;
padding-top: 14px;
padding-bottom: 14px;
background-color: var(--gentix-surface-raised);
border-bottom-width: 1px;
border-bottom-color: var(--gentix-border);
}
.gentix-header-title {
font-size: 20px;
-unity-font-style: bold;
-unity-text-align: middle-left;
color: var(--gentix-text);
}
.gentix-header-subtitle {
font-size: 12px;
-unity-text-align: middle-left;
color: var(--gentix-text-dim);
}
.gentix-body {
flex-grow: 1;
padding-left: 16px;
padding-right: 16px;
padding-top: 12px;
padding-bottom: 12px;
}
.gentix-footer {
flex-direction: row;
align-items: center;
justify-content: flex-end;
padding-left: 16px;
padding-right: 16px;
padding-top: 10px;
padding-bottom: 10px;
border-top-width: 1px;
border-top-color: var(--gentix-border);
background-color: var(--gentix-surface-raised);
}
/* ---------- tabs ---------- */
.gentix-tabs {
flex-direction: row;
padding-left: 12px;
padding-right: 12px;
padding-top: 8px;
padding-bottom: 8px;
border-bottom-width: 1px;
border-bottom-color: var(--gentix-border);
}
.gentix-tab {
min-height: 26px;
padding-left: 14px;
padding-right: 14px;
padding-top: 4px;
padding-bottom: 4px;
background-color: rgba(255, 255, 255, 0.04);
border-width: 1px;
border-color: var(--gentix-border);
border-radius: var(--gentix-radius);
color: var(--gentix-text-dim);
-unity-font-style: bold;
-unity-text-align: middle-center;
}
.gentix-tab:hover {
background-color: rgba(255, 255, 255, 0.09);
color: var(--gentix-text);
}
.gentix-tab--active {
background-color: var(--gentix-accent-muted);
border-color: var(--gentix-accent);
color: var(--gentix-text);
}
/* ---------- cards / sections ---------- */
.gentix-card {
flex-direction: column;
padding-left: 12px;
padding-right: 12px;
padding-top: 10px;
padding-bottom: 10px;
margin-bottom: 10px;
background-color: var(--gentix-surface-sunken);
border-width: 1px;
border-color: var(--gentix-border);
border-radius: var(--gentix-radius);
}
.gentix-card-title {
font-size: 13px;
-unity-font-style: bold;
-unity-text-align: middle-left;
color: var(--gentix-accent);
white-space: nowrap;
}
.gentix-section-title {
font-size: 15px;
-unity-font-style: bold;
-unity-text-align: middle-left;
color: var(--gentix-text);
margin-top: 6px;
margin-bottom: 6px;
}
.gentix-text {
color: var(--gentix-text);
-unity-text-align: upper-left;
white-space: normal;
}
.gentix-text-dim {
color: var(--gentix-text-dim);
-unity-text-align: upper-left;
white-space: normal;
}
.gentix-status-dot {
width: 10px;
height: 10px;
min-width: 10px;
border-radius: 5px;
margin-right: 6px;
}
.gentix-status-ok {
background-color: var(--gentix-success);
}
.gentix-status-off {
background-color: var(--gentix-danger);
}
/* ---------- controls ---------- */
.gentix-button {
min-height: 28px;
padding-left: 14px;
padding-right: 14px;
padding-top: 5px;
padding-bottom: 5px;
background-color: var(--gentix-accent);
border-width: 1px;
border-color: var(--gentix-accent);
border-radius: var(--gentix-radius);
color: var(--gentix-text);
-unity-font-style: bold;
-unity-text-align: middle-center;
}
.gentix-button:hover {
background-color: rgba(96, 172, 255, 1);
}
.gentix-button--secondary {
background-color: rgba(255, 255, 255, 0.06);
border-color: var(--gentix-border-strong);
color: var(--gentix-text);
}
/* Row spacing: USS has no flex gap, so margins go on the row's children.
Only class + descendant selectors are used (no '*' or '>' combinators). */
.gentix-row .gentix-button {
margin-right: 8px;
}
.gentix-row .gentix-field-label {
margin-right: 8px;
}
.gentix-row {
flex-direction: row;
align-items: center;
}
.gentix-field-label {
color: var(--gentix-text-dim);
min-width: 140px;
-unity-text-align: middle-left;
}
/* ---------- launchpad shell (macOS-style translucent panel) ----------
* Glass is rgba background + hairline border + rounded corners. USS has no
* backdrop blur, so translucency is achieved by letting the editor backdrop
* show through the panel background.
*/
.gentix-launchpad {
flex-grow: 1;
background-color: rgba(30, 32, 38, 0.72);
padding-left: 18px;
padding-right: 18px;
padding-top: 14px;
padding-bottom: 10px;
}
/* category pills, like the Launchpad tab bar */
.gentix-catbar {
flex-direction: row;
align-items: center;
flex-wrap: wrap;
padding-bottom: 14px;
}
.gentix-cat {
min-height: 24px;
margin-right: 6px;
margin-bottom: 6px;
padding-left: 16px;
padding-right: 16px;
padding-top: 4px;
padding-bottom: 4px;
background-color: rgba(255, 255, 255, 0.06);
border-width: 1px;
border-color: rgba(255, 255, 255, 0.10);
border-radius: 12px;
color: rgba(236, 238, 242, 0.72);
-unity-font-style: bold;
-unity-text-align: middle-center;
}
.gentix-cat:hover {
background-color: rgba(255, 255, 255, 0.11);
}
.gentix-cat--active {
background-color: rgba(255, 255, 255, 0.18);
border-color: rgba(255, 255, 255, 0.28);
color: rgba(255, 255, 255, 1);
}
/* icon grid */
.gentix-grid {
flex-direction: row;
flex-wrap: wrap;
}
.gentix-tile {
width: 132px;
min-height: 132px;
margin-right: 14px;
margin-bottom: 14px;
align-items: center;
padding-left: 8px;
padding-right: 8px;
padding-top: 12px;
padding-bottom: 12px;
background-color: rgba(255, 255, 255, 0.05);
border-width: 1px;
border-color: rgba(255, 255, 255, 0.12);
border-radius: 14px;
}
.gentix-tile:hover {
background-color: rgba(255, 255, 255, 0.10);
}
.gentix-tile--selected {
background-color: rgba(255, 255, 255, 0.16);
border-color: rgba(255, 255, 255, 0.40);
}
.gentix-tile__glyph {
width: 58px;
height: 58px;
min-width: 58px;
border-radius: 14px;
font-size: 26px;
-unity-font-style: bold;
-unity-text-align: middle-center;
color: rgba(255, 255, 255, 1);
}
.gentix-tile__name {
margin-top: 8px;
font-size: 12px;
-unity-font-style: bold;
-unity-text-align: middle-center;
color: rgba(255, 255, 255, 1);
white-space: normal;
}
.gentix-tile__sub {
margin-top: 3px;
font-size: 10px;
-unity-text-align: upper-center;
color: rgba(236, 238, 242, 0.60);
white-space: normal;
}
/* tile accents */
.tile-blue { background-color: rgba(66, 133, 244, 0.85); }
.tile-green { background-color: rgba(52, 168, 104, 0.85); }
.tile-orange { background-color: rgba(240, 140, 50, 0.85); }
.tile-purple { background-color: rgba(150, 96, 232, 0.85); }
.tile-pink { background-color: rgba(232, 96, 168, 0.85); }
.tile-teal { background-color: rgba(48, 190, 190, 0.85); }
.tile-grey { background-color: rgba(120, 124, 136, 0.85); }
/* detail panel below the grid */
.gentix-detail {
margin-top: 16px;
padding-left: 14px;
padding-right: 14px;
padding-top: 12px;
padding-bottom: 12px;
background-color: rgba(16, 17, 21, 0.55);
border-width: 1px;
border-color: rgba(255, 255, 255, 0.12);
border-radius: 12px;
}
/* progress bar: an empty track with a fill child whose width is set in C# */
.gentix-progress {
height: 10px;
min-height: 10px;
margin-top: 8px;
background-color: rgba(255, 255, 255, 0.10);
border-radius: 5px;
}
.gentix-progress__fill {
height: 10px;
width: 0%;
background-color: rgba(66, 133, 244, 0.95);
border-radius: 5px;
}
.gentix-progress__fill--done {
background-color: rgba(52, 168, 104, 0.95);
}
.gentix-progress__fill--failed {
background-color: rgba(238, 106, 106, 0.95);
}
.gentix-badge {
padding-left: 8px;
padding-right: 8px;
padding-top: 2px;
padding-bottom: 2px;
border-radius: 8px;
font-size: 10px;
-unity-font-style: bold;
-unity-text-align: middle-center;
color: rgba(255, 255, 255, 1);
background-color: rgba(255, 255, 255, 0.16);
}
/* pagination dots */
.gentix-dots {
flex-direction: row;
align-items: center;
justify-content: center;
margin-top: 12px;
}
.gentix-dot {
width: 7px;
height: 7px;
min-width: 7px;
margin-left: 4px;
margin-right: 4px;
border-radius: 4px;
background-color: rgba(255, 255, 255, 0.28);
}
.gentix-dot--active {
background-color: rgba(255, 255, 255, 0.85);
}
+12
View File
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 3f46602c04b681548b78f4acc9be9023
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
unsupportedSelectorAction: 0