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

Replace "plus" bubbles with our standard arrows to toggle the tree in the sidebar

Henriette Dinger507f6042c5ee
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 912c374ed3f..35a679df0ca 100644
--- a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/tabs.sass
+++ b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/tabs.sass
@@ -61,37 +61,35 @@
.xeokit-objectsTab
ul
list-style: none
- padding-left: 1.75em
+ padding-left: 20px
li
- border-bottom-left-radius: 0.75em
- border-top-left-radius: 0.75em
- margin: 2px 0
- position: relative
+ line-height: 30px
a
- background-color: #eee
- border-radius: 50%
- color: #000
display: inline-block
- height: 1.5em
- left: -1.5em
- position: absolute
- text-align: center
- text-decoration: none
- width: 1.5em
- &:active
- top: 1px
-
- a.plus
- background-color: #ded
-
- a.minus
- background-color: #eee
-
- span
- display: inline-block
-
- .top-right
- font-size: small
- position: fixed
- right: 1em
- top: 1em
\ No newline at end of file
+ line-height: 30px
+ height: 30px
+ width: 20px
+ // Workaround to hide the actual text of the link and show our icons instead
+ @include varprop(color, main-menu-bg-color)
+
+ &:hover,
+ &:focus,
+ li:hover &
+ @include varprop(background-color, main-menu-bg-color)
+ @include varprop(color, main-menu-bg-color)
+
+ &:before
+ font-family: "openproject-icon-font" !important
+ @include varprop(color, main-menu-font-color)
+ font-size: 0.7rem
+
+ &.plus:before
+ @include icon-mixin-arrow-down1
+ &.minus:before
+ @include icon-mixin-arrow-up1
+
+ input
+ margin-right: 5px
+
+ .tree-panel > ul
+ padding-left: 0