_LineOfSight.scss 756 Bytes
Newer Older
1
@mixin lineOfSight() {
杨思琦's avatar
杨思琦 committed
2 3 4 5 6 7 8 9
  .esri-line-of-sight {
    &__container {
      display: flex;
      position: relative;
      flex-flow: column;
      gap: $cap-spacing;
      padding: var(--esri-widget-padding);
      overflow-y: auto;
10 11
    }

杨思琦's avatar
杨思琦 committed
12 13 14
    &__error {
      color: $font-color--error;
    }
15

杨思琦's avatar
杨思琦 committed
16 17 18 19 20
    &__hint {
      display: flex;
      flex-direction: column;
      gap: $cap-spacing;
    }
21

杨思琦's avatar
杨思琦 committed
22 23 24 25
    &__error,
    &__hint {
      overflow: hidden;
      animation: esri-fade-in 250ms ease-in-out;
26

杨思琦's avatar
杨思琦 committed
27 28 29 30 31
      p {
        margin: 0;
        padding: 0;
      }
    }
32

杨思琦's avatar
杨思琦 committed
33 34 35 36 37 38
    &__actions {
      display: flex;
      flex-flow: column;
      gap: $cap-spacing--half;
      justify-content: center;
    }
39 40 41 42 43 44
  }
}

@if $include_LineOfSight == true {
  @include lineOfSight();
}