Sha256: 66de823f410a1fec10c2eb369ef2aeb13be2f25b4b8eec6bfd85ad4ccaf222cf

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

body.active_admin {
  .trumbowyg-box {
    border: 1px solid #c9d0d6;
    border-radius: 3px;
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    width: calc(80% - 2px);

    button {
      background: transparent;
      border-radius: 0;
      box-shadow: none;
      color: #222;
      text-shadow: none;
    }

    textarea {
      border: 0 none;
      display: block;
    }

    >.trumbowyg-editor {
      background-color: #fff;

      // reset internal elements
      * {
        margin: initial;
        padding: initial;
        text-align: initial;
      }

      p {
        margin-bottom: 1em;
      }

      ol {
        list-style-type: decimal;
      }

      ul {
        list-style-type: disc;
      }

      ul, ol {
        margin: 0 1.5em 1.5em 0;
        padding-left: 1.5em;
      }
    }

    .trumbowyg-button-pane {
      background: transparent;
      border-bottom: 0 none;
    }
  }

  .trumbowyg-modal {
    .trumbowyg-modal-button {
      line-height: initial;
      text-shadow: none;
    }
  }

  .field_with_errors >.trumbowyg-box {
    border: 1px solid #932419;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin_trumbowyg-0.2.6 app/assets/stylesheets/activeadmin/_trumbowyg_input.scss
activeadmin_trumbowyg-0.2.4 app/assets/stylesheets/activeadmin/_trumbowyg_input.scss