blob: 83afd59a7ec39048303214f2c7751e3f97f8f061 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
@import "_colours";
@import "../sass/layout";
#front-main-container {
background-color: $hart_primary;
}
body.twothirdswidthpage .content {
.sticky-sidebar {
aside {
top: 14em;
}
}
}
.mobile-header-nav {
display: none;
}
#site-header {
margin-bottom: 2em; // To push main content down under abs. pos menu
}
#site-logo {
margin-left: 2.25em;
border-bottom: solid 0.75em $primary;
padding: 1em 0;
background: url("/cobrands/hart/hart-logo.png") 0 50% no-repeat;
width: 123px;
height: 132px;
}
#main-nav--hart {
margin: 0;
}
// "Home | My Services | Residents" etc menu *in* the header
.nav-menu--hart {
margin-left: 157px;
position: relative;
top: 110px;
float: none;
li {
text-align: center;
text-transform: uppercase;
padding: 0 15px;
font-size: 16px;
border-right: solid 1px white;
line-height: 1.5em;
}
li:last-child {
border-right: none;
}
a {
padding: 0;
font-size: inherit;
}
li:hover, li:hover a {
background-color: white;
color: black;
text-decoration: none;
}
}
// Menu *under* header - with a full width shadow first
.container--hart {
box-shadow: 0 0 20px rgba(0,0,0,0.2); // shadow to add contrast with map
position: absolute;
max-width: none;
padding: 0;
width: 100%;
body.mappage & {
position: absolute; // rather than static
}
}
#main-nav {
min-height: 0;
float: none;
margin: 11em auto 0; // To push it under header
background-color: #fff;
height: auto;
// #main-nav acts a bit like a .container, so we give it the same max-width.
max-width: $container-max-width;
// And, like other .containers, we remove the max-width on the map page.
body.mappage & {
max-width: none;
}
.ie9 & {
position: static;
& > * {
position: static;
-ms-transform: none;
}
}
}
// FixMyStreet "Report a problem | Sign in | All reports" etc menu
.nav-menu--first {
padding: 0.25em 0;
float: none;
li {
float: left;
margin-left: 1em;
text-align: center;
a, span {
padding: 0;
display: inline;
font-size: 1em;
color: #333;
background: #fff;
}
a {
&:link, &:visited {
color: $hart_primary;
text-decoration: none;
}
&:hover {
background-color: #fff;
color: $hart_primary;
text-decoration: underline;
}
}
}
}
|