diff options
author | MaZderMind | 2015-03-03 13:45:53 +0100 |
---|---|---|
committer | MaZderMind | 2015-03-03 13:45:53 +0100 |
commit | b53ee02f9dfb1c01239f47296960d03bbf3817cf (patch) | |
tree | ed097c1f97acb5353189b53359f6ca10b26ecaea | |
parent | 187f024a7c82b276e9df3504bdc4c1902f8c0f94 (diff) |
Use Twitter-Blue for Twitter-Button
Diffstat (limited to '')
-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> |