firming up behavior/styling for tender widget - including errors

This commit is contained in:
Brian Talbot
2013-03-26 14:46:38 -04:00
parent 8a4047d5dd
commit 7e56e98c58
2 changed files with 15 additions and 4 deletions

View File

@@ -81,10 +81,10 @@ $(document).ready(function () {
});
// general link management - smooth scrolling page links
$('a[rel*="view"]').bind('click', linkSmoothScroll);
$('a[rel*="view"]').bind('click', smoothScrollLink);
// tender feedback window scrolling
$('a.show-tender').bind('click', linkSmoothScrollTop);
$('a.show-tender').bind('click', smoothScrollTop);
// toggling overview section details
@@ -151,7 +151,7 @@ $(document).ready(function () {
});
});
function linkSmoothScroll(e) {
function smoothScrollLink(e) {
(e).preventDefault();
$.smoothScroll({
@@ -163,7 +163,7 @@ function linkSmoothScroll(e) {
});
}
function linkSmoothScrollTop(e) {
function smoothScrollTop(e) {
(e).preventDefault();
$.smoothScroll({

View File

@@ -70,6 +70,17 @@
padding: 20px;
}
.widget-layout .flash {
margin: -10px 0 15px 0;
padding: 5px 10px !important;
background-image: none !important;
}
.widget-layout .flash-error {
background: rgb(178, 6, 16) !important;
color: rgb(255,255,255) !important;
}
.widget-layout label {
font-size: 14px;
margin-bottom: 5px;