Skip to content

Commit

Permalink
[2375] Style the navigation on the dataset page
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed May 16, 2012
1 parent a3dae2b commit 4adaf10
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions ckan/public/base/less/ckan.less
Expand Up @@ -3,6 +3,7 @@
@import "module.less";
@import "nav.less";
@import "dataset.less";
@import "toolbar.less";
@import "layout.less";
@import "masthead.less";
@import "footer.less";
Expand Down
41 changes: 41 additions & 0 deletions ckan/public/base/less/toolbar.less
@@ -0,0 +1,41 @@
.toolbar {
.clearfix;
margin-top: -10px;
margin-bottom: 10px;
}

.toolbar .breadcrumb {
.box-shadow(none);
float: left;
background: none;
margin: 0;
padding: 0;
border: none;
}

.toolbar .breadcrumb li:after {
content: " / ";
}

.toolbar .breadcrumb li:last-of-type:after {
content: "";
}

.toolbar .breadcrumb a {
color: rgba(40, 40, 40, 0.8);
line-height: 28px;
}

.toolbar .actions {
.unstyled;
float: right;
}

.toolbar .actions li {
display: inline-block;
margin-right: 5px;
}

.toolbar .actions li:last-of-type {
margin-right: 0;
}
3 changes: 3 additions & 0 deletions ckan/templates/package/read.html
Expand Up @@ -15,6 +15,9 @@
<li class="active"><a href="">${c.pkg_dict.get('title', c.pkg_dict.get('name'))}</a></li>
</ol>
<ul class="actions">
<li><a class="btn" href="">History</a></li>
<li><a class="btn" href="">Edit</a></li>
<li><a class="btn" href="">Report Issue</a></li>
</ul>
</nav>

Expand Down

0 comments on commit 4adaf10

Please sign in to comment.