Skip to content
Snippets Groups Projects
rich-text-editor.component.scss 2.37 KiB
Newer Older
tiptap-editor {
  height: 57%;
}
:host ::ng-deep div.ProseMirror {
  outline: none;
:host ::ng-deep .ProseMirror p strong {
  letter-spacing: 0.04em !important;
  font-weight: 600 !important;
}
:host ::ng-deep .ProseMirror h1 {
  font-weight: bold;
  font-size: 20px;
}
:host ::ng-deep .ProseMirror h2 {
  font-weight: bold;
  font-size: 18px;
}
:host ::ng-deep .ProseMirror h3 {
  font-weight: bold;
  font-size: 16px;
}
:host ::ng-deep .ProseMirror h4 {
  font-weight: normal;
  font-size: 16px;
}
  color: inherit;
button.active {
  background-color: lightgrey;
.combo-button {
  margin-top: -2px;
  margin-left: 10px;
.combo-button mat-select {
  margin-top: 20%;
.combo-button-select {
  border: none;
  outline: none;
  max-width: 15px;
}

.editor-control-panel {
  background: linear-gradient(to top right, #FFF5F8, #FAFAFA);
  font: unset;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
.small-dropdown {
.dropdown {
  width: 110px;
.indent-size-input {
  width: 90px;
  top: -7px;
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
:host ::ng-deep .indent-size-input .mat-form-field-flex {
  padding: 5px;
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
:host ::ng-deep .indent-size-input .mat-form-field-infix {
  padding: .25em 0 .15em 0;
}

:host fieldset {
  box-sizing: content-box !important;
  border-radius: 3px;

.fx-column-start-stretch {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.fx-row-start-stretch {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
.fx-row-start-start {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}

.fx-row-space-between-stretch {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
}

.fx-row-space-around-center {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}