Sha256: d22751ed819942c05b26a0e448a14967e415be4c9d97d40690d49e8f622636ee

Contents?: true

Size: 1.51 KB

Versions: 8

Compression:

Stored size: 1.51 KB

Contents

.dd {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dd-list {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;

  .dd-list {
    padding-left: 30px;
  }
}

.dd-collapsed .dd-list {
  display: none;
}

.dd-item, .dd-empty, .dd-placeholder {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
}

.dd-handle {
  display: block;
  margin: 5px 0;
  padding: 10px 10px;
  color: $dark;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid $light;
  background: $white;
  box-sizing: border-box;
  -moz-box-sizing: border-box;

  &:hover {
    color: $contrast;
    cursor: move;
  }
}

.dd-item > button {
  display: block;
  position: relative;
  cursor: pointer;
  float: left;
  width: 25px;
  margin: 5px 0;
  padding: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  border: 0;
  background: transparent;
  line-height: 1;
  padding-top: 7px;
  text-align: center;
  font-weight: bold;

  &:before {
    content: '+';
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
  }
  &[data-action="collapse"]:before {
    content: '-';
  }
}

.dd-placeholder {
  margin: 5px 0;
  padding: 0;
  min-height: 30px;
  background: lighten($light, 10%);
  border: 1px dashed $contrast;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.dd-dragel {
  position: absolute;
  pointer-events: none;
  z-index: 9999;

  > .dd-item .dd-handle {
    margin-top: 0;
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cg_app_base-1.1.1 app/assets/stylesheets/flatty/theme/_nestable-list.scss
cg_app_base-1.0.78 app/assets/stylesheets/flatty/theme/_nestable-list.scss
cg_app_base-1.0.62 app/assets/stylesheets/flatty/theme/_nestable-list.scss
cg_app_base-1.0.56 app/assets/stylesheets/flatty/theme/_nestable-list.scss
cg_app_base-1.0.55 app/assets/stylesheets/flatty/theme/_nestable-list.scss
cg_app_base-1.0.54 app/assets/stylesheets/flatty/theme/_nestable-list.scss
cg_app_base-1.0.52 app/assets/stylesheets/flatty/theme/_nestable-list.scss
cg_app_base-1.0.51 app/assets/stylesheets/flatty/theme/_nestable-list.scss