atlas_assets 0.3.4 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/Gemfile.lock +7 -7
- data/docs/_layouts/default.html +2 -2
- data/docs/_posts/2013-05-17-buttons.md +44 -28
- data/docs/_posts/2013-05-17-fonts.md +5 -10
- data/docs/_posts/2013-05-17-icons.md +23 -1
- data/docs/_posts/2013-05-17-lists.md +86 -20
- data/docs/_posts/2013-05-22-boxes.md +88 -10
- data/docs/ignore/atlas_assets.css +3921 -683
- data/lib/assets/stylesheets/atlas_assets.scss +1 -0
- data/lib/assets/stylesheets/atlas_assets/_boxes.scss +15 -20
- data/lib/assets/stylesheets/atlas_assets/_button-groups.scss +9 -8
- data/lib/assets/stylesheets/atlas_assets/_buttons.scss +44 -22
- data/lib/assets/stylesheets/atlas_assets/_fonts.scss +12 -0
- data/lib/assets/stylesheets/atlas_assets/_forms.scss +3 -3
- data/lib/assets/stylesheets/atlas_assets/_glyphicons.scss +1 -1
- data/lib/assets/stylesheets/atlas_assets/_icons.scss +38 -0
- data/lib/assets/stylesheets/atlas_assets/_lists.scss +44 -28
- data/lib/assets/stylesheets/atlas_assets/_modals.scss +2 -2
- data/lib/assets/stylesheets/atlas_assets/_tabs.scss +8 -9
- data/lib/assets/stylesheets/atlas_assets/_variables.scss +27 -14
- data/lib/atlas_assets/version.rb +1 -1
- metadata +3 -2
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/ixti/jekyll-assets.git
|
3
|
-
revision:
|
3
|
+
revision: a9e859acff53f6c329e169a58482f11a2a47a37c
|
4
4
|
specs:
|
5
|
-
jekyll-assets (0.7.
|
5
|
+
jekyll-assets (0.7.3)
|
6
6
|
jekyll (~> 1.0)
|
7
7
|
sprockets (~> 2.10)
|
8
8
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
atlas_assets (0.
|
12
|
+
atlas_assets (0.4.0)
|
13
13
|
handlebars_assets (~> 0.12.1)
|
14
14
|
|
15
15
|
GEM
|
@@ -28,7 +28,7 @@ GEM
|
|
28
28
|
execjs (>= 1.2.9)
|
29
29
|
sprockets (>= 2.0.3)
|
30
30
|
tilt
|
31
|
-
highline (1.6.
|
31
|
+
highline (1.6.20)
|
32
32
|
hike (1.2.3)
|
33
33
|
jekyll (1.0.4)
|
34
34
|
classifier (~> 1.3)
|
@@ -41,9 +41,9 @@ GEM
|
|
41
41
|
pygments.rb (~> 0.5.0)
|
42
42
|
safe_yaml (~> 0.7.0)
|
43
43
|
kramdown (1.0.2)
|
44
|
-
liquid (2.5.
|
44
|
+
liquid (2.5.3)
|
45
45
|
maruku (0.7.0)
|
46
|
-
multi_json (1.8.
|
46
|
+
multi_json (1.8.2)
|
47
47
|
posix-spawn (0.3.6)
|
48
48
|
puma (2.0.1)
|
49
49
|
rack (>= 1.1, < 2.0)
|
@@ -57,7 +57,7 @@ GEM
|
|
57
57
|
rack-rewrite (1.3.3)
|
58
58
|
rake (10.0.4)
|
59
59
|
safe_yaml (0.7.1)
|
60
|
-
sass (3.2.
|
60
|
+
sass (3.2.12)
|
61
61
|
sprockets (2.10.0)
|
62
62
|
hike (~> 1.2)
|
63
63
|
multi_json (~> 1.0)
|
data/docs/_layouts/default.html
CHANGED
@@ -54,9 +54,9 @@
|
|
54
54
|
<div class="row">
|
55
55
|
<div class="span3">
|
56
56
|
<ul class="list">
|
57
|
-
<li class="list-item"><a href="/">Home<i class="icon-arrow-right-2"></i></a></li>
|
57
|
+
<li class="list-item list-padding"><a href="/">Home<i class="icon-arrow-right-2"></i></a></li>
|
58
58
|
{% for post in site.posts %}
|
59
|
-
<li class="list-item"><a href="{{ post.url }}">{{ post.title }}<i class="icon-arrow-right-2"></i></a></li>
|
59
|
+
<li class="list-item list-padding"><a href="{{ post.url }}">{{ post.title }}<i class="icon-arrow-right-2"></i></a></li>
|
60
60
|
{% endfor %}
|
61
61
|
</ul>
|
62
62
|
</div>
|
@@ -14,35 +14,33 @@ Buttons
|
|
14
14
|
Sizes
|
15
15
|
------
|
16
16
|
|
17
|
-
<p><a href="#" class="btn small">Small</a></p>
|
18
|
-
|
17
|
+
<p><a href="#" class="btn btn-small">Small</a></p>
|
19
18
|
<p><a href="#" class="btn">Normal</a></p>
|
20
|
-
|
21
|
-
<p><a href="#" class="btn
|
22
|
-
|
23
|
-
<p><a href="#" class="btn large">Large</a></p>
|
19
|
+
<p><a href="#" class="btn btn-medium">Medium</a></p>
|
20
|
+
<p><a href="#" class="btn btn-large">Large</a></p>
|
24
21
|
|
25
22
|
~~~html
|
26
|
-
<a href="#" class="btn small">Small</a>
|
23
|
+
<a href="#" class="btn btn-small">Small</a>
|
27
24
|
<a href="#" class="btn">Normal</a>
|
28
|
-
<a href="#" class="btn medium">Medium</a>
|
29
|
-
<a href="#" class="btn large">Large</a>
|
25
|
+
<a href="#" class="btn btn-medium">Medium</a>
|
26
|
+
<a href="#" class="btn btn-large">Large</a>
|
30
27
|
~~~
|
31
28
|
|
32
|
-
|
33
|
-
|
29
|
+
Variations
|
30
|
+
----------
|
34
31
|
|
35
|
-
<p><a href="#" class="btn
|
36
|
-
<p><a href="#" class="btn
|
37
|
-
<p><a href="#" class="btn
|
38
|
-
<p><a href="#" class="btn
|
39
|
-
<p><a href="#" class="btn disabled">Disabled</a></p>
|
32
|
+
<p><a href="#" class="btn btn-info">Info</a></p>
|
33
|
+
<p><a href="#" class="btn btn-success">Success</a></p>
|
34
|
+
<p><a href="#" class="btn btn-warning">Warning</a></p>
|
35
|
+
<p><a href="#" class="btn btn-error">Error</a></p>
|
36
|
+
<p><a href="#" class="btn btn-disabled">Disabled</a></p>
|
40
37
|
|
41
38
|
~~~html
|
42
|
-
<a href="#" class="btn
|
43
|
-
<a href="#" class="btn
|
44
|
-
<a href="#" class="btn
|
45
|
-
<a href="#" class="btn
|
39
|
+
<a href="#" class="btn btn-info">Info</a>
|
40
|
+
<a href="#" class="btn btn-success">Success</a>
|
41
|
+
<a href="#" class="btn btn-warning">Warning</a>
|
42
|
+
<a href="#" class="btn btn-error">Error</a>
|
43
|
+
<a href="#" class="btn btn-disabled">Disabled</a>
|
46
44
|
~~~
|
47
45
|
|
48
46
|
|
@@ -51,18 +49,36 @@ Button Groups
|
|
51
49
|
|
52
50
|
<p>
|
53
51
|
<div class="btn-group">
|
54
|
-
<button type="button" class="btn
|
55
|
-
<button type="button" class="btn
|
56
|
-
<button type="button" class="btn
|
57
|
-
<button type="button" class="btn
|
52
|
+
<button type="button" class="btn">PDF</button>
|
53
|
+
<button type="button" class="btn">MOBI</button>
|
54
|
+
<button type="button" class="btn">EPUB</button>
|
55
|
+
<button type="button" class="btn">HTML</button>
|
56
|
+
</div>
|
57
|
+
</p>
|
58
|
+
|
59
|
+
~~~html
|
60
|
+
<div class="btn-group">
|
61
|
+
<button type="button" class="btn">PDF</button>
|
62
|
+
<button type="button" class="btn">MOBI</button>
|
63
|
+
<button type="button" class="btn">EPUB</button>
|
64
|
+
<button type="button" class="btn">HTML</button>
|
65
|
+
</div>
|
66
|
+
~~~
|
67
|
+
|
68
|
+
You can even use colors and sizes:
|
69
|
+
|
70
|
+
<p>
|
71
|
+
<div class="btn-group">
|
72
|
+
<button type="button" class="btn btn-medium">Hey</button>
|
73
|
+
<button type="button" class="btn btn-medium btn-info">Look At Me</button>
|
74
|
+
<button type="button" class="btn btn-medium">Hello</button>
|
58
75
|
</div>
|
59
76
|
</p>
|
60
77
|
|
61
78
|
~~~html
|
62
79
|
<div class="btn-group">
|
63
|
-
<button type="button" class="btn medium
|
64
|
-
<button type="button" class="btn medium
|
65
|
-
<button type="button" class="btn medium
|
66
|
-
<button type="button" class="btn medium gray">HTML</button>
|
80
|
+
<button type="button" class="btn btn-medium">Hey</button>
|
81
|
+
<button type="button" class="btn btn-medium btn-info">Look At Me</button>
|
82
|
+
<button type="button" class="btn btn-medium">Hello</button>
|
67
83
|
</div>
|
68
84
|
~~~
|
@@ -7,24 +7,19 @@ date: 2013-05-17 23:24:04
|
|
7
7
|
Fonts
|
8
8
|
=====
|
9
9
|
|
10
|
-
|
11
|
-
Headings
|
12
|
-
--------
|
13
|
-
|
14
10
|
All HTML headings, `<h1>` through `<h6>` are available.
|
15
11
|
|
16
12
|
<div class="example">
|
17
|
-
|
18
13
|
<h1>h1. Heading 1</h1>
|
19
|
-
|
20
14
|
<h2>h2. Heading 2</h2>
|
21
|
-
|
22
15
|
<h3>h3. Heading 3</h3>
|
23
|
-
|
24
16
|
<h4>h4. Heading 4</h4>
|
25
|
-
|
26
17
|
<h5>h5. Heading 5</h5>
|
27
|
-
|
28
18
|
<h6>h6. Heading 6</h6>
|
19
|
+
</div>
|
29
20
|
|
21
|
+
Paragraph text and links:
|
22
|
+
|
23
|
+
<div class="example">
|
24
|
+
<p>Magna cornhole freegan dolore, ugh PBRB sriracha YOLO art party direct trade gluten-free put a bird on it deep v <a href="#">skateboard whatever</a>. Occaecat sartorial hashtag, master cleanse consequat pug excepteur dolor pariatur Pinterest whatever. Consequat try-hard 90's, disrupt delectus Shoreditch placeat mollit tattooed quinoa freegan <a href="#" class="underline">with .underline</a> reprehenderit ennui. Tempor Austin blog, flannel reprehenderit asymmetrical ugh quinoa bitters post-ironic Marfa lomo. Deserunt single-origin coffee accusamus, tote bag YOLO laborum voluptate aliquip street art letterpress gentrify cray elit officia. Tofu banh mi shabby chic salvia Echo Park. Excepteur proident occupy, voluptate exercitation food truck cupidatat duis master cleanse.</p>
|
30
25
|
</div>
|
@@ -14,9 +14,31 @@ date: 2013-05-17 23:24:04
|
|
14
14
|
}
|
15
15
|
</style>
|
16
16
|
|
17
|
-
|
17
|
+
Icons
|
18
18
|
==========
|
19
19
|
|
20
|
+
Variations
|
21
|
+
----------
|
22
|
+
|
23
|
+
This is a normal <i class="glyphicons pencil"></i> icon.
|
24
|
+
|
25
|
+
~~~html
|
26
|
+
This is a normal <i class="ICONCLASS"></i> icon.
|
27
|
+
~~~
|
28
|
+
|
29
|
+
<p>This is a default round <i class="icn-round glyphicons ok_2"></i> icon, and here's icons <i class="icn-round icn-info icon-info"></i> <i class="icn-round icn-error glyphicons remove_2"></i> <i class="icn-round icn-success glyphicons ok_2"></i> <i class="icn-round icn-warning icon-exclamation"></i> with the semantic classes added. You can use any icon with these. They just change background color.</p>
|
30
|
+
|
31
|
+
~~~html
|
32
|
+
<i class="icn-round ICONCLASS"></i>
|
33
|
+
<i class="icn-round icn-info ICONCLASS"></i>
|
34
|
+
<i class="icn-round icn-error ICONCLASS"></i>
|
35
|
+
<i class="icn-round icn-success ICONCLASS"></i>
|
36
|
+
<i class="icn-round icn-warning ICONCLASS"></i>
|
37
|
+
~~~
|
38
|
+
|
39
|
+
Glyphicons
|
40
|
+
----------
|
41
|
+
|
20
42
|
This gem includes icons as a font, png and svg from [Glyphicons](http://glyphicons.com). Insert an icon using this syntax: `<i class="glyphicons ICON_NAME"></i>`. You can change the size of the icon by setting the `font-size`.
|
21
43
|
|
22
44
|
<span class="box1"><i class="glyphicons glass"></i> glass</span>
|
@@ -26,46 +26,112 @@ You can style any list by adding the class `.list` to the `ul` or `div` containe
|
|
26
26
|
</ul>
|
27
27
|
~~~
|
28
28
|
|
29
|
-
|
30
|
-
|
29
|
+
Padding
|
30
|
+
-------
|
31
31
|
|
32
|
-
|
32
|
+
The default list comes without padding. Add `.list-padding` to the list items to give them a default padding.
|
33
33
|
|
34
34
|
<ul class="list">
|
35
|
-
<li class="list-item"><a href="#">Item 1</a></li>
|
36
|
-
<li class="list-item"><a href="#">Item 2</a></li>
|
37
|
-
<li class="list-item"><a href="#">Item 3</a></li>
|
38
|
-
<li class="list-item"><a href="#">Item 4</a></li>
|
35
|
+
<li class="list-item list-padding"><a href="#">Item 1</a></li>
|
36
|
+
<li class="list-item list-padding"><a href="#">Item 2</a></li>
|
37
|
+
<li class="list-item list-padding"><a href="#">Item 3</a></li>
|
38
|
+
<li class="list-item list-padding"><a href="#">Item 4</a></li>
|
39
39
|
</ul>
|
40
40
|
<br />
|
41
41
|
|
42
42
|
~~~html
|
43
43
|
<ul class="list">
|
44
|
-
<li class="list-item"><a href="#">Item 1</a></li>
|
45
|
-
<li class="list-item"><a href="#">Item 2</a></li>
|
46
|
-
<li class="list-item"><a href="#">Item 3</a></li>
|
47
|
-
<li class="list-item"><a href="#">Item 4</a></li>
|
44
|
+
<li class="list-item list-padding"><a href="#">Item 1</a></li>
|
45
|
+
<li class="list-item list-padding"><a href="#">Item 2</a></li>
|
46
|
+
<li class="list-item list-padding"><a href="#">Item 3</a></li>
|
47
|
+
<li class="list-item list-padding"><a href="#">Item 4</a></li>
|
48
48
|
</ul>
|
49
49
|
~~~
|
50
50
|
|
51
|
-
|
51
|
+
Variations
|
52
52
|
----------
|
53
53
|
|
54
|
+
Gray list.
|
55
|
+
|
56
|
+
<ul class="list list-gray">
|
57
|
+
<li class="list-item list-padding"><a href="#">Item 1</a></li>
|
58
|
+
<li class="list-item list-padding"><a href="#">Item 2</a></li>
|
59
|
+
<li class="list-item list-padding"><a href="#">Item 3</a></li>
|
60
|
+
<li class="list-item list-padding"><a href="#">Item 4</a></li>
|
61
|
+
</ul>
|
62
|
+
<br />
|
63
|
+
|
64
|
+
~~~html
|
65
|
+
<ul class="list list-gray">
|
66
|
+
<li class="list-item list-padding"><a href="#">Item 1</a></li>
|
67
|
+
<li class="list-item list-padding"><a href="#">Item 2</a></li>
|
68
|
+
<li class="list-item list-padding"><a href="#">Item 3</a></li>
|
69
|
+
<li class="list-item list-padding"><a href="#">Item 4</a></li>
|
70
|
+
</ul>
|
71
|
+
~~~
|
72
|
+
|
73
|
+
Sizes
|
74
|
+
-----
|
75
|
+
|
76
|
+
Add a size to the main list class to change the size of the list.
|
77
|
+
|
78
|
+
~~~html
|
79
|
+
<ul class="list list-SIZE">
|
80
|
+
...
|
81
|
+
</ul>
|
82
|
+
~~~
|
83
|
+
|
84
|
+
This is a `.list-small`.
|
85
|
+
|
86
|
+
<ul class="list list-small">
|
87
|
+
<li class="list-item list-padding"><a href="#">Small list</a></li>
|
88
|
+
<li class="list-item list-padding"><a href="#">Small list</a></li>
|
89
|
+
<li class="list-item list-padding"><a href="#">Small list</a></li>
|
90
|
+
</ul>
|
91
|
+
|
92
|
+
This is a normal list without an extra size class.
|
93
|
+
|
94
|
+
<ul class="list">
|
95
|
+
<li class="list-item list-padding"><a href="#">Normal list</a></li>
|
96
|
+
<li class="list-item list-padding"><a href="#">Normal list</a></li>
|
97
|
+
<li class="list-item list-padding"><a href="#">Normal list</a></li>
|
98
|
+
</ul>
|
99
|
+
|
100
|
+
This is a `.list-medium`.
|
101
|
+
|
102
|
+
<ul class="list list-medium">
|
103
|
+
<li class="list-item list-padding"><a href="#">Medium list</a></li>
|
104
|
+
<li class="list-item list-padding"><a href="#">Medium list</a></li>
|
105
|
+
<li class="list-item list-padding"><a href="#">Medium list</a></li>
|
106
|
+
</ul>
|
107
|
+
|
108
|
+
This is a `.list-large`.
|
109
|
+
|
110
|
+
<ul class="list list-large">
|
111
|
+
<li class="list-item list-padding"><a href="#">Large list</a></li>
|
112
|
+
<li class="list-item list-padding"><a href="#">Large list</a></li>
|
113
|
+
<li class="list-item list-padding"><a href="#">Large list</a></li>
|
114
|
+
</ul><br />
|
115
|
+
|
116
|
+
|
117
|
+
Icons
|
118
|
+
-----
|
119
|
+
|
54
120
|
You can add a `list-icon` class to automatically flow the icon to the right of the list.
|
55
121
|
|
56
122
|
<ul class="list">
|
57
|
-
<li class="list-item"><a href="#">Item 1<i class="icon-angle-right list-icon"></i></a></li>
|
58
|
-
<li class="list-item"><a href="#">Item 2<i class="icon-angle-right list-icon"></i></a></li>
|
59
|
-
<li class="list-item"><a href="#">Item 3<i class="icon-angle-right list-icon"></i></a></li>
|
60
|
-
<li class="list-item"><a href="#">Item 4<i class="icon-angle-right list-icon"></i></a></li>
|
123
|
+
<li class="list-item list-padding"><a href="#">Item 1<i class="icon-angle-right list-icon"></i></a></li>
|
124
|
+
<li class="list-item list-padding"><a href="#">Item 2<i class="icon-angle-right list-icon"></i></a></li>
|
125
|
+
<li class="list-item list-padding"><a href="#">Item 3<i class="icon-angle-right list-icon"></i></a></li>
|
126
|
+
<li class="list-item list-padding"><a href="#">Item 4<i class="icon-angle-right list-icon"></i></a></li>
|
61
127
|
</ul>
|
62
128
|
<br />
|
63
129
|
|
64
130
|
~~~html
|
65
131
|
<ul class="list">
|
66
|
-
<li class="list-item"><a href="#">Item 1<i class="icon-angle-right list-icon"></i></a></li>
|
67
|
-
<li class="list-item"><a href="#">Item 2<i class="icon-angle-right list-icon"></i></a></li>
|
68
|
-
<li class="list-item"><a href="#">Item 3<i class="icon-angle-right list-icon"></i></a></li>
|
69
|
-
<li class="list-item"><a href="#">Item 4<i class="icon-angle-right list-icon"></i></a></li>
|
132
|
+
<li class="list-item list-padding"><a href="#">Item 1<i class="icon-angle-right list-icon"></i></a></li>
|
133
|
+
<li class="list-item list-padding"><a href="#">Item 2<i class="icon-angle-right list-icon"></i></a></li>
|
134
|
+
<li class="list-item list-padding"><a href="#">Item 3<i class="icon-angle-right list-icon"></i></a></li>
|
135
|
+
<li class="list-item list-padding"><a href="#">Item 4<i class="icon-angle-right list-icon"></i></a></li>
|
70
136
|
</ul>
|
71
137
|
~~~
|
@@ -12,34 +12,112 @@ The `atlas_assets` gem ships with a few styles you can apply to `div` elements,
|
|
12
12
|
Default Box
|
13
13
|
-----------
|
14
14
|
|
15
|
-
|
15
|
+
<div class="box">
|
16
|
+
<p>This is just a normal box</p>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
~~~html
|
20
|
+
<div class="box">
|
21
|
+
<p>This is just a normal box</p>
|
22
|
+
</div>
|
23
|
+
~~~
|
24
|
+
|
25
|
+
### Box With Top
|
26
|
+
|
27
|
+
<div class="box">
|
28
|
+
<div class="box-top">
|
29
|
+
This is a box with a top <i class="icn-round glyphicons leaf"></i> <a href="#" class="btn">Top Button</a>
|
30
|
+
</div>
|
31
|
+
<div class="box-inner">
|
32
|
+
<p>This is the content.</p>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
~~~html
|
37
|
+
<div class="box">
|
38
|
+
<div class="box-top">
|
39
|
+
This is a box with a top <i class="icn-round glyphicons leaf"></i> <a href="#" class="btn">Top Button</a>
|
40
|
+
</div>
|
41
|
+
<div class="box-inner">
|
42
|
+
<p>This is the content.</p>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
~~~
|
46
|
+
|
47
|
+
### Box With Bottom
|
16
48
|
|
17
49
|
<div class="box">
|
18
|
-
<h3>Heading <small>This goes to the right!</small></h3>
|
19
50
|
<div class="box-inner">
|
20
|
-
<p>This is
|
51
|
+
<p>This is the content.</p>
|
52
|
+
</div>
|
53
|
+
<div class="box-bottom">
|
54
|
+
This is a box with a bottom <i class="icn-round glyphicons leaf"></i> <a href="#" class="btn">Bottom Button</a>
|
21
55
|
</div>
|
22
56
|
</div>
|
23
57
|
|
24
58
|
~~~html
|
25
59
|
<div class="box">
|
26
|
-
<h3>Heading <small>This goes to the right!</small></h3>
|
27
60
|
<div class="box-inner">
|
28
|
-
<p>This is
|
61
|
+
<p>This is the content.</p>
|
62
|
+
</div>
|
63
|
+
<div class="box-bottom">
|
64
|
+
This is a box with a bottom <i class="icn-round glyphicons leaf"></i> <a href="#" class="btn">Bottom Button</a>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
~~~
|
68
|
+
|
69
|
+
### Box With All The Things
|
70
|
+
|
71
|
+
<div class="box">
|
72
|
+
<div class="box-top">
|
73
|
+
A Real World Example with a list instead of box-inner. <span class="pull-right"><a href="#">Yo Dawg</a></span></span>
|
74
|
+
</div>
|
75
|
+
<ul class="list">
|
76
|
+
<li class="list-item list-padding">Item 1</li>
|
77
|
+
<li class="list-item list-padding">Item 2</li>
|
78
|
+
<li class="list-item list-padding">Item 3</li>
|
79
|
+
<li class="list-item list-padding">Item 4</li>
|
80
|
+
</ul>
|
81
|
+
<div class="box-bottom">
|
82
|
+
This is the bottom!
|
83
|
+
</div>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
~~~html
|
87
|
+
<div class="box">
|
88
|
+
<div class="box-top">
|
89
|
+
A Real World Example with a list instead of box-inner. <span class="pull-right"><a href="#">Yo Dawg</a></span></span>
|
90
|
+
</div>
|
91
|
+
<ul class="list">
|
92
|
+
<li class="list-item list-padding">Item 1</li>
|
93
|
+
<li class="list-item list-padding">Item 2</li>
|
94
|
+
<li class="list-item list-padding">Item 3</li>
|
95
|
+
<li class="list-item list-padding">Item 4</li>
|
96
|
+
</ul>
|
97
|
+
<div class="box-bottom">
|
98
|
+
This is the bottom!
|
29
99
|
</div>
|
30
100
|
</div>
|
31
101
|
~~~
|
32
102
|
|
33
103
|
|
34
|
-
|
104
|
+
Variations
|
35
105
|
------
|
36
106
|
|
37
|
-
Add `.box-white` to create a box with
|
107
|
+
Add `.box-white` to create a box with white background.
|
38
108
|
|
39
109
|
<div class="box box-white">
|
40
|
-
<
|
41
|
-
|
42
|
-
|
110
|
+
<div class="box-top">
|
111
|
+
A Real World Example with a list instead of box-inner. <span class="pull-right"><a href="#">Yo Dawg</a></span></span>
|
112
|
+
</div>
|
113
|
+
<ul class="list">
|
114
|
+
<li class="list-item list-padding">Item 1</li>
|
115
|
+
<li class="list-item list-padding">Item 2</li>
|
116
|
+
<li class="list-item list-padding">Item 3</li>
|
117
|
+
<li class="list-item list-padding">Item 4</li>
|
118
|
+
</ul>
|
119
|
+
<div class="box-bottom">
|
120
|
+
This is the bottom!
|
43
121
|
</div>
|
44
122
|
</div>
|
45
123
|
|