Sha256: d11263722bdf0201eb110922c4b364615ab9b3881383216f6c8b2fffaa7e6e29

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

.effective_rich_text_area {
  height: 100%;
  border-color: #ccc;

  &:hover,
  &:active,
  &:focus, {
    border-color: #ccc;
    outline: 0px !important;
    -webkit-appearance: none;
    box-shadow: none !important;
  }
}

// Trix image caption
.trix-content {
  figcaption.attachment__caption { display: none; }
}

// Bootstrap 4 Feedback client side
.was-validated .form-control:invalid ~ .trix-content, { border-color: #dc3545 !important; }
.was-validated .form-control:valid ~ .trix-content { border-color: #28a745 !important; }
.was-validated .form-control:invalid ~ trix-toolbar, { border-color: #dc3545 !important; }
.was-validated .form-control:valid ~ trix-toolbar { border-color: #28a745 !important; }

// Bootstrap 4 Server side feedback
.form-control.is-invalid ~ .trix-content { border-color: #dc3545 !important; }
.form-control.is-invalid ~ trix-toolbar { border-color: #dc3545 !important; }
.form-control.is-valid ~ .trix-content { border-color: #28a745 !important; }
.form-control.is-valid ~ trix-toolbar { border-color: #28a745 !important; }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_bootstrap-0.9.24 app/assets/stylesheets/effective_rich_text_area/rich_text_area.scss