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