Browse Source

Merge pull request #624 from Oldiesmann/release-2.1

Fix titles on stats page which were broken by #621
Michael Eshom 11 years ago
parent
commit
5d80f7d464
2 changed files with 11 additions and 7 deletions
  1. 7 7
      Themes/default/Stats.template.php
  2. 4 0
      Themes/default/css/index.css

+ 7 - 7
Themes/default/Stats.template.php

@@ -21,7 +21,7 @@ function template_main()
 		</div>
 		<div class="flow_hidden">
 			<div class="title_bar">
-				<h4 class="titlebg">
+				<h4 class="titlebg statstitle">
 					<img src="', $settings['images_url'], '/stats_info.png" class="icon" alt="" /> ', $txt['general_stats'], '
 				</h4>
 			</div>
@@ -87,7 +87,7 @@ function template_main()
 		<div class="flow_hidden">
 			<div id="top_posters">
 				<div class="title_bar">
-					<h4 class="titlebg">
+					<h4 class="titlebg statstitle">
 						<img src="', $settings['images_url'], '/stats_posters.png" class="icon" alt="" /> ', $txt['top_posters'], '
 					</h4>
 				</div>
@@ -121,7 +121,7 @@ function template_main()
 			</div>
 			<div id="top_boards">
 				<div class="title_bar">
-					<h4 class="titlebg">
+					<h4 class="titlebg statstitle">
 						<img src="', $settings['images_url'], '/stats_board.png" class="icon" alt="" /> ', $txt['top_boards'], '
 					</h4>
 				</div>
@@ -156,7 +156,7 @@ function template_main()
 		<div class="flow_hidden">
 			<div id="top_topics_replies">
 				<div class="title_bar">
-					<h4 class="titlebg">
+					<h4 class="titlebg statstitle">
 						<img src="', $settings['images_url'], '/stats_replies.png" class="icon" alt="" /> ', $txt['top_topics_replies'], '
 					</h4>
 				</div>
@@ -189,7 +189,7 @@ function template_main()
 
 			<div id="top_topics_views">
 				<div class="title_bar">
-					<h4 class="titlebg">
+					<h4 class="titlebg statstitle">
 						<img src="', $settings['images_url'], '/stats_views.png" class="icon" alt="" /> ', $txt['top_topics_views'], '
 					</h4>
 				</div>
@@ -223,7 +223,7 @@ function template_main()
 		<div class="flow_hidden">
 			<div id="top_topics_starter">
 				<div class="title_bar">
-					<h4 class="titlebg">
+					<h4 class="titlebg statstitle">
 						<img src="', $settings['images_url'], '/stats_replies.png" class="icon" alt="" /> ', $txt['top_starters'], '
 					</h4>
 				</div>
@@ -257,7 +257,7 @@ function template_main()
 			</div>
 			<div id="most_online">
 				<div class="title_bar">
-					<h4 class="titlebg">
+					<h4 class="titlebg statstitle">
 						<img src="', $settings['images_url'], '/stats_views.png" class="icon" alt="" /> ', $txt['most_time_online'], '
 					</h4>
 				</div>

+ 4 - 0
Themes/default/css/index.css

@@ -835,6 +835,10 @@ h4.titlebg img.icon {
 	float: left;
 	margin: 0 8px 0 0;
 }
+/* Fix colors for the stats page */
+h3.statstitle, h4.statstitle {
+	color: #a85400;
+}
 
 /* Box-sizing for these should be useful. */
 div.cat_bar, div.title_bar,div.title_barIC {