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

set correct color for full calendar

Behrokh Satarnejad21dd69cd8ebe
diff --git a/app/views/custom_styles/_primer_color_mapping.erb b/app/views/custom_styles/_primer_color_mapping.erb
index b611a05f1d0..dbf92260084 100644
--- a/app/views/custom_styles/_primer_color_mapping.erb
+++ b/app/views/custom_styles/_primer_color_mapping.erb
@@ -41,7 +41,7 @@
--button--background-color: var(--button-default-bgColor-rest);
--primary-button-color: var(--button-primary-bgColor-rest);
--status-selector-border-color: var(--button-default-borderColor-rest);
- --grid-background-color: var(--bgColor-inset)
+ --grid-background-color: var(--bgColor-inset);
--link-text-decoration: underline;
/* Todo: Only when color is not bright enough */
--accent-color: var(--accent-color--minor3);
diff --git a/frontend/src/global_styles/content/modules/_team_planner.sass b/frontend/src/global_styles/content/modules/_team_planner.sass
index cdc5a3ced54..2c3e7ccb1a9 100644
--- a/frontend/src/global_styles/content/modules/_team_planner.sass
+++ b/frontend/src/global_styles/content/modules/_team_planner.sass
@@ -30,7 +30,6 @@ $view-select-dropdown-width: 8rem
.fc-header-toolbar
position: sticky
top: 0
- background: white
z-index: 5
padding-left: 138px
// Necessary for the button to switch between views which is hacked in via absolute positioning.
diff --git a/frontend/src/global_styles/vendor/_full_calendar.sass b/frontend/src/global_styles/vendor/_full_calendar.sass
index 9e0ee5f8e69..e4cf65c4653 100644
--- a/frontend/src/global_styles/vendor/_full_calendar.sass
+++ b/frontend/src/global_styles/vendor/_full_calendar.sass
@@ -16,6 +16,8 @@
border: none
cursor: unset
+ .fc-scrollgrid-section-sticky > *
+ background: none
// Note the greater specificity than the standard background colours
table .fc-day-today
background: rgb(255 255 120 / 20%)
@@ -169,6 +171,7 @@
thead .fc-scroller
@include no-visible-scroll-bar
+
// ------------------------ END: Calendar toolbar ------------------------
// -------
// ------------------------ END: Full calendar overwrite ------------------------