mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
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:
parent
850338133a
commit
bcd2fb3a88
2 changed files with 9 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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">×</button>');
|
||||
$xAlert.children('.x_close').click(function(){
|
||||
$(this).parent('.x_alert').hide();
|
||||
});
|
||||
});
|
||||
|
||||
// Modal Window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue