Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bef4258
commit 0a13def
Showing
17 changed files
with
177 additions
and
12 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
These startup images are used by iPhone and iPad apps that are installed to the | ||
home screen. These images are displayed before the splash screen is displayed. | ||
|
||
If you want to create a new splash screen, it is recommended that you start by | ||
modifying the files in the adjacent "splash" folder, then take screenshots of | ||
device, crop, and save into this directory. This is the best way to avoid visual | ||
artifacts when the app transitions from the Apple startup images to the splash | ||
screen assets. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
This folder contains assets to make the startup splash screen assets. Splash | ||
screens are made up of HTML and CSS. This allows you the flexibility to | ||
customize your splash screen to fit a variety of screen sizes and orientations. | ||
|
||
|
||
splash.html | ||
----------- | ||
Contains an HTML fragment that is inserted into a div tag with an id="splash". | ||
You can choose to leave this file empty. You can put <script> tags in this file, | ||
though it is not recommended. | ||
|
||
Currently, the HTML code is NOT minified before being inserted into the page. | ||
|
||
|
||
splash.css | ||
---------- | ||
Contains the styles used to control the display of the HTML. In addition to | ||
styling the default splash div, you can style other HTML elements. | ||
|
||
One advantage of using CSS background images in your splash screen is the images | ||
will be inlined in the CSS using data: URIs. It's best to keep the size of your | ||
images as small as possible. You can use PNG, JPG, or GIF images. You should use | ||
an image optimization tool to remove unnecessary meta data from the images such | ||
as smushit.com or crushpng. | ||
|
||
It is recommended that you develop your splash screen on an iPhone-sized screen | ||
so that you make your splash screen look good on small screens. | ||
|
||
Additionally, it is recommended that you use CSS media queries to tweak the | ||
layout for various screen sizes. | ||
|
||
The CSS code is minified when your mobile web application is packaged. | ||
|
||
|
||
Apple Startup Images | ||
-------------------- | ||
After crafting your startup screen, it is recommended that you: | ||
|
||
1) Create a sample application with an empty app.js | ||
2) Run your sample app in both the iphone and ipad simulator | ||
3) Take screenshots of your splash screen in both portrait and landscape | ||
4) Crop the screenshots to remove the status bar from the top | ||
5) Save the images in the Resources/mobileweb/apple_startup_images directory | ||
|
||
These steps are the best way to avoid visual artifacts when the app transitions | ||
from the Apple startup images to the splash screen assets. | ||
|
||
It is recommended you save these images in the JPG format so that these images | ||
download faster. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
#splash { | ||
background: #9a0707; | ||
background: -moz-linear-gradient(top,#9a0707 0%,#5c0404 100%); | ||
background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#9a0707),color-stop(100%,#5c0404)); | ||
background: -webkit-linear-gradient(top,#9a0707 0%,#5c0404 100%); | ||
background: -o-linear-gradient(top,#9a0707 0%,#5c0404 100%); | ||
background: -ms-linear-gradient(top,#9a0707 0%,#5c0404 100%); | ||
background: linear-gradient(top,#9a0707 0%,#5c0404 100%); | ||
-webkit-box-shadow: inset 0px 0px 15px 6px rgba(0,0,0,0.5); | ||
-moz-box-shadow: inset 0px 0px 15px 6px rgba(0,0,0,0.5); | ||
box-shadow: inset 0px 0px 15px 6px rgba(0,0,0,0.5); | ||
bottom: 0; | ||
min-height: 300px; | ||
left: 0; | ||
position: fixed; | ||
right: 0; | ||
top: 0; | ||
} | ||
|
||
#splash:before { | ||
background: url(appc.png) no-repeat 0 0; | ||
content: ""; | ||
height: 150px; | ||
left: 50%; | ||
margin-left: -85px; | ||
position: absolute; | ||
top: 22%; | ||
width: 170px; | ||
} | ||
|
||
#splash:after { | ||
background: url(titanium.png) no-repeat 0 0; | ||
content: ""; | ||
height: 48px; | ||
left: 50%; | ||
margin-left: -105px; | ||
position: absolute; | ||
bottom: 15%; | ||
width: 200px; | ||
} | ||
|
||
@media all and (max-height: 320px) { | ||
#splash:before { | ||
top: 15%; | ||
} | ||
|
||
#splash:after { | ||
bottom: 12%; | ||
} | ||
} | ||
|
||
@media all and (min-height: 699px) { | ||
#splash:before { | ||
top: 25%; | ||
} | ||
|
||
#splash:after { | ||
bottom: 25%; | ||
} | ||
} |
Empty file.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#appname: joliDemo | ||
#publisher: xavier | ||
#url: http://lacot.org/ | ||
#image: appicon.png | ||
#appid: com.jolijs.demo | ||
#desc: undefined | ||
#type: mobile | ||
#guid: 53f55927-68cb-4e07-b056-83d5c7d04800 | ||
#appname:joliDemo | ||
#publisher:xavier | ||
#url:http://lacot.org/ | ||
#image:appicon.png | ||
#appid:com.jolijs.demo | ||
#desc:No description provided | ||
#type:ipad | ||
#guid:53f55927-68cb-4e07-b056-83d5c7d04800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters