// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC

@import "refactor/common-refactor.scss";

.boolean-options {
  display: grid;
  grid-template-columns: repeat(8, $s-28);
  column-gap: $s-4;
  height: $s-32;
}

.bool-group {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / span 4;
}

.flatten-button {
  @extend .button-tertiary;
  height: $s-32;
  width: $s-32;
  border-radius: $br-8;
  grid-column: 5 / span 1;
  --flatten-icon-foreground-color: var(--icon-foreground);

  &.disabled {
    cursor: default;
    --flatten-icon-foreground-color: var(--button-foreground-color-disabled);

    &:hover {
      background-color: var(--panel-background-color);
      --flatten-icon-foreground-color: var(--button-foreground-color-disabled);
    }
  }
}

.flatten-icon {
  @extend .button-icon;
  stroke: var(--flatten-icon-foreground-color);
}

.boolean-radio-btn {
  background-color: transparent;
}
