Sha256: 41c8bd6041ead1343a6580ee31319d8e2aa4298d05372bc31d0e8d45894879f2

Contents?: true

Size: 899 Bytes

Versions: 2

Compression:

Stored size: 899 Bytes

Contents

.image-uploader {
  border: 2px solid transparent;
  background: var(--background-disabled-color);
  max-width: 500px;
  min-height: 150px;
  display: flex;
  color: var(--text-light-color);
  line-height: 1.6;
  box-shadow: inset 0px 0px 1px rgba(0, 0, 0, 0.1);
  padding: 1px;

  @media --mobile {
    flex-direction: column;
  }

  &.dragover {
    border: 2px dashed var(--border-color);
  }

  & .image {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 250px;
    max-height: 400px;

    & .editable-image img {
      width: auto;
      max-height: 400px;
    }

    @media --mobile {
      max-width: 100%;
    }
  }

  & .ui-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  & .ui {
    text-align: center;
    padding: 20px;
  }

  & .remove-image {
    display: block;
    margin-top: 20px;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pages_core-3.12.2 app/assets/stylesheets/pages_core/admin/components/image_uploader.css
pages_core-3.12.1 app/assets/stylesheets/pages_core/admin/components/image_uploader.css