This commit is contained in:
trung09122002
2026-09-24 16:30:03 +07:00
parent 5e27c7cc41
commit d6f1afac31
20 changed files with 596 additions and 252 deletions

View File

@@ -152,7 +152,9 @@ button.danger:hover { background: var(--bad); color: #fff; }
(khong gi) : #main -- 2D mot khung
.three : #main3d -- 3D mot khung
.split : #main | #mainR -- 2D | 2D
.split.three : #main3d | #mainR -- 3D (Gazebo) | 2D SLAM (RViz) */
.split.three : #main3d | #mainR -- 3D (Gazebo) | 2D SLAM (RViz)
.split3d : #main3d mot minh, tu cat lam doi bang scissor
-- 3D the gioi | 3D dam may SLAM */
#mainR, #main3d { display: none; }
.canvas-wrap.three #main { display: none; }
.canvas-wrap.three #main3d { display: block; }
@@ -162,6 +164,17 @@ button.danger:hover { background: var(--bad); color: #fff; }
.canvas-wrap.split #mainR { display: block; position: absolute;
right: 0; top: 0; width: 50%; height: 100%;
border-left: 1px solid #2a3442; }
/* Chia doi 3D|3D: KHONG co canvas thu hai. `#main3d` chiem ca be ngang va
`v3dRender()` ve hai lan vao hai nua bang scissor. Duong ke giua la CSS chu
khong phai mot border cua the, vi khong co the nao o day ma vien. */
.canvas-wrap.split3d #main { display: none; }
.canvas-wrap.split3d #mainR { display: none; }
.canvas-wrap.split3d #main3d { display: block; width: 100%; }
.canvas-wrap.split3d::after {
content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
width: 1px; background: #2a3442; pointer-events: none;
}
.pane-label {
position: absolute; top: 6px;
font: 11px/1.4 ui-monospace, monospace;