Browse Source

Add GitLab (#107)

tags/v1.3.0
Winnie 7 years ago
committed by zimbatm
parent
commit
e5a7df90d5
10 changed files with 52 additions and 8 deletions
  1. +6
    -2
      .fontcustom-manifest.json
  2. +2
    -0
      README.md
  3. +14
    -1
      css/zocial.css
  4. BIN
      css/zocial.eot
  5. +9
    -5
      css/zocial.svg
  6. BIN
      css/zocial.ttf
  7. BIN
      css/zocial.woff
  8. +2
    -0
      sample.html
  9. +7
    -0
      src/gitlab.svg
  10. +12
    -0
      templates/zocial.css

+ 6
- 2
.fontcustom-manifest.json View File

@@ -1,7 +1,7 @@
{
"checksum": {
"previous": "5e1c8d94ff7f8bda2afd1b38e10180c3cb58f579ab7b07e5242f2c0d49460fda",
"current": "5e1c8d94ff7f8bda2afd1b38e10180c3cb58f579ab7b07e5242f2c0d49460fda"
"previous": "2b9b091af1c6220fa6d1098bc846a0b19ccdb4fa45ef1163ddb41c7e42840ad3",
"current": "2b9b091af1c6220fa6d1098bc846a0b19ccdb4fa45ef1163ddb41c7e42840ad3"
},
"fonts": [
"./css/zocial.ttf",
@@ -174,6 +174,10 @@
"codepoint": 61732,
"source": "./src/github.svg"
},
"gitlab": {
"codepoint": 61808,
"source": "./src/gitlab.svg"
},
"gmail": {
"codepoint": 61733,
"source": "./src/gmail.svg"


+ 2
- 0
README.md View File

@@ -56,3 +56,5 @@ https://cdnjs.com/libraries/css-social-buttons
## License

Under [MIT License](http://opensource.org/licenses/mit-license.php)

The GitLab logo is derived from [this](https://gitlab.com/gitlab-com/gitlab-artwork/blob/a3aaa39c184e49bb3a0ba0d8be74718b3d5b887b/logo/logo-square.svg) which is released under CC BY-NC-SA 4.0.

+ 14
- 1
css/zocial.css
File diff suppressed because it is too large
View File


BIN
css/zocial.eot View File


+ 9
- 5
css/zocial.svg View File

@@ -1,13 +1,13 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2016-11-28: Created with FontForge (http://fontforge.org)
2017-1-22: Created with FontForge (http://fontforge.org)
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
Created by FontForge 20161116 at Mon Nov 28 13:14:41 2016
By 尚享樊
Copyright (c) 2016, &#229;&#176;&#154;&#228;&#186;&#171;&#230;&#168;&#138;
Created by FontForge 20161013 at Sun Jan 22 20:17:13 2017
By winnie,,,
Copyright (c) 2017, winnie,,,
</metadata>
<defs>
<font id="zocial" horiz-adv-x="512" >
@@ -22,7 +22,7 @@ Copyright (c) 2016, &#229;&#176;&#154;&#228;&#186;&#171;&#230;&#168;&#138;
bbox="-96 -79.3604 667.062 521.728"
underline-thickness="25.6"
underline-position="-51.2"
unicode-range="U+0020-F16F"
unicode-range="U+0020-F170"
/>
<missing-glyph />
<glyph glyph-name="space" unicode=" " horiz-adv-x="200"
@@ -183,6 +183,10 @@ s20.2236 -13.3115 34.5596 -13.3115c25.6162 0 52.0479 16.208 79.3604 48.624c-11.5
c-13.3115 0 -24.2402 -5.2959 -32.7676 -15.8721c-8.52832 -10.5752 -12.8008 -22.6875 -12.8008 -36.3516zM392.688 143.872c9.21582 -9.9043 16.9912 -17.6641 23.3115 -23.2959c6.32031 -5.64844 14.6562 -11.168 25.0723 -16.6406
c10.416 -5.47168 20.9121 -8.19141 31.4873 -8.19141c14.6885 0 26.208 4.6875 34.5605 14.0801c8.36816 9.3916 12.5439 21.4238 12.5439 36.0957c0 14.3359 -4.35254 26.2881 -13.04 35.8242c-8.71973 9.56738 -20.2402 14.3359 -34.5596 14.3359
c-8.52832 0 -16.9121 -1.96777 -25.0889 -5.8877c-8.19141 -3.93652 -14.416 -7.60059 -18.6875 -11.0088c-4.28809 -3.42383 -10.6719 -9.56738 -19.2002 -18.4316s-14 -14.4795 -16.3994 -16.8799z" />
<glyph glyph-name="uniF170" unicode="&#xf170;"
d="M97.9277 426.674c3.85156 0 7.70508 -2.21582 9.14453 -6.64355l55.9277 -172.13h-130.142l55.9277 172.13c1.43848 4.42773 5.29004 6.64355 9.1416 6.64355zM163 247.9h-0.000976562h185.724v-0.00195312h130.142l28.2197 -86.8486
c0.518555 -1.59863 0.94043 -4.25977 0.94043 -5.93945c0 -5.4082 -3.55078 -12.377 -7.92676 -15.5557l-244.236 -177.449l-244.237 177.448c-4.375 3.17871 -7.92676 10.1475 -7.92676 15.5557c0 1.68066 0.420898 4.3418 0.94043 5.94043l28.2207 86.8486h130.142
v0.00195312zM348.723 247.9h-0.00195312l55.9316 172.13c2.87793 8.85645 15.4072 8.85645 18.2832 0l55.9277 -172.13h-130.141z" />
<glyph glyph-name="uniF158" unicode="&#xf158;"
d="M29.8398 127.488c0 49.8232 16.208 93.0078 48.6406 129.552c36.1914 40.2881 81.584 60.416 136.191 60.416c23.2002 0 44.5439 -3.58398 64 -10.752c-7.83984 -16.0322 -12.4482 -30.7197 -13.8242 -44.0322c-16.0312 6.48047 -32.752 9.72852 -50.1758 9.72852
c-37.8877 0 -70.4795 -14.1602 -97.792 -42.4961c-27.2959 -29.0244 -40.96 -63.4883 -40.96 -103.424c0 -26.2881 6.32031 -50.5283 18.9443 -72.7207c11.9355 -21.8398 28.6719 -39.0557 50.1758 -51.6953c20.832 -12.2881 44.0322 -18.416 69.6318 -18.416


BIN
css/zocial.ttf View File


BIN
css/zocial.woff View File


+ 2
- 0
sample.html View File

@@ -56,6 +56,7 @@
<a href="#" class="zocial dribbble">Sign in with Dribbble</a>
<a href="#" class="zocial cloudapp">Sign in to CloudApp</a>
<a href="#" class="zocial github">Fork me on Github</a>
<a href="#" class="zocial gitlab">Fork me on GitLab</a>
<a href="#" class="zocial spotify">Play on Spotify</a>
<a href="#" class="zocial instapaper">Read It Later</a>
<a href="#" class="zocial soundcloud">Follow me on Soundcloud</a>
@@ -198,6 +199,7 @@
<a href="#" class="zocial icon dribbble">Sign in with Dribbble</a>
<a href="#" class="zocial icon cloudapp">Sign in to CloudApp</a>
<a href="#" class="zocial icon github">Fork me on Github</a>
<a href="#" class="zocial icon gitlab">Fork me on GitLab</a>
<a href="#" class="zocial pinterest icon">Follow me on Pinterest</a>
<a href="#" class="zocial quora icon">Follow me on Quora</a>
<a href="#" class="zocial pinboard icon">Bookmark with Pinboard</a>


+ 7
- 0
src/gitlab.svg View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 500 500">
<title>GitLab logo</title>
<desc>Derived from GitLab Logo (square) released under CC BY-NC-SA 4.0 (https://gitlab.com/gitlab-com/gitlab-artwork/blob/a3aaa39c184e49bb3a0ba0d8be74718b3d5b887b/logo/logo-square.svg)</desc>
<path d="M95.633 20.826c-3.762 0-7.523 2.164-8.928 6.488L32.088 195.41H159.18L104.563 27.314c-1.406-4.324-5.169-6.488-8.93-6.488zM159.18 195.41v.002H32.088L4.529 280.225a18.776 18.776 0 0 0 6.823 20.992l238.513 173.289 238.512-173.29a18.776 18.776 0 0 0 6.822-20.991l-27.558-84.813H340.549v-.002h-181.37zm181.369 0H467.64L413.023 27.314c-2.809-8.649-15.044-8.649-17.855 0l-54.62 168.096z" fill="#000" fill-rule="evenodd"/>
</svg>

+ 12
- 0
templates/zocial.css View File

@@ -7,6 +7,8 @@
License: http://opensource.org/licenses/mit-license.php

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.

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.
*/


@@ -131,6 +133,7 @@ a.zocial {
.zocial.email,
.zocial.eventful,
.zocial.github,
.zocial.gitlab,
.zocial.gmail,
.zocial.instapaper,
.zocial.itunes,
@@ -172,6 +175,8 @@ a.zocial {
.zocial.eventful:hover,
.zocial.github:focus,
.zocial.github:hover,
.zocial.gitlab:focus,
.zocial.gitlab:hover,
.zocial.gmail:focus,
.zocial.gmail:hover,
.zocial.instapaper:focus,
@@ -217,6 +222,11 @@ a.zocial {
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));
}

.zocial.gitlab:focus,
.zocial.gitlab:hover {
color: #d3371e;
}

/* :active adjustments for light background buttons */

.zocial.acrobat:active,
@@ -226,6 +236,7 @@ a.zocial {
.zocial.email:active,
.zocial.eventful:active,
.zocial.github:active,
.zocial.gitlab:active,
.zocial.gmail:active,
.zocial.instapaper:active,
.zocial.itunes:active,
@@ -326,6 +337,7 @@ a.zocial {
.zocial.forrst {background-color: #1e360d;}
.zocial.foursquare {background-color: #44a8e0;}
.zocial.github {background-color: #fbfbfb; color: #050505;}
.zocial.gitlab {background-color: #fff; color: #e14329;}
.zocial.gmail {background-color: #efefef; color: #222;}
.zocial.google {background-color: #4e6cf7;}
.zocial.googleplay {background-color: #000;}


Loading…
Cancel
Save