diff options
-rw-r--r-- | assets/css/_room.less | 5 | ||||
-rw-r--r-- | template/assemblies/chat.phtml | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/assets/css/_room.less b/assets/css/_room.less index 728ed9b..2309c32 100644 --- a/assets/css/_room.less +++ b/assets/css/_room.less @@ -57,6 +57,11 @@ @media (min-width: @screen-sm-min) { font-size: @jumbo-font-size; } + + &.twitterlink { + @twitter: #55ACEE; // Twitter-Blue + .button-variant(white; @twitter; darken(@twitter, 5%);); + } } } } diff --git a/template/assemblies/chat.phtml b/template/assemblies/chat.phtml index 13da67e..ba84662 100644 --- a/template/assemblies/chat.phtml +++ b/template/assemblies/chat.phtml @@ -7,7 +7,7 @@ <? endif ?> <? if(room_has_twitter($room)): ?> <div> - <a class="btn btn-success twitterlink" href="https://twitter.com/intent/tweet?text=<?=h(rawurlencode(room_get_twitter_hashtag($room)))?>" target="_blank"> + <a class="btn twitterlink" href="https://twitter.com/intent/tweet?text=<?=h(rawurlencode(room_get_twitter_hashtag($room)))?>" target="_blank"> <span class="fa fa-twitter"></span> <?=h(room_get_twitter_display($room))?> </a> </div> |