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

Use the font color for alternative-highlighted background on quick add menu

Henriette Darge32a8572951e5
diff --git a/frontend/src/app/modules/common/header/quick-add-menu.sass b/frontend/src/app/modules/common/header/quick-add-menu.sass
index a050cbf5786..fd73e5dc8df 100644
--- a/frontend/src/app/modules/common/header/quick-add-menu.sass
+++ b/frontend/src/app/modules/common/header/quick-add-menu.sass
@@ -1,3 +1,7 @@
+$background: var(--button--alt-highlight-background-color)
+$background-hover: var(--button--alt-highlight-background-hover-color)
+$color: var(--button--alt-highlight-font-color)
+
.op-quick-add-menu
@include breakpoint(680px down)
display: none
@@ -6,15 +10,12 @@
display: flex
justify-content: center
align-items: center
- border: 2px solid var(--header-item-font-color)
border-radius: 50%
width: 26px
height: 26px
padding: 1px 8px 0 8px
- background: var(--button--alt-highlight-background-color)
- border-color: var(--button--alt-highlight-background-color)
+ @include button-style($background, $background-hover, $color)
&:hover &
&--icon::before
background: var(--button--alt-highlight-background-hover-color)
- border-color: var(--button--alt-highlight-background-hover-color)