mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Border-image fallback for world map level buttons
This commit is contained in:
parent
b78c91997c
commit
49cf206be7
3 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
@import "app/styles/bootstrap/mixins"
|
||||
@import "bower_components/modernizr-mixin/stylesheets/modernizr"
|
||||
|
||||
@mixin gradient-radial-custom-stops($innerColor: #555, $innerStop: 20%, $outerColor: #333, $outerStop: 70%)
|
||||
background-color: $outerColor
|
||||
|
|
|
@ -163,8 +163,12 @@ $gameControlMargin: 30px
|
|||
position: absolute
|
||||
z-index: 3
|
||||
padding: 10px
|
||||
border-image: url(/images/level/popover_background.png) 18 fill round
|
||||
border-width: 15px
|
||||
// Using modernizr-mixin for compat detection
|
||||
@include yep(borderimage)
|
||||
border-image: url(/images/level/popover_background.png) 18 fill round
|
||||
@include nope(borderimage)
|
||||
background-color: rgb(247, 242, 218)
|
||||
|
||||
.level-info.complete h3:after
|
||||
content: " - Complete!"
|
||||
|
|
|
@ -90,5 +90,8 @@
|
|||
"modernizr": {
|
||||
"main": "modernizr.js"
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"modernizr-mixin": "~3.0.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue