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 variable for FullCalendar border colour so that we don't have to select every element on its own

Henriette Darge880409f8cebf
diff --git a/frontend/src/app/features/calendar/wp-calendar/wp-calendar.sass b/frontend/src/app/features/calendar/wp-calendar/wp-calendar.sass
index 7744959e3c0..f6281ae9087 100644
--- a/frontend/src/app/features/calendar/wp-calendar/wp-calendar.sass
+++ b/frontend/src/app/features/calendar/wp-calendar/wp-calendar.sass
@@ -1,4 +1,6 @@
.op-wp-calendar
+ --fc-border-color: #cccccc
+
// Ensure some sane min-height
// to ensure fullcalendar has something to render
min-height: 200px
diff --git a/frontend/src/global_styles/content/modules/_team_planner.sass b/frontend/src/global_styles/content/modules/_team_planner.sass
index e0dca33412c..bd6eb6fb4fb 100644
--- a/frontend/src/global_styles/content/modules/_team_planner.sass
+++ b/frontend/src/global_styles/content/modules/_team_planner.sass
@@ -13,6 +13,8 @@
display: none
.op-team-planner
+ --fc-border-color: #cccccc
+
&--calendar_empty
.fc-scrollgrid-section-body,
.fc-scrollgrid-section-footer
diff --git a/frontend/src/global_styles/vendor/_full_calendar.sass b/frontend/src/global_styles/vendor/_full_calendar.sass
index 5d05069d864..e7395d17171 100644
--- a/frontend/src/global_styles/vendor/_full_calendar.sass
+++ b/frontend/src/global_styles/vendor/_full_calendar.sass
@@ -10,15 +10,11 @@
.fc-col-header-cell-cushion
padding: 12px 16px
- .fc-timeline-lane,
- .fc-timeline-slot-lane
- border-color: #c1c1c1
-
.fc-timeline-lane-frame
padding: 4px 0
.fc-resource-timeline-divider
- width: 1px
+ width: 0
background: none
border: none
cursor: unset