You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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