mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Include padding on padded edit form panels inside a tabset
This commit is contained in:
parent
ace7c04b9e
commit
10f46ba08e
@ -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; }
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user