-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
166 lines (152 loc) · 6.67 KB
/
index.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
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<title>figure-box Demo</title>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="bower_components/platform/platform.js"></script>
<link rel="import" href="src/figure-box.html">
<style>
h1{
text-align: center;
}
.gh-btns{
text-align: center;
}
</style>
</head>
<body unresolved>
<main class="container">
<h1><figure-box></h1>
<p>Element providing an extensible figure box solution.</p>
<div class="jumbotron">
<div class="container">
<h3>Basic Usage</h3>
<div class="col-md-4">
<figure-box src="http://lorempixum.com/200/200" caption="Your box" href="#!/">
<header>Header content</header>
<article>
Small text for example, to be showed inside the box.
</article>
<footer>
some links?
</footer>
</figure-box>
</div>
<div class="col-md-8">
<pre><figure-box src="http://lorempixum.com/200/200" caption="Your box" href="#!/">
 	
<header>Header content</header>
 	<article>
 		Small text for example, to be showed inside the box.
 	</article>
 	<footer>
 		some links?
 	</footer>

</figure-box>

</pre>
</div>
</div>
</div>
<p class="gh-btns pure-hidden-phone">
<iframe src="http://ghbtns.com/github-btn.html?user=octavioturra&repo=figure-box&type=watch&count=true&size=large"
allowtransparency="true" frameborder="0" scrolling="0" width="152" height="30"></iframe>
<iframe src="http://ghbtns.com/github-btn.html?user=octavioturra&repo=figure-box&type=fork&count=true&size=large"
allowtransparency="true" frameborder="0" scrolling="0" width="156" height="30"></iframe>
</p>
<p>An `figure-box` looks like this:</p>
<div class="row">
<div class="col-sm-3 col-md-3 col-lg-2 col-xs-6">
<figure-box class="" src="http://lorempixum.com/600/600?10">
<article>Bootstrap interop</article>
</figure-box>
</div>
<div class="col-sm-3 col-md-3 col-lg-2 col-xs-6">
<figure-box class="" src="http://lorempixum.com/600/600?10">
<header>simple header</header>
</figure-box>
</div>
<div class="col-sm-3 col-md-3 col-lg-2 col-xs-6">
<figure-box class="" src="http://lorempixum.com/600/600?11">
<footer>simple footer</footer>
</figure-box>
</div>
<figure-box class="col-sm-3 col-md-3 col-lg-2 col-xs-6 shadow" src="http://lorempixum.com/600/600?2">
<header>shadow</header>
<footer>class="shadow"</footer>
</figure-box>
</div>
<div class="row">
<figure-box class="col-sm-3 col-md-3 col-lg-2 col-xs-6 black" src="http://lorempixum.com/600/600?10">
<header>Black</header>
<footer>With Frame</footer>
</figure-box>
<figure-box class="col-sm-3 col-md-3 col-lg-2 col-xs-6 shadow frame" src="http://lorempixum.com/600/600?3">
<header>Frame</header>
<footer>class="frame"</footer>
</figure-box>
<figure-box class="col-sm-3 col-md-3 col-lg-2 col-xs-6 black frame" src="http://lorempixum.com/600/600?10">
<header>Black</header>
<footer>With Frame</footer>
</figure-box>
<figure-box class="col-sm-3 col-md-3 col-lg-2 col-xs-6 fancy" src="http://lorempixum.com/600/600?10">
<header>Fancy</header>
<footer>White style</footer>
</figure-box>
<figure-box class="col-sm-3 col-md-3 col-lg-2 col-xs-6 fancy black" src="http://lorempixum.com/600/600?10">
<header>Fancy</header>
<footer>Black style</footer>
</figure-box>
</div>
<div class="row">
<p>Seamless with class="full-width"</p>
<figure-box class="col-sm-4 col-md-3 col-lg-3 col-xs-6 full-width" src="http://lorempixum.com/600/600?4">
<header>Header</header>
<footer>Footer</footer>
</figure-box>
<figure-box class="col-sm-4 col-md-3 col-lg-3 col-xs-6 full-width" src="http://lorempixum.com/600/600?4">
<header>Header</header>
<footer>Footer</footer>
</figure-box>
<figure-box class="col-sm-4 col-md-3 col-lg-3 col-xs-6 full-width" src="http://lorempixum.com/600/600?4">
<header>Header</header>
<footer>Footer</footer>
</figure-box>
<figure-box class="col-sm-4 col-md-3 col-lg-3 col-xs-6 full-width" src="http://lorempixum.com/600/600?4">
<header>Header</header>
<footer>Footer</footer>
</figure-box>
</div>
<div class="row">
<p>Advanced</p>
<figure-box class="col-sm-4 col-md-3 col-lg-4 col-xs-6 full-width" src="http://lorempixum.com/600/600?7" caption="Caixa de testes" href="#!/">
<header>link caption</header>
<footer>href="#!/"</footer>
</figure-box>
<figure-box class="col-sm-4 col-md-3 col-lg-4 col-xs-6 full-width" src="http://lorempixum.com/600/600?7" caption="Caixa de texto">
<header>Inside content</header>
<footer>with <article></article></footer>
<article>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non architecto neque accusantium id ea cupiditate quod cum dolorem rerum asperiores reprehenderit laboriosam harum consequatur sed dolore facilis magnam iste deleniti.</article>
</figure-box>
<figure-box class="col-sm-4 col-md-3 col-lg-4 col-xs-6 full-width" src="http://lorempixum.com/600/600?8" caption="Caixa de texto">
<header>Inside menu</header>
<footer><ul><li><button></button></li></ul></footer>
<menu>
<ul>
<li>
<button>1</button>
</li>
<li>
<button>2</button>
</li>
</ul>
</menu>
</figure-box>
</div>
<hr>
Made with ♥ by <a href="http://fraguto.com.br">Octávio Turra</a> © 2014. Under <a href="http://octavioturra.mit-license.org">MIT License</a>.
</main>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-53709570-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>