Updated Repeat notice option submit button style

This commit is contained in:
Sarven Capadisli 2009-12-23 15:59:31 -05:00
parent bc4f1824ea
commit 05c1ad8b32
4 changed files with 12 additions and 6 deletions

View File

@ -345,6 +345,7 @@ var SN = { // StatusNet
var submit = form.find('.submit').clone(); var submit = form.find('.submit').clone();
submit.addClass('submit_dialogbox'); submit.addClass('submit_dialogbox');
submit.removeClass('submit');
form.append(submit); form.append(submit);
$(this).hide(); $(this).hide();

View File

@ -104,7 +104,7 @@ class RepeatForm extends Form
*/ */
function formLegend() function formLegend()
{ {
$this->out->element('legend', null, _('Repeat this notice')); $this->out->element('legend', null, _('Repeat this notice?'));
} }
/** /**
@ -129,7 +129,7 @@ class RepeatForm extends Form
function formActions() function formActions()
{ {
$this->out->submit('repeat-submit-' . $this->notice->id, $this->out->submit('repeat-submit-' . $this->notice->id,
_('Repeat'), 'submit', null, _('Repeat this notice')); _('Yes'), 'submit', null, _('Repeat this notice'));
} }
/** /**

View File

@ -1027,15 +1027,17 @@ display:block !important;
margin-right:18px; margin-right:18px;
} }
.form_repeat.dialogbox legend:after { .dialogbox button.close {
content:'?';
}
.dialogbox button {
position:absolute; position:absolute;
right:3px; right:3px;
top:3px; top:3px;
} }
.dialogbox .submit_dialogbox {
text-indent:0;
font-weight:bold;
}
.notice-options { .notice-options {
position:relative; position:relative;
font-size:0.95em; font-size:0.95em;

View File

@ -88,6 +88,7 @@ color:#FFFFFF;
border-color:transparent; border-color:transparent;
text-shadow:none; text-shadow:none;
} }
.dialogbox .submit_dialogbox,
input.submit, input.submit,
.form_notice input.submit { .form_notice input.submit {
background:#AAAAAA url(../../base/images/illustrations/illu_pattern-01.png) 0 0 repeat-x; background:#AAAAAA url(../../base/images/illustrations/illu_pattern-01.png) 0 0 repeat-x;
@ -97,9 +98,11 @@ border-color:#AAAAAA;
border-top-color:#CCCCCC; border-top-color:#CCCCCC;
border-left-color:#CCCCCC; border-left-color:#CCCCCC;
} }
.dialogbox .submit_dialogbox:hover,
input.submit:hover { input.submit:hover {
background-position:0 -5px; background-position:0 -5px;
} }
.dialogbox .submit_dialogbox:focus,
input.submit:focus { input.submit:focus {
background-position:0 -15px; background-position:0 -15px;
box-shadow:3px 3px 3px rgba(194, 194, 194, 0.1); box-shadow:3px 3px 3px rgba(194, 194, 194, 0.1);