mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Fixed shadow placements.
This commit is contained in:
parent
d18260c20c
commit
1bb76d5902
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
img.banner(src="/images/pages/play/level-banner-complete.png")
|
img.banner(src="/images/pages/play/level-banner-complete.png")
|
||||||
if levelStatusMap[level.original] === 'started'
|
if levelStatusMap[level.original] === 'started'
|
||||||
img.banner(src="/images/pages/play/level-banner-started.png")
|
img.banner(src="/images/pages/play/level-banner-started.png")
|
||||||
div(style="left: #{level.x}%; bottom: #{level.y}%", class="level-shadow" + (next ? " next" : "") + " " + levelStatusMap[level.original] || "")
|
div(style="left: #{level.position.x}%; bottom: #{level.position.y}%", class="level-shadow" + (next ? " next" : "") + " " + levelStatusMap[level.original] || "")
|
||||||
.level-info-container(data-level-id=level.original, data-level-path=level.levelPath || 'level', data-level-name=level.name)
|
.level-info-container(data-level-id=level.original, data-level-path=level.levelPath || 'level', data-level-name=level.name)
|
||||||
div(class="level-info " + (levelStatusMap[level.original] || ""))
|
div(class="level-info " + (levelStatusMap[level.original] || ""))
|
||||||
h3= level.name + (level.disabled ? " (Coming soon!)" : (level.locked ? " (Locked)" : ""))
|
h3= level.name + (level.disabled ? " (Coming soon!)" : (level.locked ? " (Locked)" : ""))
|
||||||
|
|
Loading…
Reference in a new issue