blob: 02894e0837edeb460a1220026c611887b6bf2369 (
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
|
@import "_colours";
@import "_fonts";
@import "../sass/layout";
@import "../sass/report_list_pins";
#site-header {
background-color: $g1;
background: $g1;
border-bottom: none;
}
// Don't display a border atop the page
.nav-wrapper .nav-wrapper-2 {
border-top: none;
}
body.frontpage, body.twothirdswidthpage, body.fullwidthpage, body.authpage {
// Display the BCC logo and header correctly
#site-logo {
background: url(/cobrands/bristol/img/bcclogo.png) 0 14px no-repeat;
background-size: 81px 81px;
text-indent: 122px;
height: 111px;
line-height: 111px;
font-size: 30px;
// Getting rid of absolute positioning allows us to style the BCC nav below nicely
position: static;
}
// Make sure the header is only as tall as it needs to be
#site-header {
height: auto;
.container {
min-height: 0;
}
&:after {
content: " ";
height: 3.5em;
display: block;
border-bottom: solid 5px $g6;
border-top: solid 5px $bcc_red;
background-color: white;
}
}
#front-main {
background-color: white;
text-align: left;
padding-top: 40px;
#postcodeForm {
margin-top: 0;
div {
margin: 0;
}
}
a#geolocate_link {
color: $b3;
}
h1 {
font-size: 3em;
}
h1 + p {
font-size: 1.75em;
line-height: 1.25em;
max-width: 640px;
}
}
.nav-menu {
// Put the main FMS navigation below the Bristol header
float: left;
width: 100%;
margin-top: 7.25em;
a, span {
display: inline-block; // So the chevrons appear correctly
font-size: 1.2em;
}
a {
text-decoration: underline;
color: $b3;
&:hover {
background: transparent;
color: $g1;
}
}
span {
color: $g1;
}
}
// Stop the 'report a problem' button being red on non-map pages
.nav-menu--main a.report-a-problem-btn {
background-color: transparent;
}
// Stop .nav-wrapper from preventing the logo being clicked
.nav-wrapper .nav-wrapper-2 {
height: 0;
min-height: 0;
}
// Put FAQ side nav at correct vertical position
.content .sticky-sidebar aside {
top: 14.5em;
}
}
body.mappage {
// Stop the header being too tall
#site-header {
min-height: 79px;
.container {
min-height: 0;
#site-logo {
top: 0.5em;
line-height: 44px;
}
}
}
.nav-menu {
a, span {
text-decoration: none;
color: white;
font-size: 1.1em;
padding: 1em 0.75em 0.95em;
}
a:hover {
background: transparent;
text-decoration: underline;
}
a.report-a-problem-btn {
color: white;
margin: 0.5em 0.25em 0.45em;
&:hover {
background-color: lighten($bcc_red, 5%);
};
}
}
// Haven't quite figured out why this can't go on #site-header
.nav-wrapper {
.nav-wrapper-2 {
border-bottom: solid 5px $bcc_red;
}
}
.big-green-banner {
display: block;
background-color: $bcc_red;
text-transform: none;
}
}
.bristol_footer footer {
position: relative;
.footer-title {
display: block;
color: white;
font-family: $heading-font;
font-size: 1.2em;
margin-top: 0.5em;
}
.footer-social-links {
margin-bottom: 2.7em;
}
#footer-logo {
display: block;
a {
text-indent: -999em;
background-image: url(/cobrands/bristol/img/bcc_footer_logo_2.png);
background-repeat: no-repeat;
height: 52px;
width: 203px;
display: inline-block;
margin: 2em 0;
}
}
.span8, .span4 {
text-align: left;
ul {
text-align: left;
margin: 0;
}
}
.span8 {
width: 66%;
float: left;
}
.span4 {
width: 33%;
float: right;
}
.legal-nav li {
border-left: solid 1px $g2;
padding: 0 0.5em;
}
.legal-nav li:first-child {
border-left: none;
padding-left: 0;
}
}
// Set the default font colour everywhere
body, .content {
color: $g1;
}
|