Commit 29961736 by Eric Fischer

Styling changes for Course Updates errors

parent 2735fdc2
...@@ -11,7 +11,7 @@ define(["backbone", "jquery", "jquery.ui"], function(Backbone, $) { ...@@ -11,7 +11,7 @@ define(["backbone", "jquery", "jquery.ui"], function(Backbone, $) {
var date_exists = (attrs.date !== null && attrs.date !== ""); var date_exists = (attrs.date !== null && attrs.date !== "");
var date_is_valid_string = ($.datepicker.formatDate('MM d, yy', new Date(attrs.date)) === attrs.date); var date_is_valid_string = ($.datepicker.formatDate('MM d, yy', new Date(attrs.date)) === attrs.date);
if (!(date_exists && date_is_valid_string)) { if (!(date_exists && date_is_valid_string)) {
return {"date_required": gettext("This field must contain a valid date.")}; return {"date_required": gettext("Action required: Enter a valid date.")};
} }
} }
}); });
......
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
line-height: 30px; line-height: 30px;
color: #646464; color: #646464;
letter-spacing: 1px; letter-spacing: 1px;
text-transform: uppercase;
} }
h3 { h3 {
...@@ -75,11 +74,21 @@ ...@@ -75,11 +74,21 @@
margin: 34px 0 11px; margin: 34px 0 11px;
} }
.display-date {
padding-right: 15px;
}
.message-error { .message-error {
@extend %t-copy-sub1; display: inline-block;
margin-top: ($baseline/4); font-weight: normal;
margin-bottom: ($baseline/2); font-size: 1.2em;
color: $red;
&:before {
content: "\f06a";
font-family: FontAwesome;
color: #fdbc56;
padding: 5px;
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment