Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'hotfix/645859'

  • Loading branch information...
commit 0df924b849046fbd7089727f02b26fea6f70f659 2 parents ed7a934 + 0f51114
@jrburke jrburke authored
Showing with 21,723 additions and 8 deletions.
  1. +2 −2 production.ini
  2. +1 −1  setup.py
  3. +2 −2 staging.ini
  4. +323 −0 web/0.3.4/auth.html
  5. +8 −0 web/0.3.4/blank.html
  6. +10 −0 web/0.3.4/build.js
  7. BIN  web/0.3.4/favicon.ico
  8. BIN  web/0.3.4/favicon.png
  9. BIN  web/0.3.4/i/LinkedIn_Logo16px.png
  10. BIN  web/0.3.4/i/check.png
  11. BIN  web/0.3.4/i/cornerBottomLeft.png
  12. BIN  web/0.3.4/i/cornerBottomRight.png
  13. BIN  web/0.3.4/i/cornerTopLeft.png
  14. BIN  web/0.3.4/i/cornerTopRight.png
  15. BIN  web/0.3.4/i/f1Icon.png
  16. BIN  web/0.3.4/i/f1Logo.png
  17. BIN  web/0.3.4/i/f1LogoVert.png
  18. BIN  web/0.3.4/i/facebookIcon.png
  19. BIN  web/0.3.4/i/fancybox/blank.gif
  20. BIN  web/0.3.4/i/fancybox/fancy_close.png
  21. BIN  web/0.3.4/i/fancybox/fancy_loading.png
  22. BIN  web/0.3.4/i/fancybox/fancy_nav_left.png
  23. BIN  web/0.3.4/i/fancybox/fancy_nav_right.png
  24. BIN  web/0.3.4/i/fancybox/fancy_shadow_e.png
  25. BIN  web/0.3.4/i/fancybox/fancy_shadow_n.png
  26. BIN  web/0.3.4/i/fancybox/fancy_shadow_ne.png
  27. BIN  web/0.3.4/i/fancybox/fancy_shadow_nw.png
  28. BIN  web/0.3.4/i/fancybox/fancy_shadow_s.png
  29. BIN  web/0.3.4/i/fancybox/fancy_shadow_se.png
  30. BIN  web/0.3.4/i/fancybox/fancy_shadow_sw.png
  31. BIN  web/0.3.4/i/fancybox/fancy_shadow_w.png
  32. BIN  web/0.3.4/i/fancybox/fancy_title_left.png
  33. BIN  web/0.3.4/i/fancybox/fancy_title_main.png
  34. BIN  web/0.3.4/i/fancybox/fancy_title_over.png
  35. BIN  web/0.3.4/i/fancybox/fancy_title_right.png
  36. BIN  web/0.3.4/i/fancybox/fancybox-x.png
  37. BIN  web/0.3.4/i/fancybox/fancybox-y.png
  38. BIN  web/0.3.4/i/fancybox/fancybox.png
  39. BIN  web/0.3.4/i/gmailIcon.png
  40. BIN  web/0.3.4/i/loader-w.gif
  41. BIN  web/0.3.4/i/panel/f1accounts.png
  42. BIN  web/0.3.4/i/panel/f1panel.png
  43. BIN  web/0.3.4/i/panel/step-01.png
  44. BIN  web/0.3.4/i/panel/step-02.png
  45. BIN  web/0.3.4/i/panel/step-022.png
  46. BIN  web/0.3.4/i/panel/step-03.png
  47. BIN  web/0.3.4/i/screenshot_01.png
  48. BIN  web/0.3.4/i/shareIcon.png
  49. BIN  web/0.3.4/i/sprite.png
  50. BIN  web/0.3.4/i/step-01.png
  51. BIN  web/0.3.4/i/step-02.png
  52. BIN  web/0.3.4/i/step-03.png
  53. BIN  web/0.3.4/i/toolbar-button.png
  54. BIN  web/0.3.4/i/twitterIcon.png
  55. +172 −0 web/0.3.4/index.html
  56. +32 −0 web/0.3.4/index.js
  57. +359 −0 web/0.3.4/jquery.fancybox-1.3.4.css
  58. +57 −0 web/0.3.4/play/ac.html
  59. BIN  web/0.3.4/play/designs/i/background.gif
  60. BIN  web/0.3.4/play/designs/i/bryanAvatar.jpg
  61. BIN  web/0.3.4/play/designs/i/linkdropiconfaded.png
  62. BIN  web/0.3.4/play/designs/i/settings.png
  63. +581 −0 web/0.3.4/play/designs/nativeShare.css
  64. +112 −0 web/0.3.4/play/designs/nativeShare.html
  65. +630 −0 web/0.3.4/play/designs/neutralShare.css
  66. +120 −0 web/0.3.4/play/designs/neutralShare.html
  67. +568 −0 web/0.3.4/play/designs/share.css
  68. +113 −0 web/0.3.4/play/designs/share.html
  69. BIN  web/0.3.4/play/designs/sidebar/i/sprite.png
  70. BIN  web/0.3.4/play/designs/sidebar/i/thumb.jpg
  71. +231 −0 web/0.3.4/play/designs/sidebar/index.html
  72. +103 −0 web/0.3.4/play/designs/sidebar/js/init.js
  73. +108 −0 web/0.3.4/play/designs/sidebar/js/jquery.textOverflow.js
  74. +625 −0 web/0.3.4/play/designs/sidebar/style.css
  75. +152 −0 web/0.3.4/play/scratch/send/index.html
  76. +481 −0 web/0.3.4/rdapi/f/StayPuft/COPYING.LIB
  77. +35 −0 web/0.3.4/rdapi/f/StayPuft/README.txt
  78. BIN  web/0.3.4/rdapi/f/StayPuft/StayPuft.ttf
  79. BIN  web/0.3.4/rdapi/i/2709984325_f5554afd53_o2.jpeg
  80. +402 −0 web/0.3.4/rdapi/index.css
  81. +240 −0 web/0.3.4/rdapi/index.html
  82. +504 −0 web/0.3.4/rdapi/scripts/index.js
  83. +2 −0  web/0.3.4/robots.txt
  84. +241 −0 web/0.3.4/scripts/AutoComplete.js
  85. +1 −0  web/0.3.4/scripts/AutoCompleteRefresh.html
  86. +243 −0 web/0.3.4/scripts/Contacts.js
  87. +133 −0 web/0.3.4/scripts/ContactsEmail.js
  88. +61 −0 web/0.3.4/scripts/ContactsTwitter.js
  89. +83 −0 web/0.3.4/scripts/Select.css
  90. +9 −0 web/0.3.4/scripts/Select.html
  91. +206 −0 web/0.3.4/scripts/Select.js
  92. +67 −0 web/0.3.4/scripts/TextCounter.js
  93. +404 −0 web/0.3.4/scripts/accounts.js
  94. +147 −0 web/0.3.4/scripts/blade/Widget.js
  95. +38 −0 web/0.3.4/scripts/blade/array.js
  96. +96 −0 web/0.3.4/scripts/blade/defer.js
  97. +227 −0 web/0.3.4/scripts/blade/dispatch.js
  98. +58 −0 web/0.3.4/scripts/blade/fn.js
  99. +858 −0 web/0.3.4/scripts/blade/jig.js
  100. +128 −0 web/0.3.4/scripts/blade/object.js
  101. +101 −0 web/0.3.4/scripts/blade/url.js
  102. +173 −0 web/0.3.4/scripts/cards.js
  103. +81 −0 web/0.3.4/scripts/dispatch.js
  104. +61 −0 web/0.3.4/scripts/dotCompare.js
  105. +174 −0 web/0.3.4/scripts/fancyzoom.js
  106. +128 −0 web/0.3.4/scripts/friendly.js
  107. +65 −0 web/0.3.4/scripts/hashDispatch.js
  108. +1 −0  web/0.3.4/scripts/iscroll-min.js
  109. +172 −0 web/0.3.4/scripts/isoDate.js
  110. +68 −0 web/0.3.4/scripts/jquery-ui-1.8.6.custom.min.js
  111. +404 −0 web/0.3.4/scripts/jquery-ui-1.8.7.min.js
  112. +123 −0 web/0.3.4/scripts/jquery.colorFade.js
  113. +91 −0 web/0.3.4/scripts/jquery.cookie.js
  114. +205 −0 web/0.3.4/scripts/jquery.easing.1.3.js
  115. +1,156 −0 web/0.3.4/scripts/jquery.fancybox-1.3.4.js
  116. +308 −0 web/0.3.4/scripts/jquery.masonry.js
  117. +108 −0 web/0.3.4/scripts/jquery.textOverflow.js
  118. +486 −0 web/0.3.4/scripts/jquery.tmpl.js
  119. +334 −0 web/0.3.4/scripts/jquery.vgrid.0.1.5.js
  120. +2 −0  web/0.3.4/scripts/jqueryStub.js
  121. +7 −0 web/0.3.4/scripts/json2.js
  122. +381 −0 web/0.3.4/scripts/md5.js
  123. +94 −0 web/0.3.4/scripts/oauth.js
  124. +104 −0 web/0.3.4/scripts/placeholder.js
  125. +277 −0 web/0.3.4/scripts/protovis/protovis-r3.2.js
  126. +244 −0 web/0.3.4/scripts/rdapi.js
  127. +214 −0 web/0.3.4/scripts/requireplugins-jquery.js
  128. +71 −0 web/0.3.4/scripts/rssFeed.js
  129. +290 −0 web/0.3.4/scripts/services.js
  130. +109 −0 web/0.3.4/scripts/shareOptions.js
  131. +52 −0 web/0.3.4/scripts/storage.js
  132. +8 −0 web/0.3.4/scripts/templates/cardsHeader.html
  133. +741 −0 web/0.3.4/scripts/webtrends.js
  134. +112 −0 web/0.3.4/service/down.html
  135. BIN  web/0.3.4/service/favicon.png
  136. BIN  web/0.3.4/service/i/f1Logo.png
  137. +94 −0 web/0.3.4/service/privacy.html
  138. +26 −0 web/0.3.4/service/style.css
  139. +10 −0 web/0.3.4/settings/build.js
  140. BIN  web/0.3.4/settings/i/LinkedIn_Logo16px.png
  141. BIN  web/0.3.4/settings/i/f1Logo.png
  142. BIN  web/0.3.4/settings/i/sprite.png
  143. BIN  web/0.3.4/settings/i/thumb.jpg
  144. +173 −0 web/0.3.4/settings/index.html
  145. +99 −0 web/0.3.4/settings/index.js
  146. +558 −0 web/0.3.4/settings/style.css
  147. +10 −0 web/0.3.4/share/build.js
  148. BIN  web/0.3.4/share/i/LinkedIn_Logo16px.png
  149. BIN  web/0.3.4/share/i/bug_b.png
  150. BIN  web/0.3.4/share/i/bug_w.png
  151. BIN  web/0.3.4/share/i/f1-icon-grey.png
  152. BIN  web/0.3.4/share/i/face2.png
  153. BIN  web/0.3.4/share/i/loader.gif
  154. BIN  web/0.3.4/share/i/sprite.png
  155. +226 −0 web/0.3.4/share/index.html
  156. +139 −0 web/0.3.4/share/index.js
  157. +12 −0 web/0.3.4/share/panel/build.js
  158. BIN  web/0.3.4/share/panel/i/sprite.png
  159. BIN  web/0.3.4/share/panel/i/thumb.jpg
  160. +208 −0 web/0.3.4/share/panel/index.html
  161. +540 −0 web/0.3.4/share/panel/index.js
  162. +108 −0 web/0.3.4/share/panel/js/jquery.textOverflow.js
  163. +62 −0 web/0.3.4/share/panel/scripts/widgets/AccountPanel.html
  164. +435 −0 web/0.3.4/share/panel/scripts/widgets/AccountPanel.js
  165. +58 −0 web/0.3.4/share/panel/scripts/widgets/AccountPanelFaceBook.js
  166. +47 −0 web/0.3.4/share/panel/scripts/widgets/AccountPanelLinkedIn.js
  167. +19 −0 web/0.3.4/share/panel/scripts/widgets/DebugPanel.html
  168. +37 −0 web/0.3.4/share/panel/scripts/widgets/DebugPanel.js
  169. +13 −0 web/0.3.4/share/panel/scripts/widgets/PageInfo.html
  170. +78 −0 web/0.3.4/share/panel/scripts/widgets/PageInfo.js
  171. +81 −0 web/0.3.4/share/panel/scripts/widgets/jigFuncs.js
  172. +1,082 −0 web/0.3.4/share/panel/style.css
  173. +1,038 −0 web/0.3.4/share/share.css
  174. +82 −0 web/0.3.4/share/testframe.html
  175. +48 −0 web/0.3.4/stats/index.html
  176. +180 −0 web/0.3.4/stats/index.js
  177. +339 −0 web/0.3.4/style.css
  178. +3 −3 web/dev/share/panel/scripts/widgets/PageInfo.js
View
4 production.ini
@@ -11,8 +11,8 @@ import = %(here)s/private.ini
smtp_server = localhost
error_email_from = paste@localhost
-oauth_failure = /0.3.3/auth.html#oauth_failure
-oauth_success = /0.3.3/auth.html#oauth_success
+oauth_failure = /0.3.4/auth.html#oauth_failure
+oauth_success = /0.3.4/auth.html#oauth_success
# Register with twitter at http://dev.twitter.com/apps/new
oauth.twitter.com.request = https://twitter.com/oauth/request_token
View
2  setup.py
@@ -28,7 +28,7 @@
use_setuptools()
from setuptools import setup, find_packages
-VERSION='0.3.3'
+VERSION='0.3.4'
setup(
name='linkdrop',
View
4 staging.ini
@@ -11,8 +11,8 @@ import = %(here)s/private.ini
smtp_server = localhost
error_email_from = paste@localhost
-oauth_failure = /0.3.3/auth.html#oauth_failure
-oauth_success = /0.3.3/auth.html#oauth_success
+oauth_failure = /0.3.4/auth.html#oauth_failure
+oauth_success = /0.3.4/auth.html#oauth_success
# Register with twitter at http://dev.twitter.com/apps/new
oauth.twitter.com.request = https://twitter.com/oauth/request_token
View
323 web/0.3.4/auth.html
@@ -0,0 +1,323 @@
+<!DOCTYPE html>
+ <!-- ***** BEGIN LICENSE BLOCK *****
+ - Version: MPL 1.1
+ -
+ - The contents of this file are subject to the Mozilla Public License Version
+ - 1.1 (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.mozilla.org/MPL/
+ -
+ - Software distributed under the License is distributed on an "AS IS" basis,
+ - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ - for the specific language governing rights and limitations under the
+ - License.
+ -
+ - The Original Code is Raindrop.
+ -
+ - The Initial Developer of the Original Code is
+ - Mozilla Messaging, Inc..
+ - Portions created by the Initial Developer are Copyright (C) 2009
+ - the Initial Developer. All Rights Reserved.
+ -
+ - Contributor(s):
+ - -->
+
+<html>
+<head>
+ <title>Firefox Share OAuthorization</title>
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
+
+ <script src="/0.3.4/scripts/requireplugins-jquery.js" charset="utf-8"></script>
+ <style>
+ html, body {
+ background-color: #fff;
+ height: 100%;
+ color: #0A0A0A;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 14px;
+ line-height: 21px;
+ overflow: hidden;
+ }
+
+ .connecting {
+ margin-top: 60px;
+ text-align: center;
+ }
+
+ .connecting img {
+ vertical-align: middle;
+ }
+
+ .hidden {
+ display: none;
+ }
+
+ .invisible {
+ visibility: hidden;
+ }
+
+ #oauth {
+ background-color: #fff;
+ width: 100%;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ margin-left: -150px;
+ margin-top: -95px;
+ width: 300px;
+ background-image: url("/0.3.4/i/f1Logo.png");
+ background-position: center top;
+ background-repeat: no-repeat;
+ padding: 100px 0 0 0;
+ }
+
+ #oauth .text {
+ display: block;
+ margin: 0 0 7px 0;
+ }
+
+ #oauth .subtext {
+ margin-left: 7px;
+ color: #666666;
+ font-family: "Lucida Grande", Verdana, sans-serif;
+ font-size: 12px;
+ }
+
+ .controls {
+ width: 300px;
+ }
+
+ button {
+ height: 30px;
+ border-width: 1px 1px 1px 0;
+ border-style: solid;
+ border-color: #888;
+ cursor: pointer;
+ padding: 0 10px;
+
+ -moz-border-radius: 0 2px 2px 0;
+ -webkit-border-radius: 0 2px 2px 0;
+ border-radius: 0 2px 2px 0;
+
+ background-image: -moz-linear-gradient(center top , #fafafa 0%, #ddd 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(100%, #ddd));
+ }
+
+ button:active {
+ -moz-box-shadow: 0 0 1px #666666 inset;
+ -webkit-box-shadow: 0 0 1px #666666 inset;
+ box-shadow: 0 0 1px #666666 inset;
+
+ background-image: -moz-linear-gradient(center top , #eee 0%, #ccc 100%);
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eee), color-stop(100%, #ccc));
+ }
+
+ input {
+ border-width: 1px;
+ border-style: solid;
+ border-color: #888;
+ font-family: "Lucida Grande", Verdana, sans-serif;
+ font-size: 12px;
+ line-height: 18px;
+ padding: 3px;
+ margin: 0;
+
+ -moz-border-radius: 2px 0 0 2px;
+ -moz-box-shadow:0 3px 3px -3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 #fff;
+ }
+
+ input:focus {
+ -moz-box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.25) inset, 0 1px 0 #fff;
+ }
+
+ input.google {
+ background-image: url("/0.3.4/i/sprite.png");
+ background-position: 5px -159px;
+ background-repeat: no-repeat;
+ padding: 0 0 0 26px;
+ }
+
+ .hbox {
+ display: -webkit-box;
+ -webkit-box-orient: horizontal;
+ -webkit-box-align: stretch;
+
+ display: -moz-box;
+ -moz-box-orient: horizontal;
+ -moz-box-align: stretch;
+
+ display: box;
+ box-orient: horizontal;
+ box-align: stretch;
+ }
+
+ .hbox > * {
+ -webkit-box-flex: 0;
+ -moz-box-flex: 0;
+ box-flex: 0;
+ display: block;
+ }
+
+ .vbox {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-box-align: stretch;
+
+ display: -moz-box;
+ -moz-box-orient: vertical;
+ -moz-box-align: stretch;
+
+ display: box;
+ box-orient: vertical;
+ box-align: stretch;
+ }
+
+ .vbox > * {
+ -webkit-box-flex: 0;
+ -moz-box-flex: 0;
+ box-flex: 0;
+ display: block;
+ }
+
+ .spacer {
+ -webkit-box-flex: 1;
+ -moz-box-flex: 1;
+ box-flex: 1;
+ }
+
+ .reverse {
+ -webkit-box-direction: reverse;
+ -moz-box-direction: reverse;
+ box-direction: reverse;
+ }
+
+ .boxFlex0 {
+ -webkit-box-flex: 0;
+ -moz-box-flex: 0;
+ box-flex: 0;
+ }
+
+ .boxFlex1, .boxFlex {
+ -webkit-box-flex: 1;
+ -moz-box-flex: 1;
+ box-flex: 1;
+ }
+
+ .boxFlex2 {
+ -webkit-box-flex: 2;
+ -moz-box-flex: 2;
+ box-flex: 2;
+ }
+
+ .boxGroup1 {
+ -webkit-box-flex-group: 1;
+ -moz-box-flex-group: 1;
+ box-flex-group: 1;
+ }
+
+ .boxGroup2 {
+ -webkit-box-flex-group: 2;
+ -moz-box-flex-group: 2;
+ box-flex-group: 2;
+ }
+
+ .start {
+ -webkit-box-pack: start;
+ -moz-box-pack: start;
+ box-pack: start;
+ }
+
+ .end {
+ -webkit-box-pack: end;
+ -moz-box-pack: end;
+ box-pack: end;
+ }
+
+ .center {
+ -webkit-box-pack: center;
+ -moz-box-pack: center;
+ box-pack: center;
+ }
+
+ </style>
+ <script>
+ require(["require", "jquery", "blade/url", "services", "jquery.cookie"],
+ function (require, $, url, services) {
+ var target = window.location.href.split('#')[1];
+ if (target && (target === 'oauth_success' || target === 'oauth_failure')) {
+
+ //TODO: ideally lock down the domain be location.hostname, but
+ //a problem for 127 addresses?
+ // XXX hacky way to handle fennec, since we didn't open a window,
+ // catch the exception when using window.opener and redirect
+ var data = {
+ target: target,
+ account: JSON.parse($.cookie("account_tokens"))
+ };
+ window.opener.postMessage(JSON.stringify(data), '*');
+ // clear the cookie, we no longer want it around
+ $.cookie("account_tokens", "", {"path": "/"});
+ window.close();
+ }
+
+ var search = window.location.href.split('?')[1];
+ if (search) {
+ search = search.split('#')[0];
+
+ var args = url.queryToObject(search),
+ domain = args.domain;
+
+ $(function () {
+ if (domain) {
+ // add a force login param to the form if asked.
+ if (args.forceLogin) {
+ var forceLogin = services.domains[domain].forceLogin;
+ if (forceLogin) {
+ $('<input type="hidden" name="' +
+ forceLogin.name +
+ '" value="' + forceLogin.value + '">').appendTo('[name="authForm"]');
+ }
+ }
+
+ $("#domain").attr("value", args['domain']);
+
+ if (args['domain'] == 'googleapps.com') {
+ // show UI for googleapp
+ $('#oauth').removeClass('hidden');
+ $('#message').addClass('hidden');
+ $('#submitbtn').click(function (evt) {
+ $('#oauth').addClass('hidden');
+ $('#message').removeClass('hidden');
+ document.authForm.submit();
+ });
+ } else {
+ document.authForm.submit();
+ }
+ }
+ });
+ }
+ });
+ </script>
+</head>
+<body class="settings">
+
+ <div id="oauth" class="authorize hidden">
+ <form name="authForm" action="/api/account/authorize" method="POST">
+ <input type="hidden" name="domain" id="domain" value="">
+ <span class="text">Enter your Google Apps domain</span>
+ <div class="controls hbox">
+ <input class="boxFlex google" name="openid_identifier" id="openid_identifier" value="">
+ <input class="boxFlex google" type="hidden" name="end_point_success" value="/0.3.4/auth.html#oauth_success">
+ <input class="boxFlex google" type="hidden" name="end_point_auth_failure" value="/0.3.4/auth.html#oauth_failure">
+ <button id='submitbtn' type="submit">submit</button>
+ </div>
+ <span class="subtext">ex: yourappdomain.com</span>
+ </form>
+
+ </div>
+ <div style="clear: both"/>
+ </div>
+
+ <div id='message' class="connecting"><img src="i/loader-w.gif"> connecting...</div>
+</body>
+</html>
View
8 web/0.3.4/blank.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title></title>
+</head>
+<body>
+</body>
+</html>
View
10 web/0.3.4/build.js
@@ -0,0 +1,10 @@
+({
+ baseUrl: "scripts/",
+ paths: {
+ "index": "../index",
+ "jquery": "requireplugins-jquery"
+ },
+ name: "index",
+ exclude: ['jquery'],
+ out: './index.js'
+})
View
BIN  web/0.3.4/favicon.ico
Binary file not shown
View
BIN  web/0.3.4/favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/LinkedIn_Logo16px.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/check.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/cornerBottomLeft.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/cornerBottomRight.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/cornerTopLeft.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/cornerTopRight.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/f1Icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/f1Logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/f1LogoVert.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/facebookIcon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/blank.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_close.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_loading.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_nav_left.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_nav_right.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_shadow_e.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_shadow_n.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_shadow_ne.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_shadow_nw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_shadow_s.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_shadow_se.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_shadow_sw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_shadow_w.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_title_left.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  web/0.3.4/i/fancybox/fancy_title_main.png
Diff not rendered
View
BIN  web/0.3.4/i/fancybox/fancy_title_over.png
Diff not rendered
View
BIN  web/0.3.4/i/fancybox/fancy_title_right.png
Diff not rendered
View
BIN  web/0.3.4/i/fancybox/fancybox-x.png
Diff not rendered
View
BIN  web/0.3.4/i/fancybox/fancybox-y.png
Diff not rendered
View
BIN  web/0.3.4/i/fancybox/fancybox.png
Diff not rendered
View
BIN  web/0.3.4/i/gmailIcon.png
Diff not rendered
View
BIN  web/0.3.4/i/loader-w.gif
Diff not rendered
View
BIN  web/0.3.4/i/panel/f1accounts.png
Diff not rendered
View
BIN  web/0.3.4/i/panel/f1panel.png
Diff not rendered
View
BIN  web/0.3.4/i/panel/step-01.png
Diff not rendered
View
BIN  web/0.3.4/i/panel/step-02.png
Diff not rendered
View
BIN  web/0.3.4/i/panel/step-022.png
Diff not rendered
View
BIN  web/0.3.4/i/panel/step-03.png
Diff not rendered
View
BIN  web/0.3.4/i/screenshot_01.png
Diff not rendered
View
BIN  web/0.3.4/i/shareIcon.png
Diff not rendered
View
BIN  web/0.3.4/i/sprite.png
Diff not rendered
View
BIN  web/0.3.4/i/step-01.png
Diff not rendered
View
BIN  web/0.3.4/i/step-02.png
Diff not rendered
View
BIN  web/0.3.4/i/step-03.png
Diff not rendered
View
BIN  web/0.3.4/i/toolbar-button.png
Diff not rendered
View
BIN  web/0.3.4/i/twitterIcon.png
Diff not rendered
View
172 web/0.3.4/index.html
@@ -0,0 +1,172 @@
+ <!-- ***** BEGIN LICENSE BLOCK *****
+ - Version: MPL 1.1
+ -
+ - The contents of this file are subject to the Mozilla Public License Version
+ - 1.1 (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.mozilla.org/MPL/
+ -
+ - Software distributed under the License is distributed on an "AS IS" basis,
+ - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ - for the specific language governing rights and limitations under the
+ - License.
+ -
+ - The Original Code is Raindrop.
+ -
+ - The Initial Developer of the Original Code is
+ - Mozilla Messaging, Inc..
+ - Portions created by the Initial Developer are Copyright (C) 2009
+ - the Initial Developer. All Rights Reserved.
+ -
+ - Contributor(s):
+ - -->
+<!DOCTYPE html>
+<html xmlns:og="http://opengraphprotocol.org/schema/"
+ xmlns:fb="http://www.facebook.com/2008/fbml">
+<head>
+ <link rel="stylesheet" type="text/css" href="/0.3.4/style.css">
+ <link rel="stylesheet" type="text/css" href="/0.3.4/jquery.fancybox-1.3.4.css">
+ <link rel="stylesheet" type="text/css" href="resource://ffshare/chrome/skin/web/installed.css">
+
+ <title>Mozilla F1</title>
+ <script type="text/javascript" data-main="/0.3.4/index.js" src="/0.3.4/scripts/requireplugins-jquery.js"></script>
+ <link rel="icon" type="image/x-icon" href="/0.3.4/favicon.png" />
+
+ <!-- https://github.com/mozilla/f1/wiki/Page-Meta-Properties -->
+
+ <link rel="shortlink" href="http://bit.ly/mozillaF1"/>
+ <link rel="canonical" href="http://f1.mozillamessaging.com/"/>
+
+ <meta property="og:title" content="Mozilla F1"/>
+ <meta property="og:type" content="website"/>
+ <meta property="og:url" content="http://f1.mozillamessaging.com/"/>
+ <meta property="og:image" content="http://f1.mozillamessaging.com/i/f1LogoVert.png"/>
+ <meta property="og:site_name" content="Mozilla F1"/>
+ <meta property="og:description"
+ content="F1 is a browser extension that allows you to share links in a
+ fast and fun way. Share links from within the browser, from any
+ webpage, using the same services you already know and love."/>
+
+ <meta property="fb:app_id" content="173375079345318,146290642084944"/>
+
+ <meta name="title" content="Mozilla F1"/>
+ <meta name="description"
+ content="F1 is a browser extension that allows you to share links in a
+ fast and fun way. Share links from within the browser, from any
+ webpage, using the same services you already know and love."/>
+
+ <meta name="application-url" content="http://f1.mozillamessaging.com/"/>
+
+ <link rel="image_src" href="http://f1.mozillamessaging.com/i/f1LogoVert.png"/>
+
+</head>
+<body>
+ <div id="wrapper">
+ <div id="header" class="row">
+ <div class="c2 logo">
+ / <a href="http://mozillalabs.com/messaging/">F1 Blog &raquo;</a>
+ </div>
+ <div class="c1 dl">
+ <button id="downloadFF4" class="download downloadXpi">
+ Install Mozilla F1
+ <span class="meta">available for Firefox 4 beta</span>
+ </button>
+ <button id="firefox" class="download">
+ Get Firefox 4 beta to use <br>this add-on
+ </button>
+ <a id="no36" href="#info36">*Firefox 3.6 is no longer supported</a>
+ <div id="noButtonFF4">
+ <img src="/0.3.4/i/check.png"> status: installed
+ </div>
+ </div>
+ </div>
+ <div class="row headline">
+ <div class="c1 description">
+ <h1>Share links fast.</h1>
+ <h2>So, what&rsquo;s F1?</h2>
+ F1 is a browser extension that allows you to share links in a fast and fun way. Share links from within the browser, from any webpage, using the same services you already know and love. Mozilla F1 is made by Mozilla Messaging.
+ <button class="fancybox">watch demo</button>
+ </div>
+ <div class="c2">
+ <img src="/i/panel/f1panel.png">
+ </div>
+ </div>
+
+ <div class="row">
+ <hr>
+ <div class="c2 description">
+ <img src="/i/panel/f1accounts.png">
+ </div>
+ <div class="c1 description">
+ <h2>Share with your<br> favorite services</h2>
+ With support for Facebook, Twitter, Gmail, Google Apps, Yahoo Mail and LinkedIn, we have your favorite services covered&mdash;and we're adding more services with every release.
+ </div>
+ </div>
+ <div class="row about">
+ <hr>
+ <div class="c3 description">
+ <h2>Once you've installed F1 sharing is as easy as...</h2>
+ </div>
+ <div class="c1 description steps">
+ <span class="step">1</span> Hit the F1 icon in the URL bar
+ <img src="i/panel/step-01.png">
+ </div>
+ <div class="c1 description steps">
+ <span class="step">2</span> Choose your service in the menu
+ <img src="i/panel/step-022.png">
+ </div>
+ <div class="c1 description steps">
+ <span class="step">3</span> Express yourself and hit share!
+ <img src="i/panel/step-03.png">
+ </div>
+ </div>
+ <div id="info36" class="row">
+ <div class="c3">
+ <strong>*Firefox 3.6 support</strong>: F1 uses some advanced technology
+ and UI capabilities that are not possible in Firefox 3.6 and earlier.
+ If you installed the previous version of F1 that works with Firefox 3.6,
+ it will continue to work while Firefox 4 is in beta. Once Firefox 4 is
+ released, the older 3.6 compatible extension will be phased out.
+ </div>
+ </div>
+ <div id="footer" class="row">
+ <div class="c3">
+ <a href="http://mozillamessaging.com">Mozilla Messaging 2011</a> | <a href="/0.3.4/service/privacy.html">Privacy Policy</a>
+ </div>
+ </div>
+ </div>
+
+ <iframe id="installFrame" src="/0.3.4/blank.html"></iframe>
+
+ <!-- START OF SmartSource Data Collector TAG -->
+ <!-- Copyright (c) 1996-2011 WebTrends Inc. All rights reserved. -->
+ <!-- Version: 9.3.0 -->
+ <!-- Tag Builder Version: 3.1 -->
+ <!-- Created: 3/15/2011 5:10:56 PM -->
+ <script src="/0.3.4/scripts/webtrends.js" type="text/javascript"></script>
+ <!-- ----------------------------------------------------------------------------------- -->
+ <!-- Warning: The two script blocks below must remain inline. Moving them to an external -->
+ <!-- JavaScript include file can cause serious problems with cross-domain tracking. -->
+ <!-- ----------------------------------------------------------------------------------- -->
+ <script type="text/javascript">
+ //<![CDATA[
+ var _tag=new WebTrends();
+ _tag.dcsGetId();
+ //]]>
+ </script>
+ <script type="text/javascript">
+ //<![CDATA[
+ _tag.dcsCustom=function(){
+ // Add custom parameters here.
+ //_tag.DCSext.param_name=param_value;
+ }
+ _tag.dcsCollect();
+ //]]>
+ </script>
+ <noscript>
+ <div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcsjd66bq10000k73ngwoin8k_7d1l/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=9.3.0&amp;WT.dcssip=www.mozillamessaging.com"/></div>
+ </noscript>
+ <!-- END OF SmartSource Data Collector TAG -->
+
+</body>
+</html>
View
32 web/0.3.4/index.js
@@ -0,0 +1,32 @@
+define("hashDispatch",[],function(){return function(b){function g(){var i=location.href.split("#")[1]||"_default",l,f;f=i.indexOf(":");if(f!==-1){l=i.substring(f+1,i.length);i=i.substring(0,f)}if(i in b)b[i](l);else b._catchAll&&b._catchAll(i,l)}g();window.addEventListener("hashchange",g,false)}});
+(function(b){var g,i,l,f,x,m,D,o,A,B,r=0,e={},p=[],q=0,d={},n=[],F=null,u=new Image,J=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,W=/[^\.]\.(swf)\s*$/i,K,L=1,z=0,v="",s,k,j=false,C=b.extend(b("<div/>")[0],{prop:0}),M=b.browser.msie&&b.browser.version<7&&!window.XMLHttpRequest,N=function(){i.hide();u.onerror=u.onload=null;F&&F.abort();g.empty()},O=function(){if(false===e.onError(p,r,e)){i.hide();j=false}else{e.titleShow=false;e.width="auto";e.height="auto";g.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');
+E()}},I=function(){var a=p[r],c,h,t,G,P,w;N();e=b.extend({},b.fn.fancybox.defaults,typeof b(a).data("fancybox")=="undefined"?e:b(a).data("fancybox"));w=e.onStart(p,r,e);if(w===false)j=false;else{if(typeof w=="object")e=b.extend(e,w);t=e.title||(a.nodeName?b(a).attr("title"):a.title)||"";if(a.nodeName&&!e.orig)e.orig=b(a).children("img:first").length?b(a).children("img:first"):b(a);if(t===""&&e.orig&&e.titleFromAlt)t=e.orig.attr("alt");c=e.href||(a.nodeName?b(a).attr("href"):a.href)||null;if(/^(?:javascript)/i.test(c)||
+c=="#")c=null;if(e.type){h=e.type;if(!c)c=e.content}else if(e.content)h="html";else if(c)h=c.match(J)?"image":c.match(W)?"swf":b(a).hasClass("iframe")?"iframe":c.indexOf("#")===0?"inline":"ajax";if(h){if(h=="inline"){a=c.substr(c.indexOf("#"));h=b(a).length>0?"inline":"ajax"}e.type=h;e.href=c;e.title=t;if(e.autoDimensions)if(e.type=="html"||e.type=="inline"||e.type=="ajax"){e.width="auto";e.height="auto"}else e.autoDimensions=false;if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick=
+false;e.enableEscapeButton=false;e.showCloseButton=false}e.padding=parseInt(e.padding,10);e.margin=parseInt(e.margin,10);g.css("padding",e.padding+e.margin);b(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){b(this).replaceWith(m.children())});switch(h){case "html":g.html(e.content);E();break;case "inline":if(b(a).parent().is("#fancybox-content")===true){j=false;return}b('<div class="fancybox-inline-tmp" />').hide().insertBefore(b(a)).bind("fancybox-cleanup",function(){b(this).replaceWith(m.children())}).bind("fancybox-cancel",
+function(){b(this).replaceWith(g.children())});b(a).appendTo(g);E();break;case "image":j=false;b.fancybox.showActivity();u=new Image;u.onerror=function(){O()};u.onload=function(){j=true;u.onerror=u.onload=null;X()};u.src=c;break;case "swf":e.scrolling="no";G='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+c+'"></param>';P="";b.each(e.swf,function(y,H){G+='<param name="'+y+'" value="'+H+'"></param>';P+=" "+y+'="'+
+H+'"'});G+='<embed src="'+c+'" type="application/x-shockwave-flash" width="'+e.width+'" height="'+e.height+'"'+P+"></embed></object>";g.html(G);E();break;case "ajax":j=false;b.fancybox.showActivity();e.ajax.win=e.ajax.success;F=b.ajax(b.extend({},e.ajax,{url:c,data:e.ajax.data||{},error:function(y){y.status>0&&O()},success:function(y,H,Q){if((typeof Q=="object"?Q:F).status==200){if(typeof e.ajax.win=="function"){w=e.ajax.win(c,y,H,Q);if(w===false){i.hide();return}else if(typeof w=="string"||typeof w==
+"object")y=w}g.html(y);E()}}}));break;case "iframe":R();break}}else O()}},E=function(){var a=e.width,c=e.height;a=a.toString().indexOf("%")>-1?parseInt((b(window).width()-e.margin*2)*parseFloat(a)/100,10)+"px":a=="auto"?"auto":a+"px";c=c.toString().indexOf("%")>-1?parseInt((b(window).height()-e.margin*2)*parseFloat(c)/100,10)+"px":c=="auto"?"auto":c+"px";g.wrapInner('<div style="width:'+a+";height:"+c+";overflow: "+(e.scrolling=="auto"?"auto":e.scrolling=="yes"?"scroll":"hidden")+';position:relative;"></div>');
+e.width=g.width();e.height=g.height();R()},X=function(){e.width=u.width;e.height=u.height;b("<img />").attr({id:"fancybox-img",src:u.src,alt:e.title}).appendTo(g);R()},R=function(){var a,c;i.hide();if(f.is(":visible")&&false===d.onCleanup(n,q,d)){b.event.trigger("fancybox-cancel");j=false}else{j=true;b(m.add(l)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");f.is(":visible")&&d.titlePosition!=="outside"&&f.css("height",f.height());n=p;q=r;d=e;if(d.overlayShow){l.css({"background-color":d.overlayColor,
+opacity:d.overlayOpacity,cursor:d.hideOnOverlayClick?"pointer":"auto",height:b(document).height()});if(!l.is(":visible")){M&&b("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});l.show()}}else l.hide();k=Y();Z();if(f.is(":visible")){b(D.add(A).add(B)).hide();a=f.position();s={top:a.top,left:a.left,width:f.width(),height:f.height()};c=s.width==k.width&&s.height==
+k.height;m.fadeTo(d.changeFade,0.3,function(){var h=function(){m.html(g.contents()).fadeTo(d.changeFade,1,S)};b.event.trigger("fancybox-change");m.empty().removeAttr("filter").css({"border-width":d.padding,width:k.width-d.padding*2,height:e.autoDimensions?"auto":k.height-z-d.padding*2});if(c)h();else{C.prop=0;b(C).animate({prop:1},{duration:d.changeSpeed,easing:d.easingChange,step:T,complete:h})}})}else{f.removeAttr("style");m.css("border-width",d.padding);if(d.transitionIn=="elastic"){s=V();m.html(g.contents());
+f.show();if(d.opacity)k.opacity=0;C.prop=0;b(C).animate({prop:1},{duration:d.speedIn,easing:d.easingIn,step:T,complete:S})}else{d.titlePosition=="inside"&&z>0&&o.show();m.css({width:k.width-d.padding*2,height:e.autoDimensions?"auto":k.height-z-d.padding*2}).html(g.contents());f.css(k).fadeIn(d.transitionIn=="none"?0:d.speedIn,S)}}}},$=function(a){if(a&&a.length){if(d.titlePosition=="float")return'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+
+a+'</td><td id="fancybox-title-float-right"></td></tr></table>';return'<div id="fancybox-title-'+d.titlePosition+'">'+a+"</div>"}return false},Z=function(){v=d.title||"";z=0;o.empty().removeAttr("style").removeClass();if(d.titleShow!==false){v=b.isFunction(d.titleFormat)?d.titleFormat(v,n,q,d):$(v);if(!(!v||v==="")){o.addClass("fancybox-title-"+d.titlePosition).html(v).appendTo("body").show();switch(d.titlePosition){case "inside":o.css({width:k.width-d.padding*2,marginLeft:d.padding,marginRight:d.padding});
+z=o.outerHeight(true);o.appendTo(x);k.height+=z;break;case "over":o.css({marginLeft:d.padding,width:k.width-d.padding*2,bottom:d.padding}).appendTo(x);break;case "float":o.css("left",parseInt((o.width()-k.width-40)/2,10)*-1).appendTo(f);break;default:o.css({width:k.width-d.padding*2,paddingLeft:d.padding,paddingRight:d.padding}).appendTo(f);break}}}o.hide()},aa=function(){if(d.enableEscapeButton||d.enableKeyboardNav)b(document).bind("keydown.fb",function(a){if(a.keyCode==27&&d.enableEscapeButton){a.preventDefault();
+b.fancybox.close()}else if((a.keyCode==37||a.keyCode==39)&&d.enableKeyboardNav&&a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.target.tagName!=="SELECT"){a.preventDefault();b.fancybox[a.keyCode==37?"prev":"next"]()}});if(d.showNavArrows){if(d.cyclic&&n.length>1||q!==0)A.show();if(d.cyclic&&n.length>1||q!=n.length-1)B.show()}else{A.hide();B.hide()}},S=function(){if(!b.support.opacity){m.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}e.autoDimensions&&
+m.css("height","auto");f.css("height","auto");v&&v.length&&o.show();d.showCloseButton&&D.show();aa();d.hideOnContentClick&&m.bind("click",b.fancybox.close);d.hideOnOverlayClick&&l.bind("click",b.fancybox.close);b(window).bind("resize.fb",b.fancybox.resize);d.centerOnScroll&&b(window).bind("scroll.fb",b.fancybox.center);if(d.type=="iframe")b('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" '+(b.browser.msie?'allowtransparency="true""':"")+' scrolling="'+
+e.scrolling+'" src="'+d.href+'"></iframe>').appendTo(m);f.show();j=false;b.fancybox.center();d.onComplete(n,q,d);ba()},ba=function(){var a,c;if(n.length-1>q){a=n[q+1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}if(q>0){a=n[q-1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}},T=function(a){var c={width:parseInt(s.width+(k.width-s.width)*a,10),height:parseInt(s.height+(k.height-s.height)*a,10),top:parseInt(s.top+(k.top-s.top)*a,10),left:parseInt(s.left+(k.left-
+s.left)*a,10)};if(typeof k.opacity!=="undefined")c.opacity=a<0.5?0.5:a;f.css(c);m.css({width:c.width-d.padding*2,height:c.height-z*a-d.padding*2})},U=function(){return[b(window).width()-d.margin*2,b(window).height()-d.margin*2,b(document).scrollLeft()+d.margin,b(document).scrollTop()+d.margin]},Y=function(){var a=U(),c={},h=d.autoScale,t=d.padding*2;c.width=d.width.toString().indexOf("%")>-1?parseInt(a[0]*parseFloat(d.width)/100,10):d.width+t;c.height=d.height.toString().indexOf("%")>-1?parseInt(a[1]*
+parseFloat(d.height)/100,10):d.height+t;if(h&&(c.width>a[0]||c.height>a[1]))if(e.type=="image"||e.type=="swf"){h=d.width/d.height;if(c.width>a[0]){c.width=a[0];c.height=parseInt((c.width-t)/h+t,10)}if(c.height>a[1]){c.height=a[1];c.width=parseInt((c.height-t)*h+t,10)}}else{c.width=Math.min(c.width,a[0]);c.height=Math.min(c.height,a[1])}c.top=parseInt(Math.max(a[3]-20,a[3]+(a[1]-c.height-40)*0.5),10);c.left=parseInt(Math.max(a[2]-20,a[2]+(a[0]-c.width-40)*0.5),10);return c},ca=function(a){var c=a.offset();
+c.top+=parseInt(a.css("paddingTop"),10)||0;c.left+=parseInt(a.css("paddingLeft"),10)||0;c.top+=parseInt(a.css("border-top-width"),10)||0;c.left+=parseInt(a.css("border-left-width"),10)||0;c.width=a.width();c.height=a.height();return c},V=function(){var a=e.orig?b(e.orig):false,c={};if(a&&a.length){a=ca(a);c={width:a.width+d.padding*2,height:a.height+d.padding*2,top:a.top-d.padding-20,left:a.left-d.padding-20}}else{a=U();c={width:d.padding*2,height:d.padding*2,top:parseInt(a[3]+a[1]*0.5,10),left:parseInt(a[2]+
+a[0]*0.5,10)}}return c},da=function(){if(i.is(":visible")){b("div",i).css("top",L*-40+"px");L=(L+1)%12}else clearInterval(K)};b.fn.fancybox=function(a){if(!b(this).length)return this;b(this).data("fancybox",b.extend({},a,b.metadata?b(this).metadata():{})).unbind("click.fb").bind("click.fb",function(c){c.preventDefault();if(!j){j=true;b(this).blur();p=[];r=0;c=b(this).attr("rel")||"";if(!c||c==""||c==="nofollow")p.push(this);else{p=b("a[rel="+c+"], area[rel="+c+"]");r=p.index(this)}I()}});return this};
+b.fancybox=function(a,c){if(!j){j=true;c=typeof c!=="undefined"?c:{};p=[];r=parseInt(c.index,10)||0;if(b.isArray(a)){for(var h=0,t=a.length;h<t;h++)if(typeof a[h]=="object")b(a[h]).data("fancybox",b.extend({},c,a[h]));else a[h]=b({}).data("fancybox",b.extend({content:a[h]},c));p=jQuery.merge(p,a)}else{if(typeof a=="object")b(a).data("fancybox",b.extend({},c,a));else a=b({}).data("fancybox",b.extend({content:a},c));p.push(a)}if(r>p.length||r<0)r=0;I()}};b.fancybox.showActivity=function(){clearInterval(K);
+i.show();K=setInterval(da,66)};b.fancybox.hideActivity=function(){i.hide()};b.fancybox.next=function(){return b.fancybox.pos(q+1)};b.fancybox.prev=function(){return b.fancybox.pos(q-1)};b.fancybox.pos=function(a){if(!j){a=parseInt(a);p=n;if(a>-1&&a<n.length){r=a;I()}else if(d.cyclic&&n.length>1){r=a>=n.length?0:n.length-1;I()}}};b.fancybox.cancel=function(){if(!j){j=true;b.event.trigger("fancybox-cancel");N();e.onCancel(p,r,e);j=false}};b.fancybox.close=function(){function a(){l.fadeOut("fast");o.empty().hide();
+f.hide();b.event.trigger("fancybox-cleanup");m.empty();d.onClosed(n,q,d);n=e=[];q=r=0;d=e={};j=false}if(!(j||f.is(":hidden"))){j=true;if(d&&false===d.onCleanup(n,q,d))j=false;else{N();b(D.add(A).add(B)).hide();b(m.add(l)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");m.find("iframe").attr("src",M&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");d.titlePosition!=="inside"&&o.empty();f.stop();if(d.transitionOut=="elastic"){s=V();var c=
+f.position();k={top:c.top,left:c.left,width:f.width(),height:f.height()};if(d.opacity)k.opacity=1;o.empty().hide();C.prop=1;b(C).animate({prop:0},{duration:d.speedOut,easing:d.easingOut,step:T,complete:a})}else f.fadeOut(d.transitionOut=="none"?0:d.speedOut,a)}}};b.fancybox.resize=function(){l.is(":visible")&&l.css("height",b(document).height());b.fancybox.center(true)};b.fancybox.center=function(a){var c,h;if(!j){h=a===true?1:0;c=U();!h&&(f.width()>c[0]||f.height()>c[1])||f.stop().animate({top:parseInt(Math.max(c[3]-
+20,c[3]+(c[1]-m.height()-40)*0.5-d.padding)),left:parseInt(Math.max(c[2]-20,c[2]+(c[0]-m.width()-40)*0.5-d.padding))},typeof a=="number"?a:200)}};b.fancybox.init=function(){if(!b("#fancybox-wrap").length){b("body").append(g=b('<div id="fancybox-tmp"></div>'),i=b('<div id="fancybox-loading"><div></div></div>'),l=b('<div id="fancybox-overlay"></div>'),f=b('<div id="fancybox-wrap"></div>'));x=b('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(f);
+x.append(m=b('<div id="fancybox-content"></div>'),D=b('<a id="fancybox-close"></a>'),o=b('<div id="fancybox-title"></div>'),A=b('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),B=b('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));D.click(b.fancybox.close);i.click(b.fancybox.cancel);A.click(function(a){a.preventDefault();b.fancybox.prev()});B.click(function(a){a.preventDefault();b.fancybox.next()});
+b.fn.mousewheel&&f.bind("mousewheel.fb",function(a,c){if(j)a.preventDefault();else if(b(a.target).get(0).clientHeight==0||b(a.target).get(0).scrollHeight===b(a.target).get(0).clientHeight){a.preventDefault();b.fancybox[c>0?"prev":"next"]()}});b.support.opacity||f.addClass("fancybox-ie");if(M){i.addClass("fancybox-ie6");f.addClass("fancybox-ie6");b('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(x)}}};
+b.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",
+easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};b(document).ready(function(){b.fancybox.init()})})(jQuery);define("jquery.fancybox-1.3.4",function(){});
+define("index",["require","jquery","hashDispatch","jquery.fancybox-1.3.4"],function(b,g){g(function(){var i=!!navigator.buildID,l=i&&navigator.userAgent.match(/Firefox\/([^\s]+)/);if(i&&l){l=parseFloat(l[1]);i=l>3.99}if(!i){g("#downloadFF4").hide();g("#no36").show();g("#info36").show();g("#firefox").show()}g(".fancybox").fancybox({type:"iframe",href:"http://player.vimeo.com/video/21374067?title=0&amp;byline=0&amp;portrait=0&amp;autoplay=true",width:700,height:468,autoScale:false,autoDimensions:false});
+g("body").delegate("#firefox","click",function(){location="http://www.mozilla.com/en-US/firefox/beta/"}).delegate(".downloadXpi","click",function(f){var x=location.href;location=x.indexOf("staging")!==-1||x.indexOf("linkdrop")!==-1?"/ffshare.xpi":"https://addons.mozilla.org/services/install.php?addon_id=252539&addon_name=F1%20by%20Mozilla%20Labs&src=external-f1home";f.preventDefault()})})});
View
359 web/0.3.4/jquery.fancybox-1.3.4.css
@@ -0,0 +1,359 @@
+/*
+ * FancyBox - jQuery Plugin
+ * Simple and fancy lightbox alternative
+ *
+ * Examples and documentation at: http://fancybox.net
+ *
+ * Copyright (c) 2008 - 2010 Janis Skarnelis
+ * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
+ *
+ * Version: 1.3.4 (11/11/2010)
+ * Requires: jQuery v1.3+
+ *
+ * Dual licensed under the MIT and GPL licenses:
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.gnu.org/licenses/gpl.html
+ */
+
+#fancybox-loading {
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ width: 40px;
+ height: 40px;
+ margin-top: -20px;
+ margin-left: -20px;
+ cursor: pointer;
+ overflow: hidden;
+ z-index: 1104;
+ display: none;
+}
+
+#fancybox-loading div {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 40px;
+ height: 480px;
+ background-image: url('i/fancybox/fancybox.png');
+}
+
+#fancybox-overlay {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ z-index: 1100;
+ display: none;
+}
+
+#fancybox-tmp {
+ padding: 0;
+ margin: 0;
+ border: 0;
+ overflow: auto;
+ display: none;
+}
+
+#fancybox-wrap {
+ position: absolute;
+ top: 0;
+ left: 0;
+ padding: 20px 10px 10px 20px;
+ z-index: 1101;
+ outline: none;
+ display: none;
+}
+
+#fancybox-outer {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ background: #fff;
+}
+
+#fancybox-content {
+ width: 0;
+ height: 0;
+ padding: 0;
+ outline: none;
+ position: relative;
+ overflow: hidden;
+ z-index: 1102;
+ border: 0px solid #fff;
+}
+
+#fancybox-hide-sel-frame {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: transparent;
+ z-index: 1101;
+}
+
+#fancybox-close {
+ position: absolute;
+ top: -15px;
+ right: -25px;
+ width: 30px;
+ height: 30px;
+ background: transparent url('i/fancybox/fancybox.png') -40px 0px;
+ cursor: pointer;
+ z-index: 1103;
+ display: none;
+}
+
+#fancybox-error {
+ color: #444;
+ font: normal 12px/20px Arial;
+ padding: 14px;
+ margin: 0;
+}
+
+#fancybox-img {
+ width: 100%;
+ height: 100%;
+ padding: 0;
+ margin: 0;
+ border: none;
+ outline: none;
+ line-height: 0;
+ vertical-align: top;
+}
+
+#fancybox-frame {
+ width: 100%;
+ height: 100%;
+ border: none;
+ display: block;
+}
+
+#fancybox-left, #fancybox-right {
+ position: absolute;
+ bottom: 0px;
+ height: 100%;
+ width: 35%;
+ cursor: pointer;
+ outline: none;
+ background: transparent url('i/fancybox/blank.gif');
+ z-index: 1102;
+ display: none;
+}
+
+#fancybox-left {
+ left: 0px;
+}
+
+#fancybox-right {
+ right: 0px;
+}
+
+#fancybox-left-ico, #fancybox-right-ico {
+ position: absolute;
+ top: 50%;
+ left: -9999px;
+ width: 30px;
+ height: 30px;
+ margin-top: -15px;
+ cursor: pointer;
+ z-index: 1102;
+ display: block;
+}
+
+#fancybox-left-ico {
+ background-image: url('i/fancybox/fancybox.png');
+ background-position: -40px -30px;
+}
+
+#fancybox-right-ico {
+ background-image: url('i/fancybox/fancybox.png');
+ background-position: -40px -60px;
+}
+
+#fancybox-left:hover, #fancybox-right:hover {
+ visibility: visible; /* IE6 */
+}
+
+#fancybox-left:hover span {
+ left: 20px;
+}
+
+#fancybox-right:hover span {
+ left: auto;
+ right: 20px;
+}
+
+.fancybox-bg {
+ position: absolute;
+ padding: 0;
+ margin: 0;
+ border: 0;
+ width: 20px;
+ height: 20px;
+ z-index: 1001;
+}
+
+#fancybox-bg-n {
+ top: -20px;
+ left: 0;
+ width: 100%;
+ background-image: url('i/fancybox/fancybox-x.png');
+}
+
+#fancybox-bg-ne {
+ top: -20px;
+ right: -20px;
+ background-image: url('i/fancybox/fancybox.png');
+ background-position: -40px -162px;
+}
+
+#fancybox-bg-e {
+ top: 0;
+ right: -20px;
+ height: 100%;
+ background-image: url('i/fancybox/fancybox-y.png');
+ background-position: -20px 0px;
+}
+
+#fancybox-bg-se {
+ bottom: -20px;
+ right: -20px;
+ background-image: url('i/fancybox/fancybox.png');
+ background-position: -40px -182px;
+}
+
+#fancybox-bg-s {
+ bottom: -20px;
+ left: 0;
+ width: 100%;
+ background-image: url('i/fancybox/fancybox-x.png');
+ background-position: 0px -20px;
+}
+
+#fancybox-bg-sw {
+ bottom: -20px;
+ left: -20px;
+ background-image: url('i/fancybox/fancybox.png');
+ background-position: -40px -142px;
+}
+
+#fancybox-bg-w {
+ top: 0;
+ left: -20px;
+ height: 100%;
+ background-image: url('i/fancybox/fancybox-y.png');
+}
+
+#fancybox-bg-nw {
+ top: -20px;
+ left: -20px;
+ background-image: url('i/fancybox/fancybox.png');
+ background-position: -40px -122px;
+}
+
+#fancybox-title {
+ font-family: Helvetica;
+ font-size: 12px;
+ z-index: 1102;
+}
+
+.fancybox-title-inside {
+ padding-bottom: 10px;
+ text-align: center;
+ color: #333;
+ background: #fff;
+ position: relative;
+}
+
+.fancybox-title-outside {
+ padding-top: 10px;
+ color: #fff;
+}
+
+.fancybox-title-over {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ color: #FFF;
+ text-align: left;
+}
+
+#fancybox-title-over {
+ padding: 10px;
+ background-image: url('i/fancybox/fancy_title_over.png');
+ display: block;
+}
+
+.fancybox-title-float {
+ position: absolute;
+ left: 0;
+ bottom: -20px;
+ height: 32px;
+}
+
+#fancybox-title-float-wrap {
+ border: none;
+ border-collapse: collapse;
+ width: auto;
+}
+
+#fancybox-title-float-wrap td {
+ border: none;
+ white-space: nowrap;
+}
+
+#fancybox-title-float-left {
+ padding: 0 0 0 15px;
+ background: url('i/fancybox/fancybox.png') -40px -90px no-repeat;
+}
+
+#fancybox-title-float-main {
+ color: #FFF;
+ line-height: 29px;
+ font-weight: bold;
+ padding: 0 0 3px 0;
+ background: url('i/fancybox/fancybox-x.png') 0px -40px;
+}
+
+#fancybox-title-float-right {
+ padding: 0 0 0 15px;
+ background: url('i/fancybox/fancybox.png') -55px -90px no-repeat;
+}
+
+/* IE6 */
+
+.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_close.png', sizingMethod='scale'); }
+
+.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_nav_left.png', sizingMethod='scale'); }
+.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_nav_right.png', sizingMethod='scale'); }
+
+.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
+.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_title_left.png', sizingMethod='scale'); }
+.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_title_main.png', sizingMethod='scale'); }
+.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_title_right.png', sizingMethod='scale'); }
+
+.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
+ height: expression(this.parentNode.clientHeight + "px");
+}
+
+#fancybox-loading.fancybox-ie6 {
+ position: absolute; margin-top: 0;
+ top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
+}
+
+#fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_loading.png', sizingMethod='scale'); }
+
+/* IE6, IE7, IE8 */
+
+.fancybox-ie .fancybox-bg { background: transparent !important; }
+
+.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='i/fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
View
57 web/0.3.4/play/ac.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Autocomplete test</title>
+ <script src="../scripts/requireplugins-jquery.js"></script>
+ <script src="../scripts/jquery-ui-1.8.7.min.js"></script>
+ <script>
+ var options = {
+ a: [
+ 'alpha',
+ 'amature'
+ ],
+ b: [
+ 'bass',
+ 'bicycle'
+ ]
+ },
+ options2 = [
+ 'alpha',
+ 'amature',
+ 'bass',
+ 'bicycle'
+ ];
+
+ //HTML5-style autocomplete, does not do want is desired though.
+ $(function () {
+ var ac = $('.ac')[0],
+ dynamic = $('#dynamic')[0];
+
+ $('body').delegate('.ac', 'input', function (evt) {
+ var value = ac.value,
+ args = value.split(','),
+ others = args.slice(0, args.length - 1).join(',') || '',
+ last = args[args.length - 1],
+ list = options[last.charAt(0)],
+ html = '';
+
+ if (list) {
+ list.forEach(function (item) {
+ html += '<option value="' + (others ? others + ',' : '') + item + '">' + (others ? others + ',' : '') + item + '</option>';
+ })
+ dynamic.innerHTML = html;
+ }
+
+ console.log("INPUT: ", evt);
+ });
+ });
+ </script>
+</head>
+<body>
+ <form>
+ <input class="ac" list="dynamic" name="dynamicAc">
+ <datalist id="dynamic">
+ </datalist>
+ </form>
+</body>
+</html>
View
BIN  web/0.3.4/play/designs/i/background.gif
Diff not rendered
View
BIN  web/0.3.4/play/designs/i/bryanAvatar.jpg
Diff not rendered
View
BIN  web/0.3.4/play/designs/i/linkdropiconfaded.png
Diff not rendered
View
BIN  web/0.3.4/play/designs/i/settings.png
Diff not rendered
View
581 web/0.3.4/play/designs/nativeShare.css
@@ -0,0 +1,581 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Raindrop.
+ *
+ * The Initial Developer of the Original Code is
+ * Mozilla Messaging, Inc..
+ * Portions created by the Initial Developer are Copyright (C) 2009
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * */
+
+* {
+ margin: 0;
+ padding: 0;
+ outline: none;
+ border: none;
+ border-collapse: collapse;
+ position: relative;
+ font-family: inherit;
+ font-weight: inherit;
+ font-style: inherit;
+ font-size: 100%;
+ vertical-align: top;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ list-style-type: none;
+}
+
+body {
+ font-size: 11px;
+ font-family: "lucida grande";
+ max-height: 128px;
+ overflow: hidden;
+ background-color: #fff;
+ background-position: bottom center;
+ background-repeat: no-repeat;
+ background-color: #fff;
+}
+
+button::-moz-focus-inner {
+ border: 0;
+}
+
+a {
+ text-decoration: none;
+ outline: none;
+}
+
+#tabs {
+ overflow: hidden;
+ border-bottom: 1px solid #515151;
+}
+
+#twitter, #facebook, #gmail, #settings {
+ /* background-image: -moz-linear-gradient(top, #d0d0d0 0%, #a8a8a8 100%); */
+ background-color: #a7a7a7;
+/*
+ border-top: 1px solid #515151;
+ -moz-box-shadow: 0 2px 0 -1px #e3e3e3 inset;
+*/
+}
+
+ul.nav {
+ -moz-box-shadow:0 2px 0 -1px #CDCDCD inset;
+ background-color:#A7A7A7;
+ display: block;
+ width: 100%;
+ padding: 0 10px;
+}
+
+ul.nav .username {
+ font-size: 11px;
+ line-height: 24px;
+ padding: 0 10px;
+ margin: 4px 10px;
+ border-left: 1px dotted #888;
+ display: inline-block;
+}
+
+ul.nav .username img {
+ border: 1px solid #fff;
+ -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.25);
+ width: 23px;
+ height: 23px;
+ margin-right: 5px;
+}
+
+ul.nav .username .userId {
+ color: #000;
+ font-weight: bold;
+ text-shadow: 1px 1px 0 #bbb;
+}
+
+ul.nav .navWrap {
+ width: 960px;
+/*
+ background-image: url("i/logo.gif");
+ background-repeat: no-repeat;
+ background-position: right center;
+*/
+ position: relative;
+ left: 50%;
+ margin-left: -480px;
+}
+
+ul.nav li {
+ width: auto;
+ display: inline-block;
+ float: left;
+ list-style-type: none;
+ margin: 3px 0;
+ font-size: 11px;
+ line-height: 24px;
+ background-image: -moz-linear-gradient(center top , #FDFDFD 0%, #AAAAAA 100%);
+ border-width: 1px;
+ border-style: solid;
+ border-color: #666;
+ -moz-box-shadow: 0 1px 0 #CDCDCD;
+}
+
+ul.nav li:hover {
+ background-color: rgba(255,255,255,0.5);
+}
+
+ul.nav li.ui-tabs-selected {
+ background-image: -moz-linear-gradient(center top , #bbb 0%, #aaa 100%);
+ -moz-box-shadow: 0 0 3px #666 inset,0 1px 0 #CDCDCD;
+}
+
+ul.nav li:first-child {
+ z-index: 1;
+ -moz-border-radius: 3px 0 0 3px;
+}
+
+ul.nav li:nth-child(2) {
+ z-index: 2;
+ border-left: none;
+ border-right: none;
+}
+
+ul.nav li:nth-child(3) {
+ z-index: 1;
+ -moz-border-radius: 0 3px 3px 0;
+}
+
+ul.nav li a {
+ color: #fff;
+}
+
+ul.nav li a.icon {
+ width: 36px;
+ height: 24px;
+ background-repeat: no-repeat;
+ background-position: center center;
+ display: block;
+}
+
+ul.nav li a.icon.twitter {
+ background-image: url("../share/i/twitterIcon.png");
+}
+
+ul.nav li a.icon.facebook {
+ background-image: url("../share/i/facebookIcon.png");
+}
+
+ul.nav li a.icon.gmail {
+ background-image: url("../share/i/gmailIcon.png");
+}
+
+ul.nav li a.icon.settings {
+ background-image: url("../share/i/settingsIcon.png");
+}
+
+ul.nav li.debug {
+ position: absolute;
+ right: 46px;
+ top: 0;
+ width: 60px;
+ text-align: center;
+}
+
+ul.nav li.debug span.name {
+ display: block;
+ padding: 0;
+ text-align: center;
+ font-weight: normal;
+ color: #fff;
+}
+
+ul.nav li.debug a.icon {
+ width: auto;
+}
+
+ul.nav li span.name {
+ display: none;
+}
+
+ul.nav li.ui-tabs-selected span.name {
+ display: none;
+}
+
+
+ul.nav li.settings,
+ul.nav li.settings.ui-tabs-selected {
+ position: absolute;
+ right: 0;
+ top: 0;
+ text-align: center;
+ -moz-border-radius: 3px;
+}
+
+ul.nav li.settings:hover span.name,
+ul.nav li.settings.ui-tabs-selected span.name {
+ opacity: 1;
+}
+
+ul.nav li.settings span.name {
+ display: none;
+}
+
+ul.nav li.ui-tabs-selected {
+
+}
+
+ul.nav li span.name {
+ opacity: 0.5;
+}
+
+ul.nav li.ui-tabs-selected a.icon,
+ul.nav li.ui-tabs-selected span.name {
+ opacity: 1;
+}
+
+ul.nav li span.name {
+ font-weight: bold;
+ color: #fff;
+}
+
+ul.nav li.ui-tabs-selected span.name {
+ color: #0a0a0a;
+}
+
+ul.nav span.name {
+ display: block;
+ padding-left: 24px;
+}
+
+ul.nav li.ui-tabs-selected.settings span.name {
+ display: none;
+}
+
+ul.nav li.ui-tabs-selected a.twitter,
+ul.nav li:hover a.twitter {
+ background-image: url("../share/i/twitterIconColor.png");
+}
+
+ul.nav li.ui-tabs-selected a.facebook,
+ul.nav li:hover a.facebook {
+ background-image: url("../share/i/facebookIconColor.png");
+}
+
+ul.nav li.ui-tabs-selected a.gmail,
+ul.nav li:hover a.gmail {
+ background-image: url(".../share/i/gmailIconColor.png");
+}
+
+ul.nav li.ui-tabs-selected a {
+ color: #0a0a0a;
+}
+
+div.user {
+ font-size: small;
+ width: 140px;
+ overflow: hidden;
+}
+
+div.user.inactive {
+ opacity: 0.5;
+ background: -moz-repeating-linear-gradient(top left -45deg, #aaa, #aaa 5px, #fff 5px, #fff 10px) #aaa no-repeat fixed;
+ -moz-border-radius: 1%;
+ cursor: pointer;
+}
+
+div.user .username {
+ color: #444;
+ font-weight: bold;
+}
+
+td.image {
+ width: 90px;
+}
+
+.thumbnail {
+ height: 71px;
+ padding: 4px;
+ border: 1px solid #999;
+ margin: 0 5px 0 0;
+ -moz-border-radius: 3px;
+ background-color: #ccc;
+}
+
+div.thumb {
+ border: 1px solid #aaa;
+ background-color: #fff;
+ height: 61px;
+ width: 90px;
+ display: inline-block;
+}
+
+ul.info {
+ display: inline-block;
+ width: 150px;
+ font-size: 11px;
+ padding: 0 5px 0 10px;
+}
+
+.info .description {
+ color: #000;
+ font-size: 10px;
+}
+
+.thumb .title {
+ color: #3B5998;
+ text-decoration: underline;
+ font-size: small;
+ cursor: pointer;
+}
+
+.thumb .description {
+ color: #808080;
+ font-size: x-small;
+}
+
+button {
+ padding: 2px 15px;
+ font-family: "helvetica neue", helvetica, arial, sans-serif;
+ font-size: 11px;
+ line-height:24px;
+ background-image: -moz-linear-gradient(top,#fdfdfd 0%,#aaa 100%);
+ border-width: 1px;
+ border-style: solid;
+ border-color: #5C5C5C #888 #666;
+ -moz-border-radius: 3px;
+ margin-left: 5px;
+ cursor: pointer;
+}
+
+button.share {
+ -moz-border-radius: 0 3px 3px 0;
+ -moz-box-shadow: 0 1px 0 #cdcdcd;
+ border-left: none;
+ margin-left: 0;
+}
+
+/*
+button:hover, button:active {
+ border: 1px solid #999;
+}
+*/
+
+button:active {
+ -moz-box-shadow: 0 0 0 1px rgba(255,255,255,0.35) inset, 0 0 3px rgba(0,0,0,0.75) inset;
+}
+
+textarea, input[type="text"] {
+ -moz-box-shadow: 0 2px 2px -2px #555 inset, 0 1px 0 #cdcdcd;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #5c5c5c #929292 #929292;
+ font-family: "lucida grande"
+ font-size: 12px;
+ line-height: 18px;
+ padding: 3px;
+ margin: 0;
+ width: 100%;
+ -moz-border-radius: 3px;
+}
+
+textarea.message {
+ min-height: 71px;
+ -moz-border-radius: 3px 0 0 3px;
+ font-size: 14px;
+}
+
+textarea:focus, input[type="text"]:focus {
+
+}
+
+.inputs {
+ margin: 0 5px 0 0;
+}
+
+input[type="text"] {
+ height: 26px;
+ width: 238px;
+ display: block;
+}
+
+input[type="text"]#to {
+ margin-bottom: 5px;
+}
+
+.entry {
+ padding: 5px 0;
+ width: 960px;
+ left: 50%;
+ margin-left: -480px;
+ position: relative;
+ min-height: 71px;
+}
+
+.entry .urlConfirmation {
+ padding: 1px 5px;
+ -moz-border-radius: 10px;
+ background-image: -moz-linear-gradient(top, #fafafa 0%, #e6e6e6 100%);
+ border: 1px solid #bebebe;
+ color: green;
+ position: absolute;
+ left: 5px;
+ bottom: 5px;
+ z-index: 1;
+ color: green;
+ font-size: 10px;
+ cursor: pointer;
+ display: none;
+}
+
+.entry .urlConfirmation span {
+ color: #333;
+}
+
+#settings .entry ul li {
+ display: inline-block;
+ float: left;
+}
+
+#settings .entry ul li button {
+ margin: 0 10px 0 0;
+ width: 128px;
+}
+
+.entry h1 {
+ margin: 0 0 10px 0;
+}
+
+/* START hbox/vbox normalization from http://alex.dojotoolkit.org/2009/08/css-3-progress/ */
+/* hbox and vbox classes */
+
+.hbox {
+ display: -webkit-box;
+ -webkit-box-orient: horizontal;
+ -webkit-box-align: stretch;
+
+ display: -moz-box;
+ -moz-box-orient: horizontal;
+ -moz-box-align: stretch;
+
+ display: box;
+ box-orient: horizontal;
+ box-align: stretch;
+}
+
+.hbox > * {
+ -webkit-box-flex: 0;
+ -moz-box-flex: 0;
+ box-flex: 0;
+ display: block;
+}
+
+.vbox {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-box-align: stretch;
+
+ display: -moz-box;
+ -moz-box-orient: vertical;
+ -moz-box-align: stretch;
+
+ display: box;
+ box-orient: vertical;
+ box-align: stretch;
+}
+
+.vbox > * {
+ -webkit-box-flex: 0;
+ -moz-box-flex: 0;
+ box-flex: 0;
+ display: block;
+}
+
+.spacer {
+ -webkit-box-flex: 1;
+ -moz-box-flex: 1;
+ box-flex: 1;
+}
+
+.reverse {
+ -webkit-box-direction: reverse;
+ -moz-box-direction: reverse;
+ box-direction: reverse;
+}
+
+.boxFlex0 {
+ -webkit-box-flex: 0;
+ -moz-box-flex: 0;
+ box-flex: 0;
+}
+
+.boxFlex1, .boxFlex {
+ -webkit-box-flex: 1;
+ -moz-box-flex: 1;
+ box-flex: 1;
+}
+
+.boxFlex2 {
+ -webkit-box-flex: 2;
+ -moz-box-flex: 2;
+ box-flex: 2;
+}
+
+.boxGroup1 {
+ -webkit-box-flex-group: 1;
+ -moz-box-flex-group: 1;
+ box-flex-group: 1;
+}
+
+.boxGroup2 {
+ -webkit-box-flex-group: 2;
+ -moz-box-flex-group: 2;
+ box-flex-group: 2;
+}
+
+.start {
+ -webkit-box-pack: start;
+ -moz-box-pack: start;
+ box-pack: start;
+}
+
+.end {
+ -webkit-box-pack: end;
+ -moz-box-pack: end;
+ box-pack: end;
+}
+
+.center {
+ -webkit-box-pack: center;
+ -moz-box-pack: center;
+ box-pack: center;
+}
+/* END hbox/vbox normalization from http://alex.dojotoolkit.org/2009/08/css-3-progress/ */
+
+/* clearfix */
+
+.clearfix:after {
+ content: ".";
+ display: block;
+ clear: both;
+ visibility: hidden;
+ line-height: 0;
+ height: 0;
+}
+
+html[xmlns] .clearfix {
+ display: block;
+}
+
+* html .clearfix {
+ height: 1%;
+}
View
112 web/0.3.4/play/designs/nativeShare.html
@@ -0,0 +1,112 @@
+<!DOCTYPE html>
+
+ <!-- ***** BEGIN LICENSE BLOCK *****
+ - Version: MPL 1.1
+ -
+ - The contents of this file are subject to the Mozilla Public License Version
+ - 1.1 (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.mozilla.org/MPL/
+ -
+ - Software distributed under the License is distributed on an "AS IS" basis,
+ - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ - for the specific language governing rights and limitations under the
+ - License.
+ -
+ - The Original Code is Raindrop.
+ -
+ - The Initial Developer of the Original Code is
+ - Mozilla Messaging, Inc..
+ - Portions created by the Initial Developer are Copyright (C) 2009
+ - the Initial Developer. All Rights Reserved.
+ -
+ - Contributor(s):
+ - -->
+
+<html>
+<head>
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
+ <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
+ <link rel="stylesheet" type="text/css" href="nativeShare.css">
+
+ <script type="text/javascript">
+ $(document).ready(function() {
+ $("#tabs").tabs(/* { fx: { opacity: 'toggle', duration: 0 } } */);
+ });
+ </script>
+
+ <style>
+ .ui-tabs .ui-tabs-hide { display: none; }
+ </style>
+
+
+</head>
+<body>
+
+<div id="tabs" class="tabs-left">
+
+ <ul class="nav clearfix">
+ <div class="navWrap clearfix">
+ <li><a class="icon twitter" title="share on twitter" href="#twitter"><span class="name">Twitter</span></a></li>
+ <li><a class="icon facebook" title="share on facebook" href="#facebook"><span class="name">Facebook</span></a></li>
+ <li><a class="icon gmail" title="share on Gmail" href="#gmail"><span class="name">Gmail</span></a></li>
+ <li class="settings"><a class="icon settings" href="#settings"><span class="name"><img src="i/settings.png"></span></a></li>
+ <div class="username"><img src="i/bryanAvatar.jpg"><span class="userId">@clarkbw</span></div>
+ </div>
+ </ul>
+
+ <div id="twitter">
+ <div class="entry hbox">
+ <div class="boxFlex">
+ <textarea class="message"></textarea>
+ <span class="urlConfirmation"><span>re-insert link</span></span>
+ </div>
+ <button class="share">share</button>
+ </div>
+ </div>
+
+ <div id="facebook">
+ <div class="entry hbox">
+ <div class="thumbnail">
+ <div class="thumb"></div>
+ <ul class="info">
+ <li class="title">Title</li>
+ <li class="description">Description</li>
+ </ul>
+ </div>
+ <textarea class="message boxFlex"></textarea>
+ <button class="share">share</button>
+ </div>
+ </div>
+
+ <div id="gmail">
+ <div class="entry hbox">
+ <div class="inputs">
+ <input id="to" type="text" value="to"/>
+ <input id="subject" type="text" value="subject"/>
+ </div>
+ <div class="boxFlex">
+ <textarea class="message"></textarea>
+ <span class="urlConfirmation"><span>re-insert link</span></span>
+ </div>
+ <button class="share">share</button>
+ </div>
+ </div>
+
+ <div id="settings">
+ <div class="entry">
+ <h1>Settings</h1>
+ <ul>
+ <li><button>Add Twitter</button></li>
+ <li><button>Add Facebook</button></li>
+ <li><button>Add GMail</button></li>
+ <li><button>Add FFFFound</button></li>
+ </ul>
+ </div>
+ </div>
+
+</div>
+
+</body>
+
+</html>
View
630 web/0.3.4/play/designs/neutralShare.css
@@ -0,0 +1,630 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Raindrop.
+ *
+ * The Initial Developer of the Original Code is
+ * Mozilla Messaging, Inc..
+ * Portions created by the Initial Developer are Copyright (C) 2009
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * */