Skip to content

Commit 0e1f97a

Browse files
Add new service header
1 parent 389ffc4 commit 0e1f97a

File tree

7 files changed

+676
-1
lines changed

7 files changed

+676
-1
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/**
2+
* Organisation header variant
3+
*/
4+
5+
.nhsuk-header--organisation {
6+
.nhsuk-header__link {
7+
@include nhsuk-link-style-header;
8+
display: block;
9+
10+
&:focus {
11+
.nhsuk-organisation-name,
12+
.nhsuk-organisation-descriptor {
13+
color: $nhsuk-focus-text-color;
14+
}
15+
}
16+
}
17+
18+
.nhsuk-logo {
19+
height: 24px;
20+
width: 60px;
21+
22+
@include mq($from: tablet) {
23+
height: 32px;
24+
width: 80px;
25+
}
26+
}
27+
}
28+
29+
.nhsuk-organisation-name {
30+
@include nhsuk-font(22, $line-height: 1.1);
31+
color: $color_nhsuk-white;
32+
display: block;
33+
font-weight: bold;
34+
35+
@include mq($media-type: print) {
36+
color: $nhsuk-print-text-color;
37+
}
38+
}
39+
40+
.nhsuk-organisation-name-split {
41+
display: block;
42+
}
43+
44+
.nhsuk-organisation-descriptor {
45+
@include nhsuk-font(14);
46+
color: $color_nhsuk-white;
47+
display: block;
48+
font-weight: bold;
49+
50+
@include mq($media-type: print) {
51+
color: $color_nhsuk-blue;
52+
}
53+
}
54+
55+
.nhsuk-organisation-logo {
56+
border: 0;
57+
max-height: 100px;
58+
max-width: 280px;
59+
60+
@media (max-width: 450px) {
61+
max-width: 150px;
62+
}
63+
64+
&[src$=".svg"] {
65+
height: auto;
66+
max-width: 220px;
67+
width: 100%;
68+
}
69+
}

0 commit comments

Comments
 (0)