Explorar el Código

Changes done... Bye bye title_bar ^^

Signed-off-by: Antes <[email protected]>
Antes hace 10 años
padre
commit
87a615d060

+ 2 - 2
Themes/default/ManageLanguages.template.php

@@ -70,8 +70,8 @@ function template_download_language()
 	// Now, all the images and the likes, hidden via javascript 'cause there are so fecking many.
 	echo '
 			<br>
-			<div class="title_bar">
-				<h3 class="titlebg">
+			<div class="cat_bar">
+				<h3 class="catbg">
 					', $txt['languages_download_theme_files'], '
 				</h3>
 			</div>

+ 2 - 2
Themes/default/ManageMembers.template.php

@@ -156,8 +156,8 @@ function template_search_members()
 					</div>
 				</div>
 			</div>
-			<div class="title_bar">
-				<h3 class="titlebg">', $txt['member_part_of_these_membergroups'], '</h3>
+			<div class="cat_bar">
+				<h3 class="catbg">', $txt['member_part_of_these_membergroups'], '</h3>
 			</div>
 			<div class="flow_hidden">
 				<table width="49%" class="table_grid floatleft">

+ 4 - 4
Themes/default/ManagePaid.template.php

@@ -481,8 +481,8 @@ function template_user_subscription()
 	echo '
 		</form>
 		<br class="clear"/>
-		<div class="title_bar">
-			<h3 class="titlebg">', $txt['paid_current'], '</h3>
+		<div class="cat_bar">
+			<h3 class="catbg">', $txt['paid_current'], '</h3>
 		</div>
 		<div class="description">
 			', $txt['paid_current_desc'], '
@@ -604,8 +604,8 @@ function template_paid_done()
 
 	echo '
 	<div id="paid_subscription">
-		<div class="title_bar">
-			<h3 class="titlebg">', $txt['paid_done'], '</h3>
+		<div class="cat_bar">
+			<h3 class="catbg">', $txt['paid_done'], '</h3>
 		</div>
 		<div class="windowbg2">
 			<div class="content">

+ 2 - 2
Themes/default/ModerationCenter.template.php

@@ -647,8 +647,8 @@ function template_show_notice()
 		<div class="cat_bar">
 			<h3 class="catbg">', $txt['show_notice'], '</h3>
 		</div>
-		<div class="title_bar">
-			<h3 class="titlebg">', $txt['show_notice_subject'], ': ', $context['notice_subject'], '</h3>
+		<div class="cat_bar">
+			<h3 class="catbg">', $txt['show_notice_subject'], ': ', $context['notice_subject'], '</h3>
 		</div>
 		<div class="windowbg">
 			<div class="content">

+ 2 - 2
Themes/default/Packages.template.php

@@ -479,8 +479,8 @@ function template_list()
 		<div class="cat_bar">
 			<h3 class="catbg">', $txt['list_file'], '</h3>
 		</div>
-		<div class="title_bar">
-			<h3 class="titlebg">', $txt['files_archive'], ' ', $context['filename'], ':</h3>
+		<div class="cat_bar">
+			<h3 class="catbg">', $txt['files_archive'], ' ', $context['filename'], ':</h3>
 		</div>
 		<div class="windowbg">
 			<div class="content">

+ 8 - 8
Themes/default/PersonalMessage.template.php

@@ -22,8 +22,8 @@ function template_pm_above()
 	// Show the capacity bar, if available.
 	if (!empty($context['limit_bar']))
 		echo '
-		<div class="title_bar">
-			<h3 class="titlebg">
+		<div class="cat_bar">
+			<h3 class="catbg">
 				<span class="floatleft">', $txt['pm_capacity'], ':</span>
 				<span class="floatleft capacity_bar">
 					<span class="', $context['limit_bar']['percent'] > 85 ? 'full' : ($context['limit_bar']['percent'] > 40 ? 'filled' : 'empty'), '" style="width: ', $context['limit_bar']['percent'] / 10, 'em;"></span>
@@ -768,8 +768,8 @@ function template_search()
 		echo '
 		<fieldset class="labels">
 			<div class="roundframe">
-				<div class="title_bar">
-					<h4 class="titlebg">
+				<div class="cat_bar">
+					<h4 class="catbg">
 						<span id="advanced_panel_toggle" class="toggle_up floatright" style="display: none;"></span><a href="#" id="advanced_panel_link">', $txt['pm_search_choose_label'], '</a>
 					</h4>
 				</div>
@@ -858,8 +858,8 @@ function template_search_results()
 		if (!empty($context['search_params']['show_complete']))
 		{
 			echo '
-			<div class="title_bar">
-				<h3 class="titlebg">
+			<div class="cat_bar">
+				<h3 class="catbg">
 					<span class="floatright">', $txt['search_on'], ': ', $message['time'], '</span>
 					<span class="floatleft">', $message['counter'], '&nbsp;&nbsp;<a href="', $message['href'], '">', $message['subject'], '</a></span>
 				</h3>
@@ -1110,8 +1110,8 @@ function template_send()
 	{
 		echo '
 			<br>
-			<div id="postDraftOptionsHeader" class="title_bar">
-				<h4 class="titlebg">
+			<div id="postDraftOptionsHeader" class="cat_bar">
+				<h4 class="catbg">
 					<span id="postDraftExpand" class="toggle_up floatright" style="display: none;"></span> <strong><a href="#" id="postDraftExpandLink">', $txt['draft_load'], '</a></strong>
 				</h4>
 			</div>

+ 6 - 6
Themes/default/Profile.template.php

@@ -1165,8 +1165,8 @@ function template_statPanel()
 	// This next section draws a graph showing what times of day they post the most.
 	echo '
 		<div id="activitytime" class="flow_hidden">
-			<div class="cat_bar">
-				<h3 class="catbg">
+			<div class="info_bar">
+				<h3 class="infobg">
 					<span class="stats_icon history"></span>', $txt['statPanel_activityTime'], '
 				</h3>
 			</div>
@@ -1212,8 +1212,8 @@ function template_statPanel()
 	echo '
 		<div class="flow_hidden">
 			<div id="popularposts">
-				<div class="cat_bar">
-					<h3 class="catbg">
+				<div class="info_bar">
+					<h3 class="infobg">
 						<span class="stats_icon replies"></span>', $txt['statPanel_topBoards'], '
 					</h3>
 				</div>
@@ -1251,8 +1251,8 @@ function template_statPanel()
 			</div>';
 	echo '
 			<div id="popularactivity">
-				<div class="cat_bar">
-					<h3 class="catbg">
+				<div class="info_bar">
+					<h3 class="infobg">
 						<span class="stats_icon replies"></span>', $txt['statPanel_topBoardsActivity'], '
 					</h3>
 				</div>

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

@@ -314,7 +314,7 @@ function template_main()
 		echo '
 		<table border="0" cellspacing="1" cellpadding="4" class="table_grid" id="stats">
 			<thead>
-				<tr class="titlebg" valign="middle" align="center">
+				<tr class="catbg" valign="middle" align="center">
 					<th class="first_th lefttext">', $txt['yearly_summary'], '</th>
 					<th>', $txt['stats_new_topics'], '</th>
 					<th>', $txt['stats_new_posts'], '</th>

+ 2 - 18
Themes/default/css/admin.css

@@ -151,7 +151,7 @@ div.quick_tasks {
 }
 #admin_newsletters div.cat_bar:first-child,
 #generate_reports_type div.cat_bar:first-child, #groupForm div.cat_bar:first-child,
-#admin_form_wrapper div.title_bar, #mailqueue_stats div.cat_bar:first-child,
+#mailqueue_stats div.cat_bar:first-child,
 #new_group div.cat_bar:first-child, #view_group div.cat_bar, #view_group div.cat_bar:first-child {
 	background: none;
 	border: none;
@@ -167,17 +167,7 @@ div.quick_tasks {
 	margin: 0;
 	border-bottom: 1px solid #bbb;
 }
-#admin_form_wrapper div.title_bar {
-	border-radius: 2px 2px 0 0;
-	margin: 0;
-	border-bottom: 0;
-	background: linear-gradient(bottom, #FFFFFF 1%, #F1F3F5 96%);
-	background: -o-linear-gradient(bottom, #FFFFFF 1%, #F1F3F5 96%);
-	background: -moz-linear-gradient(bottom, #FFFFFF 1%, #F1F3F5 96%);
-	background: -webkit-linear-gradient(bottom, #FFFFFF 1%, #F1F3F5 96%);
-	background: -ms-linear-gradient(bottom, #FFFFFF 1%, #F1F3F5 96%);
-}
-.action_admin .generic_list_wrapper .title_bar {
+.action_admin .generic_list_wrapper {
 	background: none;
 	border-bottom: 1px solid #fff;
 }
@@ -189,12 +179,6 @@ div.quick_tasks {
 	border-bottom: none;
 	padding: 8px 6px 5px 6px;
 }
-#view_group .title_bar {
-	background: none;
-	border-bottom: none;
-	border-top: 1px solid #bbb;
-	margin: -12px 0;
-}
 #view_group .titlebg {
 	border-top: 1px solid #fff;
 	border-bottom: none;

+ 5 - 45
Themes/default/css/index.css

@@ -911,18 +911,15 @@ h4.titlebg .icon {
 }
 
 /* Box-sizing for these should be useful. */
-div.cat_bar, div.title_bar,div.title_barIC {
-	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-	margin-bottom: 1px;
-	border-radius: 5px;
-}
 div.cat_bar {
 	background: #557ea0;
 	border-bottom: 1px solid #777;
 	padding: 0;
 	border-radius: 6px 6px 0 0;
 	box-shadow: 0 16px 20px rgba(255,255,255,0.15) inset;
-	text-shadow: -1px -1px 1px rgba(0,0,0,0.2)
+	text-shadow: -1px -1px 1px rgba(0,0,0,0.2);
+	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
+	margin-bottom: 1px;
 }
 /* Message index board descriptions*/
 .description_header {
@@ -931,19 +928,6 @@ div.cat_bar {
 .cat_bar h3 {
 	padding: 8px 12px 6px 12px;
 }
-div.title_bar {
-	background: #557ea0;
-	box-shadow: 0 16px 20px rgba(255,255,255,0.15) inset;
-	text-shadow: -1px -1px 1px rgba(0,0,0,0.2)
-}
-
-/* Info center title bars are a bit different. */ /* @todo */
-/*div.title_barIC {
-	background: #dde3e9 url(../images/theme/bars.png) IMAGE NO LONGER EXISTS;
-}*/
-div.title_barIC h4.titlebg {
-	font-size: 1.1em;
-}
 
 /* Upshrinks in cat and title bars. */
 #upshrinkHeaderIC p.pminfo {
@@ -3504,9 +3488,6 @@ dl {
 #statistics  div {
 	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
 }
-#statistics .cat_bar {
-	margin: 4px 0 0 0;
-}
 #statistics div.windowbg2 {
 	background: none;
 }
@@ -3732,7 +3713,7 @@ dl.addrules dt.floatleft {
 }
 #main_grid .cat_bar {
 	border-radius: 5px 5px 0 0;
-	margin: 0 1px;
+	margin: 0 0 0 1px;
 }
 #month_grid table th:first-child {
 	background: #e7eaef;
@@ -4173,11 +4154,6 @@ span.hidelink {
 	overflow: auto;
 	-moz-box-sizing: border-box; box-sizing: border-box; -webkit-box-sizing: border-box;
 }
-.generic_list_wrapper .title_bar{
-	background: none;
-	border-bottom: 1px solid #fff;
-	border-radius: 0;
-}
 .generic_list_wrapper .titlebg {
 	background: none;
 	border-bottom: 1px solid #aaa;
@@ -4214,7 +4190,7 @@ span.hidelink {
 	box-shadow: 0 -2px 2px rgba(0,0,0,0.1);
 	overflow: auto;
 }
-.add_buddy .roundframe, .add_buddy .title_bar {
+.add_buddy .roundframe {
 	background: none;
 	border: none;
 	max-width: 100%;
@@ -4286,22 +4262,6 @@ tr.catbg th:last-child {
 	color: #555;
 	text-shadow: none;
 }
-#activitytime .cat_bar, #popularposts .cat_bar, #popularactivity .cat_bar {
-	background: none;
-	border-top: 1px solid #999;
-	border-bottom: 1px solid #fff;
-	border-radius: 0;
-}
-#activitytime .catbg, #popularposts .catbg, #popularactivity .catbg {
-	border-bottom: 1px solid #ccc;
-	border-top: 1px solid #ccc;
-	box-shadow: 0 1px 0 #fff inset, 0 -1px 0 #999 inset;
-	padding: 6px 6px 5px 6px;
-	font-size: 1em;
-	color: #444;
-	text-shadow: none;
-	background:none;
-}
 #postmodify .roundframe div{
 	padding-right: 0;
 }

+ 1 - 1
Themes/default/css/rtl.css

@@ -603,7 +603,7 @@ div#admin_menu {
 .topic_table td.lastpost {
 	background: none;
 }
-#info_center .cat_bar, .table_grid tr.catbg th, #searchform .roundframe .title_bar {
+#info_center .cat_bar, .table_grid tr.catbg th {
 	text-align: right;
 }
 .message_index_title {