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

Make use of "disabled" CSS class for IFC viewer context menu items

Wieland Lindenthal6c69aadb0845
diff --git a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/context_menu.sass b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/context_menu.sass
index 47b920fa616..c87b93954c3 100644
--- a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/context_menu.sass
+++ b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/context_menu.sass
@@ -15,4 +15,12 @@
li
@extend .menu-item
- border-bottom-color: rgba(0, 0, 0, 0.2) !important
\ No newline at end of file
+ border-bottom-color: rgba(0, 0, 0, 0.2) !important
+
+ LI.disabled
+ color: #999999
+ cursor: default !important
+
+ &:hover
+ background-color: initial !important
+ color: #999999 !important
\ No newline at end of file