New social icons for providers

GitHub and GitLab
This commit is contained in:
Manuel Cillero 2018-06-06 20:36:11 +02:00
parent 968046543c
commit 5df8075762
9 changed files with 29 additions and 15 deletions

View file

@ -61,12 +61,14 @@ $conf = array(
# 'landing_page' => 1,
// Social links:
# 'social_website' => 'http://www.example.com',
# 'social_rss' => 'http://www.example.com/feed',
# 'social_twitter' => 'http://twitter.com/username',
# 'social_facebook' => 'http://facebook.com/userpage',
# 'social_linkedin' => 'http://linkedin.com/in/username',
# 'social_contact' => 'http://www.example.com/contact',
# 'social_website' => 'https://www.example.com',
# 'social_rss' => 'https://www.example.com/feed',
# 'social_twitter' => 'https://twitter.com/username',
# 'social_facebook' => 'https://facebook.com/userpage',
# 'social_linkedin' => 'https://linkedin.com/in/username',
# 'social_github' => 'https://github.com/username',
# 'social_gitlab' => 'https://gitlab.com/username',
# 'social_contact' => 'https://www.example.com/contact',
// Uncomment to show logo when printing pages:
# 'print_logo' => 1,

View file

@ -1,11 +1,11 @@
@font-face {
font-family: 'fonticons';
src: url('../font/fonticons.eot?63556011');
src: url('../font/fonticons.eot?63556011#iefix') format('embedded-opentype'),
url('../font/fonticons.woff2?63556011') format('woff2'),
url('../font/fonticons.woff?63556011') format('woff'),
url('../font/fonticons.ttf?63556011') format('truetype'),
url('../font/fonticons.svg?63556011#fonticons') format('svg');
src: url('../font/fonticons.eot?45092274');
src: url('../font/fonticons.eot?45092274#iefix') format('embedded-opentype'),
url('../font/fonticons.woff2?45092274') format('woff2'),
url('../font/fonticons.woff?45092274') format('woff'),
url('../font/fonticons.ttf?45092274') format('truetype'),
url('../font/fonticons.svg?45092274#fonticons') format('svg');
font-weight: normal;
font-style: normal;
}
@ -15,7 +15,7 @@
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'fonticons';
src: url('../font/fonticons.svg?63556011#fonticons') format('svg');
src: url('../font/fonticons.svg?45092274#fonticons') format('svg');
}
}
*/
@ -121,7 +121,9 @@
.icon-team:before { content: '\e83f'; } /* '' */
.icon-kanban:before { content: '\e841'; } /* '' */
.icon-timetracking:before { content: '\e842'; } /* '' */
.icon-github:before { content: '\f09b'; } /* '' */
.icon-task:before { content: '\f12e'; } /* '' */
.icon-invoice:before { content: '\f153'; } /* '' */
.icon-org:before { content: '\f19c'; } /* '' */
.icon-event:before { content: '\f273'; } /* '' */
.icon-event:before { content: '\f273'; } /* '' */
.icon-gitlab:before { content: '\f296'; } /* '' */

View file

@ -71,6 +71,10 @@ ul.social-menu .social-link-facebook:hover a {
ul.social-menu .social-link-linkedin:hover a {
background-color: #419cca;
}
ul.social-menu .social-link-github:hover a,
ul.social-menu .social-link-gitlab:hover a {
background-color: #bd2c00;
}
ul.social-menu .social-link-mail:hover a {
background-color: #9fae37;
}

Binary file not shown.

View file

@ -1,7 +1,7 @@
<?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">
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Copyright (C) 2017 by original authors @ fontello.com</metadata>
<metadata>Copyright (C) 2018 by original authors @ fontello.com</metadata>
<defs>
<font id="fonticons" horiz-adv-x="1000" >
<font-face font-family="fonticons" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
@ -138,6 +138,8 @@
<glyph glyph-name="timetracking" unicode="&#xe842;" d="M0 617l246 246 81-82-40-41 42-43q58 34 124 52v101h231v-101q99-26 178-90t124-158 45-200q0-94-36-180t-99-148-148-99-179-37-181 37-147 99-99 148-37 180q0 123 62 231l-44 44-41-41z m222-316q0-94 46-174t127-127 174-47 174 47 126 127 47 174-47 174-126 126-174 47-174-47-127-126-46-174z m118 130q0 24 16 41 17 17 41 17t41-17l140-140h198q24 0 41-17t16-41q0-25-17-40-17-18-40-18h-222q-3 0-11 1l-5 2q-1 0-3 1t-3 0q-1 1-3 2t-2 1l-5 3q-3 2-9 8l-157 156q-16 17-16 41z" horiz-adv-x="1031.7" />
<glyph glyph-name="github" unicode="&#xf09b;" d="M429 779q116 0 215-58t156-156 57-215q0-140-82-252t-211-155q-15-3-22 4t-7 17q0 1 0 43t0 75q0 54-29 79 32 3 57 10t53 22 45 37 30 58 11 84q0 67-44 115 21 51-4 114-16 5-46-6t-51-25l-21-13q-52 15-107 15t-108-15q-8 6-23 15t-47 22-47 7q-25-63-5-114-44-48-44-115 0-47 12-83t29-59 45-37 52-22 57-10q-21-20-27-58-12-5-25-8t-32-3-36 12-31 35q-11 18-27 29t-28 14l-11 1q-12 0-16-2t-3-7 5-8 7-6l4-3q12-6 24-21t18-29l6-13q7-21 24-34t37-17 39-3 31 1l13 3q0-22 0-50t1-30q0-10-8-17t-22-4q-129 43-211 155t-82 252q0 117 58 215t155 156 216 58z m-267-616q2 4-3 7-6 1-8-1-1-4 4-7 5-3 7 1z m18-19q4 3-1 9-6 5-9 2-4-3 1-9 5-6 9-2z m16-25q6 4 0 11-4 7-9 3-5-3 0-10t9-4z m24-23q4 4-2 10-7 7-11 2-5-5 2-11 6-6 11-1z m32-14q1 6-8 9-8 2-10-4t7-9q8-3 11 4z m35-3q0 7-10 6-9 0-9-6 0-7 10-6 9 0 9 6z m32 5q-1 7-10 5-9-1-8-8t10-4 8 7z" horiz-adv-x="857.1" />
<glyph glyph-name="task" unicode="&#xf12e;" d="M929 237q0-45-25-75t-69-30q-23 0-43 10t-33 21-32 21-39 10q-62 0-62-69 0-22 9-65t8-64v-3q-12 0-18 0-19-2-54-7t-65-7-54-3q-35 0-58 15t-23 47q0 20 9 39t22 32 21 33 10 43q0 44-31 69t-75 25q-47 0-80-26t-33-71q0-24 9-46t18-36 19-30 8-28q0-25-25-50-21-19-65-19-54 0-137 13-5 1-16 2t-15 3l-7 1q-1 0-2 0-1 0-1 1v571q1 0 10-2t19-2 12-2q83-14 137-14 44 0 65 20 25 24 25 49 0 13-8 29t-19 29-18 36-9 47q0 45 33 71t81 25q44 0 74-25t31-69q0-23-10-43t-21-33-22-31-9-40q0-32 23-47t58-14q35 0 100 8t91 9v-1q-1-1-2-9t-3-19-2-12q-13-84-13-137 0-45 19-65 25-26 50-26 12 0 28 8t30 19 36 19 46 8q46 0 71-33t26-80z" horiz-adv-x="928.6" />
<glyph glyph-name="invoice" unicode="&#xf153;" d="M545 121l19-89q2-7-1-13t-10-8l-3 0q-2-1-6-2t-9-3-12-3-14-3-16-2-19-3-21-2-21 0q-131 0-228 73t-133 196h-53q-7 0-13 5t-5 13v63q0 7 5 12t13 6h37q-1 31 0 58h-37q-8 0-13 5t-5 13v64q0 8 5 13t13 5h55q37 117 135 188t224 72q57 0 108-13 6-2 11-9 4-6 2-13l-24-89q-2-7-8-11t-13-1l-2 1q-3 0-7 1l-10 2t-12 2-15 2-16 1-16 1q-71 0-126-36t-84-98h261q9 0 14-7 6-7 4-15l-13-63q-3-15-18-15h-273q-1-20 0-58h257q8 0 13-7 5-7 4-15l-14-63q-1-6-6-10t-11-4h-216q27-65 84-104t127-38q10 0 20 1t19 2 16 2 14 3 10 3l7 1 3 2q7 2 14-2 7-3 9-11z" horiz-adv-x="571.4" />
@ -145,6 +147,8 @@
<glyph glyph-name="org" unicode="&#xf19c;" d="M536 850l535-214v-72h-71q0-14-11-25t-27-10h-852q-16 0-27 10t-12 25h-71v72z m-393-357h143v-429h71v429h143v-429h71v429h143v-429h72v429h143v-429h33q15 0 27-10t11-25v-36h-929v36q0 14 12 25t27 10h33v429z m890-536q16 0 27-11t11-25v-71h-1071v71q0 15 11 25t28 11h994z" horiz-adv-x="1142.9" />
<glyph glyph-name="event" unicode="&#xf273;" d="M620 77l-26-25q-5-6-12-6t-13 6l-105 105-105-105q-5-6-12-6t-13 6l-25 25q-5 5-5 12t5 13l105 105-105 105q-5 6-5 13t5 12l25 26q5 5 13 5t12-5l105-105 105 105q6 5 13 5t12-5l26-26q5-5 5-12t-5-13l-105-105 105-105q5-5 5-13t-5-12z m-549-156h786v572h-786v-572z m215 679v161q0 8-5 13t-13 5h-36q-8 0-13-5t-5-13v-161q0-8 5-13t13-5h36q8 0 13 5t5 13z m428 0v161q0 8-5 13t-13 5h-35q-8 0-13-5t-5-13v-161q0-8 5-13t13-5h35q8 0 13 5t5 13z m215 36v-715q0-29-22-50t-50-21h-786q-29 0-50 21t-21 50v715q0 29 21 50t50 21h72v54q0 37 26 63t63 26h36q37 0 63-26t26-63v-54h214v54q0 37 27 63t63 26h35q37 0 64-26t26-63v-54h71q29 0 50-21t22-50z" horiz-adv-x="1000" />
<glyph glyph-name="gitlab" unicode="&#xf296;" d="M58 456l442-566-484 351q-10 7-14 19t0 24l56 172z m258 0h368l-184-566z m-111 342l111-342h-258l111 342q4 12 18 12t18-12z m737-342l56-172q4-12 0-24t-14-19l-484-351 442 566z m0 0h-258l111 342q4 12 18 12t19-12z" horiz-adv-x="1000" />
</font>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Before After
Before After

Binary file not shown.

Binary file not shown.

View file

@ -243,6 +243,8 @@ function zuitedesk_preprocess_page(&$vars, $hook) {
$sl .= _zuitedesk_social_link('social_twitter', 'Twitter', 'twitter');
$sl .= _zuitedesk_social_link('social_facebook', 'Facebook', 'facebook');
$sl .= _zuitedesk_social_link('social_linkedin', 'Linkedin', 'linkedin');
$sl .= _zuitedesk_social_link('social_github', 'Github', 'github');
$sl .= _zuitedesk_social_link('social_gitlab', 'Gitlab', 'gitlab');
$sl .= _zuitedesk_social_link('social_contact', 'Mail', 'mail');
$_SESSION['socialmenu'] = $sl;
}