This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
/
index.html
249 lines (212 loc) · 6.72 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
<!DOCTYPE HTML>
<!--
* Copyright 2013 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<html>
<head>
<title>jQuery Mobile for BlackBerry 10</title>
<meta http-equiv="Expires" content="-1">
<meta charset=utf-8>
<meta name=description content="jQuery Mobile for BlackBerry 10">
<meta name=viewport content="width=device-width, initial-scale=1">
<link rel="icon" href="site/img/favicon.ico">
<style type="text/css">
body {
margin: 0;
background-color: #efefef;
font-family: 'TradeGothicNextW01-Regu',Helvetica,Verdana;
font-size: 1.4em;
}
h1 {
-webkit-margin-before: 0;
-webkit-margin-after: 0;
}
a:visited {
color: #7e4897;
}
a, a:link, a:active {
color: #008ab8;
}
.header {
background: #262626;
color: white;
width: 100%;
height: 4em;
margin-bottom: 1em;
}
.header a {
float: right;
text-decoration: none;
color: white;
padding: 1.2em .7em 1em .7em;
font-size: 1.2em;
border-right: 1px solid;
}
.header a:first-child {
border-right: none;
}
.main {
padding: 0 1em;
}
.ui-title {
display: !inline-block;
}
.column2 {
width: 100%;
margin: 0;
padding: 0;
display: inline-block;
float: left;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.content {
width: 100%;
float: right;
}
.btn, .btn:visited, .btn:link {
background: #b7429a;
border-radius: .2em;
padding: 1em .75em;
text-decoration: none;
color: white;
white-space: nowrap;
}
.btn:hover {
background: #a43b8a;
}
#gettingStarted{
background: #262626;
color: white;
margin-top: 3em;
}
#gettingStarted div {
padding: 0 2%;
}
#sample, #download {
display: none;
}
pre {
background-color: #606060;
font-size: 1em;
line-height: 1.3;
overflow: auto;
padding: 6px 10px;
max-width: 40em;
-webkit-border-radius: .25em;
-moz-border-radius: .25em;
border-radius: .25em;
}
.highlightCode {
background-color: #606060;
}
#b4b {
margin-top: .8em;
margin-bottom: 3em;
}
#buttons {
white-space: nowrap;
}
.normal {
font-weight: normal;
}
@media screen and (min-width: 50em) {
.column2 {
width: 50%;
}
#sample, #download {
display: inline-block;
}
}
iframe {
-moz-transform: scale(0.3, 0.3);
-webkit-transform: scale(0.3, 0.3);
-o-transform: scale(0.3, 0.3);
-ms-transform: scale(0.3, 0.3);
transform: scale(0.3, 0.3);
-moz-transform-origin: top left;
-webkit-transform-origin: top left;
-o-transform-origin: top left;
-ms-transform-origin: top left;
transform-origin: top left;
border: none;
}
.z10 {
max-height: 500px;
padding: 87px 0 0 31px;
margin: 0 auto;
border: 0;
-webkit-box-shadow: none;
box-shadow: none;
background: url('site/img/Z10.png') no-repeat;
overflow: hidden;
}
</style>
</head>
<body>
<div class="header">
<a href="https://github.com/blackberry/jQueryMobile-BB10-Theme/tree/master/docs">Docs</a>
<a href="#gettingStarted">Getting Started</a>
</div>
<div class="main">
<div class="column2">
<div id="b4b">
<h1>jQuery Mobile</h1>
<h1><span class="normal">Built for</span> BlackBerry</h1>
</div>
<div id="buttons">
<a id="download" class="btn" href="https://raw.github.com/blackberry/jQueryMobile-BB10-Theme/master/dist/1.0.0/BlackBerry-JQM-1.0.0.zip">Download v1.0</a>
<a class="btn" href="kitchenSink/index.html">Live Demo</a>
</div>
</div>
<div id="sample" class="column2">
<div class="z10">
<iframe src="kitchenSink/index.html" width="768" height="1280px"></iframe>
</div>
</div>
</div><!-- /content -->
<div id="gettingStarted" class="content">
<div>
<h2>Getting Started</h2 >
<div class="column2">
<pre><code><!DOCTYPE html>
<html>
<head>
<title>My Page</title>
<link rel="stylesheet" href="BlackBerry-JQM-all.min.css" />
<script src="BlackBerry-JQM-all.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>My Title</h1>
</div><!-- /header -->
<div data-role="content">
<p>Hello world</p>
</div><!-- /content -->
</div><!-- /page -->
</body>
</html>
</code></pre>
</div>
<div class="column2">
<p>
You will notice that this example does not include jQuery.js, jQueryMobile.css or jQueryMobile.js, this is because all of the files need are combined into <span class="highlightCode">BlackBerry-JQM-all.min.css</span> and <span class="highlightCode">BlackBerry-JQM-all.min.js</span>, this is done to reduce download overhead on the device and improve overall performance. If you prefer to include each file separately please check out the <a href="docs/README.md">getting started</a> documentation.
</p>
</div>
</div>
</div>
</body>
</html>