Skip to content

Commit 041eb2d

Browse files
committed
TD-6277 Shade and Tint
1 parent 9e6ceaf commit 041eb2d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

DigitalLearningSolutions.Web/Styles/learningPortal/current.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515

1616
a.delete-button {
1717
background-color: nhsuk-colour("red");
18-
box-shadow: 0 4px 0 shade(nhsuk-colour("red"), 50%);
18+
box-shadow: 0 4px 0 nhsuk-shade(nhsuk-colour("red"), 50%);
1919
margin-bottom: 16px !important;
2020

2121
&:hover {
22-
background-color: shade(nhsuk-colour("red"), 20%);
22+
background-color: nhsuk-shade(nhsuk-colour("red"), 20%);
2323
}
2424

2525
&:active {
26-
background-color: shade(nhsuk-colour("red"), 50%);
26+
background-color: nhsuk-shade(nhsuk-colour("red"), 50%);
2727
}
2828
}
2929

3030
.overdue {
31-
background-color: tint(nhsuk-colour("red"), 80);
31+
background-color: nhsuk-tint(nhsuk-colour("red"), 80);
3232
}
3333

3434
.due-soon {

DigitalLearningSolutions.Web/Styles/trackingSystem/courseSetup.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99

1010
.status-inactive {
11-
border-left: 6px solid tint(nhsuk-colour("red"), 80);
11+
border-left: 6px solid nhsuk-tint(nhsuk-colour("red"), 80);
1212
}
1313

1414
.status-archived {

DigitalLearningSolutions.Web/Styles/trackingSystem/viewDelegate.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
&.inactive {
5555
background-color: #fff;
56-
border-left: 6px solid tint(nhsuk-colour("red"), 80);
56+
border-left: 6px solid nhsuk-tint(nhsuk-colour("red"), 80);
5757
}
5858

5959
&.archived {
@@ -63,7 +63,7 @@
6363
}
6464

6565
.status-inactive {
66-
border-left: 6px solid tint(nhsuk-colour("red"), 80);
66+
border-left: 6px solid nhsuk-tint(nhsuk-colour("red"), 80);
6767
}
6868

6969
.status-archived {

0 commit comments

Comments
 (0)