Sha256: 885da5c009d887637812d0bfb16a93b953a3212865562fede5160b96ac334c4f

Contents?: true

Size: 1.45 KB

Versions: 11

Compression:

Stored size: 1.45 KB

Contents

/* Redactor styles improvements for Chraracter ------------ */

// input

.input-inverter,
.input-redactor {
  .redactor-box {
    margin-bottom : 0;
  }

  .redactor-toolbar {
    border-bottom : 2px solid $formagic-border-color;
    box-shadow    : none;
  }

  .redactor-editor {
    border  : 0;
    padding : 1em .5em 0 .5em;
  }
}

// toolbar

.redactor-toolbar li a:hover { background-color: $formagic-positive-color; }
.redactor-dropdown a:hover   { background-color: $formagic-positive-color; }

// placeholder

.redactor-placeholder:after {
  color : $formagic-placeholder-color!important;
  left  : .5em;
  top   : 18px;
}

// scrollbars

.redactor-editor, textarea.redactor { @include custom-scrollbar(rgba($formagic-base-color, .5), $formagic-border-color, 3px); }

// line-height issue fix

.redactor-editor {
  line-height: inherit !important;
}

// modal

#redactor-modal-close {
  line-height : 30px;
  text-align  : center;
}

#redactor-modal footer button {
  &.redactor-modal-close-btn { background-color: $formagic-placeholder-color;
    &:hover { background-color: $formagic-placeholder-color; opacity: .75; } }

  &.redactor-modal-action-btn { background-color: $formagic-positive-color;
    &:hover { background-color: $formagic-positive-color;    opacity: .75; color: white; } }

  &.redactor-modal-delete-btn { background-color: $formagic-assertive-color;
    &:hover { background-color: $formagic-assertive-color;   opacity: .75; color: white; } }
}




Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
formagic-0.3.10 app/assets/stylesheets/formagic/redactor-character.scss
formagic-0.3.9 app/assets/stylesheets/formagic/redactor-character.scss
formagic-0.3.8 app/assets/stylesheets/formagic/redactor-character.scss
formagic-0.3.7 app/assets/stylesheets/formagic/redactor-character.scss
formagic-0.3.4 app/assets/stylesheets/formagic/redactor-character.scss
formagic-0.3.3 app/assets/stylesheets/formagic/redactor-character.scss
formagic-0.3.2 app/assets/stylesheets/formagic/redactor-character.scss
formagic-0.3.1 app/assets/stylesheets/formagic/redactor-character.scss
formagic-0.3.0 app/assets/stylesheets/formagic/redactor-character.scss
formagic-0.2.9 app/assets/stylesheets/formagic/redactor-character.scss
formagic-0.2.8 app/assets/stylesheets/formagic/redactor-character.scss