Sha256: a14354778284a78dc51a12fe3aec63a46e6481f3fc127b8d4edd62fc3f13dd23

Contents?: true

Size: 1.48 KB

Versions: 5

Compression:

Stored size: 1.48 KB

Contents

ul#sortable,
ul.sortable {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 64px;

  li {
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba( 0, 0, 0, 0.1 );
    cursor: move;

    &:first-child {
      padding-top: 8px;
      border-top: 1px solid rgba( 0, 0, 0, 0.1 );
    }

    img {
      max-height: 64px;
      width: auto;
      margin-right: 32px;
    }
  }
}

ul#sortable > li > *,
ul.sortable > li > * {
  display: inline-block;
}

.sortable-handle {
  width: 12px;
  height: 12px;
  margin-left: 8px;
  margin-right: 16px;
  border-radius: 6px;
  background-color: #CCC;
}

.ui-state-highlight {
  background-color: #E2E2E2;
}

tbody#sortable,
tbody.sortable {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 64px;

  tr {
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba( 0, 0, 0, 0.1 );

    &:first-child {
      padding-top: 8px;
      border-top: 1px solid rgba( 0, 0, 0, 0.1 );
    }

    img {
      max-height: 64px;
      width: auto;
      margin-right: 32px;
    }
  }

  &.sortable--no-handle { 
    tr {
      cursor: move;
    }
  }
}

tbody#sortable > tr > *,
tbody.sortable > tr > * {
  // display: inline-block;
}



.sortable-placeholder {
  height: 48px;
}

.sortable--handle {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  margin-right: 16px;
  border-radius: 6px;
  background-color: #CCC;
  cursor: move;
}

.ui-state-highlight {
  background-color: #E2E2E2;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
binda-0.0.7 app/assets/stylesheets/binda/components/sortable.scss
binda-0.0.6 app/assets/stylesheets/binda/components/sortable.scss
binda-0.0.5 app/assets/stylesheets/binda/components/sortable.scss
binda-0.0.3 app/assets/stylesheets/binda/components/sortable.scss
binda-0.0.2 app/assets/stylesheets/binda/components/sortable.scss