Sha256: 17af70f2c064d0d80a62105be76fd3fae323c66b8f0dd67eef6602514f9c9d6c

Contents?: true

Size: 787 Bytes

Versions: 7

Compression:

Stored size: 787 Bytes

Contents

.inputs-sortableblock {
  
}

.c-sortable__element {
  width: 100%;
  padding-top: 20px;
  position: relative;
  @include clearfix();
  &:hover {
    .c-sortable__handle {
      opacity: 1;
    }
  }
}

.c-sortable__destination {
  background-color: darken($color_grey, 5%);
  opacity: 0.3;
  transition: all 0.25s;
}

.c-sortable__handle {
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background: $color_grey;
  border-radius: 3px;
  text-align: center;
  opacity: 0;
  cursor: move;
  transition: all 0.25s;
  z-index: 10;
  svg {
    display: block;
    width: 15px;
    height: 15px;
    margin: 5px auto 0 auto;
    path {
      fill: $color_main;
    }
  }
}

@media only screen and(max-width: 1023px) {
  .c-sortable__handle {
    opacity: 1;
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lato_core-2.2.2 app/assets/stylesheets/lato_core/cells/inputs/_sortableblock.scss
lato_core-2.2.0 app/assets/stylesheets/lato_core/cells/inputs/_sortableblock.scss
lato_core-2.1.4 app/assets/stylesheets/lato_core/cells/inputs/_sortableblock.scss
lato_core-2.1.3 app/assets/stylesheets/lato_core/cells/inputs/_sortableblock.scss
lato_core-2.1.2 app/assets/stylesheets/lato_core/cells/inputs/_sortableblock.scss
lato_core-2.1.1 app/assets/stylesheets/lato_core/cells/inputs/_sortableblock.scss
lato_core-2.1 app/assets/stylesheets/lato_core/cells/inputs/_sortableblock.scss