@forward "icons/image";
a {
  cursor: pointer;
}
.sln-editor-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.sln-editor-textarea {
  min-height: 150px;
  overflow: auto;
  margin-top: 5px;
  resize: vertical;
  width: 100%;
  max-width: 100%;
  &:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    width: 8px;
    height: 8px;
    cursor: nwse-resize;
    background-color: rgba(255, 255, 255, 0.5);
  }
  ul,
  li {
    margin-left: 10px;
  }
  a {
    color: var(--PRIMARY);
  }
}

.list-style-circle {
  list-style-type: circle;
}

.list-style-disc {
  list-style-type: disc;
}

.list-style-square {
  list-style-type: square;
}

.sln-editor-textarea table {
  border: 1px solid black;
}

.sln-editor-textarea table tr {
  border: 1px solid black;
}

.sln-editor-textarea table tr td {
  border: 1px solid black;
}

.sln-list-button-html-wrapper {
  display: inline-block;
}

.sln-list-button-html-wrapper {
  display: inline-block;
}

.btn-list-wrapper {
  position: absolute;
  z-index: 2;
  background: transparent;
  .sln-editor-toolbar-set {
    display: flex !important;
    flex-wrap: wrap;
    align-content: space-around;
    border: 1px solid var(--GRAY);
    border-radius: 4px;
    justify-content: space-evenly;
    background: var(--WHITE);
    flex-direction: column;
  }
}

.sln-editor-toolbar {
  .sln-editor-toolbar-set {
    display: flex;
    align-items: center;
    .sln-toolbae-set-vert {
      color: #cecece;
    }

    .sln-editor-button {
      vertical-align: middle;
      padding: 4px;
      float: left;
      height: 30px;
      min-width: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      background: var(--WHITE);
      border-radius: 4px;
      &:hover {
        cursor: pointer;
        background-color: #e2e8ea;
        transition: 0.2s ease;
        border-radius: 4px;
      }

      &:focus,
      &.focus {
        outline: 0;
      }

      &:disabled {
        background-color: #f5f5f5;
        pointer-events: none;
        cursor: not-allowed;

        > .color-label {
          pointer-events: none;
          cursor: not-allowed;

          &.foreground {
            :after {
              background: #555555;
            }
          }

          &.background {
            background: #555555;
          }
        }
      }

      &.active {
        background: #e7f5ff;

        &:hover {
          background-color: #e7f5ff;
        }
      }
    }

    select {
      font-size: 11px;
      width: 90px;
      vertical-align: middle;
      background-color: transparent;
      border: 0.5px solid rgba(255, 255, 255, 0);
      border-radius: 5px;
      outline: none;
      padding: 0.4rem;
      cursor: pointer;
    }

    .select-heading {
      display: block !important;
      @supports not (-moz-appearance: none) {
        optgroup {
          font-size: 12px;
          background-color: #f4f4f4;
          padding: 5px;
        }
        option {
          border: 1px solid;
          background-color: white;
        }
        .default {
          font-size: 16px;
        }
        .h1 {
          font-size: 24px;
        }
        .h2 {
          font-size: 20px;
        }
        .h3 {
          font-size: 16px;
        }
        .h4 {
          font-size: 15px;
        }
        .h5 {
          font-size: 14px;
        }
        .h6 {
          font-size: 13px;
        }
        .div {
          font-size: 12px;
        }
        .pre {
          font-size: 12px;
        }
      }

      &:disabled {
        background-color: #f5f5f5;
        pointer-events: none;
        cursor: not-allowed;
      }

      &:hover {
        cursor: pointer;
        background-color: #f1f1f1;
        transition: 0.2s ease;
      }
    }

    .select-font {
      display: contents !important;
      width: 90px;
      @supports not (-moz-appearance: none) {
        optgroup {
          font-size: 12px;
          background-color: #f4f4f4;
          padding: 5px;
        }
        option {
          border: 1px solid;
          background-color: white;
        }
      }

      &:disabled {
        background-color: #f5f5f5;
        pointer-events: none;
        cursor: not-allowed;
      }

      &:hover {
        cursor: pointer;
        background-color: #f1f1f1;
        transition: 0.2s ease;
      }
    }

    .select-font-size {
      display: contents;
      width: 50px;
      @supports not (-moz-appearance: none) {
        optgroup {
          font-size: 12px;
          background-color: #f4f4f4;
          padding: 5px;
        }
        option {
          border: 1px solid;
          background-color: white;
        }
        .size1 {
          font-size: 10px;
        }
        .size2 {
          font-size: 12px;
        }
        .size3 {
          font-size: 14px;
        }
        .size4 {
          font-size: 16px;
        }
        .size5 {
          font-size: 18px;
        }
        .size6 {
          font-size: 20px;
        }
        .size7 {
          font-size: 22px;
        }
      }

      &:disabled {
        background-color: #f5f5f5;
        pointer-events: none;
        cursor: not-allowed;
      }

      &:hover {
        cursor: pointer;
        background-color: #f1f1f1;
        transition: 0.2s ease;
      }
    }

    .select-custom-style {
      display: inline-block;
      width: 90px;
      @supports not (-moz-appearance: none) {
        optgroup {
          font-size: 12px;
          background-color: #f4f4f4;
          padding: 5px;
        }
        option {
          border: 1px solid;
          background-color: white;
        }
      }

      &:disabled {
        background-color: #f5f5f5;
        pointer-events: none;
        cursor: not-allowed;
      }

      &:hover {
        cursor: pointer;
        background-color: #f1f1f1;
        transition: 0.2s ease;
      }
    }

    .color-label {
      position: relative;
      cursor: pointer;
    }

    .background {
      font-size: smaller;
      background: #1b1b1b;
      color: white;
      padding: 3px;
    }

    .foreground {
      :after {
        position: absolute;
        content: "";
        left: -1px;
        top: auto;
        bottom: -3px;
        right: auto;
        width: 15px;
        height: 2px;
        z-index: 0;
        background: #1b1b1b;
      }
    }
  }
}
.onFileChanged {
  .mdc-tab {
    max-width: 300px;
    min-width: 150px;
  }
} 
.sln-mat-tab{
  mat-tab-header {
    margin-bottom: 10px;
  }
  .mat-mdc-tab-body-content{
    overflow: hidden;
  }
}