@import '../assets/scss/variables.scss';

.tab_view {
  border-radius: 0.25rem!important;
  overflow: hidden!important;

  @at-root #{&}__tabs {
    display: flex!important;

    @at-root #{&}--small_tabs {
      background-color: rgb(17, 18, 19) !important;
      border-bottom: thin solid rgb(17, 18, 19) !important;
    }

    @at-root #{&}--transparent {
      background-color: transparent!important;
      border: none!important;
    }
  }
  @at-root #{&}__tab {
    flex-grow: 1!important;
    text-align: center!important;
    position: relative!important;
    cursor: pointer!important;
    font-weight: 300!important;
    padding: 0.5rem 0!important;
    background-color: rgb(24, 26, 27)!important;
    transition: background-color 0.2s!important;

    &:hover {
      background-color: rgb(17, 18, 19) !important
    }
    &:active {
      background-color: rgb(14, 13, 13) !important
    }

    @at-root #{&}--small_tabs {
      border-radius: 0.25rem 0.25rem 0 0!important;
      flex-grow: 0!important;
      border-bottom: 0!important;
      margin: 0 0.25rem!important;
      padding: 0.5rem!important;
      margin-top: 0.25rem!important;

      &::after {
        content: ''!important;
        position: absolute!important;
        background-color: rgb(14, 13, 13) !important;
        width: 100%!important;
        bottom: -2px!important;
        left: 0!important;
        height: 2px!important;
        opacity: 0!important;
        transition: all 0.2s!important;
      }
    }

    @at-root #{&}--transparent {
      background-color: transparent!important;
      flex-grow: 0!important;
      margin: 0 0.25rem!important;
      padding: 0.5rem!important;
      margin-top: 0.25rem!important;
      font-size: 1.25rem!important;

      &:after {
        content: ''!important;
        position: absolute!important;
        background-color: rgb(14, 13, 13) !important;
        width: 100%!important;
        bottom: -3px!important;
        left: 0!important;
        height: 3px!important;
        border-radius: 1rem!important;
        opacity: 0!important;
        pointer-events: none!important;
        transition: opacity 0.2s, bottom 0.2s, background-color 0.2s!important;
      }

      &:hover {
        background-color: transparent!important;

        &:after {
          background-color: rgb(14, 13, 13) !important;
          opacity: 1!important;
          bottom: 0px!important;
        }
      }
      &:active {
        background-color: transparent!important;
      }
    }

    @at-root #{&}--selected {
      background-color: rgb(14, 13, 13) !important;

      &:hover {
        background-color: rgb(14, 13, 13) !important;
      }
      &:active {
        background-color: rgb(14, 13, 13) !important;
      }
    }

    @at-root #{&}--selected_small_tabs {
      background-color: rgb(14, 13, 13) !important;

      &::after {
        opacity: 1!important;
      }
    }
  }
  @at-root #{&}__content {
    background-color: rgb(24, 26, 27)!important;

    @at-root #{&}--padding {
      padding: 1rem!important;
    }
    @at-root #{&}--transparent {
      background-color: transparent!important;
    }
  }
}
.header__group:nth-child(2) {
  position: fixed;
  padding-top: 1.5rem;
  width: 17rem;
  display: flex;
  flex-direction: column;
  z-index: 2;
  background: #fff;
  top: 0;
  left: calc(-100% - 2rem);
  height: 100%;
  box-shadow: none;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease-in;

  > .button {
    width: 100%;
    border-radius: 0;
    margin: 0;
    margin-bottom: 1rem;
  }

  &::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.3rem;
    content: '';
    background: linear-gradient(to right, hsl(200, 98%, 43%), hsla(193, 98%, 48%, 1));
  }
}
.editor {
  display: flex;
  background-color: rgb(24, 26, 27)!important;
  border: thin solid rgb(42, 43, 43) !important;
}
