@use '../abstracts' as *;

/* Organism - Workspace */

.o-workspace {
  $this: &;

  display: grid;
  height: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: 64px 1fr;
  grid-template-areas:
    'tools'
    'dash';
  text-align: left;

  &__toolbox {
    grid-area: tools;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    padding-right: toRem(5);
  }

  &__dashboard {
    grid-area: dash;
    height: 100%;
    overflow: hidden;
  }

  #{$this}__toolbox {
    border-bottom-width: toRem(1);
    border-bottom-style: solid;

    .m-actions-list {
      height: toRem(60);
      padding: 0 toRem(20);

      &__item {
        &:first-child {
          margin-right: toRem(10);
        }

        &:not(:first-child) {
          margin-right: toRem(5);
        }

        &.is-screen-size-select{
          width: 157px;
          padding-left: toRem(7);
        }
      }

      .a-toggle {
        width: 207px;
      }
    }
  }
}
