Sha256: 8ae40725813f62f264a58023f5a2b6315eeb888ced68948b5690a1d918ae76f8

Contents?: true

Size: 961 Bytes

Versions: 4

Compression:

Stored size: 961 Bytes

Contents

@import "../modules/vars";

.EditableImage {
  display: inline-block;

  /* shrink wrap the EditableImage around the image */
  img { float: left; }

  &:after {
    content: ' ';
    clear: both;
  }
  /* /end shrink wrap */
}

.EditableText {
  display: inline-block;
}

.EditableText--inEditMode,
.EditableImage--inEditMode {
  outline: 1px dashed $primary;
  min-height: $base-line-height;
  width: 100%;
}

.TextEditor, .ImageEditor {
  background: white;
  min-width: 320px;
  width: 62%;
  max-width: 640px;
  z-index: 9999;
}

.EditorWrapper {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9000;
}

.TextEditor {
  padding: $global-padding;
  textarea {
    width: 100%;
    min-height: 8rem;
  }
}

.ImageEditor {
  padding: $global-padding;
  input[type="file"] {
    margin-bottom: 1rem;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
revelry_content-1.0.0 app/assets/stylesheets/revelry_content/components/editors.scss
revelry_content-0.0.1.2 app/assets/stylesheets/revelry_content/components/editors.scss
revelry_content-0.0.1.1 app/assets/stylesheets/revelry_content/components/editors.scss
revelry_content-0.0.1 app/assets/stylesheets/revelry_content/components/editors.scss