Merge lp:~ronnie.vd.c/ubuntu-nl-artwork/light-smf-theme into lp:ubuntu-nl-artwork/website-theme

Proposed by Ronnie
Status: Merged
Merged at revision: 20
Proposed branch: lp:~ronnie.vd.c/ubuntu-nl-artwork/light-smf-theme
Merge into: lp:ubuntu-nl-artwork/website-theme
Diff against target: 378 lines (+114/-120)
3 files modified
BoardIndex.template.php (+30/-38)
css/default.css (+73/-70)
index.template.php (+11/-12)
To merge this branch: bzr merge lp:~ronnie.vd.c/ubuntu-nl-artwork/light-smf-theme
Reviewer Review Type Date Requested Status
Ronnie (community) Approve
Review via email: mp+34856@code.launchpad.net

Description of the change

Icons from Thomas - Partly cleaned HTML/CSS - Less table structure in boardlayout - Wider white border

To post a comment you must log in.
Revision history for this message
Ronnie (ronnie.vd.c) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'BoardIndex.template.php'
2--- BoardIndex.template.php 2010-08-16 07:54:50 +0000
3+++ BoardIndex.template.php 2010-09-08 13:30:58 +0000
4@@ -6,8 +6,7 @@
5 global $context, $settings, $options, $txt, $scripturl, $modSettings;
6
7 echo '
8- <div id="boardindex_table">
9- <table class="table_list">';
10+ <div id="boardindex_table" class="table_list">';
11
12 /* Each category in categories is made up of:
13 id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?),
14@@ -20,30 +19,26 @@
15 continue;
16
17 echo '
18- <tbody class="smf-cat-header">
19- <tr>
20- <td colspan="4" class="catbg"><span class="left"></span>';
21+ <div class="smf-cat">
22+ <div class="smf-cat-header shadow round">
23+ <div class="catbg">
24+ <span class="left"></span>';
25
26 // If this category even can collapse, show a link to collapse it.
27 if ($category['can_collapse'])
28 echo '
29- <a class="collapse" href="', $category['collapse_href'], '">', $category['collapse_image'], '</a>';
30+ <a class="collapse" href="', $category['collapse_href'], '">', $category['collapse_image'], '</a>';
31
32 if (!$context['user']['is_guest'] && !empty($category['show_unread']))
33 echo '
34- <a class="unreadlink" href="', $scripturl, '?action=unread;c=', $category['id'], '">', $txt['view_unread_category'], '</a>';
35+ <a class="unreadlink" href="', $scripturl, '?action=unread;c=', $category['id'], '">', $txt['view_unread_category'], '</a>';
36
37 echo '
38 ', $category['link'], '
39- </td>
40- </tr>
41- </tbody>
42- <tbody class="smf-cat-divider">
43- <tr>
44- <td colspan="4"></td>
45- </tr>
46- </tbody>
47- <tbody class="smf-content">';
48+ </div>
49+ </div>
50+
51+ <div class="smf-cat-content"><table>';
52
53 // Assuming the category hasn't been collapsed...
54 if (!$category['is_collapsed'])
55@@ -135,31 +130,27 @@
56
57 $children[] = $child['new'] ? '<strong>' . $child['link'] . '</strong>' : $child['link'];
58 }
59- echo '
60- <tr>
61- <td colspan="3" class="children windowbg">
62- <strong>', $txt['parent_boards'], '</strong>: ', implode(', ', $children), '
63- </td>
64- </tr>';
65+ echo '
66+ <tr>
67+ <td colspan="3" class="children windowbg">
68+ <strong>', $txt['parent_boards'], '</strong>: ', implode(', ', $children), '
69+ </td>
70+ </tr>';
71 }
72 }
73 }
74 echo '
75- </tbody>
76- <tbody class="divider">
77- <tr>
78- <td colspan="4"></td>
79- </tr>
80- </tbody>';
81+ </table></div>
82+ </div>';
83 }
84 echo '
85- </table>
86- </div>';
87+ </div>
88
89+ <section class="main-content">';
90 if ($context['user']['is_logged'])
91 {
92 echo '
93- <div id="posting_icons" class="align_left">';
94+ <div id="posting_icons">';
95
96 // Mark read button.
97 $mark_read_button = array(
98@@ -181,13 +172,15 @@
99 else
100 {
101 echo '
102- <div id="posting_icons" class="flow_hidden">
103+ <div id="posting_icons">
104 <ul class="reset">
105 <li class="align_left"><img src="', $settings['images_url'], '/new_none.png" alt="" /> ', $txt['old_posts'], '</li>
106 <li class="align_left"><img src="', $settings['images_url'], '/new_redirect.png" alt="" /> ', $txt['redirect_board'], '</li>
107 </ul>
108 </div>';
109 }
110+ echo'
111+ </section>';
112
113 template_info_center();
114 }
115@@ -326,7 +319,7 @@
116
117 // "Users online" - in order of activity.
118 echo '
119- <div class="forum_stat_item">
120+ <div class="forum_stat_item">
121 <div class="title_barIC">
122 <h4 class="titlebg">
123 <span class="ie6_header floatleft">
124@@ -372,8 +365,7 @@
125 ', $txt['most_online_today'], ': <strong>', comma_format($modSettings['mostOnlineToday']), '</strong>.
126 ', $txt['most_online_ever'], ': ', comma_format($modSettings['mostOnline']), ' (', timeformat($modSettings['mostDate']), ')
127 </p>
128- </div>
129- </div>';
130+ </div>';
131
132 // If they are logged in, but statistical information is off... show a personal message bar.
133 if ($context['user']['is_logged'] && !$settings['show_stats_index'])
134@@ -393,13 +385,13 @@
135 <span class="smalltext">
136 ', $txt['you_have'], ' ', comma_format($context['user']['messages']), ' ', $context['user']['messages'] == 1 ? $txt['message_lowercase'] : $txt['msg_alert_messages'], '.... ', $txt['click'], ' <a href="', $scripturl, '?action=pm">', $txt['here'], '</a> ', $txt['to_view'], '
137 </span>
138- </p>';
139+ </p>
140+ </div>';
141 }
142
143 echo '
144- </div>
145 </article>
146- <div class="divide"></div>';
147+ <hr class="divide" />';
148
149 // Info center collapse object.
150 echo '
151
152=== modified file 'css/default.css'
153--- css/default.css 2010-09-05 16:07:22 +0000
154+++ css/default.css 2010-09-08 13:30:58 +0000
155@@ -470,82 +470,85 @@
156 /*- Forum Decoration
157 -------------------------------------------------------------------------------------------------------- */
158
159-.forum-title { text-align: center; margin-bottom: 24px; }
160-
161-.forum-news { color: #333; font-size:0.9em; line-height: 1.2em; }
162-.forum-news-header { color: #333; font-weight:bold; }
163-.forum-news-content { color: #333; margin-left: 24px; }
164-.forum-news-content a { color: #333; }
165-.forum-news-content a:hover { color: #DD4814; }
166-
167-.table_list { width: 100%; }
168-.table_list a { color: #DD4814; }
169-.table_list a:hover { text-shadow: 1px 1px 2px #ccc; }
170-
171-.smf-header-divide { -moz-box-shadow: 0px 2px 2px #dfdfdf; -webkit-box-shadow: 0px 1px 1px #ccc; }
172-
173-.smf-cat-header a { color: #333; }
174-.smf-cat-header tr td { padding-left: 10px; }
175-.smf-cat-header tr,
176-.table_grid thead { background-color: #F7F7F7; -moz-border-radius: 4px; -webkit-border-radius: 4px; -moz-box-shadow: 0px 2px 5px #dfdfdf; -webkit-box-shadow: 0px 1px 1px #ccc;}
177-.unreadlink { float: right; margin-right: 12px; font-size: 0.65em; }
178-.forum_stat_item { display: inline-block; width: 455px;}
179-
180-.subject { color: #333333; font-size: 16px; }
181-<<<<<<< TREE
182-=======
183-.subject a { color: #DD4814; }
184-.subject a:hover { text-shadow: 1px 1px 2px #ccc; }
185->>>>>>> MERGE-SOURCE
186-
187-.smf-cat-divider { height: 10px; }
188-.smf-board-content { height: 60px; margin-top: 0px; }
189-.info-desc { padding: 0px; line-height: 1em; }
190-
191-.buttonlist,
192-.pagesection { float: left; }
193-.buttonlist li { background-color: #F7F7F7; padding: 5px 0px; -moz-box-shadow: 2px 2px 1px #DFDFDF; margin: 0 5px; -moz-border-radius: 5px; }
194-.buttonlist li:hover { background-color: #EFEFEF; }
195+.shadow,
196+.buttonlist ul li { -moz-box-shadow: 0px 2px 5px #dfdfdf; -webkit-box-shadow: 0px 2px 5px #dfdfdf; }
197+.round,
198+.buttonlist ul li { -moz-border-radius: 4px; -webkit-border-radius: 4px; }
199+
200+/* Forum Global */
201+.forum-title { text-align: center; margin-bottom: 24px; }
202+
203+.forum-news { color: #333; font-size:0.9em; line-height: 1.2em; }
204+.forum-news-header { color: #333; font-weight:bold; }
205+.forum-news-content { color: #333; margin-left: 24px; }
206+.forum-news-content a { color: #333; }
207+.forum-news-content a:hover { color: #DD4814; }
208+
209+.smf-header-divide { -moz-box-shadow: 0px 2px 2px #dfdfdf; -webkit-box-shadow: 0px 1px 1px #ccc; }
210+
211+.login-register a { color: #333; }
212+.login-register a:hover { color: #DD4814; }
213+
214+#linktree { margin-bottom: 12px; }
215+.linktree-link,
216+.linktree-link:visited { color: #DD4814; }
217+
218+/* Boardindex global */
219+#posting_icons { float: left; }
220+.mark_read { float: right; }
221+
222+/* Category overview - index */
223+.smf-cat-header,
224+.smf-cat-content { clear:both; float:left; margin:5px 10px; padding:0px 10px; width:920px; }
225+.smf-cat-header a { color: #333; }
226+.smf-cat-header,
227+.table_grid thead { background-color: #F7F7F7; }
228+.smf-cat-content a { color: #DD4814; }
229+.smf-cat-content a:hover { text-shadow: 1px 1px 2px #ccc; }
230+.unreadlink { float: right; margin-right: 12px; font-size: 0.65em; }
231+
232+/* Overview of boards in the category */
233+.forum_stat_item { display: inline-block; width: 455px;}
234+
235+.subject { color: #333333; font-size: 16px; }
236+.subject a { color: #DD4814; }
237+.subject a:hover { text-shadow: 1px 1px 2px #ccc; }
238+
239+.smf-board-content { height: 60px; margin-top: 0px; }
240+.info-desc { padding: 0px; line-height: 1em; }
241+
242+.buttonlist li { display: inline; background-color: #F7F7F7; padding: 5px 10px; margin: 0 5px; }
243+.buttonlist li:hover { background-color: #EFEFEF; }
244+
245 .buttonlist a,
246-.pagesection a { color: #333; padding: 2px 3px; }
247+.pagesection a { color: #333; padding: 2px 3px; }
248 .buttonlist a:hover,
249-.pagesection a:hover { color: #DD4814; }
250-.pagelinks { font-size: 0.70em; }
251-.buttonlist { float: none; display: block; }
252-.buttonlist ul li { list-style: none; display: inline; }
253-
254-.table_grid thead a { font-size: 0.75em; color: #DD4814; }
255-
256-/* Total width should be 960px */
257-.icon { vertical-align: top; }
258-.info { width: 550px; }
259-.stats { width: 80px; }
260-.lastpost { width: 275px; font-size: 14px; }
261-.lastpost a { color: #DD4814; }
262-.lastpost a:hover { text-shadow: 1px 1px 2px #ccc; }
263-
264-.icon a img { margin-top: 5px; }
265-//.info a { color: #333; font-weight: bold; font-size: 14px; }
266-
267-.reportlinks a { color: #333333; }
268-
269-#posting_icons li { display: inline-block; }
270-
271-//.catbg a { color: #DD4814; }
272-//smf-board-content { margin-top: 5px; }
273-
274-.login-register a { color: #333; }
275-.login-register a:hover { color: #DD4814; }
276-
277-#linktree { margin-bottom: 12px; }
278-.linktree-link,
279-.linktree-link:visited { color: #DD4814; }
280+
281+.pagesection a:hover { color: #DD4814; }
282+.pagelinks { font-size: 0.70em; }
283+
284+
285+
286+/* Total width should be 920px */
287+.icon { vertical-align: top; }
288+.info { width: 550px; }
289+.stats { width: 80px; }
290+.lastpost { width: 275px; font-size: 14px; }
291+.lastpost a { color: #DD4814; }
292+.lastpost a:hover { text-shadow: 1px 1px 2px #ccc; }
293+
294+.icon a img { margin-top: 5px; }
295+//.info a { color: #333; font-weight: bold; font-size: 14px; }
296+
297+.reportlinks a { color: #333333; }
298+
299+#posting_icons li { display: inline-block; }
300
301 .forum-title-link,
302-.forum-title-link:visited { color:#333; }
303+.forum-title-link:visited { color:#333; }
304 .forum-title-link:hover,
305 .forum-title-link:active,
306-.forum-title-link:focus { color:#DD4814; text-shadow: 1px 1px 2px #999; }
307+.forum-title-link:focus { color:#DD4814; text-shadow: 1px 1px 2px #999; }
308
309 /* KuZeKo web@kuzeko.com
310 -------------------------------------------------------------------------------------------------------- */
311
312=== modified file 'images/collapse.gif'
313Binary files images/collapse.gif 2010-08-13 17:32:54 +0000 and images/collapse.gif 2010-09-08 13:30:58 +0000 differ
314=== modified file 'images/expand.gif'
315Binary files images/expand.gif 2010-08-13 17:32:54 +0000 and images/expand.gif 2010-09-08 13:30:58 +0000 differ
316=== modified file 'images/icons/info.gif'
317Binary files images/icons/info.gif 2010-08-01 07:34:15 +0000 and images/icons/info.gif 2010-09-08 13:30:58 +0000 differ
318=== modified file 'images/icons/online.gif'
319Binary files images/icons/online.gif 2010-08-01 07:34:15 +0000 and images/icons/online.gif 2010-09-08 13:30:58 +0000 differ
320=== modified file 'images/new_none.png'
321Binary files images/new_none.png 2010-09-05 18:08:48 +0000 and images/new_none.png 2010-09-08 13:30:58 +0000 differ
322=== modified file 'images/new_redirect.png'
323Binary files images/new_redirect.png 2010-08-01 07:34:15 +0000 and images/new_redirect.png 2010-09-08 13:30:58 +0000 differ
324=== modified file 'images/new_some.png'
325Binary files images/new_some.png 2010-09-05 18:08:48 +0000 and images/new_some.png 2010-09-08 13:30:58 +0000 differ
326=== modified file 'images/off.png'
327Binary files images/off.png 2010-09-05 18:08:48 +0000 and images/off.png 2010-09-08 13:30:58 +0000 differ
328=== modified file 'images/on.png'
329Binary files images/on.png 2010-09-05 18:08:48 +0000 and images/on.png 2010-09-08 13:30:58 +0000 differ
330=== modified file 'index.template.php'
331--- index.template.php 2010-09-05 10:44:08 +0000
332+++ index.template.php 2010-09-08 13:30:58 +0000
333@@ -215,9 +215,8 @@
334 </aside>';
335
336 echo'
337- <section id="main-section">
338- <div class="container" >
339- <section id="content">
340+ <section id="main-section"><div class="container" >
341+ <section id="content-header">
342 <section id="forum-header">
343 <h1 class="forum-title">
344 <a class="forum-title-link" href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
345@@ -314,24 +313,24 @@
346 // Show the navigation tree.
347 theme_linktree();
348 echo'
349- </section>
350- <hr class="divide" />';
351+ </section>
352+ <hr class="divide" />';
353
354 // The main content should go here.
355 echo '
356- <div id="content_section"><div class="frame">
357- <div id="main_content_section">';
358+ <section id="content-main">';
359 }
360
361 function template_body_below()
362 {
363 global $context, $settings, $options, $scripturl, $txt, $modSettings;
364 echo '
365- </div>
366- </div></div>
367- </div>
368- </section>
369- <hr class="divide" />';
370+
371+ </section>
372+ <hr class="divide" />
373+ </div></section>
374+ <hr class="divide" />
375+ ';
376
377 // The new thema's footer
378 echo '

Subscribers

People subscribed via source and target branches

to all changes: