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

[#43851] Add information toast to the Nextcloud Setup Documentation

Andreas Pfohle80d567a9926
diff --git a/frontend/src/app/spot/styles/sass/variables/zindex.sass b/frontend/src/app/spot/styles/sass/variables/zindex.sass
index 4a148f2676e..236c6e9911b 100644
--- a/frontend/src/app/spot/styles/sass/variables/zindex.sass
+++ b/frontend/src/app/spot/styles/sass/variables/zindex.sass
@@ -1,6 +1,6 @@
@use "sass:map"
-$spot-z-indexes: ( "header": 20, "tooltip": 500, "drop-modal": 1000)
+$spot-z-indexes: ("toast": 300, "tooltip": 500, "header": 800, "drop-modal": 1000)
@mixin spot-z-index($type, $addition: 0)
z-index: map.get($spot-z-indexes, $type) + $addition
diff --git a/frontend/src/global_styles/content/_toast.sass b/frontend/src/global_styles/content/_toast.sass
index 84b2e304eb1..21c3ce6d926 100644
--- a/frontend/src/global_styles/content/_toast.sass
+++ b/frontend/src/global_styles/content/_toast.sass
@@ -103,7 +103,7 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25)
.op-toast
@extend %toaster
- z-index: 21
+ @include spot-z-index("toast")
+toaster-layout($x: left, $y: top, $size: auto, $offset: rem-calc(0))
+toaster-style($background: $nm-color-background, $color: var(--body-font-color), $padding: $nm-padding-box, $radius: $nm-border-radius)
.toaster-icon