forked from GNUsocial/gnu-social
Style changes for privacy selectors and markers.
This commit is contained in:
parent
6a7f3501e5
commit
5bc6a8c614
@ -118,10 +118,12 @@ class ToSelector extends Widget
|
|||||||
false,
|
false,
|
||||||
$default);
|
$default);
|
||||||
|
|
||||||
|
$this->out->elementStart('span', 'checkbox-wrapper');
|
||||||
$this->out->checkbox('notice_private',
|
$this->out->checkbox('notice_private',
|
||||||
// TRANS: Checkbox label in widget for selecting potential addressees to mark the notice private.
|
// TRANS: Checkbox label in widget for selecting potential addressees to mark the notice private.
|
||||||
_('Private'),
|
_('Private?'),
|
||||||
$this->private);
|
$this->private);
|
||||||
|
$this->out->elementEnd('span');
|
||||||
}
|
}
|
||||||
|
|
||||||
static function fillOptions($action, &$options)
|
static function fillOptions($action, &$options)
|
||||||
|
@ -1,2 +1,6 @@
|
|||||||
Default avatars are modified from an image by Francesco 'Architetto' Rollandin.
|
Default avatars are modified from an image by Francesco 'Architetto' Rollandin.
|
||||||
http://www.openclipart.org/detail/34957
|
http://www.openclipart.org/detail/34957
|
||||||
|
|
||||||
|
Icons by Mark James
|
||||||
|
http://www.famfamfam.com/lab/icons/silk/
|
||||||
|
http://creativecommons.org/licenses/by/2.5/ Creative Commons Attribution 2.5 License
|
||||||
|
@ -286,7 +286,7 @@ address {
|
|||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#input_form_status {
|
#input_form_status, #input_form_direct {
|
||||||
padding-bottom: 45px;
|
padding-bottom: 45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -333,6 +333,10 @@ address {
|
|||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#form_notice-direct.form_notice textarea {
|
||||||
|
width: 498px;
|
||||||
|
}
|
||||||
|
|
||||||
.form_notice label.notice_data-attach {
|
.form_notice label.notice_data-attach {
|
||||||
top: 0px;
|
top: 0px;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
@ -355,6 +359,11 @@ address {
|
|||||||
z-index: 99;
|
z-index: 99;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#form_notice-direct.form_notice .count {
|
||||||
|
top: 80px;
|
||||||
|
right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.form_notice #notice_action-submit {
|
.form_notice #notice_action-submit {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
@ -397,6 +406,52 @@ address {
|
|||||||
margin-bottom: 10px !important;
|
margin-bottom: 10px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.to-selector {
|
||||||
|
padding-top: 15px;
|
||||||
|
z-index: 99;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form_settings label[for=notice_to] {
|
||||||
|
margin-left: 100px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkbox-wrapper {
|
||||||
|
padding: 2px;
|
||||||
|
clear: left;
|
||||||
|
display: block;
|
||||||
|
margin-left: 26%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form_notice .checkbox-wrapper {
|
||||||
|
display: inline;
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form_settings .checkbox-wrapper label.checkbox {
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-top: 6px;
|
||||||
|
line-height: 1.2em;
|
||||||
|
left: -3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkbox-wrapper #notice_private {
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkbox-wrapper.unchecked label.checkbox {
|
||||||
|
padding-left: 20px;
|
||||||
|
background: url(../images/lock_open.png) no-repeat 0px 0px;
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkbox-wrapper.checked label.checkbox {
|
||||||
|
padding-left: 20px;
|
||||||
|
background: url(../images/lock.png) no-repeat 0px 0px;
|
||||||
|
color: red;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
#aside_primary {
|
#aside_primary {
|
||||||
width: 218px;
|
width: 218px;
|
||||||
float: left;
|
float: left;
|
||||||
@ -1246,6 +1301,20 @@ table.profile_list tr.alt {
|
|||||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FB6104', endColorstr='#fc8035',GradientType=0 );
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FB6104', endColorstr='#fc8035',GradientType=0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Limited-scope specific styles */
|
||||||
|
|
||||||
|
.limited-scope .entry-content .timestamp {
|
||||||
|
padding-left: 20px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.limited-scope .entry-content .timestamp:before {
|
||||||
|
content: url(../images/lock.png);
|
||||||
|
position: absolute;
|
||||||
|
top: -2px;
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
/* QnA specific styles */
|
/* QnA specific styles */
|
||||||
|
|
||||||
#content .question .entry-title, #content .qna-full-question .entry-title {
|
#content .question .entry-title, #content .qna-full-question .entry-title {
|
||||||
|
BIN
theme/neo/images/lock.png
Normal file
BIN
theme/neo/images/lock.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 749 B |
BIN
theme/neo/images/lock_open.png
Normal file
BIN
theme/neo/images/lock_open.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 727 B |
Loading…
Reference in New Issue
Block a user