forked from JonB/mobile-styleguide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
250 lines (225 loc) · 14.7 KB
/
index.html
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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE html>
<html>
<head>
<title>Mobile TV iPlayer styleguide</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.0/css/bootstrap.css" rel="stylesheet" media="screen">
<link href="simplex.min.css" rel="stylesheet" media="screen">
<link href="css/iplayer.css" rel="stylesheet" media="screen">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target=".navbar">
<div class="container">
<div class="row">
<h1> Mobile TV <img src="img/iplayer_pink.png"/> styleguide</h1>
</div>
<div class="row">
<div class="col-sm-3 navbar">
<h3>Index</h3>
<ul class="nav nav-pills nav-stacked" data-spy="affix" data-offset-top="0" data-offset-bottom="200">
<li><a href="#colour">Colour</a></li>
<li><a href="#layout">Layout</a><li>
<ul class="nav nav-pills nav-stacked">
<li><a href="#font-sizes">Font sizes</a></li>
<li><a href="#base">Base styles</a></li>
<li><a href="#carousel">Carousel</a></li>
<li><a href="#list">List</a></li>
</ul>
<li><a href="#breakpoints">Breakpoints</a></li>
<li><a href="#popups">Popups</a></li>
<li><a href="#navigation">Navigation</a></li>
<li><a href="#icons">Icons</a></li>
<li><a href="#channels">Channels</a></li>
</ul>
</div>
<div class="col-sm-9">
<h2 id="colour">Colour palette</h2>
<table class="table table-striped colours">
<thead><tr><td>Name</td><td>Hex or RGBA value</td></tr></thead>
<tbody>
<tr><td class="name">mobile-pink</td><td style="background-color:#f54997">#f54997</td></tr>
<tr><td class="name">air-aroma</td><td class="light" style="background-color:#C7C7C7">#C7C7C7</td></tr>
<tr><td class="name">another-gray</td><td style="background-color:#212020">#212020</td></tr>
<tr><td class="name">battered-gray</td><td style="background-color:#323232">#323232</td></tr>
<tr><td class="name">black</td><td style="background-color:#000">#000</td></tr>
<tr><td class="name">canvey-mud</td><td style="background-color:#343434">#343434</td></tr>
<tr><td class="name">carousel-gray</td><td style="background-color:#2E2E2E">#2E2E2E</td></tr>
<tr><td class="name">dark-gray</td><td style="background-color:#111111">#111111</td></tr>
<tr><td class="name">dark-transparent</td><td style="background-color:rgba(0, 0, 0, 0.8)">rgba(0, 0, 0, 0.8)</td></tr>
<tr><td class="name">darker-gray</td><td style="background-color:#1a1a1a">#1a1a1a</td></tr>
<tr><td class="name">deep-gray</td><td style="background-color:#262525">#262525</td></tr>
<tr><td class="name">definition-gray</td><td style="background-color:#808080">#808080</td></tr>
<tr><td class="name">gray</td><td style="background-color:#404040">#404040</td></tr>
<tr><td class="name">gudiance-red</td><td style="background-color:#AF372A">#AF372A</td></tr>
<tr><td class="name">gunship</td><td style="background-color:#777">#777</td></tr>
<tr><td class="name">iplayer-pink</td><td style="background-color:#f54997">#f54997</td></tr>
<tr><td class="name">light-gray</td><td class="light" style="background-color:#dedddd">#dedddd</td></tr>
<tr><td class="name">light-list-gray</td><td style="background-color:#1e1e1e">#1e1e1e</td></tr>
<tr><td class="name">light-transparent</td><td style="background-color: rgba(52,52,52,0.85)">rgba(52, 52, 52, 0.85)<td></tr>
<tr><td class="name">lighter-gray</td><td style="background-color:#474747">#474747</td></tr>
<tr><td class="name">list-gray</td><td style="background-color:#555555">#555555</td></tr>
<tr><td class="name">madison-gray</td><td style="background-color:#6b6b6a">#6b6b6a</td></tr>
<tr><td class="name">metallic-gray</td><td style="background-color:#4a494a">#4a494a</td></tr>
<tr><td class="name">midnight-gray</td><td style="background-color:#979797">#979797</td></tr>
<tr><td class="name">mist-gray</td><td style="background-color:#353535">#353535</td></tr>
<tr><td class="name">not-quite-iplayer-pink</td><td style="background-color:#cf3e80">#cf3e80</td></tr>
<tr><td class="name">onnow-pink</td><td style="background-color:#e92f83">#e92f83</td></tr>
<tr><td class="name">silver</td><td class="light" style="background-color:#BDBDBD">#BDBDBD</td></tr>
<tr><td class="name">slate-gray</td><td style="background-color:#3B3B3B">#3B3B3B</td></tr>
<tr><td class="name">tangerine</td><td style="background-color:#ff9600">#ff9600</td></tr>
<tr><td class="name">unavailable-gray</td><td style="background-color:#909090">#909090</td></tr>
<tr><td class="name">white</td><td class="light" style="background-color:#fff">#fff</td></tr>
<tr><td class="name">white-rock</td><td class="light" style="background-color:#eee">#eee</td></tr>
</tbody>
</table>
<h2 id="layout">Layout</h2>
<h3 id="font-sizes">Font sizes</h3>
<ul>
<li>Masterbrand: 11px, uppercase</li>
<li>Episode title: 18px</li>
<li>Episode subtitle: 14px</li>
<li>Episode synopsis: 14px</li>
</ul>
<h3 id="base">Base styles</h3>
<p>
<ul>
<li>Gel-padding: 8px</li>
</ul>
</p>
<h3 id="carousel">Carousel</h3>
<p>
<img class="img-responsive" src="img/carousel.jpg"/>
<ul>
<li>Title: White</li>
<li>Subtitle: Silver</li>
<li>Space between elements, 2 times gel padding</li>
</ul>
</p>
<h3 id="list">Episodes and Programmes List</h3>
<p>
<img class="img-responsive" src="img/list.jpg"/>
<ul>
<li>Header: 22px, White</li>
<li>Title: White</li>
<li>Subtitle: White</li>
<li>Synopsis: Silver</li>
<li>Tertiary information 13px</li>
<li>Space between elements, 2 times gel padding</li>
</ul>
</p>
<h2>Links and buttons</h2>
<p>
Links hover colour is iplayer-pink whereas buttons (or areas that get highlighted) are not-quite-iplayer-pink:
</p>
<p class="examples">
<a href="#">This is a link</a> and <button>This is a button</button>
</p>
<h2 id="breakpoints">Breakpoints</h2>
<table class="table table-striped">
<thead><tr><td>Breakpoint</td><td>Breakpoint description</td><td>Width range</td></tr></thead>
<tbody>
<tr><td>1</td><td>Small phones</td><td>up to 400px</td></tr>
<tr><td>2</td><td>Regular phones</td><td>drom 401px to 600px</td></tr>
<tr><td>3</td><td>Small tablets and portrait iPads</td><td>from 601px to 1008px</td></tr>
<tr><td>4</td><td>Desktops and landscape iPads</td><td>from 1009 pixels onwards</td></tr>
</tbody>
</table>
<h2 id="popups">Popups</h2>
<h3>Modal</h3>
<img class="img-responsive" src="img/tvlicense.jpg"/>
<p>Background fade: dark-transparent</p>
<h3>No modal</h3>
<img class="" src="img/popup.jpg"/>
<p>Background colour: Slate gray</p>
<h2 id="navigation">Navigation</h2>
<h2 id="icons">Icons</h2>
<h2 id="channels">Channels</h2>
<h3>BBC One</h3>
<table class="table table-striped colours">
<thead><tr><td>Name</td><td>Colour</td></tr></thead>
<tbody>
<tr><td class="name">Main brand colour</td><td style="background-color:#ea2923">#ea2923</td></tr>
</tbody>
</table>
<h3>BBC Two</h3>
<table class="table table-striped colours">
<thead><tr><td>Name</td><td>Colour</td></tr></thead>
<tbody>
<tr><td class="name">Main brand colour</td><td style="background-color:#005761">#005761</td></tr>
<tr><td class="name">Secondary brand colour</td><td style="background-color:#B0DfDD">#B0DfDD</td></tr>
</tbody>
</table>
<h3>BBC Three</h3>
<table class="table table-striped colours">
<thead><tr><td>Name</td><td>Colour</td></tr></thead>
<tbody>
<tr><td class="name">Main brand colour</td><td style="background-color:#3e1638">#3e1638</td></tr>
<tr><td class="name">Secondary brand colour</td><td style="background-color:#ff0d7a">#ff0d7a</td></tr>
</tbody>
</table>
<h3>BBC Four</h3>
<table class="table table-striped colours">
<thead><tr><td>Name</td><td>Colour</td></tr></thead>
<tbody>
<tr><td class="name">Main brand colour</td><td class="light" style="background-color:#fff">#fff</td></tr>
<tr><td class="name">Secondary brand colour</td><td style="background-color:#000">#000</td></tr>
<tr><td class="name">Blue brand colour</td><td style="background-color:#468091">#468091</td></tr>
</tbody>
</table>
<h3>CBeebies</h3>
<table class="table table-striped colours">
<thead><tr><td>Name</td><td>Colour</td></tr></thead>
<tbody>
<tr><td class="name">Main brand colour</td><td style="background-color:#29c5fe">#29c5fe</td></tr>
</tbody>
</table>
<h3>CBBC</h3>
<table class="table table-striped colours">
<thead><tr><td>Name</td><td>Colour</td></tr></thead>
<tbody>
<tr><td class="name">Main brand colour</td><td style="background-color:#bfd832">#bfd832</td></tr>
<tr><td class="name">Secondary brand colour</td><td style="background-color:#4e6919">#4e6919</td></tr>
</tbody>
</table>
<h3>BBC News</h3>
<table class="table table-striped colours">
<thead><tr><td>Name</td><td>Colour</td></tr></thead>
<tbody>
<tr><td class="name">Main brand colour</td><td style="background-color:#990000">#990000</td></tr>
</tbody>
</table>
<h3>BBC Parliament</h3>
<table class="table table-striped colours">
<thead><tr><td>Name</td><td>Colour</td></tr></thead>
<tbody>
<tr><td class="name">Main brand colour</td><td style="background-color:#e61512">#e61512</td></tr>
<tr><td class="name">Secondary brand colour</td><td style="background-color:#e22402">#e22402</td></tr>
<tr><td class="name">Gray brand colour</td><td style="background-color:#2f1b05">#2f1b05</td></tr>
</tbody>
</table>
<h3>BBC Alba</h3>
<table class="table table-striped colours">
<thead><tr><td>Name</td><td>Colour</td></tr></thead>
<tbody>
<tr><td class="name">Main brand colour</td><td style="background-color:#003167">#003167</td></tr>
<tr><td class="name">Secondary brand colour</td><td style="background-color:#6f9ecd">#6f9ecd</td></tr>
</tbody>
</table>
</div>
</div>
<div id="footer">
<div class="container">
<p class="text-muted">© 2014 BBC</p>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.0/js/bootstrap.min.js"></script>
</body>
</html>