mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Swap problem alert error message and hint lines
Also fixing problem alert border on Firefox.
This commit is contained in:
parent
7a9014f83a
commit
56c15116a7
2 changed files with 8 additions and 6 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue