From: Samantha Doherty Date: Tue, 5 Apr 2011 16:38:15 +0000 (-0400) Subject: Style changes for privacy selectors and markers. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5bc6a8c614d371529972183fc75531cbeaa25585;p=quix0rs-gnu-social.git Style changes for privacy selectors and markers. --- diff --git a/lib/toselector.php b/lib/toselector.php index 7234a603d8..bcbfe86ec9 100644 --- a/lib/toselector.php +++ b/lib/toselector.php @@ -118,10 +118,12 @@ class ToSelector extends Widget false, $default); + $this->out->elementStart('span', 'checkbox-wrapper'); $this->out->checkbox('notice_private', // TRANS: Checkbox label in widget for selecting potential addressees to mark the notice private. - _('Private'), + _('Private?'), $this->private); + $this->out->elementEnd('span'); } static function fillOptions($action, &$options) diff --git a/theme/neo/README b/theme/neo/README index 39d9e0f060..42e1b4763c 100644 --- a/theme/neo/README +++ b/theme/neo/README @@ -1,2 +1,6 @@ Default avatars are modified from an image by Francesco 'Architetto' Rollandin. 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 diff --git a/theme/neo/css/display.css b/theme/neo/css/display.css index 5659ca3ae1..61258bfab6 100644 --- a/theme/neo/css/display.css +++ b/theme/neo/css/display.css @@ -286,7 +286,7 @@ address { padding-bottom: 15px; } -#input_form_status { +#input_form_status, #input_form_direct { padding-bottom: 45px; } @@ -333,6 +333,10 @@ address { font-size: 1.2em; } +#form_notice-direct.form_notice textarea { + width: 498px; +} + .form_notice label.notice_data-attach { top: 0px; right: 0px; @@ -355,6 +359,11 @@ address { z-index: 99; } +#form_notice-direct.form_notice .count { + top: 80px; + right: 10px; +} + .form_notice #notice_action-submit { position: absolute; top: 100%; @@ -397,6 +406,52 @@ address { 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 { width: 218px; float: left; @@ -1246,6 +1301,20 @@ table.profile_list tr.alt { 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 */ #content .question .entry-title, #content .qna-full-question .entry-title { diff --git a/theme/neo/images/lock.png b/theme/neo/images/lock.png new file mode 100644 index 0000000000..2ebc4f6f96 Binary files /dev/null and b/theme/neo/images/lock.png differ diff --git a/theme/neo/images/lock_open.png b/theme/neo/images/lock_open.png new file mode 100644 index 0000000000..a471765ff1 Binary files /dev/null and b/theme/neo/images/lock_open.png differ