-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle-navigation.html
48 lines (46 loc) · 1.32 KB
/
style-navigation.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
---
layout: openstackbootstrap
title: OpenStack Style Guide
javascript:
- url: /js/style-guide.js
---
<div class="container">
<div class="row">
<h1>OpenStack Style Guide</h1>
<div class="col-lg-3 col-md-3 col-sm-3">
{% include sidebar.html %}
</div>
<div class="col-lg-9 col-md-9 col-sm-9">
<div class="row">
<h3>Sidebars</h3>
<p>
<ul>
<li>Sidebars can be left or right.</li>
<li>Columns class/size should be col-lg-3 col-md-3 col-sm-3.</li>
<li>Margins should match element it's next to, ideally 40px 0.</li>
<li>Padding should be 30px.</li>
<li>$lightblue background.</li>
<li>Border-radius of 4px.</li>
</ul>
</p>
<p>
Example HTML
</p>
<p>
<pre><code><div class="col-lg-3 col-md-3 col-sm-3">
<div class="sidebar">
<ul>
<li><a href="#">Framework & Grid System</a></li>
<li><a href="#">Typography</a></li>
<li><a href="#">Form Elements</a></li>
<li><a href="#">Navigation</a></li>
<li><a href="#">Lists</a></li>
<li><a href="#">Videos</a></li>
</ul>
</div>
</div></code></pre>
</p>
</div>
</div>
</div>
</div>