@import '~styles/mixins';

.code-editor-input {
  .content {
    color: black;
    background: #f9f9f9;
    padding: 0 !important;
  }
  .code-value {
    padding: 0 !important;
  }

  .preview {
    position: absolute;
    background-color: white;
    cursor: pointer;
    z-index: 1;
    right: 0;
    top: 0;
    border-top-right-radius: $border_radius;
    padding: 7px;
    font-size: 10px;
    text-transform: uppercase;
    border-left: 1px solid $color_border;
    border-bottom: 1px solid $color_border;
  }
}
.preview-modal {
  .preview-iframe {
    width: 100%;
    min-height: 500px;
    body {
      font-family: Arial, Helvetica, sans-serif;
    }
  }
  .preview-code {
    text-align: left;
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif;
  }
}
