Sha256: 24360c1dd454c442bb20b59e23c40518f4b3666699054b90def33789a138ddaf

Contents?: true

Size: 791 Bytes

Versions: 5

Compression:

Stored size: 791 Bytes

Contents

.h-form-file {
  .h-form-file-thumbnails {
    margin-bottom: map-get($spacers, 2);
  }

  &.h-dropzone {
    padding: map-get($spacers, 2);

    .h-form-file-thumbnails {
      margin-bottom: 0;
    }
  }
}

.h-form-file-thumbnails {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: map-get($spacers, 2);
}

.h-form-file-thumbnail {
  position: relative;
  pointer-events: initial !important;
  display: flex;
}

.h-form-file-thumbnail-remove {
  position: absolute;
  top: 0;
  right: 0;
  background: $danger;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: $border-radius;
  z-index: 3;
  cursor: pointer;

  &:hover {
    background: tint-color($danger, $btn-hover-bg-tint-amount)
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
headmin-0.5.1 app/assets/stylesheets/headmin/forms/file.scss
headmin-0.5.0 app/assets/stylesheets/headmin/forms/file.scss
headmin-0.4.2 app/assets/stylesheets/headmin/forms/file.scss
headmin-0.4.1 app/assets/stylesheets/headmin/forms/file.scss
headmin-0.4.0 app/assets/stylesheets/headmin/forms/file.scss