-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpage-sidenav.html
172 lines (114 loc) · 5.04 KB
/
page-sidenav.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
---
layout: default
title: Side Navigation
permalink: /sidenav/
is_searchable: true
---
<section>
<div class="sui-row-with-sidenav">
<!-- Navigation -->
<div class="sui-sidenav" role="navigation">
<ul class="sui-vertical-tabs sui-sidenav-hide-md">
<li class="sui-vertical-tab current">
<a href="#" role="button" data-tab="section-1">Section 1</a>
</li>
<li class="sui-vertical-tab">
<a href="#" role="button" data-tab="section-2">Section 2</a>
<span class="sui-tag sui-tag-warning">4</span>
</li>
<li class="sui-vertical-tab">
<a href="#" role="button" data-tab="section-3">Section 3</a>
<span class="sui-icon-check-tick" aria-hidden="true"></span>
</li>
</ul>
<div class="sui-sidenav-settings">
<div class="sui-form-field sui-with-floating-input" style="top: 0;">
<input type="text" placeholder="Name your form" class="sui-form-control" value="" />
</div>
<div class="sui-form-field sui-sidenav-hide-lg">
<label class="sui-label">Navigate</label>
<select class="sui-select">
<option value="section-1">Section 1</option>
<option value="section-2">Section 2</option>
<option value="section-3">Section 3</option>
</select>
</div>
</div>
</div>
<!-- SECTION: 1 -->
<div class="sui-box" data-tab="section-1">
<div class="sui-box-header">
<h1 class="sui-box-title">Section 1</h1>
</div>
<div class="sui-box-body">
<p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec sed odio dui. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Maecenas sed diam eget risus varius blandit sit amet non magna. Cras mattis consectetur purus sit amet fermentum. Nulla vitae elit libero, a pharetra augue.</p>
</div>
</div>
<!-- SECTION: 2 -->
<div class="sui-box" data-tab="section-2" style="display: none;">
<div class="sui-box-header">
<h1 class="sui-box-title">Section 2</h1>
</div>
<div class="sui-box-body">
<p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec sed odio dui. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Maecenas sed diam eget risus varius blandit sit amet non magna. Cras mattis consectetur purus sit amet fermentum. Nulla vitae elit libero, a pharetra augue.</p>
</div>
</div>
<!-- SECTION: 3 -->
<div class="sui-box" data-tab="section-3" style="display: none;">
<div class="sui-box-header">
<h1 class="sui-box-title">Section 3</h1>
</div>
<div class="sui-box-body">
<p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec sed odio dui. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Maecenas sed diam eget risus varius blandit sit amet non magna. Cras mattis consectetur purus sit amet fermentum. Nulla vitae elit libero, a pharetra augue.</p>
</div>
</div>
</div>
<div class="demo-code-block">
<pre class="sui-code-snippet html">
<section class="sui-row-with-sidenav">
<!-- Navigation -->
<div role="navigation" class="sui-sidenav">
<ul class="sui-vertical-tabs sui-sidenav-hide-md">
<li class="sui-vertical-tab current">
<a href="#" role="button"data-tab="tab-1">Tab 1</a>
</li>
<li class="sui-vertical-tab">
<a href="#" role="button" data-tab="tab-2">Tab 2</a>
<span class="sui-tag sui-tag-warning">4</span>
</li>
<li class="sui-vertical-tab">
<a href="#" role="button" data-tab="tab-3">Tab 3</a>
<span class="sui-icon-check-tick" aria-hidden="true"></span>
</li>
</ul>
<div class="sui-sidenav-hide-lg">
<select class="sui-select" style="display: none;">
<option value="tab-1" selected="selected">Tab 1</option>
<option value="tab-2">Tab 2</option>
<option value="tab-3">Tab 3</option>
</select>
</div>
</div>
<!-- SECTION: Tab 1 (Current) -->
<div class="sui-box">...</div>
<!-- SECTION: Tab 2 -->
<div class="sui-box" style="display: none;">...</div>
<!-- SECTION: Tab 3 -->
<div class="sui-box" style="display: none;">...</div>
</section>
</pre>
</div>
<div class="sui-box">
<div class="sui-box-body">
<!-- ROW: Specifications -->
<div
id="showcase-specs"
version="2.3.10"
utilities-page="{{ site.baseurl }}/utilities/"
monochrome="true"
rtl-lang="false"
single-column
></div>
</div>"
</div>
</section>