-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelements.html
More file actions
270 lines (240 loc) · 12.8 KB
/
elements.html
File metadata and controls
270 lines (240 loc) · 12.8 KB
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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="">
<title>Citizens Advice</title>
<!-- Bootstrap core CSS -->
<link href="bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- The Sass Way -->
<link href="sass-test/stylesheets/main.css" media="screen" rel="stylesheet" type="text/css" />
<!--[if IE]>
<link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
<![endif]-->
<!-- Google Fonts -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,800italic,700,600,800,400,300' rel='stylesheet' type='text/css'>
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="bootstrap/assets/js/ie-emulation-modes-warning.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<div class="navbar-header">
<!-- Remove nav
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Show navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
-->
<div id="logo">
<img class="hidden-xs" src="img/citizensadvice-white-sm.png" alt="Citizens Advice">
<img class="visible-xs" src="img/citizensadvice-white-sm.png" alt="Citizens Advice">
</div>
</div>
<!-- Remove nav
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Principles</a></li>
<li class="active"><a href="#">Elements</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<div class="container-fluid">
<div class="row">
<div class="status">
<p class="alpha-badge">Alpha</p><p>This page is part of the <a href="http://alphablog.citizensadvice.org.uk">Digital Alpha Project</a> – <a href="#">give us feedback</a> to help improve it?</p>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<ol class="breadcrumb">
<li><a href="index.html">Home</a></li>
<li class="active">Elements</li>
</ol>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-8">
<h1>Design Elements for Citizens Advice Beta</h1>
<p>This document starts to look at the design elements and principles of the Citizens Advice Digital Alpha Project. Using an <a href="http://patternlab.io/">Atomic Design</a> approach, this guide outlines the <a href="http://patternlab.io/about.html#atoms">atoms</a> of the system. Use these abstract objects, the <a hre="#">research</a> findings and the <a href="#">content style guide</a> to create concrete pages.</p>
</div>
</div>
</div>
<div class="row--white">
<div class="container">
<div class="row">
<div class="col-md-4">
<ol type="1">
<li><a href="#Layout">Layout</a></li>
<li><a href="#Typography">Typography</a></li>
<li><a href="#Colours">Colours</a></li>
<li>Icons and images</li>
</ol>
</div>
<div class="col-md-4">
<ol type="1" start="5">
<li>Fields</li>
<li>Buttons</li>
<li>Alerts</li>
<li>Panels</li>
</ol>
</div>
</div>
</div><!-- /.container -->
</div>
<div class="container">
<div class="row">
<div class="col-md-8">
<h2 id ="Layout">Layout</h2>
<p>Based on the <a href="http://getbootstrap.com/">Bootstrap</a> approach of a 12 column grid with a maximum width of 1170px give us the flexibility to adapt to all the known layout needs of the site but maintain a consistent structure of pages.</p>
<p>Content pages are designed to be held in 8 columns when viewed on desktop (single column of content on mobile devices), this is designed to <a href="http://www.smashingmagazine.com/2009/09/24/10-useful-usability-findings-and-guidelines/">help with readability</a></p>
</div>
</div>
</div><!-- /.container -->
<div class="container">
<div class="row">
<div class="container">
<div class="container-fluid">
<div class="row show-grid">
<div class="col-md-8">.col-md-8</div>
<div class="col-md-4">.col-md-4</div>
</div>
</div>
</div><!-- /.container -->
<div class="container">
<div class="container-fluid">
<div class="row show-grid">
<div class="col-md-6">.col-md-6</div>
<div class="col-md-6">.col-md-6</div>
</div>
</div>
</div><!-- /.container -->
<div class="container">
<div class="container-fluid">
<div class="row show-grid">
<div class="col-md-4">.col-md-4</div>
<div class="col-md-8">.col-md-8</div>
</div>
</div>
</div><!-- /.container -->
<div class="container">
<div class="container-fluid">
<div class="row show-grid">
<div class="col-md-4">.col-md-4</div>
<div class="col-md-4">.col-md-4</div>
<div class="col-md-4">.col-md-4</div>
</div>
</div>
</div><!-- /.container -->
</div>
</div>
</div><!-- /.container -->
<div class="container">
<div class="row">
<div class="col-md-8">
<h2 id ="Typography">Typography</h2>
<p>The font used is <a href="http://www.google.com/fonts/specimen/Open+Sans">Open Sans</a> a sans font chosen for legibility and consistency in online and offline applications. The font comes in various weights, but by default we will be using:</p>
<p style="font-weight: 300;">Open Sans 300</p>
<p style="font-weight: 400;">Open Sans 400</p>
<p style="font-weight: 600;">Open Sans 600</p>
<p style="font-weight: 700;">Open Sans 700</p>
<p>Typographic styles for content specific pages. See <a href="#">content guidelines</a> for how to write content.</p>
<h1>h1 for page titles</h1>
<h2>h2 sub header, for section titles</h2>
<h3>h3 for headings within sections</h3>
<h4>h4</h4>
<h5>h5</h5>
<h6>h6</h6>
<p>This is a paragraph style for content.</p>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<h2 id ="Colours">Colours</h2>
<h3>Colour contrast</h3>
<p>The colour contrast ratio for text and interactive elements should be at least 4.5:1 <a href="http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html">as recommended by the W3C</a>.</p>
<h3>Brand</h3>
<p>Colours as defined in the <a href="#">Brand Guidelines</a>. To be used in pairs as described below. These colours are not to be used for marketing communications such as campaigns, reporting and policy.</p>
<div class="col-md-2 swatch swatch--brand--heritage-blue"><p>Blue #004B88</p></div>
<div class="col-md-2 swatch swatch--brand--heritage-yellow"><p>Yellow #FCBB69</p></div>
<div class="col-md-2 swatch swatch--brand--responsible-purple"><p>Purple #57486B</p></div>
<div class="col-md-2 swatch swatch--brand--responsible-aqua"><p>Aqua #90CE9C</p></div>
<div class="col-md-2 swatch swatch--brand--inventive-teal"><p>Teal #006278</p></div>
<div class="col-md-2 swatch swatch--brand--inventive-pink"><p>Pink #FBC0AD</p></div>
<div class="col-md-2 swatch swatch--brand--generous-green"><p>Green #00553F</p></div>
<div class="col-md-2 swatch swatch--brand--generous-mauve"><p>Mauve #B5AFD7</p></div>
</div>
</div>
<div class="row">
<div class="col-md-8">
<h3>Status</h3>
<p>These colours are used to define if a page is in the stages of testing (Alpha) or a tried and tested stage (Beta).</p>
<div class="col-md-2 swatch swatch--product-status--alpha"><p>Alpha #C02F43</p></div>
<div class="col-md-2 swatch swatch--product-status--beta"><p>Beta #E9E083</p></div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h3>Palette</h3>
<h4>Extended</h4>
<p>Additional colours used to reinforce the brand colours and provide more clarity in content, for example when a piece of content is important.</p>
<div class="col-md-2 swatch swatch--extended--blue-darker"><p>$blue-darker #000</p></div>
<div class="col-md-2 swatch swatch--extended--blue-lighter"><p>$blue-lighter #333</p></div>
<div class="col-md-2 swatch swatch--extended--red"><p>$red #B53A1F</p></div>
<div class="col-md-2 swatch swatch--extended--red-heritage"><p>$red-heritage #623534</p></div>
<div class="col-md-2 swatch swatch--extended--red-brighter"><p>$red-brighter #C02F43</p></div>
<div class="col-md-2 swatch swatch--extended--red-mellow"><p>$red-mellow #DF3034</p></div>
<div class="col-md-2 swatch swatch--extended--purple"><p>$purple #503460</p></div>
<div class="col-md-2 swatch swatch--extended--mauve"><p>$mauve #C5A5CE</p></div>
<div class="col-md-2 swatch swatch--extended--pink"><p>$pink #F9B9BA</p></div>
<div class="col-md-2 swatch swatch--extended--peach"><p>$peach #F8A484</p></div>
<div class="col-md-2 swatch swatch--extended--orange"><p>$orange #FCBB69</p></div>
<div class="col-md-2 swatch swatch--extended--yellow"><p>$yellow #E9E083</p></div>
<div class="col-md-2 swatch swatch--extended--green-heritage"><p>$green-heritage #00553F</p></div>
<div class="col-md-2 swatch swatch--extended--green-blue"><p>$green-blue #005E7F</p></div>
<div class="col-md-2 swatch swatch--extended--green"><p>$green #008286</p></div>
<div class="col-md-2 swatch swatch--extended--turquoise"><p>$turquoise #81CEC6</p></div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h4>Monochrome</h4>
<div class="col-md-2 swatch swatch--mono--black"><p>$black #000</p></div>
<div class="col-md-2 swatch swatch--mono--gray1"><p>$gray-1 #333</p></div>
<div class="col-md-2 swatch swatch--mono--gray2"><p>$gray-2 #666</p></div>
<div class="col-md-2 swatch swatch--mono--gray3"><p>$gray-3 #999</p></div>
<div class="col-md-2 swatch swatch--mono--gray4"><p>$gray-4 #CCC</p></div>
<div class="col-md-2 swatch swatch--mono--white"><p>$white #fff</p></div>
</div>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="bootstrap/dist/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="bootstrap/assets/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>