-
Notifications
You must be signed in to change notification settings - Fork 12
/
template.hbs
95 lines (88 loc) · 3.22 KB
/
template.hbs
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Style Guide</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/foundation/5.5.2/css/foundation.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/default.min.css">
<!-- Style guide-specific CSS goes here. -->
<style>
/* This styles the vertical tabs used for the table of contents. */
.tabs.vertical {
width: 100%;
max-width: 100%;
}
/* This styles code blocks used for examples. */
.ss-code code {
display: block;
padding: 1rem;
overflow-x: scroll;
margin-bottom: 1.5rem;
}
/* This styles the example rows used in the grid documentation. */
.row.display {
background: #eee;
font-size: 11px;
margin-bottom: 10px;
line-height: 2rem;
border: solid 1px #c6c6c6;
margin-left: 0 !important;
margin-right: 0 !important; }
.row.display .columns:nth-child(2), .row.display .columns.small-centered, .row.display .columns.large-centered {
background: #e1e1e1; }
.row.display .columns.color-end {
background: #d4d4d4; }
/* This styles the color blocks used in the color documentation. */
.color-block {
border-radius: 2px;
display: block;
padding: 8px 8px 6px;
color: #333;
text-transform: uppercase;
border: 1px solid #ddd;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}
.color-block span {
display: block;
width: 100%;
height: 100px;
margin-bottom: 0.42857rem;
}
</style>
</head>
<body>
<div class="row">
<div class="small-12 columns">
<h1>Client Style Guide</h1>
<p class="lead">This style guide was built with Foundation for Sites. For more information on how to use this responsive front-end framework, check out the documentation, get help from the Foundation community, or request immediate technical support.</p>
<a href="http://foundation.zurb.com/docs/" class="button">Visit the Docs</a>
<a href="http://foundation.zurb.com/forum/" class="secondary button">Foundation Forum</a>
<a href="http://foundation.zurb.com/business/business-support.html" class="secondary button">Technical Support</a>
</div>
</div>
<div class="row">
<div class="large-3 medium-4 columns">
<dl class="vertical tabs" data-tab>
{{#each pages}}
<dd{{#if @first}} class="active"{{/if}}><a href="#{{ anchor }}">{{ title }}</a></dd>
{{/each}}
</dl>
</div>
<div class="large-9 medium-8 columns">
<div class="tabs-content">
{{#each pages}}
<section class="content {{#if @first}}active{{/if}}" id="{{ anchor }}">
{{ body }}
</section>
{{/each}}
</div>
</div>
</div>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/foundation/5.5.2/js/foundation.min.js"></script>
<script>
$(document).foundation();
</script>
</body>
</html>