diff --git a/admin/css/screen.css b/admin/css/screen.css index ce1e606fa..ae77d3ee2 100644 --- a/admin/css/screen.css +++ b/admin/css/screen.css @@ -375,6 +375,7 @@ body.cms { overflow: hidden; } .ui-tabs .ui-tabs { position: static; } .ui-tabs .ui-tabs-panel { padding: 24px; background: transparent; border: 0; } .ui-tabs .ui-tabs-panel.cms-edit-form { padding: 0; } +.ui-tabs .ui-tabs-panel.cms-panel-padded { padding: 16px 16px; } .ui-tabs .ui-widget-header { border: 0; background: none; } .ui-tabs .ui-tabs-nav { float: right; margin: 16px 0 -1px 0; padding: 0 12px 0 0; border-bottom: none; } .ui-tabs .ui-tabs-nav ~ .ui-tabs-panel { border-top: 1px solid #c0c0c2; clear: both; } diff --git a/admin/scss/_style.scss b/admin/scss/_style.scss index 843477793..9983d6ef5 100644 --- a/admin/scss/_style.scss +++ b/admin/scss/_style.scss @@ -162,9 +162,13 @@ body.cms { padding: $grid-x*3; background: transparent; // default it's white border: 0; // suppress default borders + &.cms-edit-form { padding: 0; } + &.cms-panel-padded { + padding: $grid-y*2 $grid-x*2; + } } .ui-widget-header {