Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

409 rindas
16 KiB

  1. @charset "UTF-8";
  2. /*!
  3. Zocial Butons
  4. http://zocial.smcllns.com
  5. by Sam Collins (@smcllns)
  6. License: http://opensource.org/licenses/mit-license.php
  7. You are free to use and modify, as long as you keep this license comment intact or link back to zocial.smcllns.com on your site.
  8. */
  9. /* Button structure */
  10. .zocial,
  11. a.zocial {
  12. border: 1px solid #777;
  13. border-color: rgba(0,0,0,0.2);
  14. border-bottom-color: #333;
  15. border-bottom-color: rgba(0,0,0,0.4);
  16. color: #fff;
  17. -moz-box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.4), inset 0 0 0.1em rgba(255,255,255,0.9);
  18. -webkit-box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.4), inset 0 0 0.1em rgba(255,255,255,0.9);
  19. box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.4), inset 0 0 0.1em rgba(255,255,255,0.9);
  20. cursor: pointer;
  21. display: inline-block;
  22. font: bold 100%/2.1 "Lucida Grande", Tahoma, sans-serif;
  23. padding: 0 .95em 0 0;
  24. text-align: center;
  25. text-decoration: none;
  26. text-shadow: 0 1px 0 rgba(0,0,0,0.5);
  27. white-space: nowrap;
  28. -moz-user-select: none;
  29. -webkit-user-select: none;
  30. user-select: none;
  31. position: relative;
  32. -moz-border-radius: .3em;
  33. -webkit-border-radius: .3em;
  34. border-radius: .3em;
  35. }
  36. .zocial:before {
  37. content: "";
  38. border-right: 0.075em solid rgba(0,0,0,0.1);
  39. float: left;
  40. font: 120%/1.65 zocial;
  41. font-style: normal;
  42. font-weight: normal;
  43. margin: 0 0.5em 0 0;
  44. padding: 0 0.5em;
  45. text-align: center;
  46. text-decoration: none;
  47. text-transform: none;
  48. -moz-box-shadow: 0.075em 0 0 rgba(255,255,255,0.25);
  49. -webkit-box-shadow: 0.075em 0 0 rgba(255,255,255,0.25);
  50. box-shadow: 0.075em 0 0 rgba(255,255,255,0.25);
  51. -moz-font-smoothing: antialiased;
  52. -moz-osx-font-smoothing: grayscale;
  53. -webkit-font-smoothing: antialiased;
  54. font-smoothing: antialiased;
  55. }
  56. .zocial:active {
  57. outline: none; /* outline is visible on :focus */
  58. }
  59. .zocial:hover,
  60. .zocial:focus {
  61. color: #fff;
  62. }
  63. /* Buttons can be displayed as standalone icons by adding a class of "icon" */
  64. .zocial.icon {
  65. overflow: hidden;
  66. max-width: 2.4em;
  67. padding-left: 0;
  68. padding-right: 0;
  69. max-height: 2.15em;
  70. white-space: nowrap;
  71. }
  72. .zocial.icon:before {
  73. padding: 0;
  74. width: 2em;
  75. height: 2em;
  76. box-shadow: none;
  77. border: none;
  78. }
  79. /* Gradients */
  80. .zocial {
  81. background-image: -moz-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.05) 49%, rgba(0,0,0,.05) 51%, rgba(0,0,0,.1));
  82. background-image: -ms-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.05) 49%, rgba(0,0,0,.05) 51%, rgba(0,0,0,.1));
  83. background-image: -o-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.05) 49%, rgba(0,0,0,.05) 51%, rgba(0,0,0,.1));
  84. background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.1)), color-stop(49%, rgba(255,255,255,.05)), color-stop(51%, rgba(0,0,0,.05)), to(rgba(0,0,0,.1)));
  85. background-image: -webkit-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.05) 49%, rgba(0,0,0,.05) 51%, rgba(0,0,0,.1));
  86. background-image: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.05) 49%, rgba(0,0,0,.05) 51%, rgba(0,0,0,.1));
  87. }
  88. .zocial:hover, .zocial:focus {
  89. background-image: -moz-linear-gradient(rgba(255,255,255,.15) 49%, rgba(0,0,0,.1) 51%, rgba(0,0,0,.15));
  90. background-image: -ms-linear-gradient(rgba(255,255,255,.15) 49%, rgba(0,0,0,.1) 51%, rgba(0,0,0,.15));
  91. background-image: -o-linear-gradient(rgba(255,255,255,.15) 49%, rgba(0,0,0,.1) 51%, rgba(0,0,0,.15));
  92. background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.15)), color-stop(49%, rgba(255,255,255,.15)), color-stop(51%, rgba(0,0,0,.1)), to(rgba(0,0,0,.15)));
  93. background-image: -webkit-linear-gradient(rgba(255,255,255,.15) 49%, rgba(0,0,0,.1) 51%, rgba(0,0,0,.15));
  94. background-image: linear-gradient(rgba(255,255,255,.15) 49%, rgba(0,0,0,.1) 51%, rgba(0,0,0,.15));
  95. }
  96. .zocial:active {
  97. background-image: -moz-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, transparent 50%, rgba(0,0,0,.1));
  98. background-image: -ms-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, transparent 50%, rgba(0,0,0,.1));
  99. background-image: -o-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, transparent 50%, rgba(0,0,0,.1));
  100. background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.1)), color-stop(30%, rgba(255,255,255,0)), color-stop(50%, transparent), to(rgba(0,0,0,.1)));
  101. background-image: -webkit-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, transparent 50%, rgba(0,0,0,.1));
  102. background-image: linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, transparent 50%, rgba(0,0,0,.1));
  103. }
  104. /* Adjustments for light background buttons */
  105. .zocial.acrobat,
  106. .zocial.bitcoin,
  107. .zocial.cloudapp,
  108. .zocial.dropbox,
  109. .zocial.email,
  110. .zocial.eventful,
  111. .zocial.github,
  112. .zocial.gmail,
  113. .zocial.instapaper,
  114. .zocial.itunes,
  115. .zocial.ninetyninedesigns,
  116. .zocial.openid,
  117. .zocial.plancast,
  118. .zocial.pocket,
  119. .zocial.posterous,
  120. .zocial.reddit,
  121. .zocial.secondary,
  122. .zocial.stackoverflow,
  123. .zocial.viadeo,
  124. .zocial.weibo,
  125. .zocial.wikipedia {
  126. border: 1px solid #aaa;
  127. border-color: rgba(0,0,0,0.3);
  128. border-bottom-color: #777;
  129. border-bottom-color: rgba(0,0,0,0.5);
  130. -moz-box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.7), inset 0 0 0.08em rgba(255,255,255,0.5);
  131. -webkit-box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.7), inset 0 0 0.08em rgba(255,255,255,0.5);
  132. box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.7), inset 0 0 0.08em rgba(255,255,255,0.5);
  133. text-shadow: 0 1px 0 rgba(255,255,255,0.8);
  134. }
  135. /* :hover adjustments for light background buttons */
  136. .zocial.acrobat:focus,
  137. .zocial.acrobat:hover,
  138. .zocial.bitcoin:focus,
  139. .zocial.bitcoin:hover,
  140. .zocial.dropbox:focus,
  141. .zocial.dropbox:hover,
  142. .zocial.email:focus,
  143. .zocial.email:hover,
  144. .zocial.eventful:focus,
  145. .zocial.eventful:hover,
  146. .zocial.github:focus,
  147. .zocial.github:hover,
  148. .zocial.gmail:focus,
  149. .zocial.gmail:hover,
  150. .zocial.instapaper:focus,
  151. .zocial.instapaper:hover,
  152. .zocial.itunes:focus,
  153. .zocial.itunes:hover,
  154. .zocial.ninetyninedesigns:focus,
  155. .zocial.ninetyninedesigns:hover,
  156. .zocial.openid:focus,
  157. .zocial.openid:hover,
  158. .zocial.plancast:focus,
  159. .zocial.plancast:hover,
  160. .zocial.pocket:focus,
  161. .zocial.pocket:hover,
  162. .zocial.posterous:focus,
  163. .zocial.posterous:hover,
  164. .zocial.reddit:focus,
  165. .zocial.reddit:hover,
  166. .zocial.secondary:focus,
  167. .zocial.secondary:hover,
  168. .zocial.stackoverflow:focus,
  169. .zocial.stackoverflow:hover,
  170. .zocial.twitter:focus,
  171. .zocial.viadeo:focus,
  172. .zocial.viadeo:hover,
  173. .zocial.weibo:focus,
  174. .zocial.weibo:hover,
  175. .zocial.wikipedia:focus,
  176. .zocial.wikipedia:hover {
  177. background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.5)), color-stop(49%, rgba(255,255,255,0.2)), color-stop(51%, rgba(0,0,0,0.05)), to(rgba(0,0,0,0.15)));
  178. background-image: -moz-linear-gradient(top, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.15));
  179. background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.15));
  180. background-image: -o-linear-gradient(top, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.15));
  181. background-image: -ms-linear-gradient(top, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.15));
  182. background-image: linear-gradient(top, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.15));
  183. }
  184. /* :active adjustments for light background buttons */
  185. .zocial.acrobat:active,
  186. .zocial.bitcoin:active,
  187. .zocial.dropbox:active,
  188. .zocial.email:active,
  189. .zocial.eventful:active,
  190. .zocial.github:active,
  191. .zocial.gmail:active,
  192. .zocial.instapaper:active,
  193. .zocial.itunes:active,
  194. .zocial.ninetyninedesigns:active,
  195. .zocial.openid:active,
  196. .zocial.plancast:active,
  197. .zocial.pocket:active,
  198. .zocial.posterous:active,
  199. .zocial.reddit:active,
  200. .zocial.secondary:active,
  201. .zocial.stackoverflow:active,
  202. .zocial.viadeo:active,
  203. .zocial.weibo:active,
  204. .zocial.wikipedia:active {
  205. background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)), color-stop(30%, rgba(255,255,255,0)), color-stop(50%, rgba(0,0,0,0)), to(rgba(0,0,0,0.1)));
  206. background-image: -moz-linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
  207. background-image: -webkit-linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
  208. background-image: -o-linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
  209. background-image: -ms-linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
  210. background-image: linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
  211. }
  212. /* Button icon */
  213. <%= glyphs %>
  214. /* Button color */
  215. .zocial.acrobat:before {color: #FB0000;}
  216. .zocial.bitcoin:before {color: #f7931a;}
  217. .zocial.dropbox:before {color: #1f75cc;}
  218. .zocial.drupal:before {color: #fff;}
  219. .zocial.email:before {color: #312c2a;}
  220. .zocial.eventasaurus:before {color: #9de428;}
  221. .zocial.eventful:before {color: #0066CC;}
  222. .zocial.fivehundredpx:before {color: #29b6ff;}
  223. .zocial.forrst:before {color: #50894f;}
  224. .zocial.gmail:before {color: #f00;}
  225. .zocial.itunes:before {color: #1a6dd2;}
  226. .zocial.lego:before {color:#fff900;}
  227. .zocial.ninetyninedesigns:before {color: #f50;}
  228. .zocial.openid:before {color: #ff921d;}
  229. .zocial.pocket:before {color:#ee4056;}
  230. .zocial.persona:before {color:#fff;}
  231. .zocial.reddit:before {color: red;}
  232. .zocial.scribd:before {color: #00d5ea;}
  233. .zocial.stackoverflow:before {color: #ff7a15;}
  234. .zocial.statusnet:before {color: #fff;}
  235. .zocial.viadeo:before {color: #f59b20;}
  236. .zocial.weibo:before {color: #e6162d;}
  237. /* Button background and text color */
  238. .zocial.acrobat {background-color: #fff; color: #000;}
  239. .zocial.amazon {background-color: #ffad1d; color: #030037; text-shadow: 0 1px 0 rgba(255,255,255,0.5);}
  240. .zocial.android {background-color: #a4c639;}
  241. .zocial.angellist {background-color: #000;}
  242. .zocial.aol {background-color: #f00;}
  243. .zocial.appnet {background-color: #3178bd;}
  244. .zocial.appstore {background-color: #000;}
  245. .zocial.bitbucket {background-color: #205081;}
  246. .zocial.bitcoin {background-color: #efefef; color: #4d4d4d;}
  247. .zocial.blogger {background-color: #ee5a22;}
  248. .zocial.buffer {background-color: #232323;}
  249. .zocial.call {background-color: #008000;}
  250. .zocial.cal {background-color: #d63538;}
  251. .zocial.cart {background-color: #333;}
  252. .zocial.chrome {background-color: #006cd4;}
  253. .zocial.cloudapp {background-color: #fff; color: #312c2a;}
  254. .zocial.creativecommons {background-color: #000;}
  255. .zocial.delicious {background-color: #3271cb;}
  256. .zocial.digg {background-color: #164673;}
  257. .zocial.disqus {background-color: #5d8aad;}
  258. .zocial.dribbble {background-color: #ea4c89;}
  259. .zocial.dropbox {background-color: #fff; color: #312c2a;}
  260. .zocial.drupal {background-color: #0077c0; color: #fff;}
  261. .zocial.dwolla {background-color: #e88c02;}
  262. .zocial.email {background-color: #f0f0eb; color: #312c2a;}
  263. .zocial.eventasaurus {background-color: #192931; color: #fff;}
  264. .zocial.eventbrite {background-color: #ff5616;}
  265. .zocial.eventful {background-color: #fff; color: #47ab15;}
  266. .zocial.evernote {background-color: #6bb130; color: #fff;}
  267. .zocial.facebook {background-color: #4863ae;}
  268. .zocial.fivehundredpx {background-color: #333;}
  269. .zocial.flattr {background-color: #8aba42;}
  270. .zocial.flickr {background-color: #ff0084;}
  271. .zocial.forrst {background-color: #1e360d;}
  272. .zocial.foursquare {background-color: #44a8e0;}
  273. .zocial.github {background-color: #fbfbfb; color: #050505;}
  274. .zocial.gmail {background-color: #efefef; color: #222;}
  275. .zocial.google {background-color: #4e6cf7;}
  276. .zocial.googleplay {background-color: #000;}
  277. .zocial.googleplus {background-color: #dd4b39;}
  278. .zocial.gowalla {background-color: #ff720a;}
  279. .zocial.grooveshark {background-color: #111; color:#eee;}
  280. .zocial.guest {background-color: #1b4d6d;}
  281. .zocial.html5 {background-color: #ff3617;}
  282. .zocial.ie {background-color: #00a1d9;}
  283. .zocial.instapaper {background-color: #eee; color: #222;}
  284. .zocial.instagram {background-color: #3f729b;}
  285. .zocial.intensedebate {background-color: #0099e1;}
  286. .zocial.klout {background-color: #e34a25;}
  287. .zocial.itunes {background-color: #efefeb; color: #312c2a;}
  288. .zocial.lanyrd {background-color: #2e6ac2;}
  289. .zocial.lastfm {background-color: #dc1a23;}
  290. .zocial.lego {background-color: #fb0000;}
  291. .zocial.linkedin {background-color: #0083a8;}
  292. .zocial.lkdto {background-color: #7c786f;}
  293. .zocial.logmein {background-color: #000;}
  294. .zocial.macstore {background-color: #007dcb}
  295. .zocial.meetup {background-color: #ff0026;}
  296. .zocial.myspace {background-color: #000;}
  297. .zocial.ninetyninedesigns {background-color: #fff; color: #072243;}
  298. .zocial.openid {background-color: #f5f5f5; color: #333;}
  299. .zocial.opentable {background-color: #990000;}
  300. .zocial.paypal {background-color: #fff; color: #32689a; text-shadow: 0 1px 0 rgba(255,255,255,0.5);}
  301. .zocial.persona {background-color: #1258a1; color: #fff;}
  302. .zocial.pinboard {background-color: blue;}
  303. .zocial.pinterest {background-color: #c91618;}
  304. .zocial.plancast {background-color: #e7ebed; color: #333;}
  305. .zocial.plurk {background-color: #cf682f;}
  306. .zocial.pocket {background-color: #fff; color: #777;}
  307. .zocial.podcast {background-color: #9365ce;}
  308. .zocial.posterous {background-color: #ffd959; color: #bc7134;}
  309. .zocial.print {background-color: #f0f0eb; color: #222; text-shadow: 0 1px 0 rgba(255,255,255,0.8);}
  310. .zocial.quora {background-color: #a82400;}
  311. .zocial.reddit {background-color: #fff; color: #222;}
  312. .zocial.rss {background-color: #ff7f25;}
  313. .zocial.scribd {background-color: #231c1a;}
  314. .zocial.skype {background-color: #00a2ed;}
  315. .zocial.smashing {background-color: #ff4f27;}
  316. .zocial.songkick {background-color: #ff0050;}
  317. .zocial.soundcloud {background-color: #ff4500;}
  318. .zocial.spotify {background-color: #60af00;}
  319. .zocial.stackoverflow {background-color: #fff; color: #555;}
  320. .zocial.statusnet {background-color: #829d25;}
  321. .zocial.steam {background-color: #000;}
  322. .zocial.stripe {background-color: #2f7ed6;}
  323. .zocial.stumbleupon {background-color: #eb4924;}
  324. .zocial.tumblr {background-color: #374a61;}
  325. .zocial.twitter {background-color: #46c0fb;}
  326. .zocial.viadeo {background-color: #fff; color: #000;}
  327. .zocial.vimeo {background-color: #00a2cd;}
  328. .zocial.vk {background-color: #45688E;}
  329. .zocial.weibo {background-color: #faf6f1; color: #000;}
  330. .zocial.wikipedia {background-color: #fff; color: #000;}
  331. .zocial.windows {background-color: #0052a4; color: #fff;}
  332. .zocial.wordpress {background-color: #464646;}
  333. .zocial.xing {background-color: #0a5d5e;}
  334. .zocial.yahoo {background-color: #a200c2;}
  335. .zocial.ycombinator {background-color: #ff6600;}
  336. .zocial.yelp {background-color: #e60010;}
  337. .zocial.youtube {background-color: #f00;}
  338. /*
  339. The Miscellaneous Buttons
  340. These button have no icons and can be general purpose buttons while ensuring consistent button style
  341. Credit to @guillermovs for suggesting
  342. */
  343. .zocial.primary, .zocial.secondary {margin: 0.1em 0; padding: 0 1em;}
  344. .zocial.primary:before, .zocial.secondary:before {display: none;}
  345. .zocial.primary {background-color: #333;}
  346. .zocial.secondary {background-color: #f0f0eb; color: #222; text-shadow: 0 1px 0 rgba(255,255,255,0.8);}
  347. /* Any browser-specific adjustments */
  348. button:-moz-focus-inner {
  349. border: 0;
  350. padding: 0;
  351. }
  352. /* Reference icons from font-files
  353. ** Base 64-encoded version recommended to resolve cross-site font-loading issues
  354. */
  355. <% require 'base64' %>
  356. @font-face {
  357. font-family: "<%= font_name %>";
  358. src: url("<%= @font_path %>.eot");
  359. src: url("<%= @font_path %>.eot?#iefix") format("embedded-opentype"),
  360. url(data:application/x-font-woff;charset=utf-8;base64,<%= Base64.encode64(File.read(File.join(@options[:output][:fonts], "#{@font_path_alt}.woff"))).split("\n").join("") %>),
  361. url("<%= @font_path %>.woff") format("woff"),
  362. url("<%= @font_path %>.ttf") format("truetype"),
  363. url("<%= @font_path %>.svg#<%= font_name %>") format("svg");
  364. font-weight: normal;
  365. font-style: normal;
  366. }
  367. @media screen and (-webkit-min-device-pixel-ratio:0) {
  368. @font-face {
  369. font-family: "<%= font_name %>";
  370. src: url("<%= @font_path %>.svg#<%= font_name %>") format("svg");
  371. }
  372. }