Merge pull request #25 from pattern-x/feature/add-bg-img
Uploaded default backgournd image
This commit is contained in:
@ -46,7 +46,6 @@
|
|||||||
}
|
}
|
||||||
const viewer = new BimViewer({
|
const viewer = new BimViewer({
|
||||||
containerId: "myCanvas",
|
containerId: "myCanvas",
|
||||||
enableStats: true
|
|
||||||
}, project.camera);
|
}, project.camera);
|
||||||
const toolbar = viewer.toolbar;
|
const toolbar = viewer.toolbar;
|
||||||
toolbar.updateMenu(ToolbarMenuId.BimTree, { visible: false });
|
toolbar.updateMenu(ToolbarMenuId.BimTree, { visible: false });
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
{
|
{
|
||||||
containerId: "myCanvas",
|
containerId: "myCanvas",
|
||||||
enableAxisGizmo: true,
|
enableAxisGizmo: true,
|
||||||
enableStats: true,
|
|
||||||
toolbarMenuConfig: {
|
toolbarMenuConfig: {
|
||||||
[ToolbarMenuId.Measure]: { visible: false },
|
[ToolbarMenuId.Measure]: { visible: false },
|
||||||
[ToolbarMenuId.Fullscreen]: { visible: false },
|
[ToolbarMenuId.Fullscreen]: { visible: false },
|
||||||
|
@ -78,7 +78,6 @@
|
|||||||
const config = {
|
const config = {
|
||||||
containerId: "myCanvas",
|
containerId: "myCanvas",
|
||||||
enableAxisGizmo: true,
|
enableAxisGizmo: true,
|
||||||
enableStats: true,
|
|
||||||
enableToolbar: true,
|
enableToolbar: true,
|
||||||
enableBottomBar: true,
|
enableBottomBar: true,
|
||||||
enableSpinner: true,
|
enableSpinner: true,
|
||||||
|
@ -82,7 +82,6 @@
|
|||||||
{
|
{
|
||||||
containerId: "myCanvas",
|
containerId: "myCanvas",
|
||||||
enableAxisGizmo: true,
|
enableAxisGizmo: true,
|
||||||
enableStats: true,
|
|
||||||
toolbarMenuConfig: {
|
toolbarMenuConfig: {
|
||||||
[ToolbarMenuId.BimTree]: { visible: false },
|
[ToolbarMenuId.BimTree]: { visible: false },
|
||||||
},
|
},
|
||||||
|
BIN
public/demo/images/dwg_background.png
Normal file
BIN
public/demo/images/dwg_background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 133 KiB |
@ -35,11 +35,12 @@
|
|||||||
border: 0;
|
border: 0;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.examples .index-button.open {
|
.examples .index-button.open {
|
||||||
left: 485px;
|
left: 485px;
|
||||||
color: white;
|
/* color: white; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.examples .content-container {
|
.examples .content-container {
|
||||||
@ -54,6 +55,8 @@
|
|||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
transition: all 300ms ease-in-out;
|
transition: all 300ms ease-in-out;
|
||||||
background: lightblue;
|
background: lightblue;
|
||||||
|
background: url(./../../../public/demo/images/dwg_background.png) no-repeat center center fixed;
|
||||||
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* .examples .content-container.open {
|
/* .examples .content-container.open {
|
||||||
@ -97,11 +100,12 @@
|
|||||||
transition: all 300ms ease-in-out;
|
transition: all 300ms ease-in-out;
|
||||||
max-width: calc(100% - 450px);
|
max-width: calc(100% - 450px);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.examples .page-title.open {
|
.examples .page-title.open {
|
||||||
left: 545px;
|
left: 545px;
|
||||||
color: white;
|
/* color: white; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.examples .menu #index {
|
.examples .menu #index {
|
||||||
|
Reference in New Issue
Block a user