/******** ---- Workflow page ---- *********/

/* Contains all of Workflow page */

.workflow-root {
  /* Contains Navbar, StepList, and Outputpane */
  .workflow-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;

    nav.navbar {
      flex: 0 0 auto;
    }
  }

  /* Contains StepList and Outputpane */
  .workflow-columns {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    background-color: $WF-background;
    position: relative;
    z-index: 0;

    overflow: hidden; // height determined by parent, not children. https://www.pivotaltracker.com/story/show/158034835
  }

  .not-your-workflow {
    cursor: default;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: $brand-learn;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    height: 5rem;
    z-index: 1;

    &>span {
      display: contents;
    }

    .action-button {
      display: inline-block;
      @include button-white--fill;
      @include content-1;
      color: $brand-learn;
      margin: 0 1rem 0 2rem;
      line-height: 3.3rem;
    }
  }

  &.in-lesson {
    display: flex;
    flex-direction: row;

    .workflow-container {
      flex: 1 1 auto;
    }

    .workflow-columns {
      border-left: 1px solid $dark-accent--soft;
    }
  }
}
