Skip to content

Commit

Permalink
fix #46
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed Oct 15, 2016
1 parent b8d5ba4 commit ca24d47
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions options-and-settings-pages/metabox-ui.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* Style by Daniele Mte90 Scasciafratte
* Screen: https://github.com/WebDevStudios/CMB2-Snippet-Library/issues/46#issue-181381934
* Works on options/settings pages and transform the different fields separated by a title like metabox
*/

.cmb2-metabox.cmb-field-list .cmb-row.cmb-type-title {
padding: 8px 12px;
margin: 0;
margin-top:10px;
line-height: 1.4;
border: 1px solid #e5e5e5;
border-bottom: 1px solid #eee;
}
.cmb2-metabox.cmb-field-list .cmb-row {
background: #fff;
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
padding: 0 12px;
border: 1px solid #e5e5e5;
margin-top:-1px;
}
.cmb2-metabox.cmb-field-list .cmb-th {
font-weight: initial;
}
.cmb2-metabox.cmb-field-list .cmb2-metabox-title {
margin: 0;
padding:0;
}
.cmb-form .button-primary {
margin-top: 20px;
}

0 comments on commit ca24d47

Please sign in to comment.