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

fix hover color in wp table

Behrokh Satarnejad8f25eb1608b0
diff --git a/frontend/src/global_styles/content/_table.sass b/frontend/src/global_styles/content/_table.sass
index 627b4d5f93e..14b722cdf20 100644
--- a/frontend/src/global_styles/content/_table.sass
+++ b/frontend/src/global_styles/content/_table.sass
@@ -82,7 +82,7 @@ table.generic-table
col
&:hover,
&.hover
- background: #f8f8f8
+ background: var(--bgColor-muted)
thead
height: var(--generic-table--header-height)
@@ -267,7 +267,7 @@ thead.-sticky th
&:hover,
&.hover
- background: #f8f8f8
+ background: var(--bgColor-muted)
&_no-highlighting
&:hover,
diff --git a/frontend/src/global_styles/content/work_packages/_table_content.sass b/frontend/src/global_styles/content/work_packages/_table_content.sass
index a2beb11e063..eef983de1fd 100644
--- a/frontend/src/global_styles/content/work_packages/_table_content.sass
+++ b/frontend/src/global_styles/content/work_packages/_table_content.sass
@@ -91,7 +91,7 @@
// Remove padding from grouping rows (exceeds allowed width of 41px)
.wp-table--group-header
height: var(--table-timeline--row-height)
- background-color: var(--gray-light)
+ background-color: var(--bgColor-muted)
td
padding: 0 !important
background-color: transparent !important
diff --git a/frontend/src/global_styles/layout/work_packages/_table.sass b/frontend/src/global_styles/layout/work_packages/_table.sass
index b3222d931a6..e310b7fee1f 100644
--- a/frontend/src/global_styles/layout/work_packages/_table.sass
+++ b/frontend/src/global_styles/layout/work_packages/_table.sass
@@ -69,7 +69,7 @@
div.row-hovered
// Use important to override the background styles from __hl classes
// That also have to be important (cf. 30863)
- background: var(--gray-light) !important
+ background: var(--bgColor-muted) !important
// Left part of the split view
// == flex container for (table|timeline)