| 1 |
|
| 2 |
|
| 3 |
/* ================================================================================================================== */ |
| 4 |
/* === Divider ===================================================================================================== */ |
| 5 |
/* ================================================================================================================== */ |
| 6 |
/* Exception for Vertical Dividers: -- ------------------------------------------------------------------------------ */ |
| 7 |
.wpbc_bfb_form .wpbc_bfb__row .wpbc_bfb__column .wpbc_bfb__field[data-type="divider"][data-orientation="horizontal"]{ |
| 8 |
width:100%; |
| 9 |
margin: 0; |
| 10 |
min-width: 50px; |
| 11 |
} |
| 12 |
.wpbc_bfb_form .wpbc_bfb__row .wpbc_bfb__column .wpbc_bfb__field[data-type="divider"][data-orientation="vertical"], |
| 13 |
.wpbc_bfb_form .wpbc_bfb__row .wpbc_bfb__column .wpbc_bfb__field[data-type=divider][data-orientation=vertical] .wpbc_bfb__noaction, |
| 14 |
.wpbc_bfb_form .wpbc_bfb__row .wpbc_bfb__column .wpbc_bfb__field[data-type=divider][data-orientation=vertical] .wpbc_bfb__noaction * { |
| 15 |
height: 100%; |
| 16 |
min-height: 50px; |
| 17 |
margin: 0; |
| 18 |
box-sizing: border-box; |
| 19 |
padding: 0; |
| 20 |
justify-content: center; |
| 21 |
align-items: center; |
| 22 |
flex-flow: column nowrap; |
| 23 |
} |
| 24 |
.wpbc_bfb_form .wpbc_bfb__row .wpbc_bfb__column .wpbc_bfb__field[data-type=divider][data-orientation=vertical] .wpbc_bfb__field-preview{ |
| 25 |
position:relative; |
| 26 |
} |
| 27 |
/* === Exported Divider (Advanced Form) === ------------------------------------------------------------------------- */ |
| 28 |
div .wpbc_container .wpbc_bfb_form .wpbc__row .wpbc__field .bfb_element:has([data-orientation="vertical"]) { |
| 29 |
flex: 0 1 auto; |
| 30 |
} |
| 31 |
div div .wpbc_bfb_form .wpbc__row .wpbc__field .bfb_element:has(.wpbc_bfb_divider_wrap[data-orientation="horizontal"]) { |
| 32 |
flex: 0 1 auto; |
| 33 |
width:100%; |
| 34 |
} |
| 35 |
|
| 36 |
.wpbc_bfb_form .wpbc__row .wpbc__field .bfb_element:has(.wpbc_bfb_divider_wrap[data-orientation="vertical"]){ |
| 37 |
height:100%; |
| 38 |
} |
| 39 |
.wpbc_bfb_form .wpbc__row .wpbc__field .bfb_element .wpbc_bfb_divider_wrap[data-orientation="horizontal"] { |
| 40 |
width: 100%; |
| 41 |
} |
| 42 |
/* :AI: ------------------------------------------------------------------------- */ |
| 43 |
/* Horizontal divider inside a field block */ |
| 44 |
.wpbc_bfb_form .wpbc__row .wpbc__field .bfb_element .wpbc_bfb_divider--h { |
| 45 |
display: block; /* ensures margins, width work predictably */ |
| 46 |
box-sizing: border-box; |
| 47 |
} |
| 48 |
|
| 49 |
/* Vertical divider wrapper: stretch within column rows; height resolves for child 100% */ |
| 50 |
.wpbc_bfb_form .wpbc__row .wpbc__field .bfb_element .wpbc_bfb_divider_wrap[data-orientation="vertical"] { |
| 51 |
display: flex; /* supports height:100% on the inner line */ |
| 52 |
align-self: stretch; /* fill cross-size of the column row */ |
| 53 |
position: relative; |
| 54 |
} |
| 55 |
|
| 56 |
/* The vertical line itself draws via border-left; width comes from border */ |
| 57 |
.wpbc_bfb_form .wpbc__row .wpbc__field .bfb_element .wpbc_bfb_divider--v { |
| 58 |
width: 0; /* border-left is the visible width */ |
| 59 |
box-sizing: content-box; |
| 60 |
height: 100%; /* spans wrapper's height (see wrapper rule above) */ |
| 61 |
} |
| 62 |
|
| 63 |
/* Optional: when a row uses custom column styles, keep divider flexible */ |
| 64 |
.wpbc_bfb_form [data-colstyles-active="1"] .bfb_element .wpbc_bfb_divider_wrap[data-orientation="vertical"] { |
| 65 |
flex: 0 0 auto; |
| 66 |
} |
| 67 |
/* ================================================================================================================== */ |
| 68 |
.wpbc_bfb_form .wpbc__row .wpbc__field .bfb_element .wpbc_bfb_divider_wrap hr { |
| 69 |
background: transparent; |
| 70 |
} |