Skip to content

Commit e198883

Browse files
committed
Use design system tokens in main.sccs
1 parent 5be4d2b commit e198883

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

manage_breast_screening/assets/sass/main.scss

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -83,38 +83,38 @@ a[href="#"] {
8383

8484
.app-status-bar {
8585
background-color: #00386e;
86-
color: #ffffff;
87-
padding: 8px 0;
88-
border-bottom: 1px solid #d8dde0;
86+
color: $color_nhsuk-white;
87+
padding: nhsuk-spacing(2) 0;
88+
border-bottom: 1px solid nhsuk-colour("grey-4");
8989
}
9090

9191
.app-status-bar a {
92-
color: #ffffff;
92+
color: $color_nhsuk-white;
9393
}
9494
.app-status-bar a:hover,
9595
.app-status-bar a:active {
96-
color: #ffffff;
96+
color: $color_nhsuk-white;
9797
}
9898
.app-status-bar a:focus {
99-
color: #212b32;
99+
color: $color_nhsuk-black;
100100
}
101101

102102
.app-status-bar__row {
103103
display: flex;
104104
flex-wrap: wrap;
105-
gap: 24px;
105+
gap: nhsuk-spacing(4);
106106
align-items: center;
107107
}
108108

109109
.app-status-bar__row + .app-status-bar__row {
110-
margin-top: 8px;
111-
padding-top: 8px;
112-
border-top: 1px solid rgba(255, 255, 255, 0.2);
110+
margin-top: nhsuk-spacing(2);
111+
padding-top: nhsuk-spacing(2);
112+
border-top: 1px solid rgba($color_nhsuk-white, 0.2);
113113
}
114114

115115
.app-status-bar__item {
116116
display: flex;
117-
gap: 8px;
117+
gap: nhsuk-spacing(2);
118118
align-items: center;
119119
}
120120

manage_breast_screening/mammograms/presenters/appointment_presenters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def show_status_bar_for(self, user):
135135
@property
136136
def tag_properties(self):
137137
return {
138-
"classes": "nhsuk-tag--yellow nhsuk-u-margin-top-2",
138+
"classes": "nhsuk-tag--yellow nhsuk-u-margin-left-1",
139139
"text": "Special appointment",
140140
}
141141

0 commit comments

Comments
 (0)