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
Style team planner according to specification
Henriette Darged21b25310583
diff --git a/app/helpers/colors_helper.rb b/app/helpers/colors_helper.rbindex 95f63830c50..4ea67ffe911 100644--- a/app/helpers/colors_helper.rb+++ b/app/helpers/colors_helper.rb@@ -91,14 +91,16 @@ module ColorsHelperendstyles = color.color_styles-background_style = styles.map { |k, v| "#{k}:#{v} !important" }.join(';')- border_color = color.bright? ? '#555555' : color.hexcodeif name === 'type'concat ".__hl_inline_#{name}_#{entry.id} { color: #{color.hexcode} !important;}"concat ".__hl_inline_#{name}_#{entry.id} { -webkit-text-stroke: 0.5px grey;}" if color.super_bright?++ border_color = color.hexcode === '#FFFFFF' ? '#555555' : color.hexcode+ concat ".__hl_background_#{name}_#{entry.id} { border-color: #{border_color} !important; }"else+ border_color = color.bright? ? '#555555' : color.hexcodeconcat ".__hl_inline_#{name}_#{entry.id}::before { #{background_style}; border-color: #{border_color}; }\n"enddiff --git a/frontend/src/global_styles/content/_avatar.sass b/frontend/src/global_styles/content/_avatar.sassindex 217a1c0d64b..dfa52e46ed3 100644--- a/frontend/src/global_styles/content/_avatar.sass+++ b/frontend/src/global_styles/content/_avatar.sass@@ -2,9 +2,9 @@border-radius: var(--user-avatar-border-radius)width: var(--user-avatar-width)// min-width was added because the avatar was getting squished as a flex-child- min-width: var(--user-avatar-width)+ min-width: var(--user-avatar-width)height: var(--user-avatar-height)- margin-right: 5px+ margin-right: 10pxcolor: whitedisplay: inline-blocktext-align: center@@ -23,7 +23,7 @@&_miniborder-radius: var(--user-avatar-mini-border-radius)width: var(--user-avatar-mini-width)- min-width: var(--user-avatar-mini-width)+ min-width: var(--user-avatar-mini-width)height: var(--user-avatar-mini-height)margin-right: 10px -5pxline-height: var(--user-avatar-mini-height)@@ -32,7 +32,7 @@&_mediumborder-radius: var(--user-avatar-medium-border-radius)width: var(--user-avatar-medium-width)- min-width: var(--user-avatar-medium-width)+ min-width: var(--user-avatar-medium-width)height: var(--user-avatar-medium-height)line-height: var(--user-avatar-medium-height)font-size: 13px@@ -45,4 +45,4 @@// Different border styling for groups&_groupborder: 1px solid white- box-shadow: 4px 0px 0px -1px #cccccc\ No newline at end of file+ box-shadow: 4px 0px 0px -1px #ccccccdiff --git a/frontend/src/global_styles/content/modules/_team_planner.sass b/frontend/src/global_styles/content/modules/_team_planner.sassindex 6eea31f8f19..4b0aace4a29 100644--- a/frontend/src/global_styles/content/modules/_team_planner.sass+++ b/frontend/src/global_styles/content/modules/_team_planner.sass@@ -1,3 +1,46 @@.router--team-planner#contentheight: 100%++ // ------------------------ Full calendar overwrite ------------------------+ .fc+ font-size: 14px++ .fc-toolbar-title+ font-size: 16px++ .fc-datagrid-cell-cushion,+ .fc-timeline-slot-cushion+ padding: 12px 16px++ .fc-timeline-lane-frame+ padding: 4px 0++ .fc-timeline-event+ padding-top: 5px+ padding-bottom: 5px+ border-radius: 5px+ margin-bottom: 4px+ background-color: var(--timeline--type-fallback-color)+ border-color: var(--timeline--type-fallback-color)+ color: #000000++ &:before,+ &:after+ padding-right: 4px++ .fc-event-title-container+ margin: 0 16px+ line-height: 12px++ .fc-event-main+ color: unset++ .fc-resource-timeline-divider+ width: 1px+ background: none+ border: none+ cursor: unset++ thead .fc-scroller+ @include no-visible-scroll-bar