Fixing style guide stuff in post_list
Этот коммит содержится в:
@@ -44,15 +44,13 @@ module.exports = React.createClass({
|
|||||||
utils.changeCss('.mention-link', 'color: ' + user.props.theme+';');
|
utils.changeCss('.mention-link', 'color: ' + user.props.theme+';');
|
||||||
utils.changeCss('@media(max-width: 768px){.search-bar__container', 'background: ' + user.props.theme+';}');
|
utils.changeCss('@media(max-width: 768px){.search-bar__container', 'background: ' + user.props.theme+';}');
|
||||||
}
|
}
|
||||||
if (user.props.theme != "#000000" && user.props.theme != "#585858"){
|
if (user.props.theme != '#000000' && user.props.theme != '#585858') {
|
||||||
utils.changeCss('.btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:focus', 'background: ' + utils.changeColor(user.props.theme, -10) +';');
|
utils.changeCss('.btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:focus', 'background: ' + utils.changeColor(user.props.theme, -10) +';');
|
||||||
utils.changeCss('a.theme', 'color:'+user.props.theme+'; fill:'+user.props.theme+'!important;');
|
utils.changeCss('a.theme', 'color:'+user.props.theme+'; fill:'+user.props.theme+'!important;');
|
||||||
}
|
} else if (user.props.theme == '#000000') {
|
||||||
else if (user.props.theme == "#000000"){
|
|
||||||
utils.changeCss('.btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:focus', 'background: ' + utils.changeColor(user.props.theme, +50) +';');
|
utils.changeCss('.btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:focus', 'background: ' + utils.changeColor(user.props.theme, +50) +';');
|
||||||
$('.team__header').addClass('theme--black');
|
$('.team__header').addClass('theme--black');
|
||||||
}
|
} else if (user.props.theme == '#585858') {
|
||||||
else if (user.props.theme == "#585858"){
|
|
||||||
utils.changeCss('.btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:focus', 'background: ' + utils.changeColor(user.props.theme, +10) +';');
|
utils.changeCss('.btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:focus', 'background: ' + utils.changeColor(user.props.theme, +10) +';');
|
||||||
$('.team__header').addClass('theme--gray');
|
$('.team__header').addClass('theme--gray');
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user