diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2012-06-13 16:18:13 +0200 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2012-06-13 16:18:13 +0200 |
commit | ab05ecf6ac2bdd10e542eff7764de0f02a17f0a8 (patch) | |
tree | 5134afa67836f0657151a40cfba49c9adf969a50 /plugins/jetpack/_inc | |
parent | Update limit-login-attempts, smart-youtube and wp-stats (diff) | |
download | blogs-gentoo-ab05ecf6ac2bdd10e542eff7764de0f02a17f0a8.tar.gz blogs-gentoo-ab05ecf6ac2bdd10e542eff7764de0f02a17f0a8.tar.bz2 blogs-gentoo-ab05ecf6ac2bdd10e542eff7764de0f02a17f0a8.zip |
New module jetpack, replacement of wp-stats
Update akismet, limit-login-attempts, smart-youtube, wp-importer
Diffstat (limited to 'plugins/jetpack/_inc')
77 files changed, 1329 insertions, 0 deletions
diff --git a/plugins/jetpack/_inc/images/a8c.png b/plugins/jetpack/_inc/images/a8c.png Binary files differnew file mode 100644 index 00000000..b6c84df9 --- /dev/null +++ b/plugins/jetpack/_inc/images/a8c.png diff --git a/plugins/jetpack/_inc/images/after-the-deadline.gif b/plugins/jetpack/_inc/images/after-the-deadline.gif Binary files differnew file mode 100644 index 00000000..f2ae7780 --- /dev/null +++ b/plugins/jetpack/_inc/images/after-the-deadline.gif diff --git a/plugins/jetpack/_inc/images/arrow.gif b/plugins/jetpack/_inc/images/arrow.gif Binary files differnew file mode 100644 index 00000000..01e0d561 --- /dev/null +++ b/plugins/jetpack/_inc/images/arrow.gif diff --git a/plugins/jetpack/_inc/images/automattic.png b/plugins/jetpack/_inc/images/automattic.png Binary files differnew file mode 100644 index 00000000..ab5192ef --- /dev/null +++ b/plugins/jetpack/_inc/images/automattic.png diff --git a/plugins/jetpack/_inc/images/clouds.gif b/plugins/jetpack/_inc/images/clouds.gif Binary files differnew file mode 100644 index 00000000..858dbd7d --- /dev/null +++ b/plugins/jetpack/_inc/images/clouds.gif diff --git a/plugins/jetpack/_inc/images/cloudybox-back.png b/plugins/jetpack/_inc/images/cloudybox-back.png Binary files differnew file mode 100644 index 00000000..c2813868 --- /dev/null +++ b/plugins/jetpack/_inc/images/cloudybox-back.png diff --git a/plugins/jetpack/_inc/images/comingsoon.png b/plugins/jetpack/_inc/images/comingsoon.png Binary files differnew file mode 100644 index 00000000..bf744bd9 --- /dev/null +++ b/plugins/jetpack/_inc/images/comingsoon.png diff --git a/plugins/jetpack/_inc/images/contact-form.jpg b/plugins/jetpack/_inc/images/contact-form.jpg Binary files differnew file mode 100644 index 00000000..25308766 --- /dev/null +++ b/plugins/jetpack/_inc/images/contact-form.jpg diff --git a/plugins/jetpack/_inc/images/footer-clouds-20110719.png b/plugins/jetpack/_inc/images/footer-clouds-20110719.png Binary files differnew file mode 100644 index 00000000..c3ccb607 --- /dev/null +++ b/plugins/jetpack/_inc/images/footer-clouds-20110719.png diff --git a/plugins/jetpack/_inc/images/header-bg.png b/plugins/jetpack/_inc/images/header-bg.png Binary files differnew file mode 100644 index 00000000..d4c40d60 --- /dev/null +++ b/plugins/jetpack/_inc/images/header-bg.png diff --git a/plugins/jetpack/_inc/images/header-clouds-20110719.png b/plugins/jetpack/_inc/images/header-clouds-20110719.png Binary files differnew file mode 100644 index 00000000..35d35a0d --- /dev/null +++ b/plugins/jetpack/_inc/images/header-clouds-20110719.png diff --git a/plugins/jetpack/_inc/images/header-clouds-sm-20110719.png b/plugins/jetpack/_inc/images/header-clouds-sm-20110719.png Binary files differnew file mode 100644 index 00000000..a7942f63 --- /dev/null +++ b/plugins/jetpack/_inc/images/header-clouds-sm-20110719.png diff --git a/plugins/jetpack/_inc/images/hovercard.png b/plugins/jetpack/_inc/images/hovercard.png Binary files differnew file mode 100644 index 00000000..86a0be77 --- /dev/null +++ b/plugins/jetpack/_inc/images/hovercard.png diff --git a/plugins/jetpack/_inc/images/icons/after-the-deadline.png b/plugins/jetpack/_inc/images/icons/after-the-deadline.png Binary files differnew file mode 100644 index 00000000..a70fb347 --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/after-the-deadline.png diff --git a/plugins/jetpack/_inc/images/icons/contact-form.png b/plugins/jetpack/_inc/images/icons/contact-form.png Binary files differnew file mode 100644 index 00000000..f1b96fb2 --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/contact-form.png diff --git a/plugins/jetpack/_inc/images/icons/enhanced-distribution.png b/plugins/jetpack/_inc/images/icons/enhanced-distribution.png Binary files differnew file mode 100644 index 00000000..59912d76 --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/enhanced-distribution.png diff --git a/plugins/jetpack/_inc/images/icons/gravatar-hovercards.png b/plugins/jetpack/_inc/images/icons/gravatar-hovercards.png Binary files differnew file mode 100644 index 00000000..b0ba7212 --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/gravatar-hovercards.png diff --git a/plugins/jetpack/_inc/images/icons/ie-sitemode.png b/plugins/jetpack/_inc/images/icons/ie-sitemode.png Binary files differnew file mode 100644 index 00000000..668e71aa --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/ie-sitemode.png diff --git a/plugins/jetpack/_inc/images/icons/latex.png b/plugins/jetpack/_inc/images/icons/latex.png Binary files differnew file mode 100644 index 00000000..a119caa4 --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/latex.png diff --git a/plugins/jetpack/_inc/images/icons/post-by-email.png b/plugins/jetpack/_inc/images/icons/post-by-email.png Binary files differnew file mode 100644 index 00000000..eed5bd1a --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/post-by-email.png diff --git a/plugins/jetpack/_inc/images/icons/sharedaddy.png b/plugins/jetpack/_inc/images/icons/sharedaddy.png Binary files differnew file mode 100644 index 00000000..9db99bd5 --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/sharedaddy.png diff --git a/plugins/jetpack/_inc/images/icons/shortcodes.png b/plugins/jetpack/_inc/images/icons/shortcodes.png Binary files differnew file mode 100644 index 00000000..41a284e6 --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/shortcodes.png diff --git a/plugins/jetpack/_inc/images/icons/shortlinks.png b/plugins/jetpack/_inc/images/icons/shortlinks.png Binary files differnew file mode 100644 index 00000000..683c6a73 --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/shortlinks.png diff --git a/plugins/jetpack/_inc/images/icons/skeleton-module.png b/plugins/jetpack/_inc/images/icons/skeleton-module.png Binary files differnew file mode 100644 index 00000000..76e0ce6b --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/skeleton-module.png diff --git a/plugins/jetpack/_inc/images/icons/stats.png b/plugins/jetpack/_inc/images/icons/stats.png Binary files differnew file mode 100644 index 00000000..4af1031e --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/stats.png diff --git a/plugins/jetpack/_inc/images/icons/subscriptions.png b/plugins/jetpack/_inc/images/icons/subscriptions.png Binary files differnew file mode 100644 index 00000000..229cec20 --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/subscriptions.png diff --git a/plugins/jetpack/_inc/images/icons/vaultpress.png b/plugins/jetpack/_inc/images/icons/vaultpress.png Binary files differnew file mode 100644 index 00000000..a391fade --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/vaultpress.png diff --git a/plugins/jetpack/_inc/images/icons/widgets.png b/plugins/jetpack/_inc/images/icons/widgets.png Binary files differnew file mode 100644 index 00000000..1a353d2e --- /dev/null +++ b/plugins/jetpack/_inc/images/icons/widgets.png diff --git a/plugins/jetpack/_inc/images/ie-sitemode.png b/plugins/jetpack/_inc/images/ie-sitemode.png Binary files differnew file mode 100644 index 00000000..75c4522b --- /dev/null +++ b/plugins/jetpack/_inc/images/ie-sitemode.png diff --git a/plugins/jetpack/_inc/images/image-widget.png b/plugins/jetpack/_inc/images/image-widget.png Binary files differnew file mode 100644 index 00000000..71f43430 --- /dev/null +++ b/plugins/jetpack/_inc/images/image-widget.png diff --git a/plugins/jetpack/_inc/images/jetpack-closebox-icon.png b/plugins/jetpack/_inc/images/jetpack-closebox-icon.png Binary files differnew file mode 100644 index 00000000..1c014d9c --- /dev/null +++ b/plugins/jetpack/_inc/images/jetpack-closebox-icon.png diff --git a/plugins/jetpack/_inc/images/jp-enabled-bg.jpg b/plugins/jetpack/_inc/images/jp-enabled-bg.jpg Binary files differnew file mode 100644 index 00000000..27168f40 --- /dev/null +++ b/plugins/jetpack/_inc/images/jp-enabled-bg.jpg diff --git a/plugins/jetpack/_inc/images/jp-enabled-clouds.png b/plugins/jetpack/_inc/images/jp-enabled-clouds.png Binary files differnew file mode 100644 index 00000000..54f96725 --- /dev/null +++ b/plugins/jetpack/_inc/images/jp-enabled-clouds.png diff --git a/plugins/jetpack/_inc/images/jp-enabled-jetpack.jpg b/plugins/jetpack/_inc/images/jp-enabled-jetpack.jpg Binary files differnew file mode 100644 index 00000000..37921105 --- /dev/null +++ b/plugins/jetpack/_inc/images/jp-enabled-jetpack.jpg diff --git a/plugins/jetpack/_inc/images/jp-icon.png b/plugins/jetpack/_inc/images/jp-icon.png Binary files differnew file mode 100644 index 00000000..292fd3d0 --- /dev/null +++ b/plugins/jetpack/_inc/images/jp-icon.png diff --git a/plugins/jetpack/_inc/images/latex.gif b/plugins/jetpack/_inc/images/latex.gif Binary files differnew file mode 100644 index 00000000..d67577c1 --- /dev/null +++ b/plugins/jetpack/_inc/images/latex.gif diff --git a/plugins/jetpack/_inc/images/logo-small.png b/plugins/jetpack/_inc/images/logo-small.png Binary files differnew file mode 100644 index 00000000..eff53006 --- /dev/null +++ b/plugins/jetpack/_inc/images/logo-small.png diff --git a/plugins/jetpack/_inc/images/logo.png b/plugins/jetpack/_inc/images/logo.png Binary files differnew file mode 100644 index 00000000..5571481d --- /dev/null +++ b/plugins/jetpack/_inc/images/logo.png diff --git a/plugins/jetpack/_inc/images/module-blank.png b/plugins/jetpack/_inc/images/module-blank.png Binary files differnew file mode 100644 index 00000000..c0bdd2c1 --- /dev/null +++ b/plugins/jetpack/_inc/images/module-blank.png diff --git a/plugins/jetpack/_inc/images/module-clouds-sm.png b/plugins/jetpack/_inc/images/module-clouds-sm.png Binary files differnew file mode 100644 index 00000000..e743e8f4 --- /dev/null +++ b/plugins/jetpack/_inc/images/module-clouds-sm.png diff --git a/plugins/jetpack/_inc/images/rss/blue-large.png b/plugins/jetpack/_inc/images/rss/blue-large.png Binary files differnew file mode 100644 index 00000000..b4a6c52f --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/blue-large.png diff --git a/plugins/jetpack/_inc/images/rss/blue-medium.png b/plugins/jetpack/_inc/images/rss/blue-medium.png Binary files differnew file mode 100644 index 00000000..f64e3541 --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/blue-medium.png diff --git a/plugins/jetpack/_inc/images/rss/blue-small.png b/plugins/jetpack/_inc/images/rss/blue-small.png Binary files differnew file mode 100644 index 00000000..c281155e --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/blue-small.png diff --git a/plugins/jetpack/_inc/images/rss/green-large.png b/plugins/jetpack/_inc/images/rss/green-large.png Binary files differnew file mode 100644 index 00000000..4bf86435 --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/green-large.png diff --git a/plugins/jetpack/_inc/images/rss/green-medium.png b/plugins/jetpack/_inc/images/rss/green-medium.png Binary files differnew file mode 100644 index 00000000..13304ce2 --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/green-medium.png diff --git a/plugins/jetpack/_inc/images/rss/green-small.png b/plugins/jetpack/_inc/images/rss/green-small.png Binary files differnew file mode 100644 index 00000000..8833c9e6 --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/green-small.png diff --git a/plugins/jetpack/_inc/images/rss/orange-large.png b/plugins/jetpack/_inc/images/rss/orange-large.png Binary files differnew file mode 100644 index 00000000..966b1c1a --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/orange-large.png diff --git a/plugins/jetpack/_inc/images/rss/orange-medium.png b/plugins/jetpack/_inc/images/rss/orange-medium.png Binary files differnew file mode 100644 index 00000000..8f5aaa24 --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/orange-medium.png diff --git a/plugins/jetpack/_inc/images/rss/orange-small.png b/plugins/jetpack/_inc/images/rss/orange-small.png Binary files differnew file mode 100644 index 00000000..9e0bf22e --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/orange-small.png diff --git a/plugins/jetpack/_inc/images/rss/pink-large.png b/plugins/jetpack/_inc/images/rss/pink-large.png Binary files differnew file mode 100644 index 00000000..49b94c77 --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/pink-large.png diff --git a/plugins/jetpack/_inc/images/rss/pink-medium.png b/plugins/jetpack/_inc/images/rss/pink-medium.png Binary files differnew file mode 100644 index 00000000..cd8e957b --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/pink-medium.png diff --git a/plugins/jetpack/_inc/images/rss/pink-small.png b/plugins/jetpack/_inc/images/rss/pink-small.png Binary files differnew file mode 100644 index 00000000..7b959e3a --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/pink-small.png diff --git a/plugins/jetpack/_inc/images/rss/purple-large.png b/plugins/jetpack/_inc/images/rss/purple-large.png Binary files differnew file mode 100644 index 00000000..1ddb70f0 --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/purple-large.png diff --git a/plugins/jetpack/_inc/images/rss/purple-medium.png b/plugins/jetpack/_inc/images/rss/purple-medium.png Binary files differnew file mode 100644 index 00000000..8d375a5f --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/purple-medium.png diff --git a/plugins/jetpack/_inc/images/rss/purple-small.png b/plugins/jetpack/_inc/images/rss/purple-small.png Binary files differnew file mode 100644 index 00000000..75f3c607 --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/purple-small.png diff --git a/plugins/jetpack/_inc/images/rss/red-large.png b/plugins/jetpack/_inc/images/rss/red-large.png Binary files differnew file mode 100644 index 00000000..88d9bf8d --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/red-large.png diff --git a/plugins/jetpack/_inc/images/rss/red-medium.png b/plugins/jetpack/_inc/images/rss/red-medium.png Binary files differnew file mode 100644 index 00000000..838db55b --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/red-medium.png diff --git a/plugins/jetpack/_inc/images/rss/red-small.png b/plugins/jetpack/_inc/images/rss/red-small.png Binary files differnew file mode 100644 index 00000000..85fd61c6 --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/red-small.png diff --git a/plugins/jetpack/_inc/images/rss/silver-large.png b/plugins/jetpack/_inc/images/rss/silver-large.png Binary files differnew file mode 100644 index 00000000..af67da9d --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/silver-large.png diff --git a/plugins/jetpack/_inc/images/rss/silver-medium.png b/plugins/jetpack/_inc/images/rss/silver-medium.png Binary files differnew file mode 100644 index 00000000..5559c8c2 --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/silver-medium.png diff --git a/plugins/jetpack/_inc/images/rss/silver-small.png b/plugins/jetpack/_inc/images/rss/silver-small.png Binary files differnew file mode 100644 index 00000000..4a41080d --- /dev/null +++ b/plugins/jetpack/_inc/images/rss/silver-small.png diff --git a/plugins/jetpack/_inc/images/rsslinks-widget.png b/plugins/jetpack/_inc/images/rsslinks-widget.png Binary files differnew file mode 100644 index 00000000..59e1cdda --- /dev/null +++ b/plugins/jetpack/_inc/images/rsslinks-widget.png diff --git a/plugins/jetpack/_inc/images/screen-icon.png b/plugins/jetpack/_inc/images/screen-icon.png Binary files differnew file mode 100644 index 00000000..39254c8d --- /dev/null +++ b/plugins/jetpack/_inc/images/screen-icon.png diff --git a/plugins/jetpack/_inc/images/sharedaddy.gif b/plugins/jetpack/_inc/images/sharedaddy.gif Binary files differnew file mode 100644 index 00000000..6c82a1dc --- /dev/null +++ b/plugins/jetpack/_inc/images/sharedaddy.gif diff --git a/plugins/jetpack/_inc/images/sharedaddy.png b/plugins/jetpack/_inc/images/sharedaddy.png Binary files differnew file mode 100644 index 00000000..e5257163 --- /dev/null +++ b/plugins/jetpack/_inc/images/sharedaddy.png diff --git a/plugins/jetpack/_inc/images/shortcodes.png b/plugins/jetpack/_inc/images/shortcodes.png Binary files differnew file mode 100644 index 00000000..cd09ef30 --- /dev/null +++ b/plugins/jetpack/_inc/images/shortcodes.png diff --git a/plugins/jetpack/_inc/images/shortlinks.gif b/plugins/jetpack/_inc/images/shortlinks.gif Binary files differnew file mode 100644 index 00000000..64e41704 --- /dev/null +++ b/plugins/jetpack/_inc/images/shortlinks.gif diff --git a/plugins/jetpack/_inc/images/stats-smiley.gif b/plugins/jetpack/_inc/images/stats-smiley.gif Binary files differnew file mode 100644 index 00000000..69a16271 --- /dev/null +++ b/plugins/jetpack/_inc/images/stats-smiley.gif diff --git a/plugins/jetpack/_inc/images/stats.gif b/plugins/jetpack/_inc/images/stats.gif Binary files differnew file mode 100644 index 00000000..519f9df4 --- /dev/null +++ b/plugins/jetpack/_inc/images/stats.gif diff --git a/plugins/jetpack/_inc/images/status-light.png b/plugins/jetpack/_inc/images/status-light.png Binary files differnew file mode 100644 index 00000000..83b6bb59 --- /dev/null +++ b/plugins/jetpack/_inc/images/status-light.png diff --git a/plugins/jetpack/_inc/images/subscriptions.png b/plugins/jetpack/_inc/images/subscriptions.png Binary files differnew file mode 100644 index 00000000..22ddc393 --- /dev/null +++ b/plugins/jetpack/_inc/images/subscriptions.png diff --git a/plugins/jetpack/_inc/images/twitter.png b/plugins/jetpack/_inc/images/twitter.png Binary files differnew file mode 100644 index 00000000..cf9db1c3 --- /dev/null +++ b/plugins/jetpack/_inc/images/twitter.png diff --git a/plugins/jetpack/_inc/images/vaultpress.png b/plugins/jetpack/_inc/images/vaultpress.png Binary files differnew file mode 100644 index 00000000..36e87123 --- /dev/null +++ b/plugins/jetpack/_inc/images/vaultpress.png diff --git a/plugins/jetpack/_inc/images/widgets.png b/plugins/jetpack/_inc/images/widgets.png Binary files differnew file mode 100644 index 00000000..4601636d --- /dev/null +++ b/plugins/jetpack/_inc/images/widgets.png diff --git a/plugins/jetpack/_inc/jetpack-rtl.css b/plugins/jetpack/_inc/jetpack-rtl.css new file mode 100644 index 00000000..45c676b4 --- /dev/null +++ b/plugins/jetpack/_inc/jetpack-rtl.css @@ -0,0 +1,128 @@ + #jp-header #jp-clouds { + background-position: -632px 100%; + } + #jp-header.small #jp-clouds { + background-position: -425px 100%; + } + + #jp-header #jp-clouds #jp-disconnect { + float: left; + margin: -35px 0 0 25px; + text-align: left; + } + + #jp-header #jp-clouds #jp-disconnect a { + background-position: 100% 90%; + padding: 4px 30px 3px 10px; + } + #jp-header #jp-clouds #jp-disconnect a:hover { + background-position: 100% 3%; + } + + #jp-header h3 { + background-position: top right; + right: 25px; + left: auto; + } + + #jp-header p { + right: 390px; + left: auto; + text-align: right; + } + + #jp-info { + margin: 0 28px 0 12px; + } + + #jp-info p { + float:right; + } + + #jp-info a.jp-button { + float: left; + margin: 8px 20px 0 0; + } + + .jp-connect { padding: 10px 0 5px !important; } + + #jetpack-settings > .jetpack-message { margin: 10px 15px 10px 13px } + + .jetpack-message .squeezer { + text-align: right; + } + .jetpack-message h4 { + margin: 0 0 10px 10px; + } + + .more-info { + margin: 0 15px 5px 12px; + background: transparent url( images/header-clouds-sm.png ) bottom right repeat-x; + } + .more-info .jp-close { + left: 0; + right: auto; + padding: 0 6px 0 4px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + -moz-border-radius-topright: 0; + -moz-border-radius-bottomright: 0; + -webkit-border-top-left-radius: 0; + -webkit-border-bottom-left-radius: 0; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + + .more-info div.jp-info-img { + float: left; + margin: 0 20px 0 30px; + } + +.jetpack-module { + float: right; + margin: 0 15px 15px 0; + padding: 15px 15px 35px 0; +} + .jetpack-module div.module-image { + float: left; + margin: 0 10px 5px 0; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + -webkit-border-top-right-radius: 5px; + -moz-border-radius-topleft: 5px; + border-top-right-radius: 5px; + -webkit-border-bottom-right-radius: 5px; + -moz-border-radius-bottomleft: 5px; + border-bottom-right-radius: 5px; + } + + .jetpack-module div.module-image p { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + -webkit-border-bottom-right-radius: 5px; + -moz-border-radius-bottomleft: 5px; + border-bottom-right-radius: 5px; + } + + + .jetpack-module .jetpack-module-actions { + right: 15px; + left: auto; + } + + .placeholder h3 { + margin-left: 15px; + margin-right: auto; + } + + #jp-footer .automattic { + padding-right: 3px; + padding-left: 0; + } + + #jp-footer .automattic span { + margin: 0 1px 0 5px; + } diff --git a/plugins/jetpack/_inc/jetpack.css b/plugins/jetpack/_inc/jetpack.css new file mode 100644 index 00000000..74593de9 --- /dev/null +++ b/plugins/jetpack/_inc/jetpack.css @@ -0,0 +1,945 @@ +#jp-header { + min-width: 741px; + z-index: 0; + margin: 30px 0 -30px 0; +} + #jp-header.small { + margin-bottom: 50px; + } + + #jp-header #jp-clouds { + position: relative; + background: transparent url( images/header-clouds-20110719.png ) -400px 100% repeat-x; + padding-top: 110px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + } + #jp-header.small #jp-clouds { + background: transparent url( images/header-clouds-sm-20110719.png ) -220px 100% repeat-x; + padding: 50px 0 0 0; + height: 70px; + } + + #jp-header #jp-clouds #jp-disconnect { + font-size: 12px; + color: #fff; + float: right; + margin: -35px 25px 0 0; + text-align: right; + } + + #jp-header #jp-clouds #jp-disconnect a { + background: #8caa46 url( images/status-light.png ) 4px 90% no-repeat; + display: inline-block; + padding: 4px 10px 3px 30px; + color: #fff; + text-align: center; + text-decoration: none; + border: 1px solid #7a943d; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + -moz-box-shadow: inset 0 0 2px rgba( 255, 255, 255, 0.4 ); + -webkit-box-shadow: inset 0 0 2px rgba( 255, 255, 255, 0.4 ); + box-shadow: inset 0 0 2px rgba( 255, 255, 255, 0.4 ); + text-shadow: 0px -1px 0px rgba( 0,0,0,0.3 ); + } + #jp-header #jp-clouds #jp-disconnect a:hover { + background: #8caa46 url( images/status-light.png ) 4px 3% no-repeat; + background-color: #839f40; + border-color: #6a8037; + } + + #jp-header #jp-clouds #jp-disconnect span { display: none; } + + #jp-header h3 { + position: relative; + background: transparent url( images/logo.png ) top left no-repeat; + width: 252px; + height: 200px; + overflow: hidden; + text-indent: -999em; + top: -95px; + left: 25px; + margin: 0; + padding: 0; + } + #jp-header.small h3 { + background: transparent url( images/logo-small.png ) top left no-repeat; + width: 149px; + height: 120px; + top: -35px; + } + + #jp-header p { + position: absolute; + left: 390px; + text-align: left; + top: 30px; + width: 48%; + color: #fff; + font-size: 25px; + line-height: 130%; + text-shadow: 0px 1px 1px rgba(0,0,0,0.5); + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + -webkit-font-smoothing: antialiased; + } + + #jp-info { + position: relative; + overflow: visible; + z-index: 50; + margin: 0 12px 0 28px; + min-width: 780px; + } + + #jp-info p { + font-size: 17px; + line-height: 150%; + text-shadow: 0px 1px 0px #fff; + font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; + color: #666; + margin: 0 0 40px; + float:left; + width: 58%; + } + #jp-info p.small { + font-size: 14px; + } + + #jp-info a.jp-button { + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + float: right; + margin: 8px 0 0 20px; + display: inline-block; + background: #69acce; + -moz-box-shadow: inset 0 0 2px #fff, 0 1px 5px rgba(0,0,0,0.3); + -webkit-box-shadow: inset 0 0 2px #fff, 0 1px 5px rgba(0,0,0,0.3); + box-shadow: inset 0 0 2px #fff, 0 1px 5px rgba(0,0,0,0.3); + padding: 12px 20px; + border: 1px solid #2a8cba; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + line-height: 100%; + color: #fff; + text-align: center; + font-size: 20px; + font-weight: bold; + text-decoration: none; + text-shadow: 0px 1px 2px rgba( 0,0,0,0.5); + -webkit-transition-duration: .3s; + -moz-transition-duration: .3s; + cursor: pointer; + } + #jp-info a.jp-button:hover, #jp-info a.jp-button:active { + background-color: #f0a000; + border-color: #c87800; + -webkit-transition-duration: .3s; + outline: none; + -moz-box-shadow: inset 0 0 2px #fff, 0 1px 7px rgba(240,160,0,0.5); + -webkit-box-shadow: inset 0 0 2px #fff, 0 1px 7px rgba(240,160,0,0.5); + box-shadow: inset 0 0 2px #fff, 0 1px 7spx rgba(240,160,0,0.5); + } + +.jetpack-message { + position: relative; + z-index: 100; + border: 1px solid #2a8cba !important; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + background: url( images/cloudybox-back.png ) 100% 100% no-repeat; + background-color: #6aafcf !important; + -webkit-box-shadow: inset 0 0 15px rgba( 0,0,0,0.04 ); + -moz-box-shadow: inset 0 0 15px rgba( 0,0,0,0.04 ); + box-shadow: inset 0 0 15px rgba( 0,0,0,0.04 ); + padding: 18px 90px 8px 15px !important; + overflow: hidden; + line-height: 180%; +} + .jp-connect { padding: 10px 0 5px !important; } + + #jetpack-settings > .jetpack-message { margin: 10px 13px 10px 15px } + + .jetpack-message .squeezer { + max-width: 940px; + margin: 0 0 2px; + padding: 0 10px; + text-align: left; + overflow: hidden; + } + .jetpack-message h4 { + margin: 0 10px 10px 0; + font-size: 18px; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + font-weight: normal; + color: #fff; + text-shadow: 0px 1px 1px rgba(0,0,0,0.4); + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + display: inline-block; + } + + .jetpack-message h5 { + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + margin: 0; + } + + .jetpack-message code, .jetpack-err p { + background: rgba( 0,0,0,0.2 ); + font-size: 14px; + padding: 3px 5px !important; + text-shadow: 0px 1px 1px rgba(0,0,0,0.4); + color: #fff; + } + + .jetpack-message p { + margin: -1px 0 0 0 !important; + padding: 0; + display: inline-block; + } + .jetpack-err p { + overflow: hidden; + margin-bottom: 10px !important; + } + + .jetpack-message p a.button-primary { + font-size: 16px !important; + display: inline-block; + padding: 8px 15px; + color: #fff; + text-align: center; + font-size: 20px; + text-decoration: none; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + border: 1px solid #8caa46; + background: #b4d278; + -moz-box-shadow: inset 0 0 2px rgba( 255,255,255,1), 0 1px 1px rgba( 0,0,0,0.1 ); + -webkit-box-shadow: inset 0 0 2px rgba( 255,255,255,1), 0 1px 1px rgba( 0,0,0,0.1 ); + box-shadow: inset 0 0 2px rgba( 255,255,255,1), 0 1px 1px rgba( 0,0,0,0.1 ); + text-shadow: 0px -1px 0px rgba( 0,0,0,0.3); + -webkit-transition-duration: .3s; + -moz-transition-duration: .3s; + cursor: pointer; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + } + .jetpack-message p a.button-primary:hover, .jetpack-message p a.button-primary:active { + background-color: #f0a000; + border-color: #c87800; + -webkit-transition-duration: .3s; + outline: none; + } + + .inline-message p strong { display: block; } + + .more-info { + position: relative; + top: -5px; + margin: 0 15px 5px 15px; + height: 230px; /* Have to set height otherwise slideDown() doesn't work. */ + padding-right: 15px !important; + padding-bottom: 15px; + clear: both; + overflow: visible !important; + color: #666 !important; + background: transparent url( images/module-clouds-sm.png ) bottom left repeat-x; + background-color: #f0f0f0 !important; + border-color: #dcdcdc !important; + text-shadow: 0px 1px 0px #fff; + -webkit-box-shadow: inset 0 0 20px rgba(0,0,0,0.05), 0 1px 2px rgba( 0,0,0,0.1 ); + -moz-box-shadow: inset 0 0 20px rgba(0,0,0,0.05), 0 1px 2px rgba( 0,0,0,0.1 ); + box-shadow: inset 0 0 20px rgba(0,0,0,0.05), 0 1px 2px rgba( 0,0,0,0.1 ); + } + .more-info h4 { + padding: 0; + background: none; + font-weight: normal; + color: #000; + font-size: 19px; + text-shadow: 0px 1px 0px #fff; + } + + .more-info h5 { + margin-left: 0; + font-size: 12px !important; + } + .more-info .arrow { + position: absolute; + width: 29px; + height: 18px; + top: -16px; + left: 0; + background: url( images/arrow.gif ) top left no-repeat; + } + + .more-info p { + margin: 0 0 10px 0 !important; + font-size: 14px; + font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; + line-height: 150%; + display: block; + } + + .more-info ul { + font-size: 14px; + font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; + line-height: 150%; + } + + .more-info li { + list-style-type: disc; + list-style-position: inside; + } + + .more-info code { + background: rgba( 0,0,0,0.05 ); + font-size: 12px; + padding: 1px; + text-shadow: none; + color: #555; + } + + .more-info .jp-close { + position: absolute; + top: 18px; + right: 0; + background: #888; + background: rgba(0,0,0,0.4); + color: #fff; + font-size: 14px !important; + height: 22px; + line-height: 20px; + padding: 0 6px 0 6px; + font-weight: bold !important; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + -moz-border-radius-topright: 0; + -moz-border-radius-bottomright: 0; + -webkit-border-top-right-radius: 0; + -webkit-border-bottom-right-radius: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + cursor: pointer; + text-shadow: 0 1px 0 rgba(0,0,0,0.2); + } + .more-info .jp-close:hover { + background: #69acce; + } + + .more-info div.jp-info-img { + float: right; + width: 320px; + margin: 0 30px 0 20px; + } + + .more-info img.jp-info-img { + padding: 3px; + background: rgba( 255, 255, 255, 0.65 ); + border: 5px solid #ddd; + } + +.jetpack-activated { + background: #fffff5 url( images/jp-enabled-bg.jpg ) top left repeat-x !important; + height: 154px; + padding: 60px 0 0 200px !important; + position: relative; + min-width: 650px; + top: 15px; + z-index: 5; + position: relative; +} + .jetpack-activated h3 { + position: relative; + z-index: 5; + color: #444; + font-size: 42px; + font-weight: bold; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + margin: 0; + padding: 0; + background: none; + display: block; + text-transform: uppercase; + } + .jetpack-activated p { + position: relative; + z-index: 3; + top: 3px; + left: 10px; + font-size: 16px; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + font-weight: normal; + color: #666; + background: rgba( 255, 255, 255, 0.75 ); + padding: 7px 10px 6px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + display: inline-block; + } + .jetpack-activated .jetpack { + position: absolute; + top: 0; + left: 0; + width: 238px; + height: 214px; + background: url( images/jp-enabled-jetpack.jpg ) top left no-repeat; + z-index: 2; + } + .jetpack-activated .clouds { + position: absolute; + right: 0; + bottom: 0; + width: 566px; + height: 214px; + background: url( images/jp-enabled-clouds.png ) bottom left no-repeat; + z-index: 0; + -webkit-border-bottom-right-radius: 5px; + -moz-border-radius-bottomright: 5px; + border-bottom-right-radius: 5px; + -webkit-box-shadow: inset -7px -7px 10px rgba( 0,0,0,0.05 ); + -moz-box-shadow: inset -7px -7px 10px rgba( 0,0,0,0.05 ); + box-shadow: inset -7px -7px 10px rgba( 0,0,0,0.05 ); + } + +p.jp-help { + padding: 10px 0 15px; +} + +.module-container { + overflow: hidden; + min-width: 740px; + margin: 25px 0; + width: 100%; +} + +.jetpack-module { + position: relative; + float: left; + width: 210px; + min-height: 160px; + max-height: 220px; + margin: 0 0 15px 15px; + border: 1px solid #dedede; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + background: #fff; + padding: 15px 0 35px 15px; + -webkit-box-shadow: inset 0 1px 0 #fff, inset 0 0 20px rgba(0,0,0,0.05), 0 1px 2px rgba( 0,0,0,0.1 ); + -moz-box-shadow: inset 0 1px 0 #fff, inset 0 0 20px rgba(0,0,0,0.05), 0 1px 2px rgba( 0,0,0,0.1 ); + box-shadow: inset 0 1px 0 #fff, inset 0 0 20px rgba(0,0,0,0.05), 0 1px 2px rgba( 0,0,0,0.1 ); + -webkit-transition-duration: .4s; + -moz-transition-duration: .4s +} +/* + .jetpack-module:hover { + border-color: #bbb; + -webkit-box-shadow: 0 1px 2px rgba( 0,0,0,0.2 ); + -moz-box-shadow: 0 1px 2px rgba( 0,0,0,0.2 ); + box-shadow: 0 1px 2px rgba( 0,0,0,0.2 ); + -webkit-transition-duration: .4s; + -moz-transition-duration: .4s + } +*/ + .jetpack-module div.module-image { + float: right; + margin: 0 0 5px 10px; + background: #cbe0a1; + width: 84px; + -webkit-border-top-left-radius: 2px; + -moz-border-radius-topleft: 2px; + border-top-left-radius: 2px; + -webkit-border-bottom-left-radius: 2px; + -moz-border-radius-bottomleft: 2px; + border-bottom-left-radius: 2px; + } + .jetpack-module div.module-image img { + padding: 6px; + } + + .jetpack-module div.module-image p { + background-color: #b4d278; + color: #fff; + text-shadow: 1px 1px 0px rgba(0,0,0,0.2); + text-align: center; + margin: 0; + padding: 0; + clear: both; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + font-weight: bold; + -webkit-font-smoothing: antialiased; + -webkit-border-bottom-left-radius: 2px; + -moz-border-radius-bottomleft: 2px; + border-bottom-left-radius: 2px; + } + + .jetpack-new-module div.module-image p { + background-color: #f5bd4d; + } + + .jetpack-updated-module div.module-image p { + background-color: #6aafcf; + } + + .jetpack-new-module:hover div.module-image p { + background-color: #b4d278; + } + + .jetpack-updated-module:hover div.module-image p { + background-color: #b4d278; + } + + .jetpack-new-module:hover div.module-image span.module-image-free, + .jetpack-updated-module:hover div.module-image span.module-image-free { + display: inline !important; + } + + .jetpack-new-module:hover div.module-image span.module-image-badge, + .jetpack-updated-module:hover div.module-image span.module-image-badge { + display: none; + } + + .jetpack-toggle { + float: right; + padding: 2px 4px 4px; + } + .jetpack-toggle a { + text-decoration: none; + font-weight: bold; + font-size: 180%; + color: #bbb; + } + + .jetpack-active .jetpack-toggle-button:hover { color: #b90000; } + + .jetpack-module h3 { + line-height: 1.1; + margin: 0; + padding: 0; + font-size: 17px; + font-weight: normal; + font-style: normal; + color: #000; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + } + + .jetpack-module-description p { + line-height: 150%; + font-size: 12px; + font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; + margin-bottom: 20px; + color: #666; + } + + .jetpack-module .jetpack-module-actions { + position: absolute; + bottom: 20px; + left: 15px; + background: #fff; + display: block; + } + + .jetpack-module .jetpack-module-actions a { + position: relative; + font-weight: bold; + color: #888; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + } + + .jetpack-inactive { + border-color: #eee; + cursor: pointer; + } + .jetpack-inactive *, jetpack-inactive:hover * { -webkit-transition-duration: .4s; -moz-transition-duration: .4s } + + .jetpack-inactive h3, .jetpack-inactive p, .jetpack-inactive span { + color: #ccc; + } + + .jetpack-inactive .jetpack-configure-button { display: none; } + .jetpack-inactive div.module-image { + opacity: 0.6; + } + + .jetpack-inactive .jetpack-module-description p a { + color: #92b8d0; + } + .jetpack-inactive:hover .jetpack-module-description p a { + color: #5590b7; + } + + + .jetpack-inactive:hover { + border-color: #ddd; + } + + .jetpack-inactive:hover h3, .jetpack-inactive:hover p, .jetpack-inactive:hover span { + color: #aaa; + } + + .jetpack-inactive:hover div.module-image { + opacity: 0.75; + } + + .placeholder { + border-color: #eee !important; + cursor: default !important; + } + + .placeholder h3 { + color: #dadada; + margin-top: 55px; + text-align: center; + background: transparent url(images/comingsoon.png) top center no-repeat; + padding: 40px 0 0 0; + margin-right: 15px; + box-shadow: none; + } + +#jp-settings-screen { + margin: 0 25px; +} + #jp-settings-screen h3 { + font-size: 18px; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + color: #555; + padding-bottom: 20px; + border-bottom: 1px solid #eee; + } + +p#news-sub { + text-align: center; +} + +#jp-footer { + background: url( images/footer-clouds-20110719.png ) top center no-repeat; + margin: 30px 0; + padding-top: 60px; + text-align: center; +} + + #jp-footer .automattic { + color: #999; + font-size: 10px; + line-height: 15px; + text-transform: uppercase; + letter-spacing: 3px; + padding-left: 3px; + } + + #jp-footer .automattic span { + text-indent: -999em; + overflow: hidden; + background: url( images/automattic.png ) center top no-repeat; + display: inline-block; + width: 165px; + vertical-align: top; + margin: 0 5px 0 1px; + line-height: 14px; + height: 14px; + filter: alpha(opacity=40); + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; + opacity: 0.5; + } + + #jp-footer p.small { + font-size: 11px; + color: #ccc; + } + + #jp-footer .small a { + text-decoration: none; + } + + #jp-footer .small a:hover { + text-decoration: underline; + } + +#jetpack-configuration code { + font-size: 14px; +} + +.clear { + clear: both; +} + +.error, .updated { position: relative; z-index: 100; } + +.toplevel_page_jetpack .wrap { + max-width: 983px; + min-width: 741px; + margin-top: 15px; +} + +#jetpack-settings .button, #jetpack-settings .button-primary { + -moz-border-radius: 5px !important; + -webkit-border-radius: 5px !important; + border-radius: 5px !important; + padding: 5px 10px !important; + -moz-box-shadow: inset 0 0 2px #fff, 0 0 3px rgba(0,0,0,0.1); + -webkit-box-shadow: inset 0 0 2px #fff, 0 0 3px rgba(0,0,0,0.1); + box-shadow: inset 0 0 2px #fff, 0 0 3px rgba(0,0,0,0.1); +} + +#jetpack-settings .button-primary { + color: #bceaff !important; +} + +#jetpack-settings .button-primary:hover { + color: #fff !important; +} + +#jetpack-settings .button:hover { + color: #298cba !important; + border-color: #69acce !important; + -moz-box-shadow: 0 0 2px rgba(105,172,206,1); + -webkit-box-shadow: 0 0 2px rgba(105,172,206,1); + box-shadow: 0 0 2px rgba(105,172,206,1); + -webkit-transition-duration: .3s; + -moz-transition-duration: .3s; +} + +.jp-survey { + position: relative; + z-index: 100; + border: 1px solid #ccc !important; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + background-color: #efefef !important; + -webkit-box-shadow: inset 0 0 15px rgba( 0,0,0,0.04 ); + -moz-box-shadow: inset 0 0 15px rgba( 0,0,0,0.04 ); + box-shadow: inset 0 0 15px rgba( 0,0,0,0.04 ); + padding: 18px 90px 8px 15px !important; + overflow: hidden; + line-height: 180%; +} + +#jetpack-settings > .jp-survey { margin: 10px 13px 40px 15px } + +.jp-survey h4 { + margin: 0; + font-size: 18px; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + font-weight: normal; + color: #333; + text-shadow: 0 1px 0 #fff; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + display: block; + float: left; +} + +.jp-survey p { + float: right; + margin: -1px 0 0 0 !important; + padding: 0; + display: block; +} + +.jp-survey a { + color: #000; + text-decoration: underline; + -webkit-transition-duration: .3s; + -moz-transition-duration: .3s; + -o-transition-duration: .3s; + -ms-transition-duration: .3s; + transition-duration: .3s; +} + +.jp-survey a:hover { + color: #555; + text-decoration: none; +} + +#jetpack-settings .jp-survey p a.button-primary { + font-size: 16px !important; + display: inline-block; + padding: 8px 15px; + color: #fff!important; + text-align: center; + font-size: 20px; + text-decoration: none; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + border: 1px solid #2A8CBA; + background: #6AAFCF; + -moz-box-shadow: inset 0 0 2px rgba( 255,255,255,1), 0 1px 1px rgba( 0,0,0,0.1 ); + -webkit-box-shadow: inset 0 0 2px rgba( 255,255,255,1), 0 1px 1px rgba( 0,0,0,0.1 ); + box-shadow: inset 0 0 2px rgba( 255,255,255,1), 0 1px 1px rgba( 0,0,0,0.1 ); + text-shadow: 0px -1px 0px rgba( 0,0,0,0.3); + -webkit-transition-duration: .3s; + -moz-transition-duration: .3s; + -o-transition-duration: .3s; + -ms-transition-duration: .3s; + transition-duration: .3s; + cursor: pointer; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; +} + +#jetpack-settings .jp-survey p a.button-primary:hover, #jetpack-settings .jp-survey p a.button-primary:active { + background-color: #f0a000; + border-color: #c87800; + -webkit-transition-duration: .3s; + outline: none; +} + +.jp-survey p a.button-secondary { + font-size: 16px !important; + display: inline-block; + padding: 8px 15px; + color: #fff; + text-align: center; + font-size: 20px; + text-decoration: none; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + border: 1px solid #8caa46; + background: #b4d278; + -moz-box-shadow: inset 0 0 2px rgba( 255,255,255,1), 0 1px 1px rgba( 0,0,0,0.1 ); + -webkit-box-shadow: inset 0 0 2px rgba( 255,255,255,1), 0 1px 1px rgba( 0,0,0,0.1 ); + box-shadow: inset 0 0 2px rgba( 255,255,255,1), 0 1px 1px rgba( 0,0,0,0.1 ); + text-shadow: 0px -1px 0px rgba( 0,0,0,0.3); + -webkit-transition-duration: .3s; + -moz-transition-duration: .3s; + -o-transition-duration: .3s; + -ms-transition-duration: .3s; + transition-duration: .3s; + cursor: pointer; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; +} + +.jp-survey p a.button-secondary:hover, .jp-survey p a.button-secondary:active { + background-color: #f0a000; + border-color: #c87800; + -webkit-transition-duration: .3s; + -moz-transition-duration: .3s; + -o-transition-duration: .3s; + -ms-transition-duration: .3s; + transition-duration: .3s; + outline: none; +} + +.jp-survey-container { + overflow: hidden; + padding: 0 20px 8px 0; +} + +.jp-survey-text { + float: left; + width: 68.421053%; /* 390px / 570px */ +} + +.jp-survey-button-container { + position: absolute; + top: 28px; + right: 15px; +} + +.jetpack-close-button-container { + position: absolute; + top: 0; + right: 0; +} + +.jetpack-close-button { + display: block; + width: 16px; + height: 16px; + text-indent: -9999px; + background: transparent url( images/jetpack-closebox-icon.png ) no-repeat center center; + border: 0 none; + -moz-border-radius: 0 0 0 5px; + -webkit-border-radius: 0 0 0 5px; + -o-border-radius: 0 0 0 5px; + -ms-border-radius: 0 0 0 5px; + border-radius: 0 0 0 5px; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; + -webkit-transition-duration: .3s; + -moz-transition-duration: .3s; + -o-transition-duration: .3s; + -ms-transition-duration: .3s; + transition-duration: .3s; + cursor: pointer; +} + +.jetpack-close-button:hover { + background-color: #fff; + border: 0 none; + outline: none; + -webkit-transition-duration: .3s; + -moz-transition-duration: .3s; + -o-transition-duration: .3s; + -ms-transition-duration: .3s; + transition-duration: .3s; +} + +.jetpack-close-button:active { + background-color: #efefef; + border: 0 none; + -webkit-transition-duration: .3s; + -moz-transition-duration: .3s; + -o-transition-duration: .3s; + -ms-transition-duration: .3s; + transition-duration: .3s; +} + +.jetpack-wrap-container { + overflow: hidden; + padding: 0 20px 8px 15px; +} + +.jetpack-text-container { + float: left; + width: 68.421053%; /* 390px / 570px */ +} + +.jetpack-install-container p a.button-connector { + position: absolute; + bottom: 5px; + right: 15px; + font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif; + float: right; + display: inline-block; + background: #b4d278; + -moz-box-shadow: inset 0 0 2px #fff, 0 1px 5px rgba(0,0,0,0.3); + -webkit-box-shadow: inset 0 0 2px #fff, 0 1px 5px rgba(0,0,0,0.3); + box-shadow: inset 0 0 2px #fff, 0 1px 5px rgba(0,0,0,0.3); + padding: 8px 15px; + border: 1px solid #2a8cba; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + line-height: 100%; + color: #fff; + text-align: center; + font-size: 16px; + font-weight: bold; + text-decoration: none; + text-shadow: 0px 1px 2px rgba( 0,0,0,0.5); + -webkit-transition-duration: .3s; + -moz-transition-duration: .3s; + cursor: pointer; +} + +.jetpack-install-container p a.button-connector:hover, .jetpack-install-container p a.button-connector:active { + background-color: #f0a000; + border-color: #c87800; + -webkit-transition-duration: .3s; + outline: none; + -moz-box-shadow: inset 0 0 2px #fff, 0 1px 7px rgba(240,160,0,0.5); + -webkit-box-shadow: inset 0 0 2px #fff, 0 1px 7px rgba(240,160,0,0.5); + box-shadow: inset 0 0 2px #fff, 0 1px 7spx rgba(240,160,0,0.5); +} diff --git a/plugins/jetpack/_inc/jetpack.js b/plugins/jetpack/_inc/jetpack.js new file mode 100644 index 00000000..69a86c13 --- /dev/null +++ b/plugins/jetpack/_inc/jetpack.js @@ -0,0 +1,256 @@ +// ScrollTo Plugin 1.4.2 | Copyright (c) 2007-2009 Ariel Flesler | GPL/MIT License +;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery); + +jetpack = { + numModules: 0, + container: null, + arrow: null, + linkClicked: null, + resizeTimeout: null, + resizeTimer: null, + shadowTimer: null, + statusText: null, + isRTL: !( 'undefined' == typeof isRtl || !isRtl ), + didDebug: false, + + init: function() { + jetpack.numModules = jQuery( 'div.jetpack-module' ).not( '.placeholder' ).size(); + jetpack.container = jQuery( 'div.module-container' ); + + jetpack.level_modules(); + jetpack.level_placeholders(); + jetpack.level_placeholders_on_resize(); + + jQuery( 'a.more-info-link', 'div.jetpack-module' ).bind( 'click', function(e) { + e.preventDefault(); + jetpack.hide_shadows(); + + if ( jetpack.linkClicked && jetpack.linkClicked.parents( 'div.jetpack-module' ).attr( 'id' ) == jQuery(this).parents( 'div.jetpack-module' ).attr( 'id' ) ) { + jetpack.close_learn_more( function() { jetpack.show_shadows(); } ); + } else { + jetpack.linkClicked = jQuery(this); + jetpack.insert_learn_more( jQuery(this).parents( 'div.jetpack-module' ), function() { jetpack.show_shadows(); } ); + jQuery( 'a.jetpack-deactivate-button' ).hide(); + jQuery( 'a.jetpack-configure-button' ).show(); + jetpack.linkClicked.parents( 'div.jetpack-module' ).children( '.jetpack-module-actions' ).children( 'a.jetpack-deactivate-button' ).show(); + jetpack.linkClicked.parents( 'div.jetpack-module' ).children( '.jetpack-module-actions' ).children( 'a.jetpack-configure-button' ).hide(); + } + } ); + + jQuery( window ).bind( 'resize', function() { + jetpack.hide_shadows(); + + clearTimeout( jetpack.shadowTimer ); + jetpack.shadowTimer = setTimeout( function() { jetpack.show_shadows(); }, 200 ); + }); + + jQuery( 'a#jp-debug' ).bind( 'click', function(e) { + e.preventDefault(); + if ( !jetpack.didDebug ) { + jetpack.didDebug = true; + jQuery( '#jetpack-configuration' ).load( this.href, function() { + jQuery.scrollTo( 'max', 'fast' ); + } ); + } + + jetpack.toggle_debug(); + }); + + var widerWidth = 0; + jQuery( '#jp-disconnect' ).hover( function() { + var t = jQuery( this ), + a = t.find( 'a' ), + width = t.width(), + changeWidth = widerWidth == 0; + + if ( changeWidth && widerWidth < width ) { + widerWidth = width; + } + jetpack.statusText = a.html(); + a.html( jQuery( '#jp-disconnect span' ).html() ); + width = t.width(); + if ( changeWidth && widerWidth < width ) { + widerWidth = width + 15; + } + if ( changeWidth ) { + t.width( widerWidth ); + } + a.hide().fadeIn(100); + }, function() { + var a = jQuery( 'a', this ); + a.html( jetpack.statusText ); + a.hide().fadeIn(100); + jetpack.statusText = null; + } ).find( 'a' ).click( function() { + if ( confirm( jetpackL10n.ays_disconnect ) ) { + jQuery( '#jp-disconnect' ).unbind( 'mouseenter mouseleave' ); + jQuery( this ).css( { + "background-image": 'url( ' + userSettings.url + 'wp-admin/images/wpspin_dark.gif )', + "background-position": '9px 5px', + } ).unbind( 'click' ).click( function() { return false; } ); + } else { + return false; + } + } ); + + }, + + level_modules: function() { + var max_height = 0; + + // Get the tallest module card and set them all to be that tall. + jQuery( 'div.jetpack-module', 'div.module-container' ).each( function() { + max_height = Math.max( max_height, jQuery(this).height() ); + } ).height( max_height ); + }, + + level_placeholders: function( w ) { + jQuery( 'div.placeholder' ).show(); + + var containerWidth = jetpack.container.width(), + needed = 4 * parseInt( containerWidth / 242, 10 ) - jetpack.numModules + + if ( jetpack.numModules * 242 > containerWidth ) + jQuery( 'div.placeholder' ).slice( needed ).hide(); + else + jQuery( 'div.placeholder' ).hide(); + }, + + level_placeholders_on_resize: function() { + jQuery( window ).bind( 'resize', function() { + if ( jetpack.resizeTimer ) { + return; + } + + jetpack.resizeTimer = setTimeout( function() { + jetpack.resizeTimer = false; + jetpack.level_placeholders(); + jetpack.level_placeholders_on_resize(); + }, 100 ); + } ); + }, + + insert_learn_more: function( card, callback ) { + var perRow = parseInt( jetpack.container.width() / 242, 10 ), + cardPosition = 0, + cardRow = 0, + learnMoreOffset = jetpack.isRTL ? 144 : 28; + + // Get the position of the card clicked. + jQuery( 'div.jetpack-module', 'div.module-container' ).each( function( i, el ) { + if ( jQuery(el).attr('id') == jQuery(card).attr('id') ) + cardPosition = i; + } ); + + cardRow = 1 + parseInt( cardPosition / perRow, 10 ); + + // Insert the more info box after the last item of the row. + jQuery( 'div.jetpack-module', 'div.module-container' ).each( function( i, el ) { + if ( i + 1 == ( perRow * cardRow ) ) { + // More info box already exists. + if ( jQuery( 'div.more-info' ).length ) { + if ( jQuery( el ).next().hasClass( 'more-info' ) ) { + jQuery( 'div.more-info div.jp-content' ).fadeOut( 100 ); + jetpack.learn_more_content( jQuery(card).attr( 'id' ) ); + jQuery( window ).scrollTo( ( jQuery( 'div.more-info' ).prev().offset().top ) - 70, 600, function() { if ( typeof callback == 'function' ) callback.call( this ); } ); + } else { + jQuery( 'div.more-info div.jp-content' ).hide(); + jQuery( 'div.more-info' ).slideUp( 200, function() { + jQuery(this).detach().insertAfter( el ); + jQuery( 'div.more-info div.jp-content' ).hide(); + jetpack.learn_more_content( jQuery(card).attr( 'id' ) ); + jQuery( 'div.more-info' ).slideDown( 300 ); + jQuery( window ).scrollTo( ( jQuery( 'div.more-info' ).prev().offset().top ) - 70, 600, function() { if ( typeof callback == 'function' ) callback.call( this ); } ); + } ); + } + + // More info box does not exist. + } else { + // Insert the box. + jQuery( el ).after( '<div id="message" class="more-info jetpack-message"><div class="arrow"></div><div class="jp-content"></div><div class="jp-close">×</div><div class="clear"></div></div>' ); + + // Show the box + jQuery( 'div.more-info', 'div.module-container' ).hide().slideDown( 400, function() { + // Load the content and scroll to it + jetpack.learn_more_content( jQuery(card).attr( 'id' ) ); + jQuery( window ).scrollTo( ( jQuery( 'div.more-info' ).prev().offset().top ) - 70, 600 ); + + if ( typeof callback == 'function' ) callback.call( this ); + } ); + + jQuery( 'div.more-info' ).children( 'div.arrow' ).animate( { left: jQuery(card).offset().left - jetpack.container.offset().left + learnMoreOffset + 'px' }, 300 ); + } + jQuery( 'div.more-info' ).children( 'div.arrow' ).animate( { left: jQuery(card).offset().left - jetpack.container.offset().left + learnMoreOffset + 'px' }, 300 ); + + return; + } + } ); + + // Listen for resize + jQuery( window ).bind( 'resize', function() { + jetpack.reposition_learn_more( card ); + jetpack.level_placeholders_on_resize(); + } ); + + // Listen for close. + jQuery( 'div.more-info div.jp-close' ).unbind( 'click' ).bind( 'click', function() { + jetpack.close_learn_more(); + } ); + }, + + reposition_learn_more: function( card ) { + var perRow = parseInt( jetpack.container.width() / 242, 10 ); + var cardPosition = 0; + + // Get the position of the card clicked. + jQuery( 'div.jetpack-module', 'div.module-container' ).each( function( i, el ) { + if ( jQuery(el).attr('id') == jQuery(card).attr('id') ) + cardPosition = i; + } ); + + var cardRow = 1 + parseInt( cardPosition / perRow, 10 ); + + jQuery( 'div.jetpack-module', 'div.module-container' ).each( function( i, el ) { + if ( i + 1 == ( perRow * cardRow ) ) { + jQuery( 'div.more-info' ).detach().insertAfter( el ); + jQuery( 'div.more-info' ).children( 'div.arrow' ).css( { left: jQuery(card).offset().left - jetpack.container.offset().left + 28 + 'px' }, 300 ); + } + } ); + }, + + learn_more_content: function( module_id ) { + response = jQuery( '#jp-more-info-' + module_id ).html(); + jQuery( 'div.more-info div.jp-content' ).html( response ).hide().fadeIn( 300 ); + }, + + close_learn_more: function( callback ) { + jQuery( 'div.more-info div.jp-content' ).hide(); + + jQuery( 'div.more-info' ).slideUp( 200, function() { + jQuery( this ).remove(); + jQuery( 'a.jetpack-deactivate-button' ).hide(); + jetpack.linkClicked.parents( 'div.jetpack-module' ).children( '.jetpack-module-actions' ).children( 'a.jetpack-configure-button' ).show(); + jetpack.linkClicked = null; + + if ( typeof callback == 'function' ) callback.call( this ); + } ); + }, + + toggle_debug: function() { + jQuery('div#jetpack-configuration').toggle( 0, function() { + if ( jQuery( this ).is( ':visible' ) ) { + jQuery.scrollTo( 'max', 'fast' ); + } + } ); + }, + + hide_shadows: function() { + jQuery( 'div.jetpack-module, div.more-info' ).css( { '-webkit-box-shadow': 'none' } ); + }, + + show_shadows: function() { + jQuery( 'div.jetpack-module' ).css( { '-webkit-box-shadow': 'inset 0 1px 0 #fff, inset 0 0 20px rgba(0,0,0,0.05), 0 1px 2px rgba( 0,0,0,0.1 )' } ); + jQuery( 'div.more-info' ).css( { '-webkit-box-shadow': 'inset 0 0 20px rgba(0,0,0,0.05), 0 1px 2px rgba( 0,0,0,0.1 )' } ); + } +} +jQuery( function() { jetpack.init(); } ); |