Sha256: bb56f5eba4eace956b8e32642dcbba17784fad553a37d9cae6ac67e86d7f216d

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

@import 'active_admin/mixins';

body form .html_editor {
  .wrap {
    width: 76%;
    float: left;
  }

  &.uploading .spinner {
    display: inline;
  }

  .spinner {
    display: none;
  }

  textarea {
    border-radius: 0 0 3px 3px;
    width: 100%;
    height: 300px;
    border-top: 1px solid lighten(#C9D0D6, 10%);

    &:focus {
      @include box-shadow(none);
      border: 1px solid #C9D0D6;
      border-top: 1px solid lighten(#C9D0D6, 10%);
    }
  }

  .toolbar {
    width: 100%;
    padding: 0 10px;
    border: 1px solid #C9D0D6;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
    background: #fff;

    ul li {
      display: inline-block;
    }

    ul li a {
      display: block;
      padding: 5px 10px;
      text-decoration: none;
      color: #999;

      &.wysihtml5-command-active,
      &.wysihtml5-action-active,
      &.wysihtml5-command-dialog-opened {
        text-decoration: underline;
        color: #38678B;
      }
    }

    &.wysihtml5-commands-disabled ul li a[data-wysihtml5-command] {
      display: none;
    }
  }

  .dialog {
    border-top: 1px solid lighten(#C9D0D6, 10%);
    padding: 10px 20px;
    margin: 0 -10px;

    label {
      margin-bottom: 10px;
      width: 300px;

      input {
        display: block;
      }

      select {
        display: block;
      }
    }

    .action-group {
      display: block;
      float: right;
      margin-top: 5px;
      clear: both;
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_admin_editor-1.0.3 app/assets/stylesheets/active_admin/editor.css.scss