codecombat/app/styles/play/level/goals.sass

81 lines
1.6 KiB
Sass
Raw Normal View History

@import "app/styles/mixins"
@import "app/styles/bootstrap/variables"
2014-01-03 13:32:13 -05:00
#goals-view
position: absolute
left: -15px
top: -100px
@include transition(0.5s ease-in-out)
border-style: solid
border-image: url(/images/level/goals_background.png) 15 20 51 15 fill stretch
border-width: 8px 10px 25px 8px
margin: -8px -10px -25px -8px
padding: 19px 0px 2px 25px
z-index: 3
font-size: 14px
min-width: 230px
&.brighter
font-size: 18px
font-size: 1.4vw
border-width: 0.91vw 1.22vw 3.10vw 0.91vw
min-width: 23vw
.goals-status
margin: 5px 0 0 0
position: absolute
color: white
text-transform: uppercase
.success
color: lightgreen
text-shadow: 1px 1px 0px black
.timed-out
color: rgb(230, 230, 230)
.failure
color: rgb(239, 61, 71)
text-shadow: 1px 1px 0px black
.incomplete
color: rgb(245, 170, 49)
.running
color: rgb(200, 200, 200)
2014-01-03 13:32:13 -05:00
ul
2014-01-27 19:59:34 -05:00
padding-left: 0
2014-01-03 13:32:13 -05:00
margin-bottom: 0
color: black
li
list-style: none
margin-right: 5px
i
margin-right: 5px
li.status-incomplete
color: #333
li.status-failure
color: darkred
li.status-success
color: darkgreen
#goals-view.collapsed i.collapsed, #goals-view.expanded i.expanded
display: none
#goals-view.collapsed ul
display: none
html.no-borderimage
#goals-view
background: transparent url(/images/level/goals_background.png)
background-size: 100% 100%
border: 0
&.brighter
border: 0
.goals-status
position: static
margin-top: 10px