Permalink
Browse files

Basic support for findmore plugin. Still needs some CSS tweaking. 3rd…

…-party Widgets suck.
  • Loading branch information...
1 parent 121d83b commit 1a08324c2ae23b6dc3fdd5adfaadbba28802fb50 @yellowled committed Apr 7, 2012
Showing with 14 additions and 3 deletions.
  1. +2 −2 plugin_findmore.tpl
  2. +12 −1 style.css
View
@@ -78,7 +78,7 @@
{if NOT $findmore_disabled_services.facebook OR NOT $findmore_disabled_services.gplus OR NOT $findmore_disabled_services.spreadly}
<ul class="serendipity_findmore_like clearfix">
{if NOT $findmore_disabled_services.facebook}
- <li class="facebook_like findmore_like_button">
+ <li class="facebook_like findmore_like_button clearfix">
{if $findmore_lazyload}
<script>
var fb_like = '<iframe src="http://www.facebook.com/plugins/like.php?href={$entrydata.url|@escape:url}&amp;layout=standard&amp;show-faces=true&amp;width=300&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe>';
@@ -90,7 +90,7 @@
</li>
{/if}
{if NOT $findmore_disabled_services.plusone}
- <li class="google_like findmore_like_button">
+ <li class="google_like findmore_like_button clearfix">
{if $findmore_lazyload}
<script>
var gplus_like = '<div class="gplus_like"><div class="g-plusone" data-size="medium" data-href="{$entrydata.url}"></div>{literal}<script type="text/javascript">window.___gcfg = {lang: "en"}; (function() { var po = document.createElement("script"); po.type = "text/javascript"; po.async = true; po.src = "https://apis.google.com/js/plusone.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s); })(); <\/script></div>';
View
@@ -805,7 +805,7 @@ pre .geshi {
.serendipity_findmore li,
.serendipity_findmore_like li {
display: inline-block;
- margin: 0 4px 0 0;
+ margin: 0 4px 4px 0;
}
.ie7 .serendipity_findmore li,
@@ -814,6 +814,17 @@ pre .geshi {
zoom: 1;
}
+.lazyload_switcher {
+ display: inline-block;
+ margin: 0 4px 0 0;
+}
+
+.gplus_like {
+ display: inline;
+ float: right;
+ padding: 4px 0 0;
+}
+
/* Helper classes */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

0 comments on commit 1a08324

Please sign in to comment.