summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-08-05 21:32:41 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-08-05 21:32:41 +0500
commit140faa6bb66b3c61771c2cca738a47234ebff0c8 (patch)
tree150ae1361dde020d5c1d78f8ae28513751a091c3 /web/react/components
parent9699401d5b1856b3dfa380f468e808a41dbe8b3a (diff)
downloadchat-140faa6bb66b3c61771c2cca738a47234ebff0c8.tar.gz
chat-140faa6bb66b3c61771c2cca738a47234ebff0c8.tar.bz2
chat-140faa6bb66b3c61771c2cca738a47234ebff0c8.zip
Fixing style guide stuff in post_list
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/post_list.jsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index 0b19d774c..90a02e791 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -44,15 +44,13 @@ module.exports = React.createClass({
utils.changeCss('.mention-link', 'color: ' + 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('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) +';');
$('.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) +';');
$('.team__header').addClass('theme--gray');
}