/**
 * @license
 * Copyright Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
@use './core' as *;

//
// Host
//

:host {
  @include host;
}

:host([hidden]) {
  display: none;
}

//
// Base
//

.forge-toolbar {
  @include tokens;
}

.forge-toolbar {
  @include base;
}

.inner {
  @include inner;
}

.section {
  @include section;

  &.center {
    @include center;
  }

  &.end {
    @include end;
  }
}

//
// Inverted
//

:host([inverted]) {
  .forge-toolbar {
    @include inverted;
  }
}

//
// No divider
//

:host(:is([no-divider],[no-border])) {
  .forge-toolbar {
    border: none;
  }
}

//
// No padding
//

:host([no-padding]) {
  .forge-toolbar {
    @include override(padding, 0, value);
  }
}

//
// Auto height
//

:host([auto-height]) {
  .forge-toolbar {
    @include override(height, auto, value);
  }
}

//
// Slotted
//

::slotted(:is(h1,h2,h3,h4,h5,h6,p)) {
  margin: 0;
}
