[ckan-changes] commit/ckanextiati: sebbacon: Add home page changes by Nick
Bitbucket
commits-noreply at bitbucket.org
Fri Jun 17 11:01:57 UTC 2011
1 new changeset in ckanextiati:
http://bitbucket.org/okfn/ckanextiati/changeset/8de8434369ec/
changeset: 8de8434369ec
user: sebbacon
date: 2011-06-17 12:58:32
summary: Add home page changes by Nick
affected #: 3 files (583 bytes)
--- a/public/css/overrides.css Wed Jun 15 08:48:30 2011 +0100
+++ b/public/css/overrides.css Fri Jun 17 10:58:32 2011 +0000
@@ -12,7 +12,7 @@
}
#topbar {
- background:#333333;
+ background:#E5EFF1;
height:20px;
}
@@ -26,23 +26,21 @@
float:right;
list-style-type:none;
text-transform:uppercase;
- border-right: solid 1px #777;
padding:0px 10px;
}
#topbar ul li:first-child {
- border-right: none;
padding:0px 0px 0px 10px;
}
#topbar ul li a {
- color:#AAA;
+ color:#A9B7D0;
font-size:11px;
}
#topbar ul li a.active,
#topbar ul li a:hover {
- color:#FFF;
+ color:#536FA1;
}
#header {
@@ -62,8 +60,10 @@
float:none !important;
}
-#branding a {
+div#branding h1#site-title a {
margin:0px !important;
+ font-size:20px;
+ line-height:100%;
}
#branding a img {
@@ -108,11 +108,17 @@
display:none;
}
+#content {
+ margin-left:0px;
+}
+
/*-------- Menu --------*/
div.menu {margin:0px;}
-div.menu ul.children {visibility:hidden;}
+div.menu ul.children a {
+ color:#497B90;
+}
div#access {
background:transparent;
@@ -124,8 +130,27 @@
float:left;
}
+#access ul ul {
+ top:20px;
+}
+
div#access ul li {
padding-right:15px;
+ padding-bottom:15px;
+}
+
+div#access ul li ul li {
+ padding:0px;
+}
+
+div#access ul li ul.children li.page_item a {
+ color:#536FA1 !important;
+ border:none !important;
+}
+
+div#access ul li ul.children li.page_item a:hover {
+ color:#FFF !important;
+ background:#80B8C8 !important;
}
div#access ul li:hover a {background:transparent; color:#fff !important;}
@@ -146,8 +171,8 @@
border-left: 0px solid #CCC;
}
-#access ul li:hover > ul {
- display:none;
+#access ul li:hover > ul li a {
+ background: #FFF !important;
}
#access ul li a.active {
@@ -161,7 +186,12 @@
#access ul li.current-menu-parent > a
{
color:#fff;
-}
+}
+
+span.ckan_logged_in {
+ display:block;
+ margin-top:-21px;
+}
/*-------- Login controls -------*/
@@ -248,13 +278,18 @@
/*-------- Home menu --------*/
+body.home {
+ background:url(/images/home-grad.png) repeat-x 0px 269px;
+}
+
+body.home #wrapper{
+ background:transparent;
+}
+
#home-options {
- background: url(/images/home-grad.png);
height:350px;
- width:300%;
- margin-left:-100%;
- margin-bottom:34px;
- margin-top:25px;
+ width:940px;
+ margin:25px auto 34px auto;
position:relative;
}
@@ -277,6 +312,7 @@
#home-options ul li canvas {
padding-top:30px;
padding-bottom:22px;
+ height:82px;
}
#home-options ul li:last-child {
--- a/templates/home/index.html Wed Jun 15 08:48:30 2011 +0100
+++ b/templates/home/index.html Fri Jun 17 10:58:32 2011 +0000
@@ -50,7 +50,7 @@
</div><!-- support both options for defining content --><div>
- <h1>Welcome to the IATI registry <span>The online repository of IATI data links</span></h1>
+ <h1>Welcome to the IATI registry <span>The online repository of IATI raw data links</span></h1><div id="id-like-to">
I'd like to
</div>
@@ -65,7 +65,7 @@
<p>
Visit aidtransparency.net to read about IATI and learn about new developments.
</p>
- <a class="go" href="/">Go »</a>
+ <a class="go" href="http://aidtransparency.net">Go »</a></li><li><img src="/images/home-search.png"/>
@@ -76,7 +76,7 @@
<p>
Find links to IATI records from contributing parties.
</p>
- <a class="go" href="/">Go »</a>
+ <a class="go" href="/package">Go »</a></li><li><img src="/images/home-visualise.png"/>
@@ -87,7 +87,7 @@
<p>
Learn about third-party tools to visualise and manipulate the IATI datasets.
</p>
- <a class="go" href="/">Go »</a>
+ <a class="go" href="/using-iati-data">Go »</a></li><li><img src="/images/home-learn.png"/>
@@ -98,7 +98,7 @@
<p>
Get to grips with the techincal side of IATI.
</p>
- <a class="go" href="/">Go »</a>
+ <a class="go" href="http://iatistandard.org">Go »</a></li></ul></div>
--- a/templates/layout_base.html Wed Jun 15 08:48:30 2011 +0100
+++ b/templates/layout_base.html Fri Jun 17 10:58:32 2011 +0000
@@ -71,7 +71,7 @@
<div id="topbar"><ul><li><a class="active" href="/">IATI Registry</a></li>
- <li><a href="http://www.iatistandard.org/">IATI Specification</a></li>
+ <li><a href="http://www.iatistandard.org/">IATI Standard</a></li><li><a href="http://www.aidtransparency.net/">About IATI</a></li></ul></div>
Repository URL: https://bitbucket.org/okfn/ckanextiati/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list