Skip to content
This repository
Browse code

ENHANCEMENT:fixed styling on "installing SilverStripe" page.

  • Loading branch information...
commit 697ffb82a7e18ba47cedc5b860a2ec7dd51da534 1 parent c1f6f20
authored April 05, 2012
6  dev/DebugView.php
@@ -85,7 +85,7 @@ public function writeHeader() {
85 85
 		echo '<!DOCTYPE html><html><head><title>' . $url . '</title>';
86 86
 		echo '<style type="text/css">';
87 87
 		echo 'body { background-color:#eee; margin:0; padding:0; font-family:Helvetica,Arial,sans-serif; }';
88  
-		echo '.info { border-bottom:1px dotted #333; background-color:#ccdef3; margin:0; padding:6px 12px; }';
  88
+		echo '.info { margin:15px 0 0 0; padding:6px 12px; }';
89 89
 		echo '.info h1 { margin:0; padding:0; color:#333; letter-spacing:-2px; }';
90 90
 		echo '.header { margin:0; border-bottom:6px solid #ccdef3; height:23px; background-color:#666673; padding:4px 0 2px 6px; background-image:url('.Director::absoluteBaseURL().'cms/images/mainmenu/top-bg.gif); }';
91 91
 		echo '.trace { padding:6px 12px; }';
@@ -93,8 +93,8 @@ public function writeHeader() {
93 93
 		echo 'pre { margin-left:18px; }';
94 94
 		echo 'pre span { color:#999;}';
95 95
 		echo 'pre .error { color:#f00; }';
96  
-		echo '.pass { margin-top:18px; padding:2px 20px 2px 40px; color:#006600; background:#E2F9E3 url('.Director::absoluteBaseURL() .'cms/images/alert-good.gif) no-repeat scroll 7px 50%; border:1px solid #8DD38D; }';
97  
-		echo '.fail { margin-top:18px; padding:2px 20px 2px 40px; color:#C80700; background:#FFE9E9 url('.Director::absoluteBaseURL() .'cms/images/alert-bad.gif) no-repeat scroll 7px 50%; border:1px solid #C80700; }';	
  96
+		echo '.pass { margin-top:18px; padding:2px 20px 2px 40px; color:#006600; background:#E2F9E3 url('.Director::absoluteBaseURL() .'cms/images/alert-good.gif) no-repeat scroll 7px 50%; border:1px solid #8DD38D; border-radius:4px; }';
  97
+		echo '.fail { margin-top:18px; padding:2px 20px 2px 40px; color:#C80700; background:#FFE9E9 url('.Director::absoluteBaseURL() .'cms/images/alert-bad.gif) no-repeat scroll 7px 50%; border:1px solid #C80700; border-radius:4px; }';	
98 98
 		echo '.failure span { color:#C80700; font-weight:bold; }';
99 99
 		echo '</style></head>';
100 100
 		echo '<body>';
16  dev/install/install.css
@@ -6,6 +6,17 @@
6 6
 	color:#fff;
7 7
 }
8 8
 
  9
+.install-header
  10
+{
  11
+	padding-bottom:10px;
  12
+	background:#161616;
  13
+}
  14
+
  15
+.install-header .inner{
  16
+	padding-top:55px; 
  17
+	position:relative;
  18
+}
  19
+
9 20
 .brand {
10 21
 	float:none;
11 22
 }
@@ -26,6 +37,10 @@
26 37
 	display:none;
27 38
 }
28 39
 
  40
+.main .inner ul {
  41
+	padding-left:20px;
  42
+}
  43
+
29 44
 ul#Themes{
30 45
 	list-style: none;
31 46
 	margin: 0 5px 20px 5px;
@@ -55,6 +70,7 @@ h1.sectionHeading {
55 70
 	padding: 0.5em;
56 71
 	background-color: #fdf5f5;
57 72
 	border: 1px #ff8e8e solid;
  73
+	border-radius:4px;
58 74
 	color: #f03838;
59 75
 }
60 76
 	.main p.error { color: #f03838;}
32  dev/install/install.php5
@@ -952,21 +952,25 @@ class Installer extends InstallRequirements {
952 952
 		<script src="sapphire/thirdparty/jquery/jquery.js"></script>
953 953
 	</head>
954 954
 	<body>
955  
-		<div id="BgContainer">
956  
-			<div id="Container">
957  
-				<div id="Header">
958  
-					<h1>SilverStripe CMS / Framework Installation</h1>
  955
+		<div class="install-header">
  956
+			<div class="inner">
  957
+				<div class="brand">
  958
+					<span class="logo"></span>
  959
+					<h1>SilverStripe</h1>
959 960
 				</div>
960  
-
961  
-				<div id="Navigation">&nbsp;</div>
962  
-				<div class="clear"><!-- --></div>
963  
-
964  
-				<div id="Layout">
965  
-					<div class="typography">
966  
-						<h1>Installing SilverStripe...</h1>
967  
-						<p>I am now running through the installation steps (this should take about 30 seconds)</p>
968  
-						<p>If you receive a fatal error, refresh this page to continue the installation</p>
969  
-						<ul>
  961
+				<p>Version <?php echo $silverstripe_version; ?></p>
  962
+			</div>	
  963
+		</div>
  964
+
  965
+		<div id="Navigation">&nbsp;</div>
  966
+		<div class="clear"><!-- --></div>
  967
+
  968
+		<div class="main">
  969
+			<div class="inner">
  970
+				<h1>Installing SilverStripe...</h1>
  971
+				<p>I am now running through the installation steps (this should take about 30 seconds)</p>
  972
+				<p>If you receive a fatal error, refresh this page to continue the installation</p>
  973
+				<ul>
970 974
 <?php
971 975
 		} else {
972 976
 			echo "SILVERSTRIPE COMMAND-LINE INSTALLATION\n\n";

0 notes on commit 697ffb8

Please sign in to comment.
Something went wrong with that request. Please try again.