Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Bump Xeokit Viewer to version 1.3.4

Wieland Lindenthal646a690901b4
diff --git a/frontend/package.json b/frontend/package.json
index 07848f499ba..5996a847123 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -63,7 +63,7 @@
"@uirouter/angular": "^4.0.0",
"@uirouter/core": "^5.0.23",
"@xeokit/xeokit-sdk": "^0.5.1",
- "@xeokit/xeokit-viewer": "^1.3.2",
+ "@xeokit/xeokit-viewer": "^1.3.4",
"URIjs": "^1.14.1",
"amdefine": "^1.0.0",
"angular-dragula": "^1.2.8",
diff --git a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/loading_modal.sass b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/loading_modal.sass
index b89e147069e..c3e70afc45a 100644
--- a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/loading_modal.sass
+++ b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/loading_modal.sass
@@ -1,2 +1,48 @@
-div.xeokit-busy-modal
- z-index: 30
\ No newline at end of file
+.xeokit-busy-modal
+ display: none
+ position: fixed
+ padding-top: 100px
+ left: 0
+ top: 0
+ width: 100%
+ height: 100%
+ overflow: auto
+ background-color: rgba(0, 0, 0, 0.4)
+ z-index: 30 // OpenProject special
+
+.xeokit-busy-modal-content
+ position: relative
+ background-color: #fefefe
+ margin: auto
+ padding: 0
+ border: 1px solid #888
+ border-radius: 0.5em
+ width: 50%
+ box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
+ -webkit-animation-name: xeokit-busy-modal-animatetop
+ -webkit-animation-duration: 0.4s
+ animation-name: xeokit-busy-modal-animatetop
+ animation-duration: 0.4s
+
+/* Add Animation */
+@-webkit-keyframes xeokit-busy-modal-animatetop
+ from
+ opacity: 0
+ to
+ opacity: 1
+
+@keyframes xeokit-busy-modal-animatetop
+ from
+ opacity: 0
+ to
+ opacity: 1
+
+.xeokit-busy-modal-message
+ font-size: 22px
+ padding: 2px 16px
+ background-color: white
+ color: #212529
+
+.xeokit-busy-modal-body
+ padding: 2px 16px
+ margin: 20px 2px
\ No newline at end of file
diff --git a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/tabs.sass b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/tabs.sass
index 42f60be623f..952ef9f4dcb 100644
--- a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/tabs.sass
+++ b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/tabs.sass
@@ -18,7 +18,7 @@
.xeokit-tab-content
display: block
- .xeokit-tab-button
+ .xeokit-tab-btn
border-bottom: 2px solid
@include varprop(border-color, main-menu-font-color)
@@ -35,7 +35,8 @@
// Override inline style of xeokit
.xeokit-models,
.xeokit-objects,
- .xeokit-classes
+ .xeokit-classes,
+ .xeokit-storeys
overflow: hidden !important
.xeokit-btn-group
@@ -47,7 +48,7 @@
border: 1px solid
@include varprop(border-color, main-menu-font-color)
- .xeokit-tab-button
+ .xeokit-tab-btn
display: inline-block
@include varprop(color, main-menu-font-color)
font-weight: bold