mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Issue 963 fixed. Admin .h2 .h3 section collapse function.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10846 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2165f59b04
commit
7f58148ac4
4 changed files with 12 additions and 17 deletions
|
|
@ -576,7 +576,7 @@ body.modalContainer{_height:100%;_width:100%} /* IE6 only */
|
|||
/* Icon Button */
|
||||
.x a.iSetting{display:inline-block;width:16px;height:0;padding:16px 0 0 0;overflow:hidden;vertical-align:middle;background:url(../img/iconSetting.gif) no-repeat}
|
||||
.x a.cMenu{display:inline-block;width:16px;height:0;padding:16px 0 0 0;overflow:hidden;vertical-align:middle;background:url(../../../../common/img/icon.bubble.png) no-repeat}
|
||||
.x .sTog{float:right;position:relative;top:-45px;border:0;background-color:transparent;width:28px;height:28px;opacity:.5;filter:alpha(opacity=50);margin:0 0 -28px 0}
|
||||
.x .sTog{float:right;border:0;background-color:transparent;width:28px;height:18px;opacity:.5;filter:alpha(opacity=50)}
|
||||
/* Responsive Layout */
|
||||
@media only all and (max-width:860px){
|
||||
.x .header .account ul{padding-right:10px}
|
||||
|
|
|
|||
11
modules/admin/tpl/css/admin.min.css
vendored
11
modules/admin/tpl/css/admin.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1234,15 +1234,19 @@ jQuery(function($){
|
|||
|
||||
// Toggle Content
|
||||
jQuery(function($){
|
||||
$('.x .content:not(".dashboard") .h2').each(function(){
|
||||
var $h2h3 = $('.x .content .h2, .x .content .h3').not('.portlet .h2, .modal .h2');
|
||||
$h2h3.each(function(){
|
||||
var $sTog = $('<button type="button" class="sTog" title="Open/Close"><i class="icon-chevron-up"></i></button>');
|
||||
$(this).after($sTog);
|
||||
$(this).append($sTog);
|
||||
$sTog.click(function(){
|
||||
var $t = $(this);
|
||||
if($t.next().is(':hidden')){
|
||||
$t.find('i').attr('class','icon-chevron-up').parent().next().slideDown(200).next('.btnArea').slideDown(200);
|
||||
var $sTogObj = $t.parent().nextUntil('.h2, .h3');
|
||||
if($t.parent().next().is(':hidden')){
|
||||
$t.find('i').attr('class','icon-chevron-up');
|
||||
$sTogObj.slideDown(200);
|
||||
} else {
|
||||
$t.find('i').attr('class','icon-chevron-down').parent().next().slideUp(200).next('.btnArea').slideUp(200);
|
||||
$t.find('i').attr('class','icon-chevron-down');
|
||||
$sTogObj.slideUp(200);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
2
modules/admin/tpl/js/admin.min.js
vendored
2
modules/admin/tpl/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue