Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions docs/demos/common/src/main/css/guide-snippets-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -747,3 +747,90 @@ SpinnerStyle {
cn1-background-type: cn1-image-scaled-fit;
}
/* end::svg-transcoder-css-003[] */

/* tag::psd-theme[] */
TitleContainer {
background-image: url(images/background.jpg);
Comment thread
shai-almog marked this conversation as resolved.
cn1-background-type: cn1-image-scaled-fill;
Comment thread
shai-almog marked this conversation as resolved.
cn1-source-dpi: 320;
padding: 8mm 3mm 2mm 3mm;
margin: 0;
}

/* The camera artwork is fetched by name at runtime rather than set as a
background, so it needs a selector to get it into the theme at all. This one
is never applied to anything; naming the images here is what bundles them. */
PsdImages {
background-image: url(images/camera.png),
url(images/camera-button.png);
cn1-source-dpi: 320;
}

Title {
background-color: transparent;
color: #ffffff;
font-family: "native:MainThin";
font-size: 3.5mm;
padding: 1mm;
margin: 0;
border: none;
}

TitleCommand {
cn1-derive: Title;
}

RedCommand, RedCommand.pressed, RedCommand.selected {
cn1-derive: Title;
color: #f73267;
font-family: "native:MainLight";
font-size: 3mm;
}

TitleArea {
background-color: transparent;
padding: 0;
margin: 0;
border: none;
}

TextField, TextField.selected {
background-color: #ffffff;
font-family: "native:MainLight";
font-size: 2mm;
padding: 2mm;
margin: 0;
border: none;
}

TextHint {
cn1-derive: TextField;
color: #4d606f;
}

SouthButton, SouthButton.pressed, SouthButton.selected {
background-color: #f73267;
color: #ffffff;
text-align: center;
font-family: "native:MainThin";
font-size: 3mm;
padding: 2mm 1mm 2mm 1mm;
margin: 0;
}

CameraButton, CameraButton.pressed, CameraButton.selected {
background-color: transparent;
text-align: center;
padding: 3mm 1mm 1mm 1mm;
margin: 1mm;
}

/* The separator is an empty Label, so the line is the style: a background
colour and just enough padding to give it height. */
Separator {
background-color: #f5f5f5;
padding: 0.2mm 0 0 0;
margin: 1mm 0 1mm 0;
border: none;
}
/* end::psd-theme[] */
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/demos/common/src/main/css/images/camera.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
269 changes: 42 additions & 227 deletions docs/developer-guide/Advanced-Theming.asciidoc

Large diffs are not rendered by default.

Binary file removed docs/developer-guide/img/psd-image-size.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image10.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image11.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image12.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image13.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image14.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image15.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image16.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image4.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image5.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image6.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image7.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image8.png
Binary file not shown.
Binary file removed docs/developer-guide/img/psd2app-image9.png
Binary file not shown.
1 change: 0 additions & 1 deletion scripts/developer-guide/guide-links-baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# Regenerate with check-guide-links.py --write-baseline.
About-This-Guide.asciidoc http://github.com/chen-fishbein/
About-This-Guide.asciidoc http://github.com/shannah/
Advanced-Theming.asciidoc http://freebiesbug.com/psd-freebies/iphone-6-ui-kit/
Advanced-Topics-Under-The-Hood.asciidoc http://stackoverflow.com/questions/11421048/android-ios-custom-uri-protocol-handling
Introduction.asciidoc http://www.xmlvm.org/
Miscellaneous-Features.asciidoc http://wiki.akosma.com/IPhone_URL_Schemes
Expand Down
Loading