A little cleanup for the switchable view and features UI

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-05-28 15:30:07 -07:00
parent 19c2f0e1c1
commit 06abffce60
2 changed files with 16 additions and 13 deletions

View File

@@ -1,11 +1,15 @@
.features.detail-view .category > ul {
border:1px solid #EAEAEA;
#main .features h2 {
margin-top:0;
}
.features.features .category {
.features.detail-view .category > ul {
border:1px solid #EAEAEA;
margin-bottom:2em;
}
.features.summary-view .category {
overflow:hidden;
padding-bottom:1.5em;
}
.features.features.summary-view .feature {
.features.summary-view .feature {
border:1px solid #EAEAEA;
display:block;
float:left;
@@ -14,18 +18,18 @@
position:relative;
width:32.1%;
}
.features.features.summary-view .feature:nth-child(3n+1),
.features.features.summary-view .feature:nth-child(3n+2),
.features.features.summary-view .feature:nth-child(3n) {
.features.summary-view .feature:nth-child(3n+1),
.features.summary-view .feature:nth-child(3n+2),
.features.summary-view .feature:nth-child(3n) {
width:32.55%;
}
.features.features.summary-view .feature:nth-child(3n+1) {
.features.summary-view .feature:nth-child(3n+1) {
margin-left:0;
}
.features.features.summary-view .feature:nth-child(3n+2) {
.features.summary-view .feature:nth-child(3n+2) {
margin-right:0;
}
.features.features.summary-view .feature:nth-child(3n) {
.features.summary-view .feature:nth-child(3n) {
float:right;
margin-left:0;
margin-right:0;

View File

@@ -1,11 +1,10 @@
.switch-for-switchable {
border-bottom:1px solid #BDBCBC;
margin:0 0 10px;
margin:0 0 -34px;
overflow:auto;
}
.switch-for-switchable .switch-button-group {
float:right;
padding:4px 30px;
padding:4px 0;
}
.switch-for-switchable .switch-button {
background: #F5F5F5;