blob: 8e3c6b5d816ddfc4e8ba69f53d124e28a702ad5b (
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
|
@import "_colours";
@import "../sass/layout";
h1 {
letter-spacing: -1px;
font-size: 2.333333333em; //42px
line-height: 1.142857143em; //42px
}
/* Top */
#site-header {
&:after {
content: " ";
height: $mappage-header-height + 1px;
display: block;
border-bottom: 1px solid $grey50;
background-color: white;
}
}
#main-nav {
float: none;
margin-top: $mappage-header-height;
.ie9 & > * {
#{$right}: auto;
#{$left}: 0;
}
}
.nav-menu {
border: 0;
}
.nav-menu a, .nav-menu span {
color: $beck-blue;
font-family: $heading-font;
font-size: 1.125em;
border: 0;
background-color: transparent;
text-decoration: underline;
&:hover,
&:active,
&:focus,
&:visited {
color: $blue-dark;
background-color: transparent;
}
}
.nav-menu--main a.report-a-problem-btn {
background: transparent;
&:hover,
&:active,
&:focus {
background: transparent;
}
}
/* Homepage */
#front-main {
background-color: transparent;
border-bottom: 1px solid $grey50;
margin-top: 3em;
padding-bottom: 2em;
#postcodeForm div {
margin: 0;
}
a#geolocate_link {
color: $beck-blue;
font-family: $heading-font;
text-decoration: underline;
font-size: 1.125em;
}
}
.frontpage .content {
padding: 2em 0;
}
#front_stats {
border: 0;
}
/* Bottom */
#footer li {
display: inline-block;
width: auto;
margin-right: 2em;
}
/* Navigation */
.top-row-extras { display: none; }
/* Map page */
body.mappage {
#site-header {
@include box-sizing(border-box);
top: 0;
}
// Reinstate the floated nav bar on map pages
#main-nav {
float: #{$right};
margin-top: 0;
min-height: auto;
height: auto;
.nav-menu a, .nav-menu span {
}
// IE9 uses absolute positioning rather than floats.
.ie9 & {
float: none;
& > * {
#{$right}: 0;
#{$left}: auto;
}
}
}
// A few changes to the nav items now they're on a black background
.nav-menu {
a, span {
color: white;
font-size: 1.1em;
}
a {
&:hover,
&:active,
&:focus {
background: transparent;
text-decoration: underline;
}
}
a.report-a-problem-btn {
color: white;
background: transparent;
}
}
.big-green-banner {
display: block;
text-transform: none;
}
}
body.mappage #footer { display: none; }
.big-green-banner {
text-transform: none;
// Prevent blue button from touching blue logo above.
// The 3px border is stolen from the official TFL website header.
border-top: 3px solid #121315;
}
|