From 27a279e7c1185028783f8ed7afe02779e89fa34a Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Tue, 7 Apr 2009 18:16:16 +0000 Subject: Down playing the Register link's styles so it doesn't battle for attention when anon_notice is present. --- theme/default/css/display.css | 9 --------- theme/identica/css/display.css | 8 -------- 2 files changed, 17 deletions(-) (limited to 'theme') diff --git a/theme/default/css/display.css b/theme/default/css/display.css index bf46fc6bf..e240f255f 100644 --- a/theme/default/css/display.css +++ b/theme/default/css/display.css @@ -37,7 +37,6 @@ background:none; input.submit, #form_notice.warning #notice_text-count, -#nav_register a, .form_settings .form_note, .entity_remote_subscribe { background-color:#A9BF4F; @@ -48,7 +47,6 @@ input:focus, textarea:focus, select:focus, border-color:#A9BF4F; } input.submit, -#nav_register a, .entity_remote_subscribe { color:#fff; } @@ -97,13 +95,6 @@ cursor:wait; text-indent:-9999px; } - -#nav_register a { -text-decoration:none; -font-weight:bold; -padding:2px 4px; -} - #content, #site_nav_local_views a, #aside_primary { diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css index 9e7c10ac5..893942031 100644 --- a/theme/identica/css/display.css +++ b/theme/identica/css/display.css @@ -37,7 +37,6 @@ background:none; input.submit, #form_notice.warning #notice_text-count, -#nav_register a, .form_settings .form_note, .entity_remote_subscribe { background-color:#9BB43E; @@ -48,7 +47,6 @@ input:focus, textarea:focus, select:focus, border-color:#9BB43E; } input.submit, -#nav_register a, .entity_remote_subscribe { color:#fff; } @@ -97,12 +95,6 @@ cursor:wait; text-indent:-9999px; } -#nav_register a { -text-decoration:none; -font-weight:bold; -padding:2px 4px; -} - #content, #site_nav_local_views a, #aside_primary { -- cgit v1.2.3-54-g00ecf From c42995e3a2d4bd93881ffd5d3bfea4f6ce427d0a Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Tue, 7 Apr 2009 20:02:42 +0000 Subject: Minimum height for content and aside area. --- theme/base/css/display.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'theme') diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 4c9b52254..0ce80cdde 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -384,6 +384,7 @@ margin-bottom:1em; #content { width:64.009%; +min-height:259px; padding:1.795%; float:left; border-radius:7px; @@ -403,6 +404,7 @@ float:left; #aside_primary { width:27.917%; +min-height:259px; float:left; margin-left:0.395%; padding:1.795%; -- cgit v1.2.3-54-g00ecf From 658462ce855e5ce4325c1b7233dc83b10b14cced Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Tue, 7 Apr 2009 21:02:47 +0000 Subject: Markup and styles for search help and errors --- lib/searchaction.php | 5 ++++- theme/base/css/display.css | 16 +++++++++++++--- theme/identica/css/display.css | 4 ++-- 3 files changed, 19 insertions(+), 6 deletions(-) (limited to 'theme') diff --git a/lib/searchaction.php b/lib/searchaction.php index 918f8dd9a..e7ad4affd 100644 --- a/lib/searchaction.php +++ b/lib/searchaction.php @@ -152,8 +152,11 @@ You can also try your search on other engines: E_O_T ), $qe, $qe, $qe, $qe); - $this->elementStart('div', 'blankfiller'); + $this->elementStart('dl', array('id' => 'help_search', 'class' => 'help')); + $this->element('dt', null, _('Search help')); + $this->elementStart('dd', 'instructions'); $this->raw(common_markup_to_html($message)); + $this->elementEnd('dd'); $this->elementEnd('div'); } } diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 0ce80cdde..6c3c7e912 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -83,12 +83,13 @@ left:0; border:0; } -#page_notice .error, -#page_notice .success { +.error, +.success { padding:4px 7px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; +margin-bottom:18px; } form label.submit { display:none; @@ -1145,4 +1146,13 @@ clear:both; margin-bottom:0; } - +.instructions ul { +list-style-position:inside; +} +.instructions p, +.instructions ul { +margin-bottom:18px; +} +.help dt { +display:none; +} diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css index 893942031..8edb005a6 100644 --- a/theme/identica/css/display.css +++ b/theme/identica/css/display.css @@ -113,10 +113,10 @@ background-color:rgba(255, 255, 255, 0.7); } -#page_notice .error { +.error { background-color:#F7E8E8; } -#page_notice .success { +.success { background-color:#EFF3DC; } -- cgit v1.2.3-54-g00ecf From 5dfc09d9d265d1e2e918f9dd615f89909c6c4e74 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Tue, 7 Apr 2009 21:04:24 +0000 Subject: Minor adjustment for error/success styles in default stylesheet --- theme/default/css/display.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'theme') diff --git a/theme/default/css/display.css b/theme/default/css/display.css index e240f255f..42e29374f 100644 --- a/theme/default/css/display.css +++ b/theme/default/css/display.css @@ -113,10 +113,10 @@ background-color:rgba(255, 255, 255, 0.7); } -#page_notice .error { +.error { background-color:#F7E8E8; } -#page_notice .success { +.success { background-color:#EFF3DC; } -- cgit v1.2.3-54-g00ecf From a839daad2ecbf8430f518e8690cc509885973e82 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Tue, 7 Apr 2009 23:45:22 +0000 Subject: HTML br is not needed. Using 'clear' in CSS instead. --- actions/showstream.php | 1 - theme/base/css/display.css | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'theme') diff --git a/actions/showstream.php b/actions/showstream.php index cb40d1302..4181a2bab 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -345,7 +345,6 @@ class ShowstreamAction extends ProfileAction $message .= sprintf(_('Why not [register an account](%%%%action.register%%%%) and then nudge %s or post a notice to his or her attention.'), $this->user->nickname); } - $this->element('br', array('clear' => 'both')); $this->elementStart('div', 'guide'); $this->raw(common_markup_to_html($message)); $this->elementEnd('div'); diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 6c3c7e912..dfac7712a 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1156,3 +1156,6 @@ margin-bottom:18px; .help dt { display:none; } +.guide { +clear:both; +} -- cgit v1.2.3-54-g00ecf From 3d536300aae76f8e17229f9876b17b61ba09bc3b Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Wed, 8 Apr 2009 18:52:05 +0000 Subject: Minor update for 800px width viewport --- theme/base/css/display.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'theme') diff --git a/theme/base/css/display.css b/theme/base/css/display.css index dfac7712a..03b688073 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -407,7 +407,7 @@ float:left; width:27.917%; min-height:259px; float:left; -margin-left:0.395%; +margin-left:0.385%; padding:1.795%; border-radius:7px; -moz-border-radius:7px; -- cgit v1.2.3-54-g00ecf From 7fc90d5c5c96a0304a2a668ed3e13549306b6460 Mon Sep 17 00:00:00 2001 From: Meitar Moscovitz Date: Wed, 8 Apr 2009 15:26:27 -0400 Subject: Remove extranneous bottom margins on label; fix Safari layout bug. This margin causes a layout bug in Safari whereby the Inbox and Outbox pages have a notice form textarea that's too wide, causing it to slide beneath the "Send" button on those pages. Removing this margin seems to be completely innocuous in my tests, which covered Safari, Firefox, Opera, and Internet Explorer 7. Can less be more? :) --- theme/base/css/display.css | 1 - 1 file changed, 1 deletion(-) (limited to 'theme') diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 03b688073..5d0ed9915 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -443,7 +443,6 @@ padding:7px 7px 16px 7px; display:block; float:left; font-size:1.3em; -margin-bottom:7px; } #form_notice #notice_submit label { display:none; -- cgit v1.2.3-54-g00ecf From 1ac66b39969f8d67805afff5cca88040a625e30c Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Wed, 8 Apr 2009 19:59:59 +0000 Subject: Using 800px width and using document.title if no text is selected. --- doc-src/bookmarklet | 3 +-- theme/base/css/display.css | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'theme') diff --git a/doc-src/bookmarklet b/doc-src/bookmarklet index a7f459eec..a2aaf943d 100644 --- a/doc-src/bookmarklet +++ b/doc-src/bookmarklet @@ -3,6 +3,5 @@ A bookmarklet is a small piece of javascript code used as a bookmark. This one w Drag-and-drop the following link to your bookmarks bar or right-click it and add it to your browser favorites to keep it handy. -Post to %%site.name%% +Post to %%site.name%% - diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 03b688073..aa5655369 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1158,4 +1158,4 @@ display:none; } .guide { clear:both; -} +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf From 070cd3533c3474dc065c6681befb92dac51f4bf7 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Wed, 8 Apr 2009 20:54:37 +0000 Subject: Fixes the issue mentioned in commit 7fc90d5. Changed the margin value that's specific to the Inbox/Outbox page only. --- theme/base/css/display.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'theme') diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 1166ae63b..8ea2befb4 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -443,6 +443,7 @@ padding:7px 7px 16px 7px; display:block; float:left; font-size:1.3em; +margin-bottom:7px; } #form_notice #notice_submit label { display:none; @@ -471,7 +472,7 @@ bottom:0; right:0; } #form_notice label[for=to] { -margin-top:11px; +margin-top:7px; } #form_notice select[id=to] { margin-bottom:7px; -- cgit v1.2.3-54-g00ecf