Skip to content

Commit

Permalink
CE-524: Update equipment view styles (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
afwilcox authored Mar 1, 2024
1 parent 21f04c6 commit 09c04ae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const EquipmentItem: FC<EquipmentItem> = ({
<div className="equipment-item-header">
<div className="title">
<h6>{equipment.type?.label}</h6>
{isActive && <div>Active</div>}
{isActive && <div className="badge">Active</div>}
</div>
<button
className="button-text equipment-item-edit"
Expand Down
12 changes: 8 additions & 4 deletions frontend/src/assets/sass/hwcr-equipment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
position: absolute;
top: 0px;
left: 0px;
background-color:#328443;
background-color: $bc-gov-success;
width: 12px;
height: 100%;
}
Expand All @@ -80,8 +80,8 @@
margin-right: 16px;
}
div {
color: #328443;
background-color: #EAF3EC;
color: $bc-standard-06;
background-color: $bc-gov-info;
font-size: 12px;
font-weight: 700;
padding: 0px 12px;
Expand All @@ -91,11 +91,15 @@

.equipment-item-edit {
font-size: 14px;

span {
margin-right: 7px;
}
}

.equipment-item-edit:hover {
text-decoration-line: underline;
}
}

.equipment-item-content {
Expand Down

0 comments on commit 09c04ae

Please sign in to comment.