CSS selector name change. .collapse -> collapsed.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12568 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2013-01-17 04:51:46 +00:00
parent 4d2ebf63f1
commit 126a697d9c
7 changed files with 11 additions and 11 deletions

View file

@ -39,7 +39,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="section collapse" style="margin-bottom:0"> <section class="section collapsed" style="margin-bottom:0">
<h1>{$lang->subtitle_advanced}</h1> <h1>{$lang->subtitle_advanced}</h1>
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label" for="ftp_host">{$lang->ftp_host}</label> <label class="x_control-label" for="ftp_host">{$lang->ftp_host}</label>

View file

@ -114,7 +114,7 @@
</div> </div>
</form> </form>
</section> </section>
<section class="section collapse"> <section class="section collapsed">
<h1>{$lang->subtitle_advanced}</h1> <h1>{$lang->subtitle_advanced}</h1>
<form action="./" method="post" enctype="multipart/form-data" class="x_form-horizontal"> <form action="./" method="post" enctype="multipart/form-data" class="x_form-horizontal">
<input type="hidden" name="module" value="install" /> <input type="hidden" name="module" value="install" />

View file

@ -87,7 +87,7 @@
.x .x_clearfix:after{clear:both} .x .x_clearfix:after{clear:both}
.x .x_hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0} .x .x_hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}
.x .x_input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} .x .x_input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
.x{font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;font-size:14px;line-height:20px;color:#333333;background-color:#ffffff} .x{line-height:20px;color:#333333;background-color:#ffffff}
.x a{color:#0088cc;text-decoration:none} .x a{color:#0088cc;text-decoration:none}
.x a:hover{color:#005580;text-decoration:underline} .x a:hover{color:#005580;text-decoration:underline}
.x .x_img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px} .x .x_img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}

View file

@ -163,8 +163,8 @@ body>.x,
.x .section>h1>.snToggle.x_icon-chevron-down{background-position:-303px -111px} .x .section>h1>.snToggle.x_icon-chevron-down{background-position:-303px -111px}
.x .section>h2{position:relative;border-bottom:1px dotted #ddd} .x .section>h2{position:relative;border-bottom:1px dotted #ddd}
.x .section>h2+.x_control-group{border-top:0} .x .section>h2+.x_control-group{border-top:0}
.x .section.collapse>*{display:none} .x .section.collapsed>*{display:none}
.x .section.collapse>h1{display:block} .x .section.collapsed>h1{display:block}
.x .center{text-align:center} .x .center{text-align:center}
.x .search{margin:10px 0 0 0} .x .search{margin:10px 0 0 0}
.x .search select{width:auto} .x .search select{width:auto}

File diff suppressed because one or more lines are too long

View file

@ -226,15 +226,15 @@ jQuery(function($){
if($('.section').length > 1){ if($('.section').length > 1){
var $section_heading = $('.x .section').find('>h1:first'); var $section_heading = $('.x .section').find('>h1:first');
$section_heading.append('<button type="button" class="snToggle x_icon-chevron-up">Toggle this section</button>'); $section_heading.append('<button type="button" class="snToggle x_icon-chevron-up">Toggle this section</button>');
$('.x .section.collapse>h1>.snToggle').removeClass('x_icon-chevron-up').addClass('x_icon-chevron-down'); $('.x .section.collapsed>h1>.snToggle').removeClass('x_icon-chevron-up').addClass('x_icon-chevron-down');
$section_heading.find('>.snToggle').click(function(){ $section_heading.find('>.snToggle').click(function(){
var $this = $(this); var $this = $(this);
var $section = $this.closest('.section'); var $section = $this.closest('.section');
if(!$section.hasClass('collapse')){ if(!$section.hasClass('collapsed')){
$section.addClass('collapse'); $section.addClass('collapsed');
$this.removeClass('x_icon-chevron-up').addClass('x_icon-chevron-down'); $this.removeClass('x_icon-chevron-up').addClass('x_icon-chevron-down');
} else { } else {
$section.removeClass('collapse'); $section.removeClass('collapsed');
$this.removeClass('x_icon-chevron-down').addClass('x_icon-chevron-up'); $this.removeClass('x_icon-chevron-down').addClass('x_icon-chevron-up');
} }
reflow(); reflow();

File diff suppressed because one or more lines are too long