-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsandbox.html
591 lines (491 loc) · 24.3 KB
/
sandbox.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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
<!DOCTYPE html>
<!--[if lte IE 8 ]> <html lang="en" class="ie ie-8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="ie ie-9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<title>Funding Circle - SASS-common sandbox</title>
<meta charset="utf-8">
<meta content="content-type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0 , maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="dist/style.css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<div class="breadcrumbs_wrap">
<ul class="breadcrumbs wrap">
<li><span class="breadcrumbs_step">1</span><span class="breadcrumbs_title">QUOTE</span> <span class="breadcrumbs_duration">2 min</span></li>
<li class="is-active"><span class="breadcrumbs_step">2</span><span class="breadcrumbs_title">YOUR CLIENT</span> <span class="breadcrumbs_duration">2 min</span></li>
<li><span class="breadcrumbs_step">3</span><span class="breadcrumbs_title">DETAILS</span> <span class="breadcrumbs_duration">2 min</span></li>
<li><span class="breadcrumbs_step">4</span><span class="breadcrumbs_title">DOCUMENTS</span> <span class="breadcrumbs_duration">2 min</span></li>
</ul>
</div>
<div class="breadcrumbs_wrap--last-step">
<ul class="breadcrumbs wrap">
<li><span class="breadcrumbs_step">1</span><span class="breadcrumbs_title">QUOTE</span> <span class="breadcrumbs_duration">2 min</span></li>
<li><span class="breadcrumbs_step">2</span><span class="breadcrumbs_title">YOUR CLIENT</span> <span class="breadcrumbs_duration">2 min</span></li>
<li><span class="breadcrumbs_step">3</span><span class="breadcrumbs_title">DETAILS</span> <span class="breadcrumbs_duration">2 min</span></li>
<li class="is-active"><span class="breadcrumbs_step">4</span><span class="breadcrumbs_title">DOCUMENTS</span> <span class="breadcrumbs_duration">2 min</span></li>
</ul>
</div>
<main data-role="wrap">
<form action="" class="wrap--form cl--a">
<!-- MESSAGES -->
<div class="message">
<p class="message_title">Congratulations! You've passed the first step.</p>
<p>7 out of 10 businesses who complete our aplication from here are offered a loan.</p>
</div>
<div class="message--error">
<p class="message_title">Congratulations! You've passed the first step.</p>
<p>7 out of 10 businesses who complete our aplication from here are offered a loan.</p>
</div>
<div class="message--warning">
<p class="message_title">Congratulations! You've passed the first step.</p>
<p>7 out of 10 businesses who complete our aplication from here are offered a loan.</p>
</div>
<div class="message--success">
<p class="message_title">Congratulations! You've passed the first step.</p>
<p>7 out of 10 businesses who complete our aplication from here are offered a loan.</p>
</div>
<h1>Your application</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Molestias facere quibusdam distinctio beatae, magnam reiciendis odit incidunt rem, sit eligendi ratione aspernatur maiores totam a blanditiis libero, nemo architecto eos.</p>
<h2>About your loan</h2>
<div class="form-default_wrap">
<div class="form-default-col--small">
<aside class="form-default_info-box">
<h5>Why do we need this?</h5>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolor repellendus delectus voluptatibus molestias fugiat in, officiis fugit iure, id nobis odio accusantium neque, natus eius! Blanditiis soluta repudiandae ipsam maxime!</p>
</aside>
</div>
<fieldset class="form-default">
<label for="" class="required">Input field with an auto tooltip</label>
<div class="form-default_element--tooltip is-loading">
<input type="text" class="valid">
<div class="form-default_tooltip">
This should be a very short text of no more than 90 words
</div>
<ul class="form-default_autocomplete">
<li>
<div>Lorem ipsum dolor sit amet</div>
<div class="form-default_autocomplete-note">This is a note</div>
</li>
<li>consectetur adipisicing elit</li>
<li>Test</li>
</ul>
<div class="form-default_autocomplete_loading">Searching</div>
</div>
<label for="" class="required">Input field with an always visible tooltip</label>
<div class="form-default_element--tooltip is-loading">
<input type="text" class="valid">
<div class="form-default_tooltip is-visible">
This should be a very short text of no more than 90 words
</div>
</div>
<div class="form-default_element">
<div class="select">
<select name="" id="" class="error">
<option value="">1 month</option>
<option value="">3 months</option>
<option value="">6 months</option>
<option value="">12 months</option>
<option value="">24 months</option>
<option value="">48 months</option>
</select>
</div>
<div class="error-message">
Please enter a valid password!<br>
Please enter a valid password!<br>
Please enter a valid password!<br>
Please enter a valid password!
</div>
</div>
<label for="" class="required">Loan term</label>
<div class="form-default_element">
<div class="select">
<select name="" id="" class="valid">
<option value="">1 month</option>
<option value="">3 months</option>
<option value="">6 months</option>
<option value="">12 months</option>
<option value="">24 months</option>
<option value="">48 months</option>
</select>
</div>
<div class="error-message">
Please enter a valid password!<br>
Please enter a valid password!<br>
Please enter a valid password!<br>
Please enter a valid password!
</div>
</div>
<label for="" class="required">Loan term</label>
<div class="form-default_element">
Text
<span class="select--inline">
<select name="" id="" class="valid">
<option value="">1 month</option>
<option value="">3 months</option>
<option value="">6 months</option>
<option value="">12 months</option>
<option value="">24 months</option>
<option value="">48 months</option>
</select>
</span>
Text
<span class="input--inline">
<input type="text">
</span>
Text
<span class="input--inline">
<input type="text" value="This is valid" class="valid">
</span>
</div>
<label for="" class="required">What is the nature of the business and how will it use the loan?</label>
<div class="form-default_element">
<textarea name="" class="valid"></textarea>
<div class="form-default_chars-left">493 left</div>
</div>
<div>
<h3>Primary buttons</h3>
<a href="" class="btn--primary btn--large">Large</a>
<a href="" class="btn--primary btn--normal">Normal</a>
<a href="" class="btn--primary btn--normal fci-search">With icon</a>
<a href="" class="btn--primary btn--disabled btn--normal">Normal disabled</a>
<a href="" class="btn--primary btn--normal" disabled>Normal disabled using attribute</a>
<a href="" class="btn--primary btn--disabled btn--normal fci-attention">Disabled with icon</a>
<a href="" class="btn--primary btn--small">Small</a>
</div>
<div>
<h3>Secondary buttons</h3>
<a href="" class="btn--secondary btn--large">Large</a>
<a href="" class="btn--secondary btn--normal">Normal</a>
<a href="" class="btn--secondary btn--normal fci-tick">With icon</a>
<a href="" class="btn--secondary btn--disabled btn--normal">Normal disabled</a>
<a href="" class="btn--secondary btn--normal" disabled>Normal disabled using attribute</a>
<a href="" class="btn--secondary btn--disabled btn--normal fci-tick">Disabled with icon</a>
<a href="" class="btn--secondary btn--small">Small</a>
</div>
<div class="bg-2">
<h3>Alternative secondary buttons</h3>
<a href="" class="btn--secondary-alt btn--large">Large</a>
<a href="" class="btn--secondary-alt btn--normal">Normal</a>
<a href="" class="btn--secondary-alt btn--normal fci-close">With icon</a>
<a href="" class="btn--secondary-alt btn--disabled btn--normal">Normal disabled</a>
<a href="" class="btn--secondary-alt btn--normal" disabled>Normal disabled using attribute</a>
<a href="" class="btn--secondary-alt btn--normal fci-close">Disabled with icon</a>
<a href="" class="btn--secondary-alt btn--small">Small</a>
</div>
<div>
<h3>Button with a spinner</h3>
<h4>Primary</h4>
<button type="button" class="btn--primary btn--normal btn--spinner">Continue</button>
<button disabled type="button" class="btn--primary btn--normal btn--spinner">Disabled</button>
<button disabled type="button" class="btn--primary btn--normal btn--spinner is-loading">Disabled and loading</button>
<h4>Secondary</h4>
<button type="button" class="btn--secondary btn--normal btn--spinner">Update</button>
<button disabled type="button" class="btn--secondary btn--normal btn--spinner">Disabled</button>
<button disabled type="button" class="btn--secondary btn--normal btn--spinner is-loading">Disabled and loading</button>
</div>
<div>
<h3>Button that looks like a link</h3>
<button type="button" class="btn--link">Button which looks like a link</button> | <a href="">Real link</a>
</div>
<a href="#" class="btn--primary btn--s1">Save</a>
</fieldset>
</div><!--form-default_wrap-->
<h2>About <strong class="super-bold">Sunderland Association football club, limited(the)</strong>, 00049116, SRS 1SU</h2>
<p><a href="#">Add trading details</a> lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil soluta molestiae eaque laboriosam fugit mollitia doloremque, illum corporis aspernatur reiciendis. Quaerat, officia. Perferendis vel obcaecati a sapiente amet, repellat ex.</p>
<div class="form-default_wrap">
<fieldset class="form-default">
<label for="" class="required">Nuber of full-time employees</label>
<div class="form-default_element">
<div class="select">
<select name="" id="">
<option value="">1 month</option>
<option value="">3 months</option>
<option value="">6 months</option>
<option value="">12 months</option>
<option value="">24 months</option>
<option value="">48 months</option>
</select>
</div>
</div>
<label for="" class="required">Does the business bank account have an overdraft?</label>
<section class="form-default_group">
<div class="form-default_element form-radio form-radio--left">
<input type="radio" id="radio-test-yes" name="radio-test">
<label for="radio-test-yes" class=""><span class="ui-radio"></span>Yes</label>
</div>
<div class="form-default_element form-radio form-radio--left">
<input type="radio" id="radio-test-no" name="radio-test">
<label for="radio-test-no" class=""><span class="ui-radio"></span>No</label>
</div>
</section>
<div class="form-default_element form-radio form-radio">
<input type="radio" id="radio-test-1" name="radio-test">
<label for="radio-test-1"><span class="ui-radio"></span>Yes</label>
</div>
<div class="form-default_element form-radio form-radio--left">
<input type="radio" id="radio-test-2" name="radio-test">
<label for="radio-test-2" class=""><span class="ui-radio"></span>No</label>
</div>
<div class="form-default_element form-radio form-radio--right">
<input type="radio" id="radio-test-3" name="radio-test">
<label for="radio-test-3"><span class="ui-radio"></span>Maybe</label>
</div>
<div class="form-default_element form-radio form-radio--top">
<input type="radio" id="radio-test-4" name="radio-test">
<label for="radio-test-4"><span class="ui-radio"></span>U wat m8?</label>
</div>
<div class="form-default_element form-radio form-radio--bottom">
<input type="radio" id="radio-test-5" name="radio-test">
<label for="radio-test-5"><span class="ui-radio"></span>Don't know</label>
</div>
<div class="form-default_element form-checkbox">
<input type="checkbox" id="chk-test-1" name="chk-test">
<label for="chk-test-1"><span class="ui-checkbox"></span>I strongly disagree</label>
</div>
<div class="form-default_element form-checkbox form-checkbox--left">
<input type="checkbox" id="chk-test-2" name="chk-test">
<label for="chk-test-2"><span class="ui-checkbox"></span>I strongly disagree</label>
</div>
<div class="form-default_element form-checkbox form-checkbox--right">
<input type="checkbox" id="chk-test-3" name="chk-test">
<label for="chk-test-3"><span class="ui-checkbox"></span>I strongly disagree</label>
</div>
<div class="form-default_element form-checkbox form-checkbox--top">
<input type="checkbox" id="chk-test-4" name="chk-test">
<label for="chk-test-4"><span class="ui-checkbox"></span>I strongly disagree</label>
</div>
<div class="form-default_element form-checkbox form-checkbox--bottom">
<input type="checkbox" id="chk-test-5" name="chk-test">
<label for="chk-test-5"><span class="ui-checkbox"></span>I strongly disagree</label>
</div>
</fieldset>
</div>
<h2>Shareholder information</h2>
<p>Please complete for <strong>all significant owners (at least 20% shareholding)</strong> of the business</p>
<div class="form-default_wrap">
<div class="form-default-col--small">
<aside class="form-default_info-box">
<h5>Why do we need this?</h5>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolor repellendus delectus voluptatibus molestias fugiat in, officiis fugit iure, id nobis odio accusantium neque, natus eius! Blanditiis soluta repudiandae ipsam maxime!</p>
</aside>
</div>
<fieldset class="form-default">
<label for="">
First name with clickable tooltip
<span class="tooltip">
<a tabindex="0"
title="more information"
class="tooltip_trigger tooltip_symbol tooltip_clickable">
</a>
<span class="tooltip_content">
<span class="tooltip_title">How am I doing</span>
<span class="tooltip_text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Molestiae sint nobis sit amet doloribus nostrum rerum placeat iure qui nam modi, dolore porro neque ut ea. Necessitatibus dolore, fugit rem?
<a title="Close" class="tooltip_close"></a>
</span>
</span>
</span>
</label>
<div class="form-default_element">
<div class="form-default_tooltip">
This should be a very short text of no more than 90 words
</div>
<input type="text" placeholder="test" class="valid">
</div>
<label for="">
Date of birth with hoverable tooltip
<span class="tooltip">
<a tabindex="0"
class="tooltip_trigger tooltip_symbol">
</a>
<span class="tooltip_content">
<span class="tooltip_title">How am I doing</span>
<span class="tooltip_text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Molestiae sint nobis sit amet doloribus nostrum rerum placeat iure qui nam modi, dolore porro neque ut ea. Necessitatibus dolore, fugit rem?</span>
</span>
</span>
</label>
<div class="form-default_column-wrap--3columns">
<div class="form-default_element">
<div class="select">
<select name="" id="">
<option value="">1</option>
<option value="">2</option>
<option value="">3</option>
<option value="">4</option>
<option value="">5</option>
<option value="">6</option>
<option value="">7</option>
<option value="">8</option>
<option value="">9</option>
<option value="">10</option>
<option value="">11</option>
<option value="">12</option>
<option value="">13</option>
<option value="">14</option>
<option value="">15</option>
<option value="">16</option>
<option value="">17</option>
<option value="">18</option>
<option value="">19</option>
<option value="">20</option>
<option value="">21</option>
<option value="">22</option>
<option value="">23</option>
<option value="">24</option>
<option value="">25</option>
<option value="">26</option>
<option value="">27</option>
<option value="">28</option>
<option value="">29</option>
<option value="">30</option>
<option value="">31</option>
</select>
</div>
</div>
<div class="form-default_element">
<div class="select">
<select name="" id="">
<option value="">January</option>
<option value="">January</option>
<option value="">January</option>
<option value="">January</option>
<option value="">January</option>
<option value="">January</option>
<option value="">January</option>
<option value="">January</option>
<option value="">January</option>
<option value="">January</option>
<option value="">January</option>
<option value="">January</option>
</select>
</div>
</div>
<div class="form-default_element">
<div class="select">
<select name="" id="">
<option value="">1995</option>
<option value="">2</option>
<option value="">3</option>
<option value="">4</option>
<option value="">5</option>
<option value="">6</option>
<option value="">7</option>
<option value="">8</option>
<option value="">9</option>
<option value="">10</option>
</select>
</div>
</div>
</div>
<section class="form-default_section">
<h3>Personal address (3 years history)</h3>
<label for="">Find address by postcode</label>
<label for="" class="required">Since when has the shareholder lived at this address?</label>
<div class="form-default_column-wrap--2columns">
<div class="form-default_element">
<div class="select">
<select name="" id="">
<option value="">September</option>
<option value="">November</option>
</select>
</div>
</div>
<div class="form-default_element">
<div class="select">
<select name="" id="">
<option value="">1990</option>
<option value="">1991</option>
<option value="">2015</option>
<option value="">1920</option>
</select>
</div>
</div>
</div>
</section>
</fieldset>
<div class="form-default-col--small">
<aside>
Content after the form
</aside>
</div>
</div>
<div class="form-default_wrap">
<fieldset class="form-default">
<label for="" class="required">This is a mandatory TEXT FIELD</label>
<div class="form-default_element">
<div class="form-default_tooltip">
This should be a very short text of no more than 90 words
</div>
<input type="text" placeholder="test" class="valid">
</div>
<label for="" class="required">This is a mandatory PASSWORD FIELD</label>
<div class="form-default_element">
<input type="password" class="error">
<div class="error-message">
Please enter a valid password!<br>
Please enter a valid password!<br>
Please enter a valid password!<br>
Please enter a valid password!
</div>
</div>
<label for="">This is a TEXTAREA</label>
<div class="form-default_element">
<textarea placeholder="E.g. Our family-run bakery in Manchester is looking to expand. Since opening in 2010 we have grown the business year on year and our revenues are up 50%. We now need a larger premises to work from and we want to hire one more person to cope with increased demand. Website: manchesterbakery.com"></textarea>
</div>
<label for="">This is a SELECT</label>
<div class="form-default_element select">
<select name="" id="">
<option value="">test</option>
<option value="">test</option>
<option value="">test</option>
<option value="">test</option>
<option value="">test</option>
<option value="">test</option>
</select>
</div>
<label for="">This is a SELECT</label>
<div class="form-default_element is-loading">
<input type="text">
<ul class="form-default_autocomplete">
<li class="is-active">Lorem ipsum dolor sit amet</li>
<li>consectetur adipisicing elit</li>
<li>Ea dicta ipsa mollitia magni esse, distinctio nesciunt illum similique velit</li>
<li>Consequuntur provident error aspernatur eligendi labore perspiciatis hic suscipit numquam neque</li>
<li>Lorem ipsum dolor sit amet, consectetur adipisicing elit</li>
<li>Nostrum sint incidunt quae excepturi delectus voluptates distinctio doloribus, itaque vitae quo laudantium harum similique maiores consequatur sed, perspiciatis ullam possimus quibusdam</li>
<li>Test</li>
</ul>
<div class="form-default_autocomplete_loading">Searching</div>
</div>
</fieldset>
<div class="form-default_wrap">
<div class="form-default">
<fieldset class="form-default_group">
<legend>Are any of the shareholders a homeowner?</legend>
<div class="form-default_element form-radio form-radio--left form-radio--inline">
<input type="radio">
<label for=""><span class="ui-radio"></span>Yes</label>
</div>
<div class="form-default_element form-radio form-radio--left form-radio--inline">
<input type="radio">
<label for="shareholder-not-homeowner"><span class="ui-radio"></span>No</label>
</div>
</fieldset>
</div>
</div>
</div>
<h2>Set up Automate Investing</h2>
<div class="form-default_wrap">
<fieldset class="form-default">
<h3>Turn Automated Investing on or off</h3>
<label for="switch" class="form-switch">
<input type="checkbox" id="switch" name="switch">
<span data-on="On" data-off="Off"></span>
</label>
</fieldset>
</div>
</form>
</main>
</body>
</html>