@import 'color';

.qmsckeditor {
    font-family: Roboto,'Helvetica Neue',sans-serif;
    font-size: 14px;
    font-weight: normal;
    h2 {
      font-size: 20px;
      font-weight: normal;
    }
    .mat-dialog-content {
        padding: 0;
    }
    .mat-icon  {
        color: $mat-icon-color;
    }

    &__fullscreen {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: $white-background-color;
        overflow-y: auto;
        max-height: 100vh;
        overflow-x: hidden;
    }

    &__cursor {
        cursor: pointer;
    }

    &__notallowed {
        cursor: not-allowed;
    }
}
.qmsckeditor.button {
    &__close {
        float: right;
        top: -24px;
        right: -24px;
        cursor: pointer;
    }
}
.qmsckeditor.button {
  &__done {
      float: right;
      top: -24px;
      right: -24px;
      cursor: pointer;
      margin-right: 20px;

      .mat-icon  {
        color: $success-color;
        font-weight: bold;
      }
  }
}

.qmsckeditor.button__groups {
    button {
        min-height: 40px;
        width: 100%;
        border-radius: 4px;
        border: 1px solid #C5C5C5;
        font-family: "Open Sans";
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 1px;
        line-height: 16px;
    }
    .save {
        background: $button-background;
    }
    .save:hover {
        background: $button-background-hover;
    }
    .save:disabled {
        cursor: not-allowed;
    }

    .cancel {
        background: $button-background;
    }
    .cancel:hover {
        background: $button-background-hover;
    }
    .cancel:disabled {
        cursor: not-allowed;
    }

    .delete {
        background: $button-background;
    }
    .delete:hover {
        background: $button-background-hover;
    }
    .delete:disabled {
        cursor: not-allowed;
    }
}

.qmsckeditor.confirm__button__groups {
    button {
        min-height: 36px;
        border-radius: 4px;
        width: auto;
        border: 1px solid #C5C5C5;
        font-family: "Open Sans";
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 1px;
        line-height: 16px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .confirm {
        background: $button-background;
    }
    .confirm:hover {
        background: $button-background-hover;
    }
    .cancel {
        background: $button-background;
    }
    .cancel:hover {
        background: $button-background-hover;
    }
}

.qmsckeditor.template-content {}
.qmsckeditor.template-content.height{
    min-height: 420px;
    max-height: 520px;
    overflow: auto;
}
.qmsckeditor.template-content.title {
    margin-left: -9px;
}
.qmsckeditor.link__content.height{
    min-height: 400px;
    max-height: 520px;
}

.qmsckeditor.card {
    margin-bottom: 10px;
    min-height: 60px;
    box-shadow: none;
    border: 1px solid $mat-card-color;
    .title{
        font-weight: bold;
    }
    .content{
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    .material-icons {
        font-size: 20px;
    }
}

.qmsckeditor.tooltip-content.height{
    min-height: 400px;
    max-height: 472px;
    overflow: auto;
}

.qmsckeditor.save__as__template.height{
    height: 125px
}

.ck-content .page-break {
  width: 100%;
}

.ck-content .ck-horizontal-line {
    width: 100%;
}

.ck-content hr {
    background: #ccc;
}
