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({
|
||||
containerId: "myCanvas",
|
||||
enableStats: true
|
||||
}, project.camera);
|
||||
const toolbar = viewer.toolbar;
|
||||
toolbar.updateMenu(ToolbarMenuId.BimTree, { visible: false });
|
||||
|
@ -33,7 +33,6 @@
|
||||
{
|
||||
containerId: "myCanvas",
|
||||
enableAxisGizmo: true,
|
||||
enableStats: true,
|
||||
toolbarMenuConfig: {
|
||||
[ToolbarMenuId.Measure]: { visible: false },
|
||||
[ToolbarMenuId.Fullscreen]: { visible: false },
|
||||
|
@ -78,7 +78,6 @@
|
||||
const config = {
|
||||
containerId: "myCanvas",
|
||||
enableAxisGizmo: true,
|
||||
enableStats: true,
|
||||
enableToolbar: true,
|
||||
enableBottomBar: true,
|
||||
enableSpinner: true,
|
||||
|
@ -82,7 +82,6 @@
|
||||
{
|
||||
containerId: "myCanvas",
|
||||
enableAxisGizmo: true,
|
||||
enableStats: true,
|
||||
toolbarMenuConfig: {
|
||||
[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;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.examples .index-button.open {
|
||||
left: 485px;
|
||||
color: white;
|
||||
/* color: white; */
|
||||
}
|
||||
|
||||
.examples .content-container {
|
||||
@ -54,6 +55,8 @@
|
||||
pointer-events: all;
|
||||
transition: all 300ms ease-in-out;
|
||||
background: lightblue;
|
||||
background: url(./../../../public/demo/images/dwg_background.png) no-repeat center center fixed;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
/* .examples .content-container.open {
|
||||
@ -97,11 +100,12 @@
|
||||
transition: all 300ms ease-in-out;
|
||||
max-width: calc(100% - 450px);
|
||||
pointer-events: none;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.examples .page-title.open {
|
||||
left: 545px;
|
||||
color: white;
|
||||
/* color: white; */
|
||||
}
|
||||
|
||||
.examples .menu #index {
|
||||
|
Reference in New Issue
Block a user