forked from GNUsocial/gnu-social
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x
This commit is contained in:
commit
c0f3204a10
@ -148,12 +148,12 @@ class NoticeForm extends Form
|
|||||||
$this->out->element('dd', array('id' => 'notice_text-count'),
|
$this->out->element('dd', array('id' => 'notice_text-count'),
|
||||||
'140');
|
'140');
|
||||||
$this->out->elementEnd('dl');
|
$this->out->elementEnd('dl');
|
||||||
$this->out->hidden('MAX_FILE_SIZE', common_config('attachments', 'file_quota'));
|
$this->out->element('label', array('for' => 'notice_data-attach'),_('Attach'));
|
||||||
$this->out->element('label', array('for' => 'notice_data-attach'), _('Attach'));
|
|
||||||
$this->out->element('input', array('id' => 'notice_data-attach',
|
$this->out->element('input', array('id' => 'notice_data-attach',
|
||||||
'type' => 'file',
|
'type' => 'file',
|
||||||
'name' => 'attach',
|
'name' => 'attach',
|
||||||
'title' => _('Attach a file')));
|
'title' => _('Attach a file')));
|
||||||
|
$this->out->hidden('MAX_FILE_SIZE', common_config('attachments', 'file_quota'));
|
||||||
if ($this->action) {
|
if ($this->action) {
|
||||||
$this->out->hidden('notice_return-to', $this->action, 'returnto');
|
$this->out->hidden('notice_return-to', $this->action, 'returnto');
|
||||||
}
|
}
|
||||||
|
@ -445,6 +445,8 @@ width:80.789%;
|
|||||||
height:67px;
|
height:67px;
|
||||||
line-height:1.5;
|
line-height:1.5;
|
||||||
padding:7px 7px 16px 7px;
|
padding:7px 7px 16px 7px;
|
||||||
|
position:relative;
|
||||||
|
z-index:2;
|
||||||
}
|
}
|
||||||
#form_notice label {
|
#form_notice label {
|
||||||
display:block;
|
display:block;
|
||||||
@ -452,23 +454,23 @@ float:left;
|
|||||||
font-size:1.3em;
|
font-size:1.3em;
|
||||||
margin-bottom:7px;
|
margin-bottom:7px;
|
||||||
}
|
}
|
||||||
#form_notice label[for=notice_data-attach] {
|
|
||||||
text-indent:-9999px;
|
|
||||||
}
|
|
||||||
#form_notice label[for=notice_data-attach],
|
#form_notice label[for=notice_data-attach],
|
||||||
#form_notice #notice_data-attach {
|
#form_notice #notice_data-attach {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:25px;
|
top:25px;
|
||||||
right:49px;
|
|
||||||
width:16px;
|
|
||||||
height:16px;
|
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
}
|
}
|
||||||
#form_notice #notice_data-attach {
|
#form_notice label[for=notice_data-attach] {
|
||||||
text-indent:-279px;
|
text-indent:-9999px;
|
||||||
|
left:394px;
|
||||||
|
width:16px;
|
||||||
|
height:16px;
|
||||||
}
|
}
|
||||||
#form_notice #notice_submit label {
|
#form_notice #notice_data-attach {
|
||||||
display:none;
|
left:183px;
|
||||||
|
padding:0;
|
||||||
|
|
||||||
|
height:16px;
|
||||||
}
|
}
|
||||||
#form_notice .form_note {
|
#form_notice .form_note {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
|
@ -8,6 +8,15 @@ top:0;
|
|||||||
#form_notice textarea {
|
#form_notice textarea {
|
||||||
width:78%;
|
width:78%;
|
||||||
}
|
}
|
||||||
|
#form_notice .form_note + label {
|
||||||
|
position:absolute;
|
||||||
|
top:25px;
|
||||||
|
left:380px;
|
||||||
|
text-indent:-9999px;
|
||||||
|
height:16px;
|
||||||
|
width:16px;
|
||||||
|
display:block;
|
||||||
|
}
|
||||||
#form_notice #notice_action-submit {
|
#form_notice #notice_action-submit {
|
||||||
width:17%;
|
width:17%;
|
||||||
max-width:17%;
|
max-width:17%;
|
||||||
|
@ -3,7 +3,12 @@
|
|||||||
.notice-options input.submit {
|
.notice-options input.submit {
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#site_nav_local_views a {
|
#site_nav_local_views a {
|
||||||
background-color:#ACCCDA;
|
background-color:#ACCCDA;
|
||||||
}
|
}
|
||||||
|
#form_notice .form_note + label {
|
||||||
|
background:transparent url(../../base/images/icons/twotone/green/clip-01.gif) no-repeat 0 45%;
|
||||||
|
}
|
||||||
|
#form_notice #notice_data-attach {
|
||||||
|
filter: alpha(opacity=0);
|
||||||
|
}
|
@ -3,7 +3,12 @@
|
|||||||
.notice-options input.submit {
|
.notice-options input.submit {
|
||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#site_nav_local_views a {
|
#site_nav_local_views a {
|
||||||
background-color:#D0DFE7;
|
background-color:#D0DFE7;
|
||||||
}
|
}
|
||||||
|
#form_notice .form_note + label {
|
||||||
|
background:transparent url(../../base/images/icons/twotone/green/clip-01.gif) no-repeat 0 45%;
|
||||||
|
}
|
||||||
|
#form_notice #notice_data-attach {
|
||||||
|
filter: alpha(opacity=0);
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user