Feature #3033 » chamilo_1895_52b859c75a48.patch
common/libraries/resources/css/aqua/common_form.css | ||
---|---|---|
|
||
input.height {
|
||
background-image: url(../../images/aqua/buttons/button_height.png);
|
||
}
|
||
|
||
|
||
/*
|
||
* Collapsible
|
||
*/
|
||
|
||
div .expanded a{
|
||
background-image: url(../../images/aqua/action_toggle_show.png);
|
||
background-position: right center;
|
||
background-repeat: no-repeat;
|
||
padding-right: 16px;
|
||
}
|
||
|
||
div .collapsed{
|
||
padding-bottom: 0px;
|
||
height:10px;
|
||
}
|
||
|
||
div .collapsed .row{
|
||
display: none;
|
||
}
|
||
|
||
div .collapsed a{
|
||
background-image: url(../../images/aqua/action_toggle_hide.png);
|
||
background-position: right center;
|
||
background-repeat: no-repeat;
|
||
padding-right: 10px;
|
||
}
|
||
|
||
|
||
div .collapsed div{
|
||
display:none;
|
||
}
|
common/libraries/resources/css/ruby/common_form.css | ||
---|---|---|
|
||
input.height {
|
||
background-image: url(../../images/ruby/buttons/button_height.png);
|
||
}
|
||
|
||
/*
|
||
* Collapsible
|
||
*/
|
||
|
||
div .expanded a{
|
||
background-image: url(../../images/ruby/action_toggle_show.png);
|
||
background-position: right center;
|
||
background-repeat: no-repeat;
|
||
padding-right: 16px;
|
||
}
|
||
|
||
div .collapsed{
|
||
padding-bottom: 0px;
|
||
height:10px;
|
||
}
|
||
|
||
div .collapsed .row{
|
||
display: none;
|
||
}
|
||
|
||
div .collapsed a{
|
||
background-image: url(../../images/ruby/action_toggle_hide.png);
|
||
background-position: right center;
|
||
background-repeat: no-repeat;
|
||
padding-right: 10px;
|
||
}
|
||
|
||
|
||
div .collapsed div{
|
||
display:none;
|
||
}
|
common/libraries/resources/javascript/collapse_horizontal.js | ||
---|---|---|
$(document).ready(function()
|
||
{
|
||
//$('.collapsed .row').hide();
|
||
$('div.collapsible').bind('click', me_toggle);
|
||
function me_toggle()
|
||
{
|
||
$('.collapsible .row').toggle();
|
||
if($(this).is('.collapsed')){
|
||
$(this).removeClass('collapsed');
|
||
$(this).addClass('expanded');
|
||
}else{
|
||
$(this).addClass('collapsed');
|
||
$(this).removeClass('expanded');
|
||
}
|
||
return false;
|
||
}
|
||
});
|