blob: 53bae8431db3b0dccb35f3021a1af19a9067b98d (
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
|
@import "../sass/h5bp";
@import "./_colours";
@import "../sass/mixins";
@import "../sass/base";
#site-logo {
padding: 0.5em 0;
width: (313px * 0.7);
height: (51px * 0.7);
@include svg-background-image('/cobrands/warwickshire/images/logo');
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: (313px * 0.7) (51px * 0.7);
}
#front-main {
text-align: $left;
background: $primary;
color: $primary_text;
margin: 0;
padding: 2em 1em;
h1 {
margin-top: 0;
}
#postcodeForm {
margin: 0;
padding: 0;
color: inherit;
background: transparent;
div {
background: #fff;
border: none;
margin-top: 0.5em;
max-width: 24em;
box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.2);
input#pc {
font-family: inherit;
color: $primary_text;
&:focus {
outline: 3px solid $warwickshire-yellow;
}
}
input#sub {
display: block;
height: auto;
width: 40px;
background-color: transparent;
@include svg-background-image('/cobrands/warwickshire/images/search');
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: 20px 20px;
// TODO: I'd really prefer to do padding-top/overflow:hidden
// here, but that doesn't work with flex children. Maybe we
// should just update the markup to include the image directly,
// or wrap the text content in an element we can hide?
text-indent: -9000px;
&:hover,
&:focus {
background-color: $primary;
@include svg-background-image('/cobrands/warwickshire/images/search');
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: 20px 20px;
}
&:focus {
background-color: $warwickshire-yellow;
}
}
}
}
}
a#geolocate_link {
padding: 0;
margin-top: 0.5em;
&:focus {
outline: 3px solid $warwickshire-yellow;
}
&.loading,
&.loading:hover {
background: transparent url("/cobrands/warwickshire/images/spinner-f6f6f6-333333.gif") 100% 50% no-repeat;
padding: 0 1.5em 0 0;
}
}
.box-warning {
background-color: mix(#fff, $warwickshire-orange, 80%);
}
.site-footer {
background: #000;
color: #fff;
padding: 2em 0;
a {
color: #fff;
}
li {
list-style: inherit;
}
.identity__logo {
display: block;
height: 45px;
max-width: 100%;
width: 264px;
@include svg-background-image('/cobrands/warwickshire/images/logo');
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: contain;
}
.visually-hidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
}
.site-footer__container {
@include flex-container();
@include flex-wrap(wrap);
}
.site-footer__text {
font-size: 0.875em;
margin: 1rem 0 .75rem;
}
.site-footer__navigation {
.list {
line-height: 1.3;
list-style: none;
margin-left: 0;
margin-top: 0;
-webkit-column-gap: 2rem;
column-gap: 2rem;
-webkit-columns: 2;
columns: 2;
}
.list__item {
-webkit-column-break-inside: avoid;
break-inside: avoid-column;
margin: 0;
padding: .2rem 0 .75rem;
font-size: 0.875em;
}
}
|