Skip to content

Commit

Permalink
[#1788]: Corrrectly handling existence/nonexistence of minornavigation
Browse files Browse the repository at this point in the history
  • Loading branch information
teajaymars committed Mar 27, 2012
1 parent efd7438 commit 078631e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions ckan/public/css/style.css
Expand Up @@ -264,8 +264,8 @@ ul.no-break li {
/* =============== */
/* MinorNavigation */
/* =============== */
#minornavigation {
margin-bottom: 1em;
#minornavigation .nav {
margin: 0 0 1em 0 ;
border: 1px solid #e0e0e0;
background-color: #e2e2e2;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#e2e2e2));
Expand All @@ -283,9 +283,6 @@ ul.no-break li {
padding: 2px 4px;
font-weight: bold;
}
#minornavigation .nav {
margin: 0;
}
#minornavigation .nav > li > a {
border: 1px solid transparent;
border-bottom: none;
Expand Down Expand Up @@ -414,9 +411,6 @@ div.form-actions p.hints {
/* ============= */
/* = Home Page = */
/* ============= */
body.index.home #minornavigation {
display: none;
}
body.index.home #sidebar {
display: none;
}
Expand Down Expand Up @@ -715,9 +709,6 @@ body.user.read #content {
/* =============== */
/* = Search Page = */
/* =============== */
body.package.search #minornavigation {
display: none;
}
body.package.search #menusearch {
display: none;
}
Expand Down Expand Up @@ -1171,7 +1162,6 @@ body.package.resource_read #resource-explore { margin-bottom: 2em; }
/* = About Page = */
/* ============== */
body.about #content { border-right: 0; }
body.about #minornavigation { border: 0; }


/* ============== */
Expand Down

0 comments on commit 078631e

Please sign in to comment.