You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/10/28 23:12:16 UTC
[08/15] git commit: img files copied inside plugin
img files copied inside plugin
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/f8855583
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/f8855583
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/f8855583
Branch: refs/heads/master
Commit: f88555832250b88b9b6e8dcf27acff29af712450
Parents: 8f337f0
Author: Piotr Zalewa <pi...@zalewa.info>
Authored: Wed Oct 23 09:44:50 2013 +0200
Committer: Piotr Zalewa <pi...@zalewa.info>
Committed: Wed Oct 23 09:44:50 2013 +0200
----------------------------------------------------------------------
plugin.xml | 6 ++++++
www/firefoxos/danger-press.png | Bin 0 -> 1015 bytes
www/firefoxos/danger.png | Bin 0 -> 1031 bytes
www/firefoxos/default.png | Bin 0 -> 1014 bytes
www/firefoxos/gradient.png | Bin 0 -> 3713 bytes
www/firefoxos/notification.css | 18 +++++++-----------
www/firefoxos/pattern.png | Bin 0 -> 6851 bytes
www/firefoxos/recommend.png | Bin 0 -> 1020 bytes
8 files changed, 13 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/f8855583/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index d4bc774..1d45011 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -22,6 +22,12 @@
</config-file>
<asset src="www/firefoxos/notification.css" target="css/notification.css" />
+ <asset src="www/firefoxos/danger-press.png" target="css/danger-press.png" />
+ <asset src="www/firefoxos/danger.png" target="css/danger.png" />
+ <asset src="www/firefoxos/default.png" target="css/default.png" />
+ <asset src="www/firefoxos/gradient.png" target="css/gradient.png" />
+ <asset src="www/firefoxos/pattern.png" target="css/pattern.png" />
+ <asset src="www/firefoxos/recommend.png" target="css/recommend.png" />
<js-module src="src/firefoxos/notification.js" name="dialogs-impl">
<runs />
</js-module>
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/f8855583/www/firefoxos/danger-press.png
----------------------------------------------------------------------
diff --git a/www/firefoxos/danger-press.png b/www/firefoxos/danger-press.png
new file mode 100644
index 0000000..d7529b5
Binary files /dev/null and b/www/firefoxos/danger-press.png differ
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/f8855583/www/firefoxos/danger.png
----------------------------------------------------------------------
diff --git a/www/firefoxos/danger.png b/www/firefoxos/danger.png
new file mode 100644
index 0000000..400e3ae
Binary files /dev/null and b/www/firefoxos/danger.png differ
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/f8855583/www/firefoxos/default.png
----------------------------------------------------------------------
diff --git a/www/firefoxos/default.png b/www/firefoxos/default.png
new file mode 100644
index 0000000..2ff298a
Binary files /dev/null and b/www/firefoxos/default.png differ
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/f8855583/www/firefoxos/gradient.png
----------------------------------------------------------------------
diff --git a/www/firefoxos/gradient.png b/www/firefoxos/gradient.png
new file mode 100644
index 0000000..b288545
Binary files /dev/null and b/www/firefoxos/gradient.png differ
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/f8855583/www/firefoxos/notification.css
----------------------------------------------------------------------
diff --git a/www/firefoxos/notification.css b/www/firefoxos/notification.css
index 1ad5036..285a67c 100644
--- a/www/firefoxos/notification.css
+++ b/www/firefoxos/notification.css
@@ -1,12 +1,8 @@
-/* ----------------------------------
- * Confirm
- * ---------------------------------- */
-
/* Main dialog setup */
form[role="dialog"] {
background:
- url(https://raw.github.com/arcturus/firefox-os-notifications/master/style/confirm/images/ui/pattern.png) repeat left top,
- url(https://raw.github.com/arcturus/firefox-os-notifications/master/style/confirm/images/ui/gradient.png) no-repeat left top / 100% 100%;
+ url(../img/pattern.png) repeat left top,
+ url(../img/gradient.png) no-repeat left top / 100% 100%;
overflow: hidden;
position: absolute;
z-index: 100;
@@ -62,7 +58,7 @@ form[role="dialog"] menu {
padding: 1.5rem;
padding-bottom: 0.5rem;
border-top: solid 0.1rem rgba(255, 255, 255, 0.1);
- background: #2d2d2d url(https://raw.github.com/arcturus/firefox-os-notifications/master/style/confirm/images/ui/pattern.png) repeat left top;
+ background: #2d2d2d url(../img/pattern.png) repeat left top;
display: block;
overflow: hidden;
position: absolute;
@@ -87,7 +83,7 @@ form[role="dialog"] menu button {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
- background: #fafafa url(https://raw.github.com/arcturus/firefox-os-notifications/master/style/confirm/images/ui/default.png) repeat-x left bottom/ auto 100%;
+ background: #fafafa url(../img/default.png) repeat-x left bottom/ auto 100%;
border: 0.1rem solid #a6a6a6;
border-radius: 0.3rem;
font: 500 1.6rem/3.8rem 'MozTT', Sans-serif;
@@ -108,7 +104,7 @@ a.recommend[role="button"]:active {
/* Recommend */
form[role="dialog"] menu button.recommend {
- background-image: url(https://raw.github.com/arcturus/firefox-os-notifications/master/style/confirm/images/ui/recommend.png);
+ background-image: url(../img/recommend.png);
background-color: #00caf2;
border-color: #008eab;
}
@@ -116,7 +112,7 @@ form[role="dialog"] menu button.recommend {
/* Danger */
form[role="dialog"] menu button.danger,
a.danger[role="button"] {
- background-image: url(https://raw.github.com/arcturus/firefox-os-notifications/master/style/confirm/images/ui/danger.png);
+ background-image: url(../img/danger.png);
background-color: #b70404;
color: #fff;
text-shadow: none;
@@ -125,7 +121,7 @@ a.danger[role="button"] {
/* Danger Press */
form[role="dialog"] menu button.danger:active {
- background-image: url(https://raw.github.com/arcturus/firefox-os-notifications/master/style/confirm/images/ui/danger-press.png);
+ background-image: url(../img/danger-press.png);
background-color: #890707;
}
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/f8855583/www/firefoxos/pattern.png
----------------------------------------------------------------------
diff --git a/www/firefoxos/pattern.png b/www/firefoxos/pattern.png
new file mode 100644
index 0000000..af03f56
Binary files /dev/null and b/www/firefoxos/pattern.png differ
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/f8855583/www/firefoxos/recommend.png
----------------------------------------------------------------------
diff --git a/www/firefoxos/recommend.png b/www/firefoxos/recommend.png
new file mode 100644
index 0000000..42aed39
Binary files /dev/null and b/www/firefoxos/recommend.png differ