incorporate asaad's UI updates for google sign-up
Этот коммит содержится в:
@@ -164,7 +164,7 @@ module.exports = React.createClass({
|
|||||||
|
|
||||||
if (authServices.indexOf(Constants.GOOGLE_SERVICE) >= 0) {
|
if (authServices.indexOf(Constants.GOOGLE_SERVICE) >= 0) {
|
||||||
signupMessage.push(
|
signupMessage.push(
|
||||||
<a className='btn btn-custom-login gitlab' href={'/' + this.props.teamName + '/signup/google' + window.location.search}>
|
<a className='btn btn-custom-login google' href={'/' + this.props.teamName + '/signup/google' + window.location.search}>
|
||||||
<span className='icon' />
|
<span className='icon' />
|
||||||
<span>with Google</span>
|
<span>with Google</span>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -186,6 +186,23 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&.google {
|
||||||
|
background: #dd4b39;
|
||||||
|
&:hover {
|
||||||
|
background: darken(#dd4b39, 10%);
|
||||||
|
}
|
||||||
|
span {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.icon {
|
||||||
|
background: url("../images/googleLogo.png");
|
||||||
|
width: 18px;
|
||||||
|
height: 18px;
|
||||||
|
margin-right: 8px;
|
||||||
|
@include background-size(100% 100%);
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&.btn-default {
|
&.btn-default {
|
||||||
color: #444;
|
color: #444;
|
||||||
|
|||||||
Двоичные данные
web/static/images/googleLogo.png
Обычный файл
Двоичные данные
web/static/images/googleLogo.png
Обычный файл
Двоичный файл не отображается.
|
После Ширина: | Высота: | Размер: 3.4 KiB |
Ссылка в новой задаче
Block a user