From 4c6a3b64d51a409107afefe9993ea0d83b962fa0 Mon Sep 17 00:00:00 2001
From: carl <>
Date: Wed, 18 Jan 2006 15:29:37 +0000
Subject: QuickStart: Fixed div overlapping bug in headers

---
 .gitattributes                                     |   2 +
 demos/quickstart/protected/controls/Layout.tpl     |   3 +-
 .../quickstart/protected/controls/SampleLayout.tpl |   3 +-
 demos/quickstart/themes/PradoSoft/mantis.jpg       | Bin 0 -> 12567 bytes
 demos/quickstart/themes/PradoSoft/mantissample.jpg | Bin 0 -> 16309 bytes
 demos/quickstart/themes/PradoSoft/style.css        |  44 +++++++++++++++++----
 6 files changed, 43 insertions(+), 9 deletions(-)
 create mode 100644 demos/quickstart/themes/PradoSoft/mantis.jpg
 create mode 100644 demos/quickstart/themes/PradoSoft/mantissample.jpg

diff --git a/.gitattributes b/.gitattributes
index a407c172..e316fe93 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -117,7 +117,9 @@ demos/quickstart/protected/pages/ViewSource.page -text
 demos/quickstart/protected/pages/ViewSource.php -text
 demos/quickstart/protected/pages/config.xml -text
 demos/quickstart/themes/PradoSoft/arrowdown.gif -text
+demos/quickstart/themes/PradoSoft/mantis.jpg -text
 demos/quickstart/themes/PradoSoft/mantisbg.jpg -text
+demos/quickstart/themes/PradoSoft/mantissample.jpg -text
 demos/quickstart/themes/PradoSoft/pradologo.gif -text
 demos/quickstart/themes/PradoSoft/style.css -text
 demos/quickstart/themes/Simple/style.css -text
diff --git a/demos/quickstart/protected/controls/Layout.tpl b/demos/quickstart/protected/controls/Layout.tpl
index 0ad47cce..ac5f84d0 100644
--- a/demos/quickstart/protected/controls/Layout.tpl
+++ b/demos/quickstart/protected/controls/Layout.tpl
@@ -8,7 +8,8 @@
 <body>
 <com:TForm>
 <div id="header">
-Prado QuickStart Tutorial
+<div class="title">Prado QuickStart Tutorial</div>
+<div class="image"></div>
 </div>
 
 <div id="menu">
diff --git a/demos/quickstart/protected/controls/SampleLayout.tpl b/demos/quickstart/protected/controls/SampleLayout.tpl
index 46d1d928..5564e832 100644
--- a/demos/quickstart/protected/controls/SampleLayout.tpl
+++ b/demos/quickstart/protected/controls/SampleLayout.tpl
@@ -12,7 +12,8 @@
 
 <div class="title">
 <a href="?">PRADO QuickStart Tutorial</a> Sample
-</div>
+</div>
+<div class="image"></div>
 
 </div>
 <div class="samplemenu">
diff --git a/demos/quickstart/themes/PradoSoft/mantis.jpg b/demos/quickstart/themes/PradoSoft/mantis.jpg
new file mode 100644
index 00000000..44bdcded
Binary files /dev/null and b/demos/quickstart/themes/PradoSoft/mantis.jpg differ
diff --git a/demos/quickstart/themes/PradoSoft/mantissample.jpg b/demos/quickstart/themes/PradoSoft/mantissample.jpg
new file mode 100644
index 00000000..c31aeaaf
Binary files /dev/null and b/demos/quickstart/themes/PradoSoft/mantissample.jpg differ
diff --git a/demos/quickstart/themes/PradoSoft/style.css b/demos/quickstart/themes/PradoSoft/style.css
index f137624b..bd4a4aee 100644
--- a/demos/quickstart/themes/PradoSoft/style.css
+++ b/demos/quickstart/themes/PradoSoft/style.css
@@ -34,12 +34,28 @@ a
 	font-weight:bold;
 	text-align: right;
 	color: #666;
-	height:70px;
+	height:100px;
 	background-image: url('pradologo.gif');
 	background-repeat: no-repeat;
-	padding-right: 150px;
-	padding-top: 30px;
-}
+}
+
+#header div.title
+{
+   display: none;
+}
+
+#header div.image
+{
+    display: block;
+    float: right;
+    width: 757px;
+    height: 100px;
+    background-image: url('mantis.jpg');
+    background-repeat: no-repeat;
+    background-position: top right;
+}
+
+
 
 #menu {
 	padding:10px;
@@ -200,11 +216,25 @@ tt {
 	font-weight:bold;
 	text-align: right;
 	color: #666;
-	height:70px;
+	height:100px;
 	background-image: url('pradologo.gif');
 	background-repeat: no-repeat;
-	padding-right: 150px;
-	padding-top: 30px;
+}
+
+.sampleheader div.title
+{
+   display: none;
+}
+
+.sampleheader div.image
+{
+    display: block;
+    float: right;
+    width: 900px;
+    height: 100px;
+    background-image: url('mantissample.jpg');
+    background-repeat: no-repeat;
+    background-position: top right;
 }
 
 .samplemenu
-- 
cgit v1.2.3