codecombat/app/styles/play/level/tome/problem_alert.sass

58 lines
1.4 KiB
Sass
Raw Normal View History

2014-01-03 13:32:13 -05:00
@import "../../../bootstrap/mixins"
.problem-alert
z-index: 10
position: absolute
2014-02-01 16:56:55 -05:00
bottom: -120px
2014-01-03 13:32:13 -05:00
left: 10px
right: 10px
background: transparent
2014-01-03 13:32:13 -05:00
border: 0
padding: 18px 35px 18px 14px
text-shadow: none
color: white
word-wrap: break-word
border-image: url(/images/level/code_editor_error_background.png) 16 20 fill round
border-width: 16px 20px
2014-01-03 13:32:13 -05:00
.close
@include opacity(0.80)
2014-01-03 13:32:13 -05:00
text-shadow: none
cursor: pointer
color: white
float: right
&:hover, &:focus
@include opacity(1)
.problem-hint
font-size: 80%
2014-01-03 13:32:13 -05:00
//&.alert-error
&.alert-warning
border-image-source: url(/images/level/code_editor_warning_background.png)
2014-01-03 13:32:13 -05:00
&.alert-info
border-image-source: url(/images/level/code_editor_info_background.png)
2014-01-03 13:32:13 -05:00
&.alert-style
// Do we ever want to do this for style?
border-image-source: url(/images/level/code_editor_info_background.png)
html.no-borderimage
.problem-alert
border-width: 0
border-image: none
background: transparent url(/images/level/code_editor_error_background.png) no-repeat
background-size: 100% 100%
&.alert-warning
background-image: url(/images/level/code_editor_warning_background.png)
&.alert-info
background-image: url(/images/level/code_editor_info_background.png)
&.alert-style
// Do we ever want to do this for style?
background-image: url(/images/level/code_editor_info_background.png)