Issue 2443. Alert UI created.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11528 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-09-26 06:47:02 +00:00
parent 850338133a
commit bcd2fb3a88
2 changed files with 9 additions and 3 deletions

View file

@ -25,9 +25,9 @@ body>.x,.x label,.x table,.x input,.x textarea,.x select,.x button{font-size:13p
.x .x_btn-link{padding:0;margin:0;overflow:visible}
.x [class^="x_icon-"],
.x [class*=" x_icon-"]{text-decoration:none;border:0;padding:0;background-color:transparent;overflow:hidden;font-size:0}
.x .x_close,
.x_modal .x_close{width:24px;height:24px}
.x .x_alert .x_close{top:-3px;right:-30px}
.x .x_close{width:24px;height:24px}
.x .x_alert{ position:relative}
.x .x_alert>.x_close{position:absolute;top:0;right:0}
.x .x_pagination{height:32px}
.x .x_pagination ul>li>a,
.x .x_pagination ul>li>span,

View file

@ -156,6 +156,12 @@ jQuery(function($){
$this.removeClass('x_icon-chevron-down').addClass('x_icon-chevron-up');
}
});
// Alert Closer
var $xAlert = $('.x .x_alert');
$xAlert.prepend('<button type="button" class="x_close">&times;</button>');
$xAlert.children('.x_close').click(function(){
$(this).parent('.x_alert').hide();
});
});
// Modal Window