mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Levels (back) link now embiggened.
This commit is contained in:
parent
f80baf3eb2
commit
46c4601ac6
2 changed files with 10 additions and 5 deletions
|
@ -23,6 +23,7 @@
|
|||
left: 40px
|
||||
width: 160px
|
||||
text-align: center
|
||||
cursor: pointer
|
||||
|
||||
a.levels-link
|
||||
margin: 0
|
||||
|
@ -38,8 +39,11 @@
|
|||
color: $control-yellow
|
||||
text-shadow: 1px 1px 0px rgb(143, 123, 62)
|
||||
|
||||
&:hover .glyphicon
|
||||
color: $control-yellow-highlight
|
||||
&:hover
|
||||
a.levels-link
|
||||
text-decoration: underline
|
||||
.glyphicon
|
||||
color: $control-yellow-highlight
|
||||
|
||||
.left-cap, .right-cap, .center-chain, .right-chain, .wood-background
|
||||
position: absolute
|
||||
|
|
|
@ -22,6 +22,7 @@ module.exports = class ControlBarView extends CocoView
|
|||
'click #next-game-button': -> Backbone.Mediator.publish 'level:next-game-pressed', {}
|
||||
'click #game-menu-button': 'showGameMenuModal'
|
||||
'click': -> Backbone.Mediator.publish 'tome:focus-editor', {}
|
||||
'click .levels-link-area': 'onClickHome'
|
||||
'click .home a': 'onClickHome'
|
||||
'click .multiplayer-area': 'onClickMultiplayer'
|
||||
|
||||
|
@ -142,7 +143,7 @@ class MultiplayerStatusManager
|
|||
# @playersCollection?.off 'add', @onPlayerAdded
|
||||
# player.off 'change', @onPlayerChanged for id, player of @players
|
||||
|
||||
onMultiplayerPlayerStatus: (e) =>
|
||||
onMultiplayerPlayerStatus: (e) =>
|
||||
@status = e.status
|
||||
@statusChangedCallback()
|
||||
|
||||
|
@ -151,10 +152,10 @@ class MultiplayerStatusManager
|
|||
# @players[player.id] = new RealTimeModel('multiplayer_players/' + @levelID + '/' + player.id)
|
||||
# @players[player.id].on 'change', @onPlayerChanged
|
||||
# @countPlayers player
|
||||
#
|
||||
#
|
||||
# onPlayerChanged: (player) =>
|
||||
# @countPlayers player
|
||||
#
|
||||
#
|
||||
# countPlayers: (changedPlayer) =>
|
||||
# # TODO: save this stale hearbeat threshold setting somewhere
|
||||
# staleHeartbeat = new Date()
|
||||
|
|
Loading…
Reference in a new issue