@mixin zoom() {
  .geoscene-zoom {
    display: flex;
    flex-flow: column nowrap;

    .geoscene-widget--button {
      box-shadow: none;

      &:first-child {
        margin-bottom: 0;
      }

      &:last-child {
        border-top: solid 1px $border-color;
      }
    }

    &.geoscene-zoom--horizontal {
      flex-flow: row-reverse nowrap;

      .geoscene-widget--button {
        &:last-child {
          border-top: none;
        }

        &:first-child {
          border-left: solid 1px $border-color;
        }
      }
    }
  }

  [dir="rtl"] {
    .geoscene-zoom {
      &.geoscene-zoom--horizontal {
        .geoscene-widget--button {
          &:first-child {
            border-top: none;
          }

          &:last-child {
            border-left: solid 1px $border-color;
          }
        }
      }
    }
  }
}

@if $include_Zoom == true {
  @include zoom();
}