From 785ffd5b9b70ea1614ba66b3c7b195f39027eeb6 Mon Sep 17 00:00:00 2001 From: sarven Date: Thu, 22 Jan 2009 21:03:59 +0000 Subject: Populat notices and some css cleanup --- theme/base/css/display.css | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'theme/base/css/display.css') diff --git a/theme/base/css/display.css b/theme/base/css/display.css index c55b3fd23..2208529c0 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -799,7 +799,7 @@ display:inline; #laconicat .notice p.entry-content { /*margin-left:199px;*/ } -.notice p.entry-content a:visited { +#content .notice p.entry-content a:visited { border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; @@ -1061,7 +1061,6 @@ background-color:#fff; text-align:left; text-transform:uppercase; } - #top_posters thead { display:none; } @@ -1071,15 +1070,30 @@ width:199px; #top_poster_number-of-notices { width:123px; } -#top_posters tbody td { + +.section tbody td { padding-right:11px; -padding-bottom:4px; +padding-bottom:11px; } -#top_posters img { +.section .vcard .photo { margin-right:7px; margin-bottom:0; } +.section .notice { +padding-top:11px; +padding-bottom:11px; + +} + +.section .notice:first { +border-top:0; +} + + + + + /* tagcloud */ .tag-cloud { list-style-type:none; -- cgit v1.2.3-54-g00ecf From f6f71ea0ee8b8efb288f9abdf62b7850a18fe7cd Mon Sep 17 00:00:00 2001 From: sarven Date: Thu, 22 Jan 2009 21:07:11 +0000 Subject: Minor --- lib/topposterssection.php | 4 ++-- theme/base/css/display.css | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'theme/base/css/display.css') diff --git a/lib/topposterssection.php b/lib/topposterssection.php index 4701ca83f..786973093 100644 --- a/lib/topposterssection.php +++ b/lib/topposterssection.php @@ -73,7 +73,7 @@ class TopPostersSection extends ProfileSection { $this->out->elementStart('tr'); $this->out->elementStart('td'); - $this->out->elementStart('span', 'vcard'); + $this->out->elementStart('span', 'vcard'); $this->out->elementStart('a', array('title' => ($profile->fullname) ? $profile->fullname : $profile->nickname, @@ -89,7 +89,7 @@ class TopPostersSection extends ProfileSection $profile->fullname : $profile->nickname)); $this->out->element('span', 'fn nickname', $profile->nickname); - $this->out->elementEnd('span'); + $this->out->elementEnd('span'); $this->out->elementEnd('a'); $this->out->elementEnd('td'); if ($profile->value) { diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 2208529c0..5d2a0d3c4 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -716,7 +716,8 @@ float:left; width:644px; width:96.699%; width:100%; -border-top:1px dashed #D1D9E4; +border-top-width:1px; +border-top-style:dashed; /*-moz-border-radius:7px;*/ } .notices li { @@ -1086,7 +1087,8 @@ padding-bottom:11px; } -.section .notice:first { +.section .notice:first-child { +padding-top:0; border-top:0; } -- cgit v1.2.3-54-g00ecf From 251551fee68f8941b5f64ea4afbe34d13b09a77d Mon Sep 17 00:00:00 2001 From: sarven Date: Thu, 22 Jan 2009 21:47:33 +0000 Subject: Group top post section and styles --- lib/groupsection.php | 14 +++++++++----- theme/base/css/display.css | 4 ++++ theme/identica/css/display.css | 2 +- 3 files changed, 14 insertions(+), 6 deletions(-) (limited to 'theme/base/css/display.css') diff --git a/lib/groupsection.php b/lib/groupsection.php index bf26ab48c..c19299493 100644 --- a/lib/groupsection.php +++ b/lib/groupsection.php @@ -58,13 +58,13 @@ class GroupSection extends Section $cnt = 0; - $this->out->elementStart('ul', 'entities group xoxo'); + $this->out->elementStart('table'); while ($profiles->fetch() && ++$cnt <= GROUPS_PER_SECTION) { $this->showGroup($profiles); } - $this->out->elementEnd('ul'); + $this->out->elementEnd('table'); return ($cnt > GROUPS_PER_SECTION); } @@ -76,7 +76,9 @@ class GroupSection extends Section function showGroup($group) { - $this->out->elementStart('li', 'vcard'); + $this->out->elementStart('tr'); + $this->out->elementStart('td'); + $this->out->elementStart('span', 'vcard'); $this->out->elementStart('a', array('title' => ($group->fullname) ? $group->fullname : $group->nickname, @@ -95,9 +97,11 @@ class GroupSection extends Section $group->nickname)); $this->out->element('span', 'fn org nickname', $group->nickname); $this->out->elementEnd('a'); + $this->out->elementEnd('span'); + $this->out->elementEnd('td'); if ($group->value) { - $this->out->element('span', 'value', $group->value); + $this->out->element('td', 'value', $group->value); } - $this->out->elementEnd('li'); + $this->out->elementEnd('tr'); } } diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 5d2a0d3c4..3f34ee7b2 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -841,6 +841,10 @@ display:inline; .notice div.entry-content .timestamp { margin-left:59px; } +#showstream .notice div.entry-content .timestamp { +margin-left:0; +} + .notice div.entry-content .timestamp dt, .notice div.entry-content .response dt { diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css index c10f46fe9..dd623b217 100644 --- a/theme/identica/css/display.css +++ b/theme/identica/css/display.css @@ -226,7 +226,7 @@ background:transparent url(../images/icons/twotone/green/trash.gif) no-repeat 0 .notices div.entry-content, .notices div.notice-options { -opacity:0.3; +opacity:0.4; } .notices li.hover div.entry-content, .notices li.hover div.notice-options { -- cgit v1.2.3-54-g00ecf From e8e0c74f8a517f83248873e16fed8a96d72af54f Mon Sep 17 00:00:00 2001 From: sarven Date: Thu, 22 Jan 2009 22:48:20 +0000 Subject: Reduced top and bottom notice whitespace. Reduced form notice textarea height. --- theme/base/css/display.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'theme/base/css/display.css') diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 3f34ee7b2..596ce42f4 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -393,7 +393,7 @@ border-radius:7px; -webkit-border-radius:7px; width:377px; width:370px; -height:86px; +height:67px; line-height:1.5; padding:7px 7px 16px 7px; } @@ -418,7 +418,7 @@ margin-left:4px; #form_notice .form_note { position:absolute; -top:118px; +top:99px; right:98px; z-index:9; } @@ -709,8 +709,8 @@ margin-right:11px; .notice, .profile { position:relative; -padding-top:18px; -padding-bottom:18px; +padding-top:11px; +padding-bottom:11px; clear:both; float:left; width:644px; -- cgit v1.2.3-54-g00ecf From 2935e8c7ce3a9a31b9191d4a02cb8cab348c68e6 Mon Sep 17 00:00:00 2001 From: sarven Date: Fri, 23 Jan 2009 00:20:05 +0000 Subject: Minor markup fix --- actions/showgroup.php | 4 +++- lib/tagcloudsection.php | 5 +++++ theme/base/css/display.css | 15 ++------------- 3 files changed, 10 insertions(+), 14 deletions(-) (limited to 'theme/base/css/display.css') diff --git a/actions/showgroup.php b/actions/showgroup.php index 6e2f939f9..8d8fbe6be 100644 --- a/actions/showgroup.php +++ b/actions/showgroup.php @@ -351,7 +351,7 @@ class ShowgroupAction extends Action return; } - $this->elementStart('div', array('id' => 'entity_subscriptions', + $this->elementStart('div', array('id' => 'entity_members', 'class' => 'section')); $this->element('h2', null, _('Members')); @@ -369,5 +369,7 @@ class ShowgroupAction extends Action array('nickname' => $this->group->nickname))), _('All members')); } + + $this->elementEnd('div'); } } diff --git a/lib/tagcloudsection.php b/lib/tagcloudsection.php index 1a7f721b2..178dd88ca 100644 --- a/lib/tagcloudsection.php +++ b/lib/tagcloudsection.php @@ -116,4 +116,9 @@ class TagCloudSection extends Section { return common_local_url('tag', array('tag' => $tag)); } + + function divId() + { + return 'tagcloud'; + } } diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 596ce42f4..46bce79ed 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -812,11 +812,11 @@ border-radius:4px; } .notice div.entry-content { -/*border:1px solid blue;*/ clear:left; float:left; -/*width:48%;*/ font-size:0.95em; +margin-left:59px; +width:70%; } .notice div.entry-content a, .notice .notice-options a, @@ -829,22 +829,11 @@ float:left; font-size:1.025em; } -#laconicat .notice div.entry-content { -/*margin-left:0;*/ -} - .notice div.entry-content dl, .notice div.entry-content dt, .notice div.entry-content dd { display:inline; } -.notice div.entry-content .timestamp { -margin-left:59px; -} -#showstream .notice div.entry-content .timestamp { -margin-left:0; -} - .notice div.entry-content .timestamp dt, .notice div.entry-content .response dt { -- cgit v1.2.3-54-g00ecf From f3bbc9863b58c9a30d559bc423f693b774bdcc3b Mon Sep 17 00:00:00 2001 From: sarven Date: Fri, 23 Jan 2009 00:25:47 +0000 Subject: Minor --- theme/base/css/display.css | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'theme/base/css/display.css') diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 46bce79ed..54a5b8833 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -818,11 +818,10 @@ font-size:0.95em; margin-left:59px; width:70%; } -.notice div.entry-content a, -.notice .notice-options a, -.notice .notice-options input { - +#showstream .notice div.entry-content { +margin-left:0; } + .notice .notice-options a, .notice .notice-options input { float:left; @@ -845,14 +844,6 @@ display:inline-block; .notice div.entry-content .device dt { text-transform:lowercase; } -.notice div.entry-content a { - -} -.notice div.entry-content a:hover { -} - - - -- cgit v1.2.3-54-g00ecf