ahmed4dex

اضافة ايقونات المشاركه #1

May 27th, 2015
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.04 KB | None | 0 0
  1. <b:if cond='data:blog.pageType == "item"'>
  2. <style>
  3. @import url(http://fonts.googleapis.com/css?family=Open+Sans);
  4. @import "//netdna.bootstrapcdn.com/font-awesome/3.0/css/font-awesome.css";
  5. #buttons {
  6. width: 475px;
  7. overflow: hidden;
  8. margin: 20px auto 10px;
  9. }
  10.  
  11. .social-sharing-title{
  12. background: #E74C3C;
  13. color: #ffffff;
  14. text-align: center;
  15. line-height: 40px;
  16. font-size: 18px;
  17. width: 643px;
  18. height: 40px;
  19. display: block;
  20. margin: 20px 0px -5px;
  21. }
  22.  
  23. .button {
  24. float: left;
  25. margin-right: 10px;
  26. width: 110px;
  27. background:#E2E2E2;
  28. border: 1px solid #cbcbcb;
  29. border-radius: 3px;
  30. -o-border-radius: 3px;
  31. -ms-border-radius: 3px;
  32. -moz-border-radius: 3px;
  33. -webkit-border-radius: 3px;
  34. padding: 15px 5px 5px;
  35. box-sizing: border-box;
  36. }
  37.  
  38. .button i {
  39. background: #353535;
  40. color: #eaeaea;
  41. text-align: center;
  42. line-height: 40px;
  43. font-size: 18px;
  44. width: 40px;
  45. height: 40px;
  46. display: block;
  47. margin: 0 auto 10px;
  48. border-radius: 50%;
  49. -o-border-radius: 50%;
  50. -ms-border-radius: 50%;
  51. -moz-border-radius: 50%;
  52. -webkit-border-radius: 50%;
  53. }
  54.  
  55. .social-container {
  56. text-align: center;
  57. text-transform: uppercase;
  58. font-size: 18px;
  59. color: #353535;
  60. line-height: 54px;
  61. font-family: GESSTwoMediumRegular;
  62. background: #d8d8d8;
  63. width: 100%;
  64. height: 45px;
  65. box-shadow: inset 0 -2px 4px #c7c7c7;
  66. border-radius: 3px;
  67. -o-border-radius: 3px;
  68. -ms-border-radius: 3px;
  69. -moz-border-radius: 3px;
  70. -webkit-border-radius: 3px;
  71. position: relative;
  72. overflow: hidden;
  73. }
  74.  
  75. .slide, .button i {
  76. -webkit-transition: all 0.2s ease-in-out;
  77. -moz-transition: all 0.2s ease-in-out;
  78. -ms-transition: all 0.2s ease-in-out;
  79. -o-transition: all 0.2s ease-in-out;
  80. }
  81.  
  82. .slide {
  83. box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  84. border-radius: 0 0 22px 22px;
  85. -o-border-radius: 0 0 22px 22px;
  86. -ms-border-radius: 0 0 22px 22px;
  87. -moz-border-radius: 0 0 22px 22px;
  88. -webkit-border-radius: 0 0 22px 22px;
  89. /* top fix */
  90. transition: all 0.2s ease-in-out;
  91. position: absolute;
  92. height: 45px;
  93. width: 100%;
  94. top: -35px;
  95. }
  96.  
  97. .slide::after {
  98. content: &quot;&quot;;
  99. display: block;
  100. position: absolute;
  101. width: 100%;
  102. height: 10px;
  103. box-shadow: inset 0 1px 0px #fdfdfd, 0 3px 0px #cdcdcd;
  104. border-radius: 3px;
  105. -o-border-radius: 3px;
  106. -ms-border-radius: 3px;
  107. -moz-border-radius: 3px;
  108. -webkit-border-radius: 3px;
  109. background: #eaeaea;
  110. border: 1px solid #cbcbcb;
  111. box-sizing: border-box;
  112. bottom: 0;
  113. }
  114.  
  115. .button:hover .slide {
  116. top: 0;
  117. border-radius: 3px;
  118. }
  119.  
  120. .linkedin .IN-widget, .button iframe, .google #___plusone_0 {
  121. top: 1px;
  122. position: relative;
  123. }
  124.  
  125. .twitter iframe {
  126. width: 79px !important;
  127. }
  128.  
  129. .google #___plusone_0 {
  130. width: 60px !important;
  131. }
  132.  
  133. .button.facebook:hover i, .facebook .slide {
  134. background: #305c99;
  135. color: white;
  136. }
  137.  
  138. .button.twitter:hover i, .twitter .slide {
  139. background: #00cdff;
  140. color: white;
  141. }
  142.  
  143. .button.google:hover i, .google .slide {
  144. background: #d24228;
  145. color: white;
  146. }
  147.  
  148. .button.linkedin:hover i, .linkedin .slide {
  149. background: #007bb6;
  150. color: white;
  151. }
  152.  
  153. .button.linkedin {
  154. margin-right: 0;
  155. }
  156.  
  157. .credit {
  158. display: none;
  159. }
  160.  
  161. .credit a {
  162. display: none;
  163. }
  164. </style>
  165. <b:if cond='data:blog.pageType == &quot;item&quot;'>
  166.  
  167. <div class='social-sharing-title'>الرجاء مشاركة الموضوع لتعم الفائده على الجميع</div>
  168. <div id='buttons'>
  169. <div class='facebook button'>
  170. <i class='icon-facebook'/>
  171. <div class='social-container fb'>
  172. <div class='slide'>
  173. <iframe allowTransparency='true' expr:src='&quot;//www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;send=false&amp;layout=button_count&amp;width=85&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:85px; height:21px; margin: 0px; }'/>
  174. </div>
  175. فيس بوك
  176. </div>
  177. </div>
  178. <div class='twitter button'>
  179. <i class='icon-twitter'/>
  180. <div class='social-container tw'>
  181. <div class='slide'>
  182. <a class='twitter-share-button' data-hashtags='المايسترو' data-via='iTh3Maestro' href='https://twitter.com/share'>
  183. غرد </a>
  184. <script>
  185. !function(d,s,id){
  186. var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?&#39;http&#39;:&#39;https&#39;;
  187. if(!d.getElementById(id)){
  188. js=d.createElement(s);
  189. js.id=id;
  190. js.src=p+&#39;://platform.twitter.com/widgets.js&#39;;fjs.parentNode.insertBefore(js,fjs);}}(document, &#39;script&#39;, &#39;twitter-wjs&#39;);
  191. </script>
  192. </div>
  193. تويتر
  194. </div>
  195. </div>
  196. <div class='google button'>
  197. <i class='icon-google-plus'/>
  198. <div class='social-container tw'>
  199. <div class='slide'>
  200. <!-- Place this tag where you want the +1 button to render. -->
  201. <div class='g-plusone' data-size='medium'>
  202. </div>
  203. <!-- Place this tag after the last +1 button tag. -->
  204. <script type='text/javascript'>
  205. (function() {
  206. var po = document.createElement(&#39;script&#39;);
  207. po.type = &#39;text/javascript&#39;;
  208. po.async = true;
  209. po.src = &#39;https://apis.google.com/js/plusone.js&#39;;
  210. var s = document.getElementsByTagName(&#39;script&#39;)[0];
  211. s.parentNode.insertBefore(po, s);
  212. }
  213. )();
  214. </script>
  215. </div>
  216. جوجل +
  217. </div>
  218. </div>
  219. <div class='linkedin button'>
  220. <i class='icon-linkedin'/>
  221. <div class='social-container tw'>
  222. <div class='slide'>
  223. <script src='//platform.linkedin.com/in.js' type='text/javascript'>
  224. lang: en_US
  225. </script>
  226. <script type='IN/Share'/>
  227. </div>
  228. لينكدان
  229. </div>
  230. </div>
  231. </div>
  232. <div class='credit'>
  233. <a href='http://goo.gl/vnNkHv' target='_blank' title='Get'><span style='font-size: x-small;'>get</span></a></div>
  234. </b:if></b:if>
Advertisement
Add Comment
Please, Sign In to add comment