Swap problem alert error message and hint lines

Also fixing problem alert border on Firefox.
This commit is contained in:
Matt Lott 2014-10-20 21:20:30 -07:00
parent 7a9014f83a
commit 56c15116a7
2 changed files with 8 additions and 6 deletions

View file

@ -9,7 +9,7 @@
left: 10px
right: 10px
background: transparent
border: 0
border: 1px solid transparent
padding: 0
text-shadow: none
color: white
@ -31,14 +31,14 @@
&:hover, &:focus
@include opacity(1)
.problem-hint
.problem-subtitle
font-size: 80%
//&.alert-error
&.alert-warning
border-image-source: url(/images/level/code_editor_warning_background.png)
&.alert-info
border-image-source: url(/images/level/code_editor_info_background.png)

View file

@ -1,5 +1,7 @@
button.close(type="button", data-dismiss="alert") ×
span.problem-message!= message
if hint
span.problem-title!= hint
br
span.problem-hint!= hint
span.problem-subtitle!= message
else
span.problem-title!= message