Skip to content
Snippets Groups Projects
audio.scss 2.74 KiB
.audio-setup-panel {
  text-align: center;
  overflow-y: auto;
  display: flex; 
  flex-direction: column;
  height: 100%;
  width: 100%;
  margin: 24px;
  
  &__enter-button-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  &__enter-button {
    @extend %bottom-action-button;
    @extend %wide-button;
  }

  &__title {
    @extend %top-title;
    @extend %glass-text;
  }

  &__subtitle {
    @extend %top-subtitle;
    @extend %glass-text;
  }

  &__device-chooser {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 8px 0;
    width: 100%;

    &__dropdown {
      @extend %rounded-border;
      @extend %default-font;
      @extend %glass-text;

      appearance: none;
      background-color: white;
      -moz-appearance: none;
      -webkit-appearance: none;
      border: 1px solid #e2e2e2;
      padding: 6px;
      font-weight: bold;
      font-size: 0.9em;
      padding-left: 15px;
      padding-right: 30px;
      color: white;
      width: 90%;
      height: 50px;
    }

    &__mic-icon {
      pointer-events: none;
      position: absolute;
      left: 9%;
      width: 12px;
    }

    &__dropdown-arrow {
      pointer-events: none;
      position: absolute;
      right: 7.5%;
    }
  }

  &__levels {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;

    &__icon {
      position:relative;
      width: 111px;
      height: 111px;
      cursor: pointer;
    }

    &__icon-part {
      position:absolute;
      top: 0;
      left: 0;
    }
  }

  &__hmd-mic-warning {
    margin: 20px;

    &__label {
      vertical-align: middle;
      margin-left: 5px;
    }

    &__icon {
      vertical-align: middle;
    }
  }
}

.mic-grant-panel {
  display: flex;
  flex-direction: column;
  flex: 10 1 auto;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
  margin: 24px;

  &__grant-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: max-content;
  }

  &__title {
    @extend %top-title;
    @extend %glass-text;
  }

  &__subtitle {
    @extend %top-subtitle;
    @extend %glass-text;
  }

  &__button-container {
    flex: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 111px;
    height: 111px;
    margin: 1em;
  }

  &__button {
    background: none;
    border: none;
    cursor: pointer;
  }

  &__next-container {
    display: flex;
  }

  &__next {
    @extend %bottom-button;
    @extend %wide-button;
    flex: 1 1;
  }

  .invisible {
    visibility: hidden;
  }
}