@import '~utils/__utils';

.dashboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;

  height: 100%;

  width: 100%;
  max-width: 32em;

  .top-bar {
    position: relative;
    align-self: flex-start;

    width: 100%;

    padding: 1em 0;

    background: $color-contrast-rich;
    color: $color-base;

    text-align: center;

    p {
      margin: 0;

      line-height: 1;
    }

    button {
      position: absolute;
      top: 0;
      right: 0;

      height: 100%;

      padding: 0 1em;
      margin: 0;

      line-height: 1;
    }
  }

  ul {
    display: flex;
    flex-direction: column;

    flex: 1 1 100%;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;
  }

  li {
    flex: 1 1 100%;

    margin-top: 1em;

    width: 100%;
  }

  .demo-button {
    height: 100%;
    width: 100%;

    padding: 1em;

    color: $color-contrast-rich;

    background: $color-base;

    &.active {
      background: palegreen;
    }
  }
}

@import '~utils/__utils';

.dashboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;

  height: 100%;

  width: 100%;
  max-width: 32em;

  .top-bar {
    position: relative;
    align-self: flex-start;

    width: 100%;

    padding: 1em 0;

    background: $color-contrast-rich;
    color: $color-base;

    text-align: center;

    p {
      margin: 0;

      line-height: 1;
    }

    button {
      position: absolute;
      top: 0;
      right: 0;

      height: 100%;

      padding: 0 1em;
      margin: 0;

      line-height: 1;
    }
  }

  ul {
    display: flex;
    flex-direction: column;

    flex: 1 1 100%;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;
  }

  li {
    position: relative;

    flex: 1 1 100%;

    margin-top: 1em;

    width: 100%;
  }

  .demo-button {
    position: absolute;
    top: 0;
    left: 0;

    height: 100%;
    width: 100%;

    padding: 1em;

    color: $color-contrast-rich;

    background: $color-base;

    &.active {
      background: palegreen;
    }
  }
}

Fix css styles for safari.
:ambulance: Fix css styles for safari.
