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 background color of input in repository and table colors in unit costs report

Behrokh Satarnejad7032ed343757
diff --git a/frontend/src/app/features/reporting/reporting-page/styles/_reporting_table.sass b/frontend/src/app/features/reporting/reporting-page/styles/_reporting_table.sass
index b0fc429994a..556dfb47a42 100644
--- a/frontend/src/app/features/reporting/reporting-page/styles/_reporting_table.sass
+++ b/frontend/src/app/features/reporting/reporting-page/styles/_reporting_table.sass
@@ -13,7 +13,7 @@
.report
text-align: center
border-collapse: collapse
- border: solid 1px #ccc !important
+ border: solid 1px var(--borderColor-default) !important
width: auto !important
td, th
@@ -21,8 +21,8 @@
white-space: nowrap
td
- border: dotted 1px #ddd
- color: #666
+ border: dotted 1px var(--borderColor-default)
+ color: var(--fgColor-muted)
text-align: center
padding: 0 8px 0 8px
line-height: 2rem
@@ -33,51 +33,50 @@
white-space: normal !important
td:hover
- color: #000
- outline: #ccc 1px solid
+ outline: var(--borderColor-default) 1px solid
outline-offset: 1px
td.empty:hover
outline: none
th
- border: solid 1px #ccc
- background-color: #e3e3e3
+ border: solid 1px var(--borderColor-default)
+ background-color: var(--overlay-backdrop-bgColor)
text-align: center
font-size: 0.875rem
line-height: 34px
padding: 0 8px 0 8px
.odd th.inner
- background-color: #e8e8e8
+ background-color: var(--bgColor-neutral-muted)
.even th.inner
- background-color: #e3e3e3
+ background-color: var(--bgColor-muted)
th.inner
- border: solid 1px #ccc
- background-color: #efefef
+ border: solid 1px var(--borderColor-default)
+ background-color: var(--bgColor-neutral-muted)
text-align: right
.odd td.inner
- background-color: #e8e8e8
+ background-color: var(--bgColor-neutral-muted)
.even td.inner
- background-color: #e3e3e3
+ background-color: var(--bgColor-muted)
tr:hover .inner,
tr:hover .bottom,
tr:hover .empty,
tr:hover .right
- background-color: #f5f5c5 !important
+ background-color: var(--highlight-neutral-bgColor) !important
.top
border-top-style: solid
- border-top-color: #ccc
+ border-top-color: var(--borderColor-default)
.bottom
border-bottom-style: solid
- border-bottom-color: #ccc
+ border-bottom-color: var(--borderColor-default)
td.penultimate
border-right-style: solid
diff --git a/frontend/src/global_styles/content/_forms.sass b/frontend/src/global_styles/content/_forms.sass
index 461b11d65fd..66f7144aa07 100644
--- a/frontend/src/global_styles/content/_forms.sass
+++ b/frontend/src/global_styles/content/_forms.sass
@@ -640,7 +640,7 @@ select
input[readonly].-clickable
cursor: pointer
- background: white
+ background: var(--body-background)
.form--select
@extend %input-style