Last active
February 19, 2016 14:13
-
-
Save ryanurban/09a2a7ff6cfdddfd263c to your computer and use it in GitHub Desktop.
CMB2 CSS Tweaks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.postbox-container .cmb2-metabox .cmb-th { | |
font-size : 13px; | |
font-weight: 600; | |
} | |
.cmb-repeatable-group .cmb-group-title { | |
font-weight : normal; | |
font-size : 12px !important; | |
} | |
#poststuff .cmb-repeatable-group .cmb-group-title { | |
padding-left: 2.2em; | |
min-height: 1.75em; | |
line-height: 1.6; | |
} | |
.postbox-container .cmb2-wrap > .cmb-field-list > .cmb-row, | |
.cmb-repeat-group-wrap .cmb2-wrap > .cmb-field-list > .cmb-row { | |
padding: 15px 0; | |
} | |
.postbox-container .cmb-repeat-group-field, | |
.postbox-container .cmb-remove-field-row, | |
.cmb-repeat-group-wrap .cmb-repeat-group-field, | |
.cmb-repeat-group-wrap .cmb-remove-field-row { | |
padding-top: 15px; | |
} | |
.postbox-container .cmb-row:not(:last-of-type) { | |
border-bottom: 0; | |
} | |
.postbox-container .cmb-repeat-row .cmb-td, | |
.cmb-repeat-group-wrap .cmb-repeat-row .cmb-td { | |
padding-bottom: 15px; | |
} | |
.cmb2-wrap .cmb-row.cmb-repeat-row { | |
padding-top: 0; | |
} | |
.postbox-container .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td, | |
.postbox-container .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td, | |
.cmb-repeat-group-wrap .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td, | |
.cmb-repeat-group-wrap .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td { | |
padding-top: 0; | |
} | |
.postbox-container .cmb-row, | |
.cmb-repeat-group-wrap .cmb-row { | |
padding-bottom: 15px; | |
} | |
.postbox-container .cmb-row { | |
margin-bottom: 0; | |
} | |
.cmb-repeatable-group .cmb-group-title { | |
background-color: #f1f1f1; | |
} | |
.cmb-repeat-group-wrap .cmb-row.cmb-repeatable-grouping { | |
margin-bottom: .8em; | |
} | |
.postbox-container .cmb-row.cmb-repeatable-grouping { | |
border-bottom: 1px solid #e9e9e9; | |
font-size: 12px; | |
} | |
.cmb-group-description .cmb2-metabox-description { | |
padding-top: 0; | |
color: #222; | |
font-style: normal; | |
font-size: 13px; | |
} | |
#poststuff .cmb-repeatable-group .cmb-group-name { | |
padding: 0 0 1em; | |
font-size: 13px; | |
font-weight: 600; | |
line-height: 1.5; | |
} | |
.cmb-repeat .cmb-add-row { | |
margin-top: 0; | |
} | |
.cmb2-metabox .select2-container { | |
min-width: 200px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment