-
Notifications
You must be signed in to change notification settings - Fork 1
/
media.html
215 lines (201 loc) · 9.21 KB
/
media.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<!--[if IE 9]>
<html lang="en-us" class="ie9"><![endif]-->
<!--[if gt IE 9]><!-->
<html lang="en-us">
<!--<![endif]-->
<head>
<title>Media object - PatternFly</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/patternfly-web.css" rel="stylesheet" media="screen, print">
</head>
<body>
<div class="container">
<div class="page-header">
<h1>Media object</h1>
</div>
<div class="alert alert-warning">
<span class="pficon pficon-warning-triangle-o"></span>
This is an example media object.
</div>
<h3>One full width media object</h3>
<div class="row">
<div class="media">
<a class="media-left" href="#">
<img class="media-object" src="dist/img/logo.svg" alt="Media image">
</a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus
odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla.
Donec lacinia congue felis in faucibus.
</div>
</div>
</div>
<h3>One media object with button</h3>
<div class="row">
<div class="media">
<a class="media-left" href="#">
<img class="media-object" src="dist/img/logo.svg" alt="Media image">
</a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus
odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla.
Donec lacinia congue felis in faucibus.
<div class="row">
<div class="center-block ">
<button class="btn btn-primary" type="button">Download</button>
</div>
</div>
</div>
</div>
<h3>Three equal media objects</h3>
<div class="row">
<div class="media col-sm-4">
<a class="media-left" href="#">
<img class="media-object" src="dist/img/logo.svg" alt="Media image">
</a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus
odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla.
Donec lacinia congue felis in faucibus.
</div>
</div>
<div class="media col-sm-4">
<a class="media-left" href="#">
<img class="media-object" src="dist/img/logo.svg" alt="Media image">
</a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus
odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla.
Donec lacinia congue felis in faucibus.
<div class="row">
<div class="center-block ">
<button class="btn btn-primary" type="button">Download</button>
</div>
</div>
</div>
</div>
<div class="media col-sm-4">
<a class="media-left" href="#">
<img class="media-object" src="dist/img/logo.svg" alt="Media image">
</a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus
odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla.
Donec lacinia congue felis in faucibus.
</div>
</div>
</div>
<h3>Three equal media objects</h3>
<div class="row">
<div class="media col-sm-4 media-pf-dark">
<a class="media-left" href="#">
<img class="media-object" src="dist/img/logo.svg" alt="Media image">
</a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus
odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla.
Donec lacinia congue felis in faucibus.
</div>
</div>
<div class="media col-sm-4 media-pf-dark">
<a class="media-left" href="#">
<img class="media-object" src="dist/img/logo.svg" alt="Media image">
</a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus
odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla.
Donec lacinia congue felis in faucibus.
</div>
</div>
<div class="media col-sm-4 media-pf-dark">
<a class="media-left" href="#">
<img class="media-object" src="dist/img/logo.svg" alt="Media image">
</a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus
odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla.
Donec lacinia congue felis in faucibus.
</div>
</div>
</div>
<h3>1:2 media objects</h3>
<div class="row">
<div class="media col-sm-4">
<a class="media-left" href="#">
<img class="media-object" src="dist/img/logo.svg" alt="Media image">
</a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus
odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla.
Donec lacinia congue felis in faucibus.
</div>
</div>
<div class="media col-sm-8">
<a class="media-left" href="#">
<img class="media-object" src="dist/img/logo.svg" alt="Media image">
</a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus
odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla.
Donec lacinia congue felis in faucibus.
</div>
</div>
</div>
<!-- Round inset image -->
<h3>Media objects with a round inset image</h3>
<p>Note: HTML structure changed for this version; .media-left was moved into the .media-body</p>
<div class="row">
<div class="media col-sm-6 col-md-4 circlewrap">
<div class="media-body">
<a class="media-left" href="#">
<img class="media-object " src="dist/img/puffer.jpg" alt="Media image">
</a>
<h4 class="media-heading">Fish</h4>
<p>Coral hogfish snake eel goatfish and Black clown goby fanatic jumping at a nurse shark. Wobbegong shark peaclam swimming. Fishies asian clam painted comber.</p>
</div>
</div>
<div class="media col-sm-6 col-md-4 circlewrap">
<div class="media-body">
<a class="media-left" href="#">
<img class="media-object " src="dist/img/shark.jpg" alt="Media image">
</a>
<h4 class="media-heading">Fish</h4>
<p>Slimy mackerel gombessa pencil catfish sand goby blue whiting. Oilfish alooh spotted danio carpetshark,
angelfish mud cat neon tetra Blenny, temperate bass.
<p>Owen swordtail Jack Dempsey mud cat moonfish, sea devil. Kokopu--mudskipper lyretail squawfish monkfish skate
livebearer turbot Black triggerfish ling cod. Bluntnose knifefish threadfin snubnose parasitic eel sabertooth
fish, pike eel trumpeter eelblenny.
</div>
</div>
<div class="media col-sm-6 col-md-4 circlewrap">
<div class="media-body">
<a class="media-left" href="#">
<img class="media-object " src="dist/img/puffer-fish.jpg" alt="Media image">
</a>
<h4 class="media-heading">More fish</h4>
<p>Cat shark is batfish frogfish. Swimming are milk shark zebra moray est. Yellow pseudochromis weasel shark shadow, darkness in deap ocean an, Motionless Wabash pigtoe Full moon. Coral hogfish.
<p>Yellow pseudochromis weasel shark shadow, darkness in deap ocean an, Motionless Wabash pigtoe Full moon.
</div>
</div>
</div>
</div><!-- /container -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="dist/js/patternfly.min.js"></script>
</body>
</html>