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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Extract styles for notification bells into a mixin
Henriette Dargecb9febe54d2b
diff --git a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.sass b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.sassindex e167bb244fb..41bcbd7d54d 100644--- a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.sass+++ b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.sass@@ -4,15 +4,8 @@position: relative&--indicator+ @include indicator-bubbleposition: absolutetop: 10pxright: 5px- display: flex- justify-content: center- align-items: center- height: 16px- width: 16px- border-radius: 0.5rem- font-size: 0.7rembackground: darkred- font-weight: bold\ No newline at end of filediff --git a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sassindex b22e84ef4b9..bf0baa5388a 100644--- a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass+++ b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass@@ -76,10 +76,7 @@ $subject-font-size: 14px&--reason-countbackground: #7f7f7fcolor: white- border-radius: 10px- font-size: 10px- padding: 2px 5px- font-weight: bold+ @include indicator-bubble&--titlegrid-area: titlediff --git a/frontend/src/global_styles/openproject/_mixins.sass b/frontend/src/global_styles/openproject/_mixins.sassindex 8cca31b5bb1..635fd2cbd38 100644--- a/frontend/src/global_styles/openproject/_mixins.sass+++ b/frontend/src/global_styles/openproject/_mixins.sass@@ -246,3 +246,14 @@ $scrollbar-size: 10px&.-showdisplay: block++@mixin indicator-bubble+ display: inline-flex+ justify-content: center+ align-items: center+ height: 16px+ line-height: 16px+ width: 16px+ border-radius: 0.5rem+ font-size: 0.7rem+ font-weight: bold