UNPKG

@syncfusion/ej2-popups

Version:

A package of Essential JS 2 popup components such as Dialog and Tooltip that is used to display information or messages in separate pop-ups.

181 lines (174 loc) 4.87 kB
.e-tooltip-wrap { /*! Tooltip icons */ } .e-tooltip-wrap .e-tooltip-close::before { content: "\e7e7"; font-size: 12px; left: calc(50% - 6px); position: absolute; top: calc(50% - 6px); } .e-tooltip-wrap .e-arrow-tip-inner.e-tip-right::before { content: "\e87e"; } .e-tooltip-wrap .e-arrow-tip-inner.e-tip-top::before { content: "\e87a"; } .e-tooltip-wrap .e-arrow-tip-inner.e-tip-bottom::before { content: "\e70d"; } .e-tooltip-wrap .e-arrow-tip-inner.e-tip-left::before { content: "\e87d"; } .e-tooltip-popup-container { position: relative; } .e-tooltip-wrap { max-width: 350px; min-width: 30px; padding: 0; position: absolute; visibility: visible; } .e-tooltip-wrap .e-arrow-tip { overflow: hidden; position: absolute; } .e-tooltip-wrap .e-arrow-tip.e-tip-bottom { height: 8px; left: 50%; top: 100%; width: 16px; } .e-tooltip-wrap .e-arrow-tip.e-tip-top { height: 8px; left: 50%; top: -9px; width: 16px; } .e-tooltip-wrap .e-arrow-tip.e-tip-left { height: 16px; left: -9px; top: 48%; width: 8px; } .e-tooltip-wrap .e-arrow-tip.e-tip-right { height: 16px; left: 100%; top: 50%; width: 8px; } .e-tooltip-wrap .e-tooltip-close { cursor: pointer; float: right; position: absolute; right: -9px; top: -9px; z-index: inherit; border-radius: 9px; border-width: 1px; -webkit-box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); -webkit-box-sizing: border-box; box-sizing: border-box; height: 16px; width: 16px; } .e-tooltip-wrap .e-tip-content { background-color: inherit; height: 100%; line-height: 20px; overflow-wrap: break-word; overflow-x: hidden; padding: 4px 8px 6px 8px; position: relative; white-space: normal; width: 100%; word-break: break-word; z-index: 1; } .e-tooltip-wrap { border-radius: 4px; -webkit-filter: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); filter: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); opacity: 1; } .e-tooltip-wrap.e-popup { background-color: rgba(var(--color-sf-inverse-surface)); border: 1px solid rgba(var(--color-sf-inverse-surface)); } .e-tooltip-wrap .e-arrow-tip-outer { height: 0; left: 0; position: absolute; top: 0; width: 0; } .e-tooltip-wrap .e-arrow-tip-outer.e-tip-bottom { border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid rgba(var(--color-sf-inverse-surface)); } .e-tooltip-wrap .e-arrow-tip-outer.e-tip-top { border-bottom: 8px solid rgba(var(--color-sf-inverse-surface)); border-left: 8px solid transparent; border-right: 8px solid transparent; } .e-tooltip-wrap .e-arrow-tip-outer.e-tip-left { border-bottom: 8px solid transparent; border-right: 8px solid rgba(var(--color-sf-inverse-surface)); border-top: 8px solid transparent; } .e-tooltip-wrap .e-arrow-tip-outer.e-tip-right { border-bottom: 8px solid transparent; border-left: 8px solid rgba(var(--color-sf-inverse-surface)); border-top: 8px solid transparent; } .e-tooltip-wrap .e-arrow-tip-inner { height: 0; position: absolute; width: 0; z-index: 10; } .e-tooltip-wrap .e-arrow-tip-inner.e-tip-right, .e-tooltip-wrap .e-arrow-tip-inner.e-tip-left, .e-tooltip-wrap .e-arrow-tip-inner.e-tip-bottom, .e-tooltip-wrap .e-arrow-tip-inner.e-tip-top { color: rgba(var(--color-sf-inverse-surface)); font-family: "e-icons"; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; line-height: 1; text-transform: none; } .e-tooltip-wrap .e-arrow-tip-inner.e-tip-bottom, .e-tooltip-wrap .e-arrow-tip-inner.e-tip-top { right: 16px; } .e-tooltip-wrap .e-arrow-tip-inner.e-tip-right, .e-tooltip-wrap .e-arrow-tip-inner.e-tip-left { bottom: 16px; } .e-tooltip-wrap .e-tooltip-close { background-color: rgba(var(--color-sf-inverse-surface)); border-color: linear-gradient(0deg, rgba(var(--color-sf-surface), 1), rgba(var(--color-sf-surface), 1)), rgba(var(--color-sf-surface)); border-radius: 8px; color: rgba(var(--color-sf-inverse-on-surface)); border: 1px solid rgba(var(--color-sf-inverse-on-surface)); } .e-tooltip-wrap .e-tooltip-close:hover { background-color: rgba(var(--color-sf-inverse-on-surface)); color: rgba(var(--color-sf-inverse-surface)); } .e-tooltip-wrap .e-tip-content { border-radius: inherit; color: rgba(var(--color-sf-inverse-on-surface)); font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; font-size: 14px; } .e-bigger .e-tooltip-wrap .e-tip-content, .e-tooltip-wrap.e-bigger .e-tip-content { line-height: 24px; padding: 6px 13px; } .e-bigger .e-tooltip-wrap .e-tip-content, .e-tooltip-wrap.e-bigger .e-tip-content { font-size: 16px; }