1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Modified lang button background.

This commit is contained in:
Oscar Rezo 2016-11-07 16:31:50 +01:00
parent 7c917b3f62
commit 4fcba5e1cf
2 changed files with 17 additions and 2 deletions

View File

@ -94,8 +94,8 @@ let Header = React.createClass({
getLangSelector() { getLangSelector() {
return ( return (
<li> <li>
<button className="btn btn-sm btn-default" onClick={setCookie("sitelang", "fr", 30)}>{getLangText('Lang Label FR')}</button> <button className="btn-lang btn-lang-fr" onClick={setCookie("sitelang", "fr", 30)}></button>
<button className="btn btn-sm btn-default" onClick={setCookie("sitelang", "en-US", 30)}>{getLangText('Lang Label EN')}</button> <button className="btn-lang btn-lang-en" onClick={setCookie("sitelang", "en-US", 30)}></button>
</li> </li>
); );
}, },

View File

@ -4,6 +4,21 @@ $bokk--button-color: #ab52bd;
$bokk--hover-color: ; $bokk--hover-color: ;
$bokk--nav-bt:#FFFFFF; $bokk--nav-bt:#FFFFFF;
.btn-lang{
width: 16px;
height: 11px;
background-repeat: no-repeat;
}
.btn-lang-fr{
background-image: url("http://www.bokk.io/wp-content/themes/eduma-child/assets/images/fr.png");
}
.btn-lang-en{
background-image: url("http://www.bokk.io/wp-content/themes/eduma-child/assets/images/en.png");
}
.client--bokk { .client--bokk {
.navbar-default { .navbar-default {
background-color: $bokk--nav-bg-color; background-color: $bokk--nav-bg-color;