CC-2455:Show what i am sending heading

-fixed
This commit is contained in:
james 2011-06-29 17:28:51 -04:00
parent 3f8e61f949
commit 43c8a28633
5 changed files with 44 additions and 18 deletions

View file

@ -129,12 +129,10 @@
<?php endif; ?>
</dd>
</dl>
<h3 class="collapsible-header">
<span class="arrow-icon"></span>Show me what I am sending
</h3>
<div class="collapsible-content" id="show_what_sending" style="display: none;">
<fieldset class="display_field">
<div id="show_what_sending" style="display: block;">
<fieldset class="display_field toggle closed">
<legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span>Show me what I am sending </legend>
<dl>
<?php echo $this->element->getElement('SendInfo') ?>
</dl>

View file

@ -149,12 +149,10 @@
</dd>
</dl>
</fieldset>
<h3 class="collapsible-header">
<span class="arrow-icon"></span>Show me what I am sending
</h3>
<div class="collapsible-content" id="show_what_sending" style="display: none;">
<fieldset class="display_field">
<div id="show_what_sending" style="display: block;">
<fieldset class="display_field toggle closed">
<legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span>Show me what I am sending </legend>
<dl>
<?php echo $this->element->getElement('SendInfo') ?>
</dl>

View file

@ -1736,8 +1736,8 @@ button.ui-button.md-cancel {
}
fieldset.display_field {
background-color:#d5d5d5;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2) inset;
/*background-color:#d5d5d5;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2) inset;*/
padding:10px;
border: 1px solid #8F8F8F;
}
@ -1838,6 +1838,26 @@ label span {
float:left;
}
fieldset > legend {
color: #4F4F4F;
font-size: 12px;
line-height: 140%;
}
fieldset.closed, fieldset.display_field.closed {
border-width: 1px 0 0;
margin-bottom: -6px;
margin-left: 1px;
}
fieldset.closed dl, fieldset.closed textarea, fieldset.closed div {
display:none;
}
fieldset legend .ui-icon, .ui-widget-content fieldset legend .ui-icon {
background-image: url(redmond/images/ui-icons_454545_256x240.png);
float: left;
}
input[type="checkbox"][disabled] {
opacity: 0.6;
}

View file

@ -92,6 +92,11 @@ $(document).ready(function(){
$("#link_to_privacy").live('click', function(){
window.open("http://www.sourcefabric.org/en/about/policy/");
});
$('.toggle legend').live('click',function() {
$('.toggle').toggleClass('closed');
return false;
});
});
function validateFields(){

View file

@ -67,4 +67,9 @@ $(document).ready(function() {
$("#link_to_privacy").live('click', function(){
window.open("http://www.sourcefabric.org/en/about/policy/");
});
$('.toggle legend').click(function() {
$('.toggle').toggleClass('closed');
return false;
});
});