Don't make the current level's dot bigger than other dots.
This commit is contained in:
parent
70fe21f645
commit
c6b0519eca
1 changed files with 0 additions and 21 deletions
|
@ -89,12 +89,6 @@ $gameControlMargin: 30px
|
||||||
a
|
a
|
||||||
cursor: default
|
cursor: default
|
||||||
|
|
||||||
&.next
|
|
||||||
width: 2 * $levelDotWidth
|
|
||||||
height: 2 * $levelDotHeight
|
|
||||||
margin-left: -0.5 * 2 * $levelDotWidth
|
|
||||||
margin-bottom: -2 * $levelDotHeight / 3 + 2 * $levelDotZ
|
|
||||||
|
|
||||||
&.started, &.next
|
&.started, &.next
|
||||||
border: 3px solid lightgreen
|
border: 3px solid lightgreen
|
||||||
@include box-shadow(0px 0px 35px skyblue)
|
@include box-shadow(0px 0px 35px skyblue)
|
||||||
|
@ -170,12 +164,6 @@ $gameControlMargin: 30px
|
||||||
@include box-shadow(0px 0px 10px black)
|
@include box-shadow(0px 0px 10px black)
|
||||||
@include opacity(0.75)
|
@include opacity(0.75)
|
||||||
|
|
||||||
&.next
|
|
||||||
width: 2 * $levelDotShadowWidth
|
|
||||||
height: 2 * $levelDotShadowHeight
|
|
||||||
margin-left: -0.5 * 2 * $levelDotShadowWidth
|
|
||||||
margin-bottom: -2 * $levelDotShadowHeight / 3
|
|
||||||
|
|
||||||
.level:hover
|
.level:hover
|
||||||
// TODO: This rotate stops Firefox from flickering, but also disables the scaleY(0.75)
|
// TODO: This rotate stops Firefox from flickering, but also disables the scaleY(0.75)
|
||||||
// TODO: The dot looks like it's jumping.
|
// TODO: The dot looks like it's jumping.
|
||||||
|
@ -185,9 +173,6 @@ $gameControlMargin: 30px
|
||||||
margin-bottom: -$levelDotHeight / 3 + $levelDotHoverZ
|
margin-bottom: -$levelDotHeight / 3 + $levelDotHoverZ
|
||||||
@include box-shadow(0px 0px 35px skyblue)
|
@include box-shadow(0px 0px 35px skyblue)
|
||||||
|
|
||||||
&.next
|
|
||||||
margin-bottom: -2 * $levelDotHeight / 3 + 2 * $levelDotHoverZ
|
|
||||||
|
|
||||||
.level
|
.level
|
||||||
a
|
a
|
||||||
display: block
|
display: block
|
||||||
|
@ -196,12 +181,6 @@ $gameControlMargin: 30px
|
||||||
margin-top: -0.5 * $levelClickRadius
|
margin-top: -0.5 * $levelClickRadius
|
||||||
border-radius: $levelClickRadius
|
border-radius: $levelClickRadius
|
||||||
|
|
||||||
&.next a
|
|
||||||
padding: 2 * $levelClickRadius
|
|
||||||
margin-left: 2 * -0.5 * $levelClickRadius
|
|
||||||
margin-top: 2 * -0.5 * $levelClickRadius
|
|
||||||
border-radius: 2 * $levelClickRadius
|
|
||||||
|
|
||||||
.tooltip
|
.tooltip
|
||||||
z-index: 2
|
z-index: 2
|
||||||
pointer-events: none
|
pointer-events: none
|
||||||
|
|
Reference in a new issue