UNPKG

@syncfusion/ej2-inplace-editor

Version:

A package of Essential JS 2 Inplace editor components, which is used to edit and update the value dynamically in server.

567 lines (551 loc) 16.9 kB
/* stylelint-disable property-no-vendor-prefix */ /* stylelint-disable-line no-empty-source */ .e-ddl.e-popup { border: 0; -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.26); box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.26); margin-top: 1px; } .e-ddl.e-popup .e-input-group input { line-height: 15px; } .e-ddl.e-popup .e-input-group { display: -webkit-box; display: -ms-flexbox; display: flex; width: auto; } .e-ddl.e-popup .e-filter-parent { border-left-width: 0; border-right-width: 0; } .e-popup.e-ddl .e-dropdownbase { min-height: 26px; } .e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active, .e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover, .e-ddl.e-popup .e-input-group:not(.e-disabled) .e-clear-icon:active, .e-ddl.e-popup .e-input-group:not(.e-disabled) .e-clear-icon:hover { background: transparent; color: #fff; } .e-multi-select-wrapper.e-down-icon .e-input-group-icon.e-ddl-icon { height: 30px; width: 30px; } .e-small .e-multi-select-wrapper .e-chips { padding: 0; } .e-small .e-multi-select-wrapper .e-chips > .e-chipcontent { padding: 0 8px; } .e-small .e-multi-select-wrapper .e-chips { margin: 2px 2px 2px 0; } .e-multi-select-wrapper .e-searcher input[type=text], .e-multi-select-wrapper .e-multi-searcher input[type=text] { color: #fff; } /* stylelint-disable property-no-vendor-prefix */ @-webkit-keyframes material-spinner-rotate { 0% { -webkit-transform: rotate(0); transform: rotate(0); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes material-spinner-rotate { 0% { -webkit-transform: rotate(0); transform: rotate(0); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @-webkit-keyframes fabric-spinner-rotate { 0% { -webkit-transform: rotate(0); transform: rotate(0); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes fabric-spinner-rotate { 0% { -webkit-transform: rotate(0); transform: rotate(0); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } /*! Fabric dark theme definitions and variables */ /*! Value element styles */ /*! Tooltip styles */ /*! Tip Content styles */ /*! Title styles */ /*! Wrapper styles */ /*! Component group styles */ /*! Button styles */ /*! inplaceeditor icons */ .e-inplaceeditor .e-save-icon::before, .e-inplaceeditor-tip .e-save-icon::before { content: "\e614"; } .e-inplaceeditor .e-cancel-icon::before, .e-inplaceeditor-tip .e-cancel-icon::before { content: "\ebe8"; } .e-inplaceeditor .e-editable-overlay-icon::before, .e-inplaceeditor-tip .e-editable-overlay-icon::before { content: "\e97c"; } .e-inplaceeditor { display: inline-block; position: relative; width: auto; } .e-inplaceeditor .e-input-group.e-control-wrapper .e-clear-icon.e-clear-icon-hide { display: block; visibility: hidden; } .e-inplaceeditor .e-input-group.e-control-container .e-clear-icon.e-clear-icon-hide { display: block; visibility: hidden; } .e-inplaceeditor .e-editable-value-wrapper { display: inline-block; padding: 6px 10px; position: relative; width: auto; word-break: break-word; } .e-inplaceeditor .e-editable-value-wrapper .e-editable-value { display: inline-block; font-family: "Segoe UI", "GeezaPro", "DejaVu Serif", sans-serif, "-apple-system", "BlinkMacSystemFont"; font-size: 14px; margin: 0 30px 0 0; } .e-inplaceeditor .e-editable-value-wrapper .e-editable-overlay-icon { bottom: 0; cursor: pointer; display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; height: inherit; position: absolute; right: 10px; top: 0; visibility: hidden; width: 18px; } .e-inplaceeditor .e-editable-value-wrapper .e-editable-overlay-icon::before { -webkit-box-align: center; -ms-flex-align: center; align-items: center; display: -webkit-box; display: -ms-flexbox; display: flex; font-size: 14px; } .e-inplaceeditor .e-editable-value-wrapper.e-hide { display: none; } .e-inplaceeditor .e-editable-value-wrapper.e-editable-open { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .e-inplaceeditor .e-editable-value-wrapper.e-loading { pointer-events: none; } .e-inplaceeditor .e-editable-value-wrapper .e-spinner-pane .e-spinner-inner { left: unset; right: 10px; } .e-inplaceeditor .e-editable-value-wrapper:hover .e-editable-overlay-icon { visibility: visible; } .e-inplaceeditor .e-editable-value-wrapper:hover.e-editable-open .e-editable-overlay-icon { visibility: hidden; } .e-inplaceeditor .e-editable-value-container { display: inline-block; padding: 6px 10px; position: relative; width: auto; word-break: break-word; } .e-inplaceeditor .e-editable-value-container .e-editable-value { display: inline-block; font-family: "Segoe UI", "GeezaPro", "DejaVu Serif", sans-serif, "-apple-system", "BlinkMacSystemFont"; font-size: 14px; margin: 0 30px 0 0; } .e-inplaceeditor .e-editable-value-container .e-editable-overlay-icon { bottom: 0; cursor: pointer; display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; height: inherit; position: absolute; right: 10px; top: 0; visibility: hidden; width: 18px; } .e-inplaceeditor .e-editable-value-container .e-editable-overlay-icon::before { -webkit-box-align: center; -ms-flex-align: center; align-items: center; display: -webkit-box; display: -ms-flexbox; display: flex; font-size: 14px; } .e-inplaceeditor .e-editable-value-container.e-hide { display: none; } .e-inplaceeditor .e-editable-value-container.e-editable-open { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .e-inplaceeditor .e-editable-value-container.e-loading { pointer-events: none; } .e-inplaceeditor .e-editable-value-container .e-spinner-pane .e-spinner-inner { left: unset; right: 10px; } .e-inplaceeditor .e-editable-value-container:hover .e-editable-overlay-icon { visibility: visible; } .e-inplaceeditor .e-editable-value-container:hover.e-editable-open .e-editable-overlay-icon { visibility: hidden; } .e-inplaceeditor .e-editable-action-buttons { margin-top: 4px; position: absolute; right: 0; z-index: 100; } .e-inplaceeditor.e-overlay { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .e-inplaceeditor.e-rtl .e-editable-value-wrapper .e-editable-value { margin: 0 0 0 30px; } .e-inplaceeditor.e-rtl .e-editable-value-wrapper .e-editable-overlay-icon { left: 10px; right: auto; } .e-inplaceeditor.e-rtl .e-editable-value-wrapper .e-spinner-pane { right: unset; } .e-inplaceeditor.e-rtl .e-editable-value-wrapper .e-spinner-pane, .e-inplaceeditor.e-rtl .e-editable-value-wrapper .e-spinner-pane .e-spinner-inner { left: 10px; } .e-inplaceeditor.e-rtl .e-editable-value-container .e-editable-value { margin: 0 0 0 30px; } .e-inplaceeditor.e-rtl .e-editable-value-container .e-editable-overlay-icon { left: 10px; right: auto; } .e-inplaceeditor.e-rtl .e-editable-value-container .e-spinner-pane { right: unset; } .e-inplaceeditor.e-rtl .e-editable-value-container .e-spinner-pane, .e-inplaceeditor.e-rtl .e-editable-value-container .e-spinner-pane .e-spinner-inner { left: 10px; } .e-inplaceeditor.e-rtl .e-editable-action-buttons { left: 0; right: auto; } .e-inplaceeditor .e-editable-elements:not(.e-richtexteditor) + .e-editable-loading .e-spinner-pane .e-spinner-inner .e-spin-bootstrap4 .e-path-circle, .e-inplaceeditor-tip .e-editable-elements:not(.e-richtexteditor) + .e-editable-loading .e-spinner-pane .e-spinner-inner .e-spin-bootstrap4 .e-path-circle { stroke-width: inherit; } .e-inplaceeditor .e-editable-elements:not(.e-richtexteditor) + .e-editable-loading .e-spinner-pane .e-spinner-inner .e-spin-bootstrap4 .e-path-circle, .e-inplaceeditor-tip .e-editable-elements:not(.e-richtexteditor) + .e-editable-loading .e-spinner-pane .e-spinner-inner .e-spin-bootstrap4 .e-path-circle { stroke-width: inherit; } .e-inplaceeditor .e-editable-loading, .e-inplaceeditor-tip .e-editable-loading { display: none; min-height: 100%; position: absolute; top: 0; } .e-inplaceeditor .e-editable-loading.e-show, .e-inplaceeditor-tip .e-editable-loading.e-show { display: block; } .e-inplaceeditor .e-editable-loading.e-show:not(.e-rte-spin-wrap) .e-spinner-inner, .e-inplaceeditor-tip .e-editable-loading.e-show:not(.e-rte-spin-wrap) .e-spinner-inner { left: auto; right: 5px; -webkit-transform: translateX(-30%) translateY(-50%); transform: translateX(-30%) translateY(-50%); } .e-inplaceeditor .e-editable-form, .e-inplaceeditor-tip .e-editable-form { width: 100%; } .e-inplaceeditor .e-editable-form.e-loading .e-input-group-icon, .e-inplaceeditor-tip .e-editable-form.e-loading .e-input-group-icon { visibility: hidden; } .e-inplaceeditor .e-component-group, .e-inplaceeditor-tip .e-component-group { margin-bottom: 4px; } .e-inplaceeditor .e-component-group .e-editable-component, .e-inplaceeditor-tip .e-component-group .e-editable-component { min-width: 150px; position: relative; } .e-inplaceeditor .e-control-overlay, .e-inplaceeditor-tip .e-control-overlay { visibility: hidden; } .e-inplaceeditor .e-control-overlay.e-richtexteditor, .e-inplaceeditor-tip .e-control-overlay.e-richtexteditor { opacity: 0.5; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; visibility: visible; } .e-inplaceeditor .e-editable-action-buttons .e-btn-save, .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save { margin: 0 4px 0 0; } .e-inplaceeditor .e-editable-action-buttons .e-btn-save .e-btn-icon.e-icons, .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save .e-btn-icon.e-icons { font-size: 16px; } .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel, .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel { margin: 0 0 0 4px; } .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel .e-btn-icon.e-icons, .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel .e-btn-icon.e-icons { font-size: 16px; } .e-inplaceeditor .e-editable-action-buttons.e-hide, .e-inplaceeditor-tip .e-editable-action-buttons.e-hide { visibility: hidden; } .e-inplaceeditor.e-rtl .e-editable-action-buttons .e-btn-save, .e-inplaceeditor-tip.e-rtl .e-editable-action-buttons .e-btn-save { margin: 0 0 0 4px; } .e-inplaceeditor.e-rtl .e-editable-action-buttons .e-btn-cancel, .e-inplaceeditor-tip.e-rtl .e-editable-action-buttons .e-btn-cancel { margin: 0 4px 0 0; } .e-inplaceeditor.e-rtl .e-editable-loading.e-show:not(.e-rte-spin-wrap) .e-spinner-inner, .e-inplaceeditor-tip.e-rtl .e-editable-loading.e-show:not(.e-rte-spin-wrap) .e-spinner-inner { left: 5px; right: auto; -webkit-transform: translateX(30%) translateY(-50%); transform: translateX(30%) translateY(-50%); } .e-inplaceeditor-tip { opacity: 1; width: auto; } .e-inplaceeditor-tip.e-tooltip-wrap { max-width: 100%; } .e-inplaceeditor-tip.e-tooltip-wrap .e-input-group.e-control-wrapper .e-clear-icon.e-clear-icon-hide, .e-inplaceeditor-tip.e-tooltip-wrap .e-input-group.e-control-container .e-clear-icon.e-clear-icon-hide { display: block; visibility: hidden; } .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content { padding: 0; } .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-title { -ms-flex-line-pack: center; align-content: center; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; font-family: "Segoe UI", "GeezaPro", "DejaVu Serif", sans-serif, "-apple-system", "BlinkMacSystemFont"; font-size: 13px; font-weight: 600; height: 30px; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; padding: 0 0 0 12px; } .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; padding: 12px; } .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-wrapper .e-editable-action-buttons { float: right; margin-top: 4px; position: relative; right: auto; top: auto; } .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-container { display: -webkit-box; display: -ms-flexbox; display: flex; padding: 12px; } .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-container .e-editable-action-buttons { float: right; margin-top: 4px; position: relative; right: auto; top: auto; } .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-title + .e-editable-wrapper { padding: 10px 12px 12px 12px; } .e-inplaceeditor-tip.e-tooltip-wrap .e-tip-content .e-editable-title + .e-editable-container { padding: 10px 12px 12px 12px; } .e-inplaceeditor-tip.e-hide { visibility: hidden; } .e-inplaceeditor-tip.e-rtl.e-tooltip-wrap .e-tip-content .e-editable-title { padding: 0 12px 0 0; } .e-inplaceeditor-tip.e-rtl.e-tooltip-wrap .e-tip-content .e-editable-wrapper .e-editable-action-buttons { float: left; } .e-inplaceeditor-tip.e-rtl.e-tooltip-wrap .e-tip-content .e-editable-container .e-editable-action-buttons { float: left; } .e-content-placeholder.e-inplaceeditor.e-placeholder-inplaceeditor { background-size: 150px 60px; min-height: 60px; } .e-inplaceeditor .e-editable-value-wrapper .e-editable-value { border-bottom: 1px dashed #fff; color: #fff; } .e-inplaceeditor .e-editable-value-wrapper .e-editable-overlay-icon { color: #fff; } .e-inplaceeditor .e-editable-value-wrapper.e-loading .e-editable-value { border-bottom: 0; } .e-inplaceeditor .e-editable-value-wrapper:hover { background: #333232; border-radius: 0; } .e-inplaceeditor .e-editable-value-wrapper:hover .e-editable-value { border-bottom-color: transparent; } .e-inplaceeditor .e-editable-value-container .e-editable-value { border-bottom: 1px dashed #fff; color: #fff; } .e-inplaceeditor .e-editable-value-container .e-editable-overlay-icon { color: #fff; } .e-inplaceeditor .e-editable-value-container.e-loading .e-editable-value { border-bottom: 0; } .e-inplaceeditor .e-editable-value-container:hover { background: #333232; border-radius: 0; } .e-inplaceeditor .e-editable-value-container:hover .e-editable-value { border-bottom-color: transparent; } .e-inplaceeditor[data-underline=false] .e-editable-value-wrapper .e-editable-value { border-bottom: 0; } .e-inplaceeditor[data-underline=false] .e-editable-value-container .e-editable-value { border-bottom: 0; } .e-inplaceeditor.e-disable { pointer-events: none; -ms-touch-action: none; touch-action: none; } .e-inplaceeditor.e-disable .e-editable-value-wrapper .e-editable-value { border-bottom-color: transparent; } .e-inplaceeditor.e-disable .e-editable-value-container .e-editable-value { border-bottom-color: transparent; } .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn, .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn, .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn, .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn { -webkit-box-shadow: none; box-shadow: none; } .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn .e-btn-icon.e-icons, .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn .e-btn-icon.e-icons, .e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn .e-btn-icon.e-icons { color: #fff; } .e-inplaceeditor-tip.e-tooltip-wrap.e-popup { background: #201f1f; -webkit-box-shadow: none; box-shadow: none; } .e-inplaceeditor-tip.e-tooltip-wrap.e-popup .e-tip-content { border-radius: 0; color: #fff; } .e-inplaceeditor-tip.e-tooltip-wrap.e-popup .e-arrow-tip-inner { color: #201f1f; } .e-inplaceeditor-tip.e-tooltip-wrap.e-popup .e-arrow-tip-outer.e-tip-top { border-bottom-color: #414040; } .e-inplaceeditor-tip.e-tooltip-wrap.e-popup .e-arrow-tip-outer.e-tip-bottom { border-top-color: #414040; } .e-inplaceeditor-tip.e-tooltip-wrap.e-popup.e-popup { border: 1px solid #414040; } .e-inplaceeditor-tip.e-tooltip-wrap.e-popup .e-editable-title { background: #282727; border-bottom: 0; color: #fff; } .e-inplaceeditor-tip.e-editable-tip-title.e-tooltip-wrap .e-arrow-tip-outer.e-tip-top { border-bottom-color: #414040; } .e-inplaceeditor-tip.e-editable-tip-title.e-tooltip-wrap .e-arrow-tip-inner.e-tip-top { color: #282727; }