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

Change color of activity bubble to blue and make little refactoring of sass code

Henriette Darge8c99713236a9
diff --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.sass
index 5538acd73d5..ea1662308d0 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
@@ -74,9 +74,9 @@ $subject-font-size: 14px
color: #7f7f7f
&--reason-count
- background: #7f7f7f
color: white
@include indicator-bubble
+ background: #7f7f7f
&--title
grid-area: title
diff --git a/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.html b/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.html
index 341cd3f54cb..8078367090d 100644
--- a/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.html
@@ -5,7 +5,7 @@
<div class="comments-number">
<span
*ngIf="hasUnreadNotification"
- class="op-bubble"
+ class="comments-number--bubble op-bubble op-bubble_mini"
data-qa-selector="revision-activity-bubble"
></span>
<activity-link
diff --git a/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html b/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html
index 703a2093152..6f260d7de06 100644
--- a/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html
@@ -23,7 +23,7 @@
<div class="comments-number">
<span
*ngIf="hasUnreadNotification"
- class="op-bubble"
+ class="comments-number--bubble op-bubble op-bubble_mini"
data-qa-selector="user-activity-bubble"
></span>
<activity-link
diff --git a/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass b/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass
index a0a9e4d7299..ab3b9d41195 100644
--- a/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass
+++ b/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass
@@ -1,13 +1,7 @@
+@import "src/assets/sass/helpers"
+
.op-tab-count
+ @include indicator-bubble
margin-left: 5px
- border-radius: 0.5rem
- min-width: 1rem
- display: inline-block
- font-size: 0.7rem
- line-height: 1rem
- min-height: 1rem
- vertical-align: 0.1rem
+ vertical-align: text-bottom
padding: 0 0.15rem 0 0.15rem
- background: darkred
- color: white
- font-weight: bold
\ No newline at end of file
diff --git a/frontend/src/global_styles/common/bubble/bubble.sass b/frontend/src/global_styles/common/bubble/bubble.sass
index bedb146032d..f80deb6fed7 100644
--- a/frontend/src/global_styles/common/bubble/bubble.sass
+++ b/frontend/src/global_styles/common/bubble/bubble.sass
@@ -1,4 +1,6 @@
.op-bubble
@include indicator-bubble
- background: darkred
+ &_mini
+ width: 12px
+ height: 12px
diff --git a/frontend/src/global_styles/content/work_packages/tabs/_activities.sass b/frontend/src/global_styles/content/work_packages/tabs/_activities.sass
index 6eada1288ae..a5cfbc7f829 100644
--- a/frontend/src/global_styles/content/work_packages/tabs/_activities.sass
+++ b/frontend/src/global_styles/content/work_packages/tabs/_activities.sass
@@ -52,13 +52,12 @@
position: absolute
right: 0
top: 10px
- line-height: 16px
- text-align: right
+ display: flex
+ align-items: center
+ justify-content: flex-end
- // These are dirty, hacky styles until we've a better understanding of what thsi should look like
- .op-bubble
- margin-right: 0.2rem
- transform: scale(0.8)
+ &--bubble
+ margin-right: 5px
.comments-icons
padding: 0
diff --git a/frontend/src/global_styles/openproject/_mixins.sass b/frontend/src/global_styles/openproject/_mixins.sass
index 635fd2cbd38..32c55c5633d 100644
--- a/frontend/src/global_styles/openproject/_mixins.sass
+++ b/frontend/src/global_styles/openproject/_mixins.sass
@@ -257,3 +257,5 @@ $scrollbar-size: 10px
border-radius: 0.5rem
font-size: 0.7rem
font-weight: bold
+ background: #00A3FF
+ color: white