| @@ -0,0 +1,62 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| <plist version="1.0"> | ||
| <dict> | ||
| <key>Author</key> | ||
| <string>BackerKit</string> | ||
| <key>Builder Version</key> | ||
| <string>9537.76.4</string> | ||
| <key>CFBundleDisplayName</key> | ||
| <string>backertracker</string> | ||
| <key>CFBundleIdentifier</key> | ||
| <string>com.backerkit.safariextension</string> | ||
| <key>CFBundleInfoDictionaryVersion</key> | ||
| <string>6.0</string> | ||
| <key>CFBundleShortVersionString</key> | ||
| <string>0.0.1</string> | ||
| <key>CFBundleVersion</key> | ||
| <string>1</string> | ||
| <key>Chrome</key> | ||
| <dict/> | ||
| <key>Content</key> | ||
| <dict> | ||
| <key>Scripts</key> | ||
| <dict> | ||
| <key>End</key> | ||
| <array> | ||
| <string>js/browser.js</string> | ||
| <string>js/content.js</string> | ||
| </array> | ||
| <key>Start</key> | ||
| <array> | ||
| <string>libs/jquery-2.1.1.min.js</string> | ||
| </array> | ||
| </dict> | ||
| <key>Stylesheets</key> | ||
| <array> | ||
| <string>css/content.css</string> | ||
| </array> | ||
| </dict> | ||
| <key>Description</key> | ||
| <string>Track your favorite crowdfunding projects on BackerKit</string> | ||
| <key>ExtensionInfoDictionaryVersion</key> | ||
| <string>1.0</string> | ||
| <key>Permissions</key> | ||
| <dict> | ||
| <key>Website Access</key> | ||
| <dict> | ||
| <key>Allowed Domains</key> | ||
| <array> | ||
| <string>*.kickstarter.com</string> | ||
| <string>*.indiegogo.com</string> | ||
| </array> | ||
| <key>Include Secure Pages</key> | ||
| <true/> | ||
| <key>Level</key> | ||
| <string>Some</string> | ||
| </dict> | ||
| </dict> | ||
| <key>Website</key> | ||
| <string>https://www.backerkit.com</string> | ||
| </dict> | ||
| </plist> |
| @@ -0,0 +1,5 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| <plist version="1.0"> | ||
| <array/> | ||
| </plist> |
| @@ -0,0 +1,105 @@ | ||
| .ls-search { | ||
| -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.2); | ||
| -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.2); | ||
| box-shadow: 0 1px 4px rgba(0,0,0,0.2); | ||
| display: box; | ||
| padding: 20px; | ||
| font-size: 16px; | ||
| line-height: 1.24; | ||
| width: 424px; | ||
| } | ||
|
|
||
| .ls-title { | ||
| font-size: 16px; | ||
| padding: 4px 0; | ||
| } | ||
|
|
||
| .ls-container { | ||
| margin-top: 10px; | ||
| } | ||
|
|
||
| .ls-container p { | ||
| color: #808080 !important; | ||
| font-size: 13px; | ||
| } | ||
|
|
||
| .ls-container ul li { | ||
| list-style: none; | ||
| } | ||
|
|
||
| .ls-container li { | ||
| margin-bottom: 23px !important; | ||
| } | ||
|
|
||
| .ls-description { | ||
| color: #545454; | ||
| font-size: small; | ||
| } | ||
|
|
||
| .ls-description a, .ls-description a:visited { | ||
| color: #545454 !important; | ||
| } | ||
|
|
||
| .ls-link a { | ||
| color: #006621 !important; | ||
| font-style: normal; | ||
| font-size: 13px; | ||
| } | ||
|
|
||
| .ls-date { | ||
| color: #808080; | ||
| font-size: small; | ||
| } | ||
|
|
||
| .ls-more { | ||
| margin-top: 20px; | ||
| color: #808080 !important; | ||
| font-size: small; | ||
| } | ||
|
|
||
| .ls-detail { | ||
| color: #808080 !important; | ||
| font-size: small; | ||
| } | ||
|
|
||
| .ls-more div { | ||
| display: inline; | ||
| } | ||
|
|
||
| .ls-login { | ||
| color: #808080 !important;; | ||
| font-size: small; | ||
| } | ||
|
|
||
| .ls-login a { | ||
| color: #808080 !important;; | ||
| } | ||
|
|
||
| .ls-login a:visited { | ||
| color: #808080 !important;; | ||
| } | ||
|
|
||
| .ls-share a, .ls-share a:visited { | ||
| color: #777; | ||
| font-size: 11px; | ||
| line-height: normal; | ||
| margin-right: 8px; | ||
| } | ||
|
|
||
| .ls-right { | ||
| float: right; | ||
| } | ||
|
|
||
| .ls-icon { | ||
| height: 13px; | ||
| width: 13px; | ||
| display: inline-block; | ||
| } | ||
|
|
||
| .ls-icon-avatar { | ||
| display: inline-block; | ||
| vertical-align: top; | ||
| width: 26px; | ||
| height: 26px; | ||
| border-radius: 100%; | ||
| } |
| @@ -0,0 +1,11 @@ | ||
| ;(function (window) { | ||
| var app = window.app = window.app || {}; | ||
|
|
||
| app.browser = { | ||
| name: 'Safari', | ||
|
|
||
| getUrl: function (url) { | ||
| return safari.extension.baseURI + url; | ||
| } | ||
| }; | ||
| })(window); |
| @@ -0,0 +1,19 @@ | ||
| ;(function () { | ||
| var app = window.app = window.app || {}; | ||
| var App = function (block) { | ||
|
|
||
| return { | ||
| run: function () { | ||
| var path = location.pathname, | ||
| prependTarget = $('.container-flex.px2'); | ||
|
|
||
| if(prependTarget.length === 0){ | ||
| prependTarget = $('.i-campaign-page.ng-isolate-scope'); | ||
| } | ||
| $('<iframe>', {src:'https://www.backerkit.com' + path + '/iframe', frameBorder: "0", width: prependTarget.width(), height:'300px', scrolling:'no'}).prependTo(prependTarget); | ||
| } | ||
| }; | ||
| }; | ||
|
|
||
| new App($(this)).run(); | ||
| })(); |
| @@ -101,4 +101,4 @@ gulp.task('addons', shell.task([ | ||
|
|
||
| gulp.task('default', function(cb) { | ||
| return rseq('clean', ['chrome', 'firefox', 'safari'], cb); | ||
| }); | ||