studio - alerts: refactored styles for common content types across UI, got prompts set up and styled, and refactored base template for future prompt/notification/alert use

This commit is contained in:
Brian Talbot
2013-03-03 20:44:48 -05:00
parent 47aacc70b7
commit 72c58cd454
7 changed files with 375 additions and 308 deletions

View File

@@ -62,10 +62,16 @@ $(document).ready(function () {
$(this).closest('.wrapper-notification').removeClass('is-shown').addClass('is-hiding');
});
// prompt close
$('.prompt .action-cancel').click(function(e) {
// prompt pop
$('.action-prompt').click(function(e){
(e).preventDefault();
$(this).closest('.wrapper-prompt').removeClass('is-shown').addClass('is-hiding');
$body.toggleClass('prompt-is-shown');
});
// prompt close
$('.prompt .action-cancel, .prompt .action-proceed').click(function(e) {
(e).preventDefault();
$body.removeClass('prompt-is-shown');
});
// nav - dropdown related