From 2b6f80af15bd327aed195d22f0b9e3c1311ff4b5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 12 Aug 2008 17:08:14 +0000 Subject: [PATCH] - web: stylesheet tweaks (from Simek) svn path=/trunk/boinc/; revision=15807 --- checkin_notes | 13 +++++++++ html/inc/forum.inc | 4 +-- html/inc/prefs.inc | 8 +++--- html/inc/util.inc | 2 +- html/user/forum_index.php | 10 +++---- html/user/team_members.php | 1 - html/user/white.css | 55 +++++++++++++++++--------------------- 7 files changed, 49 insertions(+), 44 deletions(-) diff --git a/checkin_notes b/checkin_notes index b898a9d307..1f2f7adfd7 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6410,3 +6410,16 @@ Charlie 10 Aug 2008 client/ http_curl.C + +David 12 Aug 2008 + - web: stylesheet tweaks (from Simek) + + html/ + inc/ + forum.inc + prefs.inc + util.inc + user/ + forum_index.php + team_members.php + white.css diff --git a/html/inc/forum.inc b/html/inc/forum.inc index 759b02b7d8..9102ee4253 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -1092,9 +1092,9 @@ function show_thread_and_context($thread, $user, $i) { } echo ' '.($thread->replies+1).' -
'.user_links($owner).'
+ '.user_links($owner).' '.$thread->views.' - '.time_diff_str($thread->timestamp, time()).' + '.time_diff_str($thread->timestamp, time()).' '; } diff --git a/html/inc/prefs.inc b/html/inc/prefs.inc index df165bd82a..04fe9fe739 100644 --- a/html/inc/prefs.inc +++ b/html/inc/prefs.inc @@ -860,7 +860,7 @@ function print_prefs_display_project($user, $columns=false) { if ($columns) { row1("Combined preferences".$switch_link, 2, "heading"); echo ""; - start_table("width=100% border=4"); + start_table(); prefs_show_privacy($user); venue_show($user); row_top("Project specific settings"); @@ -875,7 +875,7 @@ function print_prefs_display_project($user, $columns=false) { row1("Primary (default) preferences".$switch_link, 2, "heading"); } echo ""; - start_table("width=100% border=4"); + start_table(); prefs_show_resource($project_prefs, false); if ($project_has_beta) prefs_show_beta($project_prefs, false); prefs_show_privacy($user); @@ -916,7 +916,7 @@ function print_prefs_display_global($user, $columns=false) { if ($columns) { row1("Combined preferences".$switch_link, 2, "heading"); echo ""; - start_table("width=100% border=4"); + start_table(); prefs_show_columns_global($global_prefs); end_table(); echo "\n"; @@ -926,7 +926,7 @@ function print_prefs_display_global($user, $columns=false) { row1("Primary (default) preferences".$switch_link, 2, "heading"); } echo ""; - start_table("width=100% border=4"); + start_table(); prefs_show_global($global_prefs); $tokens = url_tokens($user->authenticator); row2("
", "Edit preferences"); diff --git a/html/inc/util.inc b/html/inc/util.inc index 7cb3816fa4..6ddd88f37c 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -385,7 +385,7 @@ function print_login_form_aux($next_url, $user) { ); $x = urlencode($next_url); row2("", - "

or create an account/." + "

or create an account." ); if ($user) { row1("Log out"); diff --git a/html/user/forum_index.php b/html/user/forum_index.php index 23ec01a015..f15c7e67f1 100644 --- a/html/user/forum_index.php +++ b/html/user/forum_index.php @@ -56,13 +56,13 @@ function show_forum_summary($forum, $i) { - id\">$t - + id\">$t +
$d - $forum->threads - $forum->posts - ".time_diff_str($forum->timestamp, time())." + $forum->threads + $forum->posts + ".time_diff_str($forum->timestamp, time())." "; } diff --git a/html/user/team_members.php b/html/user/team_members.php index 8782cc902f..e44babed68 100644 --- a/html/user/team_members.php +++ b/html/user/team_members.php @@ -19,7 +19,6 @@ require_once("../inc/util.inc"); require_once("../inc/team.inc"); require_once("../inc/cache.inc"); -require_once("../inc/cache.inc"); if (isset($_GET["sort_by"])) { $sort_by = $_GET["sort_by"]; diff --git a/html/user/white.css b/html/user/white.css index 606238c86f..5806d4c109 100644 --- a/html/user/white.css +++ b/html/user/white.css @@ -27,8 +27,6 @@ h1 { margin: 10px; } -h2, h3, h4 { color: black; } - h3, h4 { font-weight: bold; } hr { @@ -116,9 +114,9 @@ td.friend { text-align: left; } -.row_hd0 { background-color: rgb(207,250,207); } +.row_hd0 { background-color: #cffacf; } -.row_hd1 { background-color: rgb(222,250,222); } +.row_hd1 { background-color: #defade; } tr.message { background-color: #e0e0e0; } @@ -147,7 +145,7 @@ img.userimg { border: 0px; } #news { background-color: #dff0ff; - border: 2px solid lightblue; + border: 2px solid #add8e6; padding: 10px; margin: 4px; -moz-border-radius: 10px; @@ -221,13 +219,24 @@ td.postfooter { tr.helpdeskseperator { height: 10pt; } tr.postseperator { - background-color: rgb(200,200,200); - border: 1px solid rgb(170,170,170); + background-color: #c8c8c8; + border: 1px solid #aaaaaa; margin: 4px 0px; } td.threadline { text-align: left; } +td.numbers { + text-align: center; +} + +td.numbers { + text-align: left; +} + +td.lastpost { +} + .title { font-size: 14px; font-weight: bold; @@ -260,16 +269,11 @@ div.authorcol { .authorcol input { margin: 4px 10px; } -.cellwrap{ - width: 100%; - overflow: auto; -} - blockquote.postbody { - border-left: 2px solid blue; - border-color: blue; - background-color: rgb(240,240,255); - padding: 2px 0px 2px 5px; + border: 1px solid #d7ffea; + border-left: 3px solid #0069a1; + background-color: #f5fffa; + padding: 4px 6px; margin: 0px 100px 0px 15px; font-style: italic; } @@ -281,17 +285,6 @@ blockquote.postbody { word-wrap: break-word; } -td.lastpost { background-color: white; } - -.sigdelim { - width: 60%; - height: 1px; - background-color: black; - color: black; - border: 0px; - margin-right: 100%; -} - span.page_title { font-size: 24px; margin: 20px; @@ -304,7 +297,7 @@ span.note { } span.news_date { - color: rgb(100,100,100); + color: #646464; font-size: 0.9em; } @@ -357,11 +350,11 @@ span.highlight { /* Server Status Page */ -td.running { background-color: #00ff00; } +td.running { background-color: #9aff4f; } -td.notrunning { background-color: #ff0000; } +td.notrunning { background-color: #feff6f; } -td.disabled { background-color: #ff8800; } +td.disabled { background-color: #ff4f4f; } /* IE hack */