Sha256: e617fb6689b4fb7b0877e14846f3d584be62ce4dbbd30ccbcb194b4f882b522d

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 KB

Contents

// List (supports reordering + typeahead) ----------------- */

.input-list {
  input {
    padding-left : 2em;
    margin-top   : .1em;
  }

  ul {
    line-height : 1.5;
    list-style  : none;
    padding     : 0;
    margin      : 0 0 0 2em;

    li {
      @include position(relative);
      @include user-select(none);

      a {
        font-size : .75em;
        color     : $formagic-assertive-color;
      }
    }
  }

  .slip-reordering {
    color : $formagic-positive-color;
  }

  .icon-reorder {
    // TODO: this should be refactored as well to use fontawesome icon
    height : 25px;
    width  : 25px;
    left   : -1.75em;

    &:before {
      left : 0;
      top  : 9px;
    }

    &:after {
      left : 0;
      top  : 14px;
    }
  }

  .twitter-typeahead {
    width: 100%;

    &:after {
      @include position(absolute, -3px null null 12px);
      font-size : 22px;
      content   : '+';
      display   : block;
      height    : 24px;
      width     : 40px;
      color     : darken($formagic-border-color, 5%);
    }
  }

  .tt-suggestions {
    background : rgba(255,255,255, .95);
    padding    : .1em .5em;
    margin     : 0 0 0 1.55em;
  }

  .tt-suggestion  {
    opacity : .5;
    cursor  : pointer;

    p {
      line-height : 1.5;
      margin      : 0;
    }

    &.tt-cursor {
      opacity : 1;
    }
  }
}




Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
formagic-0.3.10 app/assets/stylesheets/formagic/list.scss
formagic-0.3.9 app/assets/stylesheets/formagic/list.scss
formagic-0.3.8 app/assets/stylesheets/formagic/list.scss
formagic-0.3.7 app/assets/stylesheets/formagic/list.scss
formagic-0.3.4 app/assets/stylesheets/formagic/list.scss
formagic-0.3.3 app/assets/stylesheets/formagic/list.scss