Updated Survey Edit validation warnings to use more standardized
wgWarnings CSS class
This commit is contained in:
parent
9ba8337953
commit
fe671d74e5
3 changed files with 6 additions and 10 deletions
Binary file not shown.
|
|
@ -81,7 +81,7 @@ Survey.Data = (function(){
|
|||
if (!Survey.Data.ddContainer) {
|
||||
|
||||
// Calculate the bottom of the warnings div (with a little padding)
|
||||
var warningsBottom = YAHOO.util.Dom.getRegion('warnings').bottom + 5;
|
||||
var warningsBottom = YAHOO.util.Dom.getRegion('warnings-outer').bottom + 5;
|
||||
warningsBottom = YAHOO.lang.isValue(warningsBottom) ? warningsBottom : 50;
|
||||
|
||||
// Calculate the bottom of the viewport (with a little padding)
|
||||
|
|
|
|||
|
|
@ -124,15 +124,11 @@ li.answer {
|
|||
width:15em;
|
||||
margin-top:0.5em;
|
||||
}
|
||||
|
||||
#warnings-outer {
|
||||
margin: 5px;
|
||||
padding: 0 5px;
|
||||
border: 1px solid;
|
||||
color: red;
|
||||
}
|
||||
#warnings {
|
||||
color: red;
|
||||
.wGwarning {
|
||||
background-color:#FF6666;
|
||||
border:1px solid red;
|
||||
margin:5px;
|
||||
padding:10px;
|
||||
}
|
||||
#sections-panel .bd {
|
||||
overflow: auto;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue