.SettingsBox,
.IntegrationSettingsBox {
  background-color: $content-background;
  margin: 24px 0;
  position: relative;

  &-toggle {
    background-color: $content-background;
    color: $link-color;
    cursor: pointer;
    display: block !important;
    float: right;
    font-size: 12px;
    margin-right: 24px;
    padding: 3px 6px;
    position: relative;
    text-decoration: underline;
    top: -12px;
    z-index: 10;

    &:hover {
      color: $link-hover-color;
    }

    &--inline {
      float: none;
    }
  }

  &-summary {
    border: 1px solid $border-color;
    min-height: 3em;
    padding: 24px;
    position: relative;

    span {
      display: none;
    }
  }
}

.Environment,
.Configuration {
  background-color: $body-background;
  position: relative;

  &--is-promoted::after {
    border-left: 2px solid $border-color;
    bottom: -100%;
    content: '';
    left: 50%;
    position: absolute;
    top: 100%;
    z-index: 0;
  }

  &--is-successful::after {
    border-left-color: $success-color;
  }

  &--is-erroneous::after {
    border-left-color: $error-color;
  }

  &-summary {
    border: 2px solid $border-color;
    min-height: 3em;
    padding: 24px;
    position: relative;
  }

  &-title {
    margin: 0 !important;
  }

  &--is-successful {
    border-color: $success-color;
  }

  &--is-erroneous {
    border-color: $error-color;
  }
}
