-
Notifications
You must be signed in to change notification settings - Fork 173
/
index.html
409 lines (367 loc) · 12.8 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
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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Lock viewport to prevent scaling -->
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="description" content="Calcite Maps - A modern framework for designing modern map apps">
<meta name="author" content="">
<link rel="icon" href="https://www.esri.com/favicon.ico">
<title>Calcite Maps</title>
<!-- Calcite Maps Bootstrap -->
<link rel="stylesheet" href="../dist/css/calcite-maps-bootstrap-v0.10.css">
<!-- Calcite (icons) -->
<link rel="stylesheet" href="../dist/fonts/calcite/calcite-ui.css">
<link rel="stylesheet" href="../dist/css/calcite-maps-v0.10.css">
<style>
body {
background-color: white;
}
.jumbotron {
margin-bottom: 0px;
padding: 40px 30px 30px;
text-align: center;
background-color: #0079c1;
color: #f8f8f8;
}
.jumbotron h1 {
margin-bottom: 0px;
font-size: 55px;
}
.jumbotron h5 {
font-size: 18px;
}
.jumbotron .esri-icon {
font-size: 110px;
}
.calcite-colors {
position: absolute;
top: 0;
left: 0;
display: table;
width: 100%;
}
.calcite-colors .box {
display: table-cell;
height: 6px;
margin-top: 20px;
margin: -4px;
}
.row {
margin-left: auto;
margin-right: auto;
padding-top: 20px;
padding-bottom: 20px;
}
.container-text {
padding: 70px 15px 0;
text-align: center;
}
.container-text .padding-right {
/*padding-right: 70px;*/
}
.container-text .padding-left {
/*padding-left: 70px;*/
}
.text-header {
font-size: 34px;
}
/* Cards */
.container-cards {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.cards-list {
margin: 0;
padding: 0; }
.cards-list > li {
float: left;
padding: 0 13px; }
.cards-list li {
list-style: none; }
.card {
position: relative;
display: inline-block;
padding: 20px;
margin-bottom: 40px;
background-color: white;
border: 1px solid #cccccc;
text-align: center;
width: 255px;
height: 296px; }
.card img {
height: 133px;
max-width: 200px; }
.card hr {
margin: 1.7rem -1.7rem;
border-top: 1px solid #e7e7e7; }
.card h6 {
font-weight: 400;
color: #4c4c4c;
display: block;
display: -webkit-box;
height: 4rem;
line-height: 1.55rem;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis; }
.card-info {
left: 0;
padding: 0 2px;
margin: 0;
width: 100%;
line-height: 1.7rem;
color: #6e6e6e;
font-size: 1.3rem; }
.card-info li {
display: inline; }
.card-info li:first-of-type:after {
content: " • "; }
.card-options {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
color: white;
opacity: 0;
background: linear-gradient(rgba(0, 0, 0, 0.6) 0, rgba(0, 0, 0, 0.6) 172px, transparent 173px, rgba(255, 255, 255, 0) 100%);
transition: opacity ease-in-out 400ms; }
.card-options .glyphicon {
visibility: hidden;
right: -30px;
margin-left: 10px;
transition: 600ms; }
.card-options .glyphicon:nth-child(2) {
transition: 900ms; }
.card-options .glyphicon:nth-child(3) {
transition: 1200ms; }
.card-options .glyphicon:nth-child(4) {
transition: 1500ms; }
.card-options:hover, .card-options:active, .card-options:focus {
opacity: 1;
cursor: pointer;
box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2); }
.card-options:hover > .btn-open, .card-options:active > .btn-open, .card-options:focus > .btn-open {
visibility: visible; }
.card-options:hover .glyphicon, .card-options:active .glyphicon, .card-options:focus .glyphicon {
transform: translateX(-30px);
visibility: visible; }
.card-options:hover li, .card-options:active li, .card-options:focus li {
visibility: visible; }
.card-options ul {
position: absolute;
right: 12px;
top: 12px;
color: white;
font-size: rem(17px); }
.card-options ul li {
visibility: hidden;
width: 1.7rem;
float: right;
margin-right: -.12rem;
cursor: pointer;
visibility: hidden; }
.card-options .btn-open {
margin-top: 65px;
text-decoration: none;
color: white;
cursor: pointer;
transition: 300ms;
visibility: hidden;}
.card-options .btn-open:hover, .card-options .btn-open:active, .card-options .btn-open:focus {
text-decoration: none;
border: 1px solid white;
color: white;
}
.card-options .glyphicon:nth-child(2) {
display: none;
}
.card {
margin: 20px;
width: 250px;
}
li:first-of-type:after {
content: " • ";
}
li:last-of-type:before {
content: " • ";
}
.card h6 {
margin-bottom: 0;
}
.card a {
text-decoration: none;
color: #f8f8f8;
}
@media (max-width: 768px) {
.jumbotron h1 {
font-size: 45px;
}
.jumbotron .esri-icon {
font-size: 85px;
}
.jumbotron p {
font-size: 20px;
}
.container-text {
padding: 10px 15px 0;
}
}
@media (min-width: 992px) {
.padding-right {
padding-right: 70px;
}
.padding-left {
padding-left: 70px;
}
}
</style>
</head>
<body>
<div class="fluid-container">
<a href="https://github.com/esri/calcite-maps"><img style="position: absolute; top: 0; right: 0; border: 0; width: 129px; height: 129px;" src="https://aral.github.com/fork-me-on-github-retina-ribbons/[email protected]" alt="Fork me on GitHub"></a>
<div class="jumbotron center-text">
<h1>Calcite Maps</h1>
<span class="esri-icon esri-icon-map-pin"></span>
<p class="lead">A theme for Bootstrap for designing, styling and creating modern map apps.</p>
<div class="calcite-colors">
<div class="box calcite-red"></div>
<div class="box calcite-orange"></div>
<div class="box calcite-yellow"></div>
<div class="box calcite-green"></div>
<div class="box calcite-light-blue"></div>
<div class="box calcite-purple"></div>
<div class="box calcite-brown"></div>
</div>
</div>
<div class="row calcite-bgcolor-off-white"">
<div class="col-sm-8 col-sm-push-4">
<div class="container-text padding-right">
<span class="text-header">Design Apps</span>
<p>Explore Calcite Maps colors, styles and layouts with the Style Explorer. Design layouts interactively and then use the CSS classes to create your own apps.</p>
</div>
</div>
<div class="col-sm-4 col-sm-pull-8">
<div class="container-cards">
<article class="card"><img src="./img/styler.png" alt="styler">
<div class="card-options" onclick="">
<ul>
<a href="https://github.com/esri/calcite-maps/blob/gh-pages/samples/style-explorer/index.html"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span></a>
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
</ul>
<a class="btn btn-primary btn-open" href="./style-explorer/index.html">Open App</a>
</div>
<hr>
<h6>Style Explorer</h6>
<ul class="card-info">
<li>calcite-nav-top</li>
<li>calcite-layout-medium-title</li>
<li>calcite-bg-color-off-black</li>
</ul>
</article>
</div>
</div>
</div>
<div class="row calcite-pure-white">
<div class="col-sm-4">
<div class="container-text padding-left">
<span class="text-header">Build ArcGIS Apps</span>
<p>Use the ArcGIS JS 3.x and 4.x API sample starter apps to build apps quickly. Use Dojo or jQuery libraries for Bootstrap for easy integration. Also see the <a href="./arcgis-4.x/arcgis-4.x-2d-3d-jQuery.html">jQuery version</a> and the <a href="https://alaframboise.github.io/calcite-maps-apps/show-code/">ArcGIS JS 4 | Show Code Starter App</a>.</p>
</div>
</div>
<div class="col-sm-8">
<div class="container-cards">
<article class="card" onclick=""><img src="./img/arcgis-3.x.png" alt="ArcGIS 3.x">
<div class="card-options">
<ul>
<a href="https://github.com/esri/calcite-maps/blob/gh-pages/samples/arcgis-3.x/arcgis-3.x.html"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span></a>
</ul>
<a class="btn btn-primary btn-open" href="./arcgis-3.x/arcgis-3.x.html">Open App</a>
</div>
<hr>
<h6>ArcGIS JS 3.x (Dojo)</h6>
<ul class="card-info">
<li>calcite-nav-top</li>
<li>calcite-bgcolor-dark-purple</li>
<li>calcite-layout-inline-left</li>
</ul>
</article>
<article class="card"><img src="./img/arcgis-4.x.png" alt="ArcGIS 4.x">
<div class="card-options" onclick="">
<ul>
<a href="https://github.com/esri/calcite-maps/blob/gh-pages/samples/arcgis-4.x/arcgis-4.x-2-3d.html"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span></a>
</ul>
<a class="btn btn-primary btn-open" href="./arcgis-4.x/arcgis-4.x-2d-3d.html">Open App</a>
</div>
<hr>
<h6>ArcGIS JS 4.x (Dojo)</h6>
<ul class="card-info">
<li>calcite-nav-top</li>
<li>calcite-bgcolor-dark-blue</li>
<li>calcite-menu-drawer</li>
</ul>
</article>
</div>
</div>
</div>
<div class="row calcite-bgcolor-off-white"">
<div class="col-sm-8 col-sm-push-4">
<div class="container-text padding-right">
<span class="text-header">Build Esri Leaflet Apps</span>
<p>Use the sample starter app to build Esri Leaflet apps with the same Calcite styles, colors and layouts. Use the jQuery library for Bootstrap and Calcite Maps to make integration easy.</p>
</div>
</div>
<div class="col-sm-4 col-sm-pull-8">
<div class="container-cards">
<article class="card"><img src="./img/esri-leaflet.png" alt="esri-leaflet">
<div class="card-options" onclick="">
<ul>
<a href="https://github.com/esri/calcite-maps/blob/gh-pages/samples/esri-leaflet/esri-leaflet.html"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span></a>
</ul>
<a class="btn btn-primary btn-open" href="./esri-leaflet/esri-leaflet.html">Open App</a>
</div>
<hr>
<h6>Esri Leaflet (jQuery)</h6>
<ul class="card-info">
<li>calcite-nav-bottom</li>
<li>calcite-layout-large-title</li>
<li>calcite-panel-left</li>
</ul>
</article>
</div>
</div>
</div>
<div class="row calcite-pure-white">
<div class="col-sm-8">
<div class="container-text padding-left">
<span class="text-header">Custom Sass Build</span>
<p> If you are an advanced user, try out the custom Sass build. Use the custom build to load bower and npm components, for continuous integration and to generate the smallest builds possible. Add or remove Calcite and Bootstrap components as necessary.</p>
</div>
</div>
<div class="col-sm-4">
<div class="container-cards">
<article class="card"><img src="./img/build.png" alt="grunt">
<div class="card-options" onclick="">
<ul>
<a href="https://github.com/esri/calcite-maps/blob/master/gruntfile.js"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span></a>
</ul>
<a class="btn btn-primary btn-open" href="https://github.com/esri/calcite-maps/blob/master/gruntfile.js">Open File</a>
</div>
<hr>
<h6>Gruntfile</h6>
<ul class="card-info">
<li>Sass</li>
<li>Minification</li>
<li>Integration</li>
</ul>
</article>
</div>
</div>
</div>
</div><!-- /.container -->
</body>
</html>