-
Notifications
You must be signed in to change notification settings - Fork 0
/
design-system.html
256 lines (227 loc) · 10 KB
/
design-system.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
251
252
253
254
255
256
---
graphics:
- title: a title
description: a description
image.src: /assets/img/hero.png
image.alt: a hero
- title: b title
description: b desc
image.src: /assets/img/hero.png
image.alt: b hero
- title: c title
description: c desc
image.src: /assets/img/hero.png
image.alt: c hero
hero:
image: /assets/img/hero-temp-2019.png
intro: The quick brown fox jumped over the lazy dog.
layout: kitchen
tagline: The lazy dog jumped over the quick brown fox TAGGED.
title: The Chicago Design System Online components
---
<!-- USDS2.0? form stuff -->
<div class="usa-grid">
<div class="usa-width-one-whole">
<h1>Form field examples</h1>
<h2>Full form/Fieldset and legend</h2>
<form class="usa-form">
<fieldset>
<legend>Name</legend>
<label for="title">Title <span class="usa-input-label-helper">(optional)</span></label>
<input class="usa-input-tiny" id="title" name="title" type="text">
<label for="first-name">First name</label>
<input id="first-name" name="first-name" type="text" required aria-required="true">
<label for="middle-name">Middle name <span class="usa-input-label-helper">(optional)</span></label>
<input id="middle-name" name="middle-name" type="text">
<label for="last-name">Last name</label>
<input id="last-name" name="last-name" type="text" required aria-required="true">
</fieldset>
</form>
<form class="usa-form-large">
<fieldset>
<legend>Mailing address</legend>
<label for="mailing-address-1">Street address 1</label>
<input id="mailing-address-1" name="mailing-address-1" type="text">
<label for="mailing-address-2">Street address 2 <span class="usa-input-label-helper">(optional)</span></label>
<input id="mailing-address-2" name="mailing-address-2" type="text">
<div>
<div class="usa-input-grid usa-input-grid-medium">
<label for="city">City</label>
<input id="city" name="city" type="text">
</div>
<div class="usa-input-grid usa-input-grid-small">
<label for="state">State</label>
<select id="state" name="state">
<option value>- Select -</option>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DE">Delaware</option>
<option value="DC">District of Columbia</option>
<option value="FL">Florida</option>
<option value="GA">Georgia</option>
<option value="HI">Hawaii</option>
<option value="ID">Idaho</option>
<option value="IL">Illinois</option>
<option value="IN">Indiana</option>
<option value="IA">Iowa</option>
<option value="KS">Kansas</option>
<option value="KY">Kentucky</option>
<option value="LA">Louisiana</option>
<option value="ME">Maine</option>
<option value="MD">Maryland</option>
<option value="MA">Massachusetts</option>
<option value="MI">Michigan</option>
<option value="MN">Minnesota</option>
<option value="MS">Mississippi</option>
<option value="MO">Missouri</option>
<option value="MT">Montana</option>
<option value="NE">Nebraska</option>
<option value="NV">Nevada</option>
<option value="NH">New Hampshire</option>
<option value="NJ">New Jersey</option>
<option value="NM">New Mexico</option>
<option value="NY">New York</option>
<option value="NC">North Carolina</option>
<option value="ND">North Dakota</option>
<option value="OH">Ohio</option>
<option value="OK">Oklahoma</option>
<option value="OR">Oregon</option>
<option value="PA">Pennsylvania</option>
<option value="RI">Rhode Island</option>
<option value="SC">South Carolina</option>
<option value="SD">South Dakota</option>
<option value="TN">Tennessee</option>
<option value="TX">Texas</option>
<option value="UT">Utah</option>
<option value="VT">Vermont</option>
<option value="VA">Virginia</option>
<option value="WA">Washington</option>
<option value="WV">West Virginia</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
<option value="AA">AA - Armed Forces Americas</option>
<option value="AE">AE - Armed Forces Africa</option>
<option value="AE">AE - Armed Forces Canada</option>
<option value="AE">AE - Armed Forces Europe</option>
<option value="AE">AE - Armed Forces Middle East</option>
<option value="AP">AP - Armed Forces Pacific</option>
</select>
</div>
</div>
<label for="zip">ZIP</label>
<input class="usa-input-medium" id="zip" name="zip" type="text" pattern="[\d]{5}(-[\d]{4})?">
</fieldset>
</form>
<h2>Text inputs</h2>
<form>
<label for="input-type-text">Text input label</label>
<input id="input-type-text" name="input-type-text" type="text">
<label for="input-focus">Text input focused</label>
<input class="usa-focus" id="input-focus" name="input-focus" type="text">
<div class="usa-input-error">
<label class="usa-input-error-label" for="input-error">Text input error</label>
<span class="usa-input-error-message" id="input-error-message" role="alert">Helpful error message</span>
<input id="input-error" name="input-error" type="text" aria-describedby="input-error-message">
</div>
<label for="input-success">Text input success</label>
<input class="usa-input-success" id="input-success" name="input-success" type="text">
<label for="input-type-textarea">Text area label</label>
<textarea id="input-type-textarea" name="input-type-textarea"></textarea>
</form>
</div>
</div>
<div class="usa-grid">
<div class="usa-width-one-whole">
<h3>News releases</h3>
<table class="usa-table-borderless">
<caption>The five latest news releases.</caption>
<thead>
<tr>
<th scope="col" class="nowrap">Release date</th>
<th scope="col">Title</th>
</tr>
</thead>
<tbody>
<tr>
<td class="nowrap">Jan 31, 2019</td>
<th scope="row">
<a href="/content/city/en/depts/mayor/press_room/press_releases/2019/january/NationalExcellenceInMentoringAward.html">Mayor Emanuel Receives National Excellence In Mentoring Award</a>
</th>
</tr>
<tr>
<td class="nowrap">Jan 31, 2019</td>
<th scope="row">
<a href="/content/city/en/depts/mayor/press_room/press_releases/2019/january/JudgeDowCourtOrder.html"> Joint Statement From Mayor Emanuel And Police Superintendent Johnson On Judge Dow's Court Order</a>
</th>
</tr>
<tr>
<td class="nowrap">Jan 30, 2019</td>
<th scope="row">
<a href="/content/city/en/depts/mayor/press_room/press_releases/2019/january/RecordHighLiveReleaseRate.html">Mayor Emanuel And Chicago Animal Care And Control Announce Record-High Live Release Rate In 2018</a>
</th>
</tr>
<tr>
<td class="nowrap">Jan 30, 2019</td>
<th scope="row">
<a href="/content/city/en/depts/mayor/press_room/press_releases/2019/january/DepartmentBuildingsTakeActionRestoreHeatApartments.html">Mayor Emanuel Directs Department Of Buildings To Take Action To Restore Heat In Apartments During Historic Winter Cold</a>
</th>
</tr>
<tr>
<td class="nowrap">Jan 39, 2019</td>
<th scope="row">
<a href="/content/city/en/depts/mayor/press_room/press_releases/2019/january/AldermanSolisResignation.html">Statement From Mayor Emanuel On Alderman Solis’s Resignation As Chairman Of The Committee On Zoning, Landmarks And Building Standards</a>
</th>
</tr>
</tbody>
</table>
<p><a href="/city/en/depts/mayor/press_room/press_releases.html">View all news releases</a></p>
<h3>Other city updates</h3>
<table class="usa-table-borderless">
<caption>The five latest city updates.</caption>
<thead>
<tr>
<th scope="col" class="nowrap">Release date</th>
<th scope="col">Title</th>
</tr>
</thead>
<tbody>
<tr>
<td class="nowrap">Feb 01, 2019</td>
<th scope="row">
<a href="/content/city/en/depts/cpb/provdrs/police_discipline/news/2019/february/consent-decree-on-chicago-police-reform-approved-by-judge.html">Consent Decree on Chicago Police Reform Approved</a>
</th>
</tr>
<tr>
<td class="nowrap">Jan 30, 2019</td>
<th scope="row">
<a href="/content/city/en/depts/bldgs/provdrs/inspect/news/2019/january/mayor-emanuel-directs-department-of-buildings-to-take-action-to-.html">Mayor Emanuel Directs Department of Buildings to Take Action to Restore Heat in Apartments During Historic Winter Cold</a>
</th>
</tr>
<tr>
<td class="nowrap">Jan 30, 2019</td>
<th scope="row">
<a href="/content/city/en/depts/doit/provdrs/business_developmentmanagementpmo/news/2019/january/find-a-warming-center.html">Find A Warming Center</a>
</th>
</tr>
<tr>
<td class="nowrap">Jan 28, 2019</td>
<th scope="row">
<a href="/content/city/en/depts/bldgs/provdrs/inspect/news/2019/january/city-reminds-landlords-and-tenants-about-requirements-of-chicago.html">City Reminds Landlords and Tenants About Requirements of Chicago Heat Ordinance During Extreme Cold Weather</a>
</th>
</tr>
<tr>
<td class="nowrap">Jan 25, 2019</td>
<th scope="row">
<a href="/content/city/en/depts/cdph/provdrs/environmental_health/news/2019/january/mayor-emanuel-continues-to-strengthen-environmental-protections-.html">Mayor Emanuel Continues To Strengthen Environmental Protections Targeting Bulk Material Handlers And Manganese</a>
</th>
</tr>
</tbody>
</table>
<p><a href="/city/en/depts/news.html">View all city updates</a></p>
</div>
</div>