Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

367 рядки
15 KiB

  1. /*!
  2. Code written by Sam Collins (@smcllns) of www.eventasaur.us
  3. You are free to use this work commercially
  4. You are free to extend this work without permissions from the author (just do so tastefully eh?)
  5. Enjoy
  6. */
  7. /* Reference icons from font-files */
  8. @font-face {
  9. font-family: 'zocial';
  10. font-style: normal;
  11. font-weight: normal;
  12. src: url('zocial-regular-webfont.eot');
  13. src: url('zocial-regular-webfont.eot?#iefix') format('embedded-opentype'),
  14. url('zocial-regular-webfont.woff') format('woff'),
  15. url('zocial-regular-webfont.ttf') format('truetype'),
  16. url('zocial-regular-webfont.svg#ZocialRegular') format('svg');
  17. }
  18. /* Button structure */
  19. .zocial {
  20. border-bottom-color: rgba(0,0,0,0.4);
  21. border: 1px solid rgba(0,0,0,0.2);
  22. color: #fff !important;
  23. -moz-box-shadow: inset 0 0.099em 0 rgba(255,255,255,0.4), inset 0 0 0.099em rgba(255,255,255,0.6);
  24. -webkit-box-shadow: inset 0 0.099em 0 rgba(255,255,255,0.4), inset 0 0 0.099em rgba(255,255,255,0.6);
  25. box-shadow: inset 0 0.099em 0 rgba(255,255,255,0.4), inset 0 0 0.099em rgba(255,255,255,0.6);
  26. cursor: pointer;
  27. display: inline-block;
  28. font-family: "Lucida Grande", Tahoma, sans-serif;
  29. font-size: 1em;
  30. font-style: normal !important;
  31. font-weight: bold !important;
  32. letter-spacing: 0;
  33. line-height: 1.6em;
  34. padding: 0;
  35. position: relative;
  36. text-decoration: none !important;
  37. text-shadow: 0 1px 0 rgba(0,0,0,0.5);
  38. -moz-user-select: none !important;
  39. -webkit-user-select: none !important;
  40. user-select: none !important;
  41. }
  42. .zocial > span:before {
  43. border-right: 0.075em solid rgba(0,0,0,0.1);
  44. -moz-box-shadow: 0.075em 0 0 rgba(255,255,255,0.25);
  45. -webkit-box-shadow: 0.075em 0 0 rgba(255,255,255,0.25);
  46. box-shadow: 0.075em 0 0 rgba(255,255,255,0.25);
  47. content: "";
  48. display: block;
  49. float: left;
  50. font-family: "zocial" !important;
  51. font-size: 1.25em;
  52. font-style: normal !important;
  53. font-weight: normal !important;
  54. margin: 0.1em 0.5em 0 0;
  55. min-height: 1em;
  56. padding: 0 0.5em;
  57. text-align: center !important;
  58. text-decoration: none !important;
  59. text-transform: none !important;
  60. }
  61. .zocial > span {
  62. display: block;
  63. font-size: 80%;
  64. font-weight: bold;
  65. padding: 0em 1em 0 0;
  66. white-space: nowrap;
  67. }
  68. .zocial,
  69. .zocial > span {
  70. -moz-border-radius: 0.2em;
  71. -webkit-border-radius: 0.2em;
  72. border-radius: 0.2em;
  73. position: relative;
  74. z-index: 100;
  75. }
  76. .zocial:active {
  77. outline: none; /* outline is visible on :focus */
  78. }
  79. /* Buttons can be displayed as standalone icons by adding a class of "icon" */
  80. .zocial.icon {
  81. overflow: hidden;
  82. width: 1.85em;
  83. }
  84. .zocial.icon > span:before {
  85. padding: 0;
  86. width: 1.85em;
  87. }
  88. /* Gradients */
  89. .zocial > span {
  90. background: -moz-linear-gradient(top, rgba(255,255,255,0.1), rgba(255,255,255,0.05) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.1));
  91. background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.1)), color-stop(49%, rgba(255,255,255,0.05)), color-stop(51%, rgba(0,0,0,0.05)), to(rgba(0,0,0,0.1)));
  92. background: -webkit-linear-gradient(top, rgba(255,255,255,0.1), rgba(255,255,255,0.05) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.1));
  93. background: linear-gradient(top, rgba(255,255,255,0.1), rgba(255,255,255,0.05) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.1));
  94. }
  95. .zocial:hover > span, .zocial:focus > span {
  96. background: -moz-linear-gradient(top, rgba(255,255,255,0.15), rgba(255,255,255,0.15) 49%, rgba(0,0,0,0.1) 51%, rgba(0,0,0,0.15));
  97. background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.15)), color-stop(49%, rgba(255,255,255,0.15)), color-stop(51%, rgba(0,0,0,0.1)), to(rgba(0,0,0,0.15)));
  98. background: -webkit-linear-gradient(top, rgba(255,255,255,0.15), rgba(255,255,255,0.15) 49%, rgba(0,0,0,0.1) 51%, rgba(0,0,0,0.15));
  99. background: linear-gradient(top, rgba(255,255,255,0.15), rgba(255,255,255,0.15) 49%, rgba(0,0,0,0.1) 51%, rgba(0,0,0,0.15));
  100. }
  101. .zocial:active > span {
  102. background: -moz-linear-gradient(bottom, rgba(255,255,255,0.1), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
  103. background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.1)), color-stop(30%, rgba(255,255,255,0)), color-stop(50%, rgba(0,0,0,0)), to(rgba(0,0,0,0.1)));
  104. background: -webkit-linear-gradient(bottom, rgba(255,255,255,0.1), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
  105. background: linear-gradient(bottom, rgba(255,255,255,0.1), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
  106. }
  107. /* Adjustments for light background buttons */
  108. .zocial.bitcoin,
  109. .zocial.cloudapp,
  110. .zocial.dropbox,
  111. .zocial.email,
  112. .zocial.github,
  113. .zocial.gmail,
  114. .zocial.instapaper,
  115. .zocial.itunes,
  116. .zocial.ninetyninedesigns,
  117. .zocial.openid,
  118. .zocial.plancast,
  119. .zocial.posterous,
  120. .zocial.secondary,
  121. .zocial.viadeo,
  122. .zocial.weibo,
  123. .zocial.wikipedia {
  124. border: 1px solid rgba(0,0,0,0.3);
  125. border-bottom-color: rgba(0,0,0,0.5);
  126. -moz-box-shadow: inset 0 0.099em 0 rgba(255,255,255,0.8), inset 0 0 0.099em rgba(255,255,255,0.5);
  127. -webkit-box-shadow: inset 0 0.099em 0 rgba(255,255,255,0.8), inset 0 0 0.099em rgba(255,255,255,0.5);
  128. box-shadow: inset 0 0.099em 0 rgba(255,255,255,0.8), inset 0 0 0.099em rgba(255,255,255,0.5);
  129. text-shadow: 0 1px 0 rgba(255,255,255,0.8);
  130. }
  131. /* :hover adjustments for light background buttons */
  132. .zocial.bitcoin:focus > span,
  133. .zocial.bitcoin:hover > span,
  134. .zocial.dropbox:focus > span,
  135. .zocial.dropbox:hover > span,
  136. .zocial.email:focus > span,
  137. .zocial.email:hover > span,
  138. .zocial.github:focus > span,
  139. .zocial.github:hover > span,
  140. .zocial.gmail:focus > span,
  141. .zocial.gmail:hover > span,
  142. .zocial.instapaper:focus > span,
  143. .zocial.instapaper:hover > span,
  144. .zocial.itunes:focus > span,
  145. .zocial.itunes:hover > span,
  146. .zocial.ninetyninedesigns:focus > span,
  147. .zocial.ninetyninedesigns:hover > span,
  148. .zocial.openid:focus > span,
  149. .zocial.openid:hover > span,
  150. .zocial.plancast:focus > span,
  151. .zocial.plancast:hover > span,
  152. .zocial.posterous:focus > span,
  153. .zocial.posterous:hover > span,
  154. .zocial.secondary:focus > span,
  155. .zocial.secondary:hover > span,
  156. .zocial.twitter:focus > span,
  157. .zocial.viadeo:focus > span,
  158. .zocial.viadeo:hover > span,
  159. .zocial.weibo:focus > span,
  160. .zocial.weibo:hover > span,
  161. .zocial.wikipedia:focus > span,
  162. .zocial.wikipedia:hover > span {
  163. background: -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)));
  164. background: -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));
  165. background: -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));
  166. background: 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));
  167. }
  168. /* :active adjustments for light background buttons */
  169. .zocial.bitcoin:active > span,
  170. .zocial.dropbox:active > span,
  171. .zocial.email:active > span,
  172. .zocial.github:active > span,
  173. .zocial.gmail:active > span,
  174. .zocial.instapaper:active > span,
  175. .zocial.itunes:active > span,
  176. .zocial.ninetyninedesigns:active > span,
  177. .zocial.openid:active > span,
  178. .zocial.plancast:active > span,
  179. .zocial.posterous:active > span,
  180. .zocial.secondary:active > span,
  181. .zocial.viadeo:active > span,
  182. .zocial.weibo:active > span,
  183. .zocial.wikipedia:active > span {
  184. background: -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)));
  185. background: -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));
  186. background: -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));
  187. background: 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));
  188. }
  189. /* Button icon and color */
  190. .zocial.amazon > span:before {content: "a";}
  191. .zocial.android > span:before {content: "&";}
  192. .zocial.aol > span:before {content: "\"";}
  193. .zocial.appstore > span:before {content: "A";}
  194. .zocial.bitcoin > span:before {content: "2"; color: #f7931a !important;}
  195. .zocial.blogger > span:before {content: "B";}
  196. .zocial.call > span:before {content: "7";}
  197. .zocial.chrome > span:before {content: "[";}
  198. .zocial.cloudapp > span:before {content: "c";}
  199. .zocial.creativecommons > span:before {content: "C";}
  200. .zocial.disqus > span:before {content: "Q";}
  201. .zocial.dribbble > span:before {content: "D";}
  202. .zocial.dropbox > span:before {content: "d"; color: #1f75cc !important;}
  203. .zocial.email > span:before {content: "]"; color: #312c2a !important;}
  204. .zocial.eventasaurus > span:before {content: "v";}
  205. .zocial.eventbrite > span:before {content: "|";}
  206. .zocial.evernote > span:before {content: "E";}
  207. .zocial.facebook > span:before {content: "f";}
  208. .zocial.fivehundredpx > span:before {content: "0"; color: #29b6ff !important;}
  209. .zocial.flattr > span:before {content: "%";}
  210. .zocial.forrst > span:before {content: ":"; color: #50894f !important;}
  211. .zocial.foursquare > span:before {content: "4";}
  212. .zocial.github > span:before {content: "g";}
  213. .zocial.gmail > span:before {content: "m"; color: #f00 !important;}
  214. .zocial.google > span:before {content: "G";}
  215. .zocial.googleplus > span:before {content: "+";}
  216. .zocial.gowalla > span:before {content: "@";}
  217. .zocial.grooveshark > span:before {content: "K";}
  218. .zocial.guest > span:before {content: "?";}
  219. .zocial.html5 > span:before {content: "5";}
  220. .zocial.ie > span:before {content: "6";}
  221. .zocial.instapaper > span:before {content: "I";}
  222. .zocial.intensedebate > span:before {content: "{";}
  223. .zocial.itunes > span:before {content: "i"; color: #1a6dd2 !important;}
  224. .zocial.lastfm > span:before {content: "l";}
  225. .zocial.linkedin > span:before {content: "L";}
  226. .zocial.macstore > span:before {content: "^";}
  227. .zocial.meetup > span:before {content: "M";}
  228. .zocial.myspace > span:before {content: "_";}
  229. .zocial.ninetyninedesigns > span:before {content: "9"; color: #f50 !important;}
  230. .zocial.openid > span:before {content: "o"; color: #ff921d !important;}
  231. .zocial.paypal > span:before {content: "$";}
  232. .zocial.pinboard > span:before {content: "n";}
  233. .zocial.pinterest > span:before {content: "1";}
  234. .zocial.plancast > span:before {content: "P";}
  235. .zocial.plurk > span:before {content: "j";}
  236. .zocial.podcast > span:before {content: "`";}
  237. .zocial.posterous > span:before {content: "~";}
  238. .zocial.quora > span:before {content: "q";}
  239. .zocial.rss > span:before {content: "R";}
  240. .zocial.scribd > span:before {content: "}"; color: #00d5ea !important;}
  241. .zocial.skype > span:before {content: "S";}
  242. .zocial.smashing > span:before {content: "*";}
  243. .zocial.songkick > span:before {content: "k";}
  244. .zocial.soundcloud > span:before {content: "s";}
  245. .zocial.spotify > span:before {content: "=";}
  246. .zocial.stumbleupon > span:before {content: "/";}
  247. .zocial.tumblr > span:before {content: "t";}
  248. .zocial.twitter > span:before {content: "T";}
  249. .zocial.viadeo > span:before {content: "H"; color: #f59b20 !important;}
  250. .zocial.vimeo > span:before {content: "V";}
  251. .zocial.weibo > span:before {content: "J"; color: #e6162d !important;}
  252. .zocial.wikipedia > span:before {content: ",";}
  253. .zocial.wordpress > span:before {content: "w";}
  254. .zocial.yahoo > span:before {content: "Y";}
  255. .zocial.yelp > span:before {content: "y";}
  256. .zocial.youtube > span:before {content: "U";}
  257. /* Button background and text color */
  258. .zocial.amazon {background: #ffad1d; color: #030037 !important; text-shadow: 0 1px 0 rgba(255,255,255,0.5);}
  259. .zocial.android {background: #a4c639;}
  260. .zocial.aol {background: #f00;}
  261. .zocial.appstore {background: #000;}
  262. .zocial.bitcoin {background: #efefef; color: #4d4d4d !important;}
  263. .zocial.blogger {background: #ee5a22;}
  264. .zocial.call {background: #008000;}
  265. .zocial.chrome {background: #006cd4;}
  266. .zocial.cloudapp {background: #fff; color: #312c2a !important;}
  267. .zocial.creativecommons {background: #000;}
  268. .zocial.disqus {background: #5d8aad;}
  269. .zocial.dribbble {background: #ea4c89;}
  270. .zocial.dropbox {background: #fff; color: #312c2a !important;}
  271. .zocial.email {background: #f0f0eb; color: #312c2a !important;}
  272. .zocial.eventasaurus {background: #8ccc33;}
  273. .zocial.eventbrite {background: #ff5616;}
  274. .zocial.evernote {background: #6bb130; color: #fff !important;}
  275. .zocial.facebook {background: #4863ae;}
  276. .zocial.fivehundredpx {background: #333;}
  277. .zocial.flattr {background: #8aba42;}
  278. .zocial.forrst {background: #1e360d;}
  279. .zocial.foursquare {background: #44a8e0;}
  280. .zocial.github {background: #fbfbfb; color: #050505 !important;}
  281. .zocial.gmail {background: #efefef; color: #222 !important;}
  282. .zocial.google {background: #4e6cf7;}
  283. .zocial.googleplus {background: #dd4b39;}
  284. .zocial.gowalla {background: #ff720a;}
  285. .zocial.grooveshark {background: #111; color:#eee !important;}
  286. .zocial.guest {background: #1b4d6d;}
  287. .zocial.html5 {background: #ff3617;}
  288. .zocial.ie {background: #00a1d9;}
  289. .zocial.instapaper {background: #eee; color: #222 !important;}
  290. .zocial.intensedebate {background: #0099e1;}
  291. .zocial.itunes {background: #efefeb; color: #312c2a !important;}
  292. .zocial.lastfm {background: #dc1a23;}
  293. .zocial.linkedin {background: #0083a8;}
  294. .zocial.macstore {background: #007dcb}
  295. .zocial.meetup {background: #ff0026;}
  296. .zocial.myspace {background: #000;}
  297. .zocial.ninetyninedesigns {background: #fff; color: #072243 !important;}
  298. .zocial.openid {background: #f5f5f5; color: #333 !important;}
  299. .zocial.paypal {background: #ff921d; color: #032751 !important; text-shadow: 0 1px 0 rgba(255,255,255,0.5);}
  300. .zocial.pinboard {background: blue;}
  301. .zocial.pinterest {background: #c91618;}
  302. .zocial.plancast {background: #e7ebed; color: #333 !important;}
  303. .zocial.plurk {background: #cf682f;}
  304. .zocial.podcast {background: #9365ce;}
  305. .zocial.posterous {background: #ffd959; color: #bc7134 !important;}
  306. .zocial.quora {background: #a82400;}
  307. .zocial.rss {background: #ff7f25;}
  308. .zocial.scribd {background: #231c1a;}
  309. .zocial.skype {background: #00a2ed;}
  310. .zocial.smashing {background: #ff4f27;}
  311. .zocial.songkick {background: #ff0050;}
  312. .zocial.soundcloud {background: #ff4500;}
  313. .zocial.spotify {background: #60af00;}
  314. .zocial.stumbleupon {background: #eb4924;}
  315. .zocial.tumblr {background: #374a61;}
  316. .zocial.twitter {background: #46c0fb;}
  317. .zocial.viadeo {background: #fff; color: #000 !important;}
  318. .zocial.vimeo {background: #00a2cd;}
  319. .zocial.weibo {background: #faf6f1; color: #000 !important;}
  320. .zocial.wikipedia {background: #fff; color: #000 !important;}
  321. .zocial.wordpress {background: #464646;}
  322. .zocial.yahoo {background: #a200c2;}
  323. .zocial.yelp {background: #e60010;}
  324. .zocial.youtube {background: #f00;}
  325. /*
  326. The Miscellaneous Buttons
  327. These button have no icons and can be general purpose buttons while ensuring consistent button style
  328. Credit to @guillermovs for suggesting
  329. */
  330. .zocial.primary > span, .zocial.secondary > span {margin: 0.1em 0; padding: 0 1em;}
  331. .zocial.primary > span:before, .zocial.secondary > span:before {display: none;}
  332. .zocial.primary {background: #333;}
  333. .zocial.secondary {background: #f0f0eb; color: #222 !important; text-shadow: 0 1px 0 rgba(255,255,255,0.8);}
  334. /* Any browser-specific adjustments */
  335. button::-moz-focus-inner {
  336. border: 0;
  337. padding: 0;
  338. }