ソースを参照

upgrade.php css-layout changes from antes

Signed-off-by: illori [email protected]
Illori 11 年 前
コミット
3409d5cfe2
2 ファイル変更8 行追加2 行削除
  1. 6 0
      Themes/default/css/install.css
  2. 2 2
      other/upgrade.php

+ 6 - 0
Themes/default/css/install.css

@@ -148,4 +148,10 @@ img#smflogo {
 	border-radius: 5px;
 	box-shadow: 0 -2px 2px rgba(0,0,0,0.1);
 	/* End [WIP] */
+}
+
+#progress {
+	float: left;
+	width: 40%;
+	padding-top:20px;
 }

+ 2 - 2
other/upgrade.php

@@ -3542,7 +3542,7 @@ function template_upgrade_above()
 	<div id="wrapper">
 	<div id="upper_section">
 		<div id="main_content_section">
-			<div id="main-steps">
+			<div id="main_steps">
 				<h2>', $txt['upgrade_progress'], '</h2>
 				<ul>';
 
@@ -3553,7 +3553,7 @@ function template_upgrade_above()
 	echo '
 					</ul>
 			</div>
-			<div style="float: left; width: 40%;">
+			<div id="progress">
 				<div style="font-size: 8pt; height: 12pt; border: 1px solid black; background-color: white; width: 50%; margin: auto;">				
 					<div id="overall_text" style="color: #000; position: fixed; margin-left: -5em;">', $upcontext['overall_percent'], '%</div>
 					<div id="overall_progress" style="width: ', $upcontext['overall_percent'], '%; height: 12pt; z-index: 1; background-color: lime;">&nbsp;</div>