Simplified the heading selectors and removed unused rules

This commit is contained in:
Christophe Coevoet 2012-07-05 00:56:48 +02:00
parent 77c5ab1336
commit 5a36d673e8

View File

@ -163,14 +163,16 @@ li.resource {
li.resource:last-child { li.resource:last-child {
border-bottom: none; border-bottom: none;
} }
body ul#resources li.resource div.heading {
/* heading */
div.heading {
border: 1px solid transparent; border: 1px solid transparent;
float: none; float: none;
clear: both; clear: both;
overflow: hidden; overflow: hidden;
display: block; display: block;
} }
body ul#resources li.resource div.heading h2 { div.heading h2 {
color: #999999; color: #999999;
padding-left: 0; padding-left: 0;
display: block; display: block;
@ -179,15 +181,7 @@ body ul#resources li.resource div.heading h2 {
font-family: "Droid Sans", sans-serif; font-family: "Droid Sans", sans-serif;
font-weight: bold; font-weight: bold;
} }
body ul#resources li.resource div.heading h2 a { div.heading ul.options {
color: #999999;
}
body ul#resources li.resource div.heading h2 a:hover {
color: black;
}
body ul#resources li.resource div.heading ul.options {
float: none;
clear: both;
overflow: hidden; overflow: hidden;
padding: 0; padding: 0;
display: block; display: block;
@ -195,38 +189,25 @@ body ul#resources li.resource div.heading ul.options {
float: right; float: right;
margin: 14px 10px 0 0; margin: 14px 10px 0 0;
} }
body ul#resources li.resource div.heading ul.options li { div.heading ul.options li {
float: left; float: left;
clear: none; clear: none;
margin: 0; margin: 0;
padding: 2px 10px; padding: 2px 10px;
border-right: 1px solid #dddddd; border-right: 1px solid #dddddd;
}
body ul#resources li.resource div.heading ul.options li:first-child, body ul#resources li.resource div.heading ul.options li.first {
padding-left: 0;
}
body ul#resources li.resource div.heading ul.options li:last-child, body ul#resources li.resource div.heading ul.options li.last {
padding-right: 0;
border-right: none;
}
body ul#resources li.resource div.heading ul.options li {
color: #666666; color: #666666;
font-size: 0.9em; font-size: 0.9em;
} }
body ul#resources li.resource div.heading ul.options li a { div.heading ul.options li:first-child,
color: #aaaaaa; div.heading ul.options li.first {
text-decoration: none; padding-left: 0;
} }
body ul#resources li.resource div.heading ul.options li a:hover { div.heading ul.options li:last-child,
text-decoration: underline; div.heading ul.options li.last {
color: black; padding-right: 0;
} border-right: none;
body ul#resources li.resource:hover div.heading h2 a, body ul#resources li.resource.active div.heading h2 a {
color: black;
}
body ul#resources li.resource:hover div.heading ul.options li a, body ul#resources li.resource.active div.heading ul.options li a {
color: #555555;
} }
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get { body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get {
float: none; float: none;
clear: both; clear: both;