@import "./split-pane";
@import "./split-pane.ios.vars";

// Split Pane
// --------------------------------------------------

:host {
  --border: #{$split-pane-ios-border};
  --side-min-width: #{$split-pane-ios-side-min-width};
  --side-max-width: #{$split-pane-ios-side-max-width};
}

:host(.split-pane-visible) ::slotted(.split-pane-side) {
  min-width: var(--side-min-width);
  max-width: var(--side-max-width);

  border-right: var(--border);
  border-left: 0;
}

:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]) {
  min-width: var(--side-min-width);
  max-width: var(--side-max-width);

  border-right: 0;
  border-left: var(--border);
}
