Sha256: 1c5a84cbd79a652aeeb993b0093896d51e40bc9bc3f90af34a6d6f0cb67b3221

Contents?: true

Size: 1.42 KB

Versions: 129

Compression:

Stored size: 1.42 KB

Contents

//
// List View Drag and Drop
// See: https://github.com/marceljuenemann/angular-drag-and-drop-lists
// --------------------------------------------------

.list-view-pf-dnd {
  // Override dnd styles
  .dndDragging {
    &.drag-original {
      display: none;
      // Show when dragging original list items
      .list-view-pf-dnd-original-items {
        display: block;
      }
    }
    // Show dragable list items during move operation
    .list-view-pf-dnd-drag-items {
      display: inline-block;
    }
    // Hide original list items during dnd move operation
    .list-view-pf-dnd-original-items {
      display: none;
    }
  }
  // Override dnd placeholder element for dragging list items to
  .dndPlaceholder {
    background-color: $color-pf-black-200;
    padding: 20px 0;
  }
  // A handle decoration shown to left of each list items row
  .list-group-item-header {
    margin-left: -10px;
    &:before {
      background-image: linear-gradient(to bottom, $color-pf-blue-400 60%, $color-pf-white 0%);
      background-position: left;
      background-repeat: repeat-y;
      background-size: 2px 5px;
      border: 4px solid $color-pf-blue-400;
      border-color: $color-pf-blue-500;
      content: "";
      height: 55px;
      left: 4px;
      position: absolute;
      top: 5px;
      width: 10px;
    }
  }
}

// Always hide dragable list items until shown during dnd move operation
.list-view-pf-dnd-drag-items {
  display: none;
}

Version data entries

129 entries across 86 versions & 1 rubygems

Version Path
patternfly-sass-3.59.5 dist/sass/patternfly/_list-view-dnd.scss
patternfly-sass-3.59.5 dist/sass/rcue/_list-view-dnd.scss
patternfly-sass-3.59.4 dist/sass/patternfly/_list-view-dnd.scss
patternfly-sass-3.59.4 dist/sass/rcue/_list-view-dnd.scss
patternfly-sass-3.59.3 dist/sass/patternfly/_list-view-dnd.scss
patternfly-sass-3.59.3 dist/sass/rcue/_list-view-dnd.scss
patternfly-sass-3.59.2 dist/sass/patternfly/_list-view-dnd.scss
patternfly-sass-3.59.2 dist/sass/rcue/_list-view-dnd.scss
patternfly-sass-3.59.1 dist/sass/patternfly/_list-view-dnd.scss
patternfly-sass-3.59.1 dist/sass/rcue/_list-view-dnd.scss
patternfly-sass-3.59.0 dist/sass/patternfly/_list-view-dnd.scss
patternfly-sass-3.59.0 dist/sass/rcue/_list-view-dnd.scss
patternfly-sass-3.58.0 dist/sass/patternfly/_list-view-dnd.scss
patternfly-sass-3.58.0 dist/sass/rcue/_list-view-dnd.scss
patternfly-sass-3.57.2 dist/sass/patternfly/_list-view-dnd.scss
patternfly-sass-3.57.2 dist/sass/rcue/_list-view-dnd.scss
patternfly-sass-3.57.1 dist/sass/rcue/_list-view-dnd.scss
patternfly-sass-3.57.1 dist/sass/patternfly/_list-view-dnd.scss
patternfly-sass-3.57.0 dist/sass/patternfly/_list-view-dnd.scss
patternfly-sass-3.57.0 dist/sass/rcue/_list-view-dnd.scss