Commit f64eddfe authored by Thomas Greiner's avatar Thomas Greiner

Issue #412 - Fixed: Weibo link not shown in Help tab

parent 6630de79
......@@ -424,21 +424,26 @@ button[role="checkbox"][disabled].icon.toggle::before
margin: 0em auto;
}
.icon#twitter::before
.icon.twitter::before
{
background-image: url("icons/twitter.svg");
}
.icon#facebook::before
.icon.facebook::before
{
background-image: url("icons/facebook.svg");
}
.icon#google-plus::before
.icon.google-plus::before
{
background-image: url("icons/googleplus.svg");
}
.icon.weibo::before
{
background-image: url("icons/weibo.svg");
}
/*
Forms
*/
......@@ -1238,8 +1243,8 @@ html[dir="rtl"] #custom-filters .io-filter-table-title
Help tab content
*/
html:not([lang="zh"]) #social-chinese,
html[lang="zh"] #social-general
html:not([lang^="zh"]) #social-chinese,
html[lang^="zh"] #social-general
{
display: none;
}
......
......@@ -331,12 +331,12 @@
</header>
<div id="social">
<ul id="social-general">
<li><a id="twitter" class="icon" target="_blank">Twitter</a></li>
<li><a id="facebook" class="icon" target="_blank">Facebook</a></li>
<li><a id="google-plus" class="icon" target="_blank">Google Plus</a></li>
<li><a class="icon twitter" target="_blank">Twitter</a></li>
<li><a class="icon facebook" target="_blank">Facebook</a></li>
<li><a class="icon google-plus" target="_blank">Google Plus</a></li>
</ul>
<ul id="social-chinese">
<li><a id="weibo" target="_blank">Weibo</a></li>
<li><a class="icon weibo" target="_blank">Weibo</a></li>
</ul>
</div>
</section>
......
......@@ -987,19 +987,19 @@ function onDOMLoaded()
});
getDocLink("social_twitter").then(link =>
{
$("#twitter").setAttribute("href", link);
$("#social .twitter").setAttribute("href", link);
});
getDocLink("social_facebook").then(link =>
{
$("#facebook").setAttribute("href", link);
$("#social .facebook").setAttribute("href", link);
});
getDocLink("social_gplus").then(link =>
{
$("#google-plus").setAttribute("href", link);
$("#social .google-plus").setAttribute("href", link);
});
getDocLink("social_weibo").then(link =>
{
$("#weibo").setAttribute("href", link);
$("#social .weibo").setAttribute("href", link);
});
$("#dialog").addEventListener("keydown", function(e)
......
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
<path d="M24 0C10.7 0 0 10.7 0 24s10.7 24 24 24 24-10.7 24-24S37.3 0 24 0zm0 46C11.8 46 2 36.2 2 24S11.8 2 24 2s22 9.8 22 22-9.8 22-22 22z" fill="#077CA6"/>
<path d="M22.3 31.4c-3.5.4-6.6-1.2-6.8-3.6-.2-2.3 2.4-4.5 6-4.8 3.5-.4 6.6 1.2 6.8 3.6.2 2.3-2.5 4.4-6 4.8m7.1-7.7c-.3-.1-.5-.2-.4-.5.3-.9.4-1.6 0-2.1-.7-1-2.6-.9-4.8 0 0 0-.7.3-.5-.2.3-1.1.3-2-.2-2.5-1.2-1.2-4.3 0-7 2.7-2 2-3.2 4.1-3.2 6 0 3.5 4.5 5.7 8.9 5.7 5.8 0 9.7-3.4 9.7-6 0-1.8-1.3-2.7-2.5-3.1M33.2 17.2c-1.4-1.6-3.5-2.1-5.4-1.7-.4.1-.7.5-.6 1 .1.4.5.7 1 .6 1.4-.3 2.8.1 3.8 1.2 1 1.1 1.3 2.6.8 3.9-.1.4.1.9.5 1 .4.1.9-.1 1-.5.7-1.8.3-3.9-1.1-5.5" fill="#077CA6"/>
<path d="M31.1 19.2c-.7-.8-1.7-1-2.6-.8-.4.1-.6.5-.5.8.1.4.5.6.8.5.5-.1.9 0 1.3.4.3.4.4.9.3 1.3-.1.4.1.8.5.9.4.1.8-.1.9-.5.1-.8-.1-1.9-.7-2.6M22.5 27.2c-.1.2-.4.3-.6.2-.2-.1-.3-.3-.2-.5.1-.2.4-.3.6-.2.2 0 .3.3.2.5m-1.1 1.4c-.3.5-1.1.8-1.6.5-.5-.2-.7-.9-.4-1.4.3-.5 1-.8 1.6-.5.5.2.7.9.4 1.4m1.2-3.8c-1.7-.4-3.6.4-4.3 1.9-.7 1.5 0 3.2 1.7 3.7 1.8.6 3.8-.3 4.6-1.9.7-1.6-.2-3.3-2-3.7" fill="#077CA6"/>
</svg>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment