mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
A little cleanup for the switchable view and features UI
--HG-- branch : dev
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user