Add hierarchy axis motion validation and model deletion
This commit is contained in:
@@ -362,8 +362,10 @@ output { font: 12px ui-monospace, monospace; text-align: right; }
|
||||
.machine-manager-toolbar { margin-bottom: 10px; }
|
||||
.machine-manager-toolbar button[aria-pressed="true"] { background: #27585d; color: #fff; }
|
||||
.machine-manager-layout { display: grid; grid-template-columns: minmax(380px, 1.35fr) minmax(330px, .9fr); gap: 12px; min-height: 430px; }
|
||||
.machine-manager-preview { min-width: 0; min-height: 430px; border: 1px solid #52666a; background: #263438; overflow: hidden; }
|
||||
.machine-manager-preview-shell { position: relative; min-width: 0; min-height: 430px; }
|
||||
.machine-manager-preview { width: 100%; height: 100%; min-width: 0; min-height: 430px; border: 1px solid #52666a; background: #263438; overflow: hidden; }
|
||||
.machine-manager-preview canvas { display: block; width: 100%; height: 100%; }
|
||||
.machine-manager-webgl-fault { position: absolute; inset: 12px; display: grid; place-items: center; padding: 16px; background: #fff0e8ed; color: #7b231b; border: 1px solid #a94a3e; text-align: center; }
|
||||
.machine-manager-editor { display: grid; grid-template-rows: minmax(120px, .7fr) minmax(260px, 1.3fr); min-height: 0; gap: 8px; }
|
||||
.machine-part-list, .machine-part-editor, .machine-manager-calibration { border: 1px solid #9babad; background: #f6f9f8; padding: 8px; min-height: 0; overflow: auto; }
|
||||
.machine-part-list h3, .machine-part-editor h3, .machine-manager-calibration h3 { margin: 0 0 7px; font-size: 13px; }
|
||||
@@ -373,18 +375,21 @@ output { font: 12px ui-monospace, monospace; text-align: right; }
|
||||
.machine-tree-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; }
|
||||
.machine-tree-toggle { width: 22px; height: 25px; padding: 0; border: 0; background: transparent; color: #315d61; cursor: pointer; }
|
||||
.machine-tree-toggle:disabled { color: #829092; cursor: default; }
|
||||
.machine-tree [data-axis-control="machine-tree-node"] { display: grid; grid-template-columns: minmax(110px, 1fr) auto; align-items: center; gap: 4px; width: 100%; min-height: 25px; padding: 2px 5px; border: 1px solid transparent; background: transparent; text-align: left; cursor: grab; }
|
||||
.machine-tree [data-axis-control="machine-tree-node"] { display: grid; grid-template-columns: minmax(110px, 1fr) auto auto; align-items: center; gap: 4px; width: 100%; min-height: 25px; padding: 2px 5px; border: 1px solid transparent; background: transparent; text-align: left; cursor: grab; }
|
||||
.machine-tree [data-axis-control="machine-tree-node"]:hover { background: #e4efed; border-color: #9db4b5; }
|
||||
.machine-tree [data-axis-control="machine-tree-node"].selected { background: #cfe5e2; border-color: #27585d; }
|
||||
.machine-tree [data-axis-control="machine-tree-node"]:active { cursor: grabbing; }
|
||||
.machine-tree [data-axis-control="machine-tree-node"] > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.machine-tree [data-axis-control="machine-tree-node"] small { color: #66787b; font: 10px ui-monospace, monospace; white-space: nowrap; }
|
||||
.machine-tree [data-axis-control="machine-tree-node"] em { padding: 1px 4px; background: #2c6669; color: #fff; font-size: 9px; font-style: normal; }
|
||||
.machine-tree .mesh { color: #397a80; }
|
||||
.machine-tree-origin { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 7px; margin-bottom: 8px; border: 1px solid #9db4b5; background: #e8f2f0; }
|
||||
.machine-tree-origin strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.machine-tree-origin span { color: #536467; }
|
||||
.machine-tree-origin output { grid-column: 1 / -1; text-align: left; }
|
||||
.machine-part-editor > label { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 8px; margin: 6px 0; }
|
||||
.machine-part-editor > header, .machine-motion-test > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
||||
.machine-part-editor > header button { color: #8b2d24; }
|
||||
.machine-part-editor select { height: 30px; min-width: 0; }
|
||||
.machine-part-flags { display: flex; gap: 16px; margin: 8px 0; }
|
||||
.machine-vector { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; padding: 6px; }
|
||||
@@ -396,8 +401,16 @@ output { font: 12px ui-monospace, monospace; text-align: right; }
|
||||
.machine-manager-footer { margin-top: 10px; }
|
||||
.machine-manager-footer button { min-height: 32px; }
|
||||
.machine-manager-footer output { flex: 1 1 320px; text-align: left; }
|
||||
.machine-motion-test { margin-top: 10px; padding: 8px; border: 1px solid #779092; background: #eaf2f1; }
|
||||
.machine-motion-test h3 { margin: 0; font-size: 13px; }
|
||||
.machine-motion-test > div { display: grid; grid-template-columns: repeat(5, minmax(88px, 1fr)); gap: 8px; margin-top: 8px; }
|
||||
.machine-motion-test label { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 4px; }
|
||||
.machine-motion-test input { width: 100%; min-width: 0; height: 28px; }
|
||||
.machine-motion-test small { color: #536467; }
|
||||
.machine-motion-test output { display: block; margin-top: 6px; text-align: left; }
|
||||
@media (max-width: 850px) {
|
||||
.machine-manager-layout { grid-template-columns: 1fr; }
|
||||
.machine-manager-preview { min-height: 360px; }
|
||||
.machine-manager-calibration { grid-template-columns: 1fr; }
|
||||
.machine-motion-test > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user