Skip to content

Commit

Permalink
OLMIS-7903: Adjust BUQ colours with core UI and fix displaying distri…
Browse files Browse the repository at this point in the history
…ct names
  • Loading branch information
mdulko committed Mar 14, 2024
1 parent 3d6fd80 commit bc8eadc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/buq/_buq.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

.category-row {
td {
background: linear-gradient(to bottom, #1eb2bb, #1b9da5 10%, #17888F);
color: white;
background-color: #3A95BC;
color: #fff;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/buq/components/approveBuq/ApproveBuq.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const ApproveBuq = ({
accessor: "id",
Cell: ({ value }) => (
<Link to={`/buq/approve/${value}`}>
<ResponsiveButton className="proceed">
<ResponsiveButton className="primary">
<span>View</span>
</ResponsiveButton>
</Link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const CreateAuthorizeForecasting = ({ loadingModalService }) => {
Cell: ({ value, row }) => {
return (
<ResponsiveButton
className='proceed'
className='primary'
onClick={() =>
checkRightsAndProceed(row.original.status, value)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
}

.proceed {
padding: 8px 16px;
border-radius: 4px;
border: 1px solid $brand-blue;
background: $brand-blue;
color: #FFF;
text-shadow: 0 0 0.1em #333;
background-image: linear-gradient(to bottom, #1eb2bb, #1b9da5 10%, #17888F);
border-top: #3A95BC 1px solid;
border-right: #3A95BC 1px solid;
border-left: #3A95BC 1px solid;
border-bottom: #3A95BC 1px solid;
color: #fff;
text-shadow: 0px 0px 0.1em #333;
background: #3A95BC linear-gradient(to bottom, #5cabcd, #49a1c7 10%, #3A95BC);

&:hover {
background-image: none;
Expand Down
2 changes: 1 addition & 1 deletion src/react-hooks/useGeographicZoneGroup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const useGeographicZoneGroup = () => {
const region = allGeographicZone?.find((reg) => reg.id === item.value);
return {
...item,
name: `${region?.name} - ${region?.level.name}` || '',
name: `${region?.name} - ${region?.level.code}` || '',
};
});
setGeographicZoneParams(newResult);
Expand Down

0 comments on commit bc8eadc

Please sign in to comment.