Sha256: 78540a1db4bdc78d1b2f0291af171489bf3f29dea82e9d0ab230936d7b06c358

Contents?: true

Size: 903 Bytes

Versions: 7

Compression:

Stored size: 903 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

7 entries across 7 versions & 1 rubygems

Version Path
pages_core-3.14.0 app/assets/stylesheets/pages_core/admin/components/image_uploader.css
pages_core-3.13.0 app/assets/stylesheets/pages_core/admin/components/image_uploader.css
pages_core-3.12.7 app/assets/stylesheets/pages_core/admin/components/image_uploader.css
pages_core-3.12.6 app/assets/stylesheets/pages_core/admin/components/image_uploader.css
pages_core-3.12.5 app/assets/stylesheets/pages_core/admin/components/image_uploader.css
pages_core-3.12.4 app/assets/stylesheets/pages_core/admin/components/image_uploader.css
pages_core-3.12.3 app/assets/stylesheets/pages_core/admin/components/image_uploader.css