UNPKG

@syncfusion/ej2-notifications

Version:

A package of Essential JS 2 notification components such as Toast and Badge which used to notify important information to end-users.

1,048 lines (1,028 loc) 27.8 kB
.e-badge { background: #fafafa; border-color: transparent; border-radius: 0.25em; -webkit-box-shadow: 0 0 0 2px transparent; box-shadow: 0 0 0 2px transparent; -webkit-box-sizing: border-box; box-sizing: border-box; color: rgba(0, 0, 0, 0.87); display: inline-block; font-family: "Segoe UI", "GeezaPro", "DejaVu Serif", sans-serif, "-apple-system", "BlinkMacSystemFont"; font-size: 0.75em; font-weight: 500; line-height: 1; padding: 0.25em 0.4em 0.3em 0.4em; overflow: hidden; text-align: center; text-decoration: none; text-indent: 0; vertical-align: middle; } .e-badge:hover { text-decoration: none; } .e-badge.e-badge-pill { border-radius: 5em; } .e-badge.e-badge-notification { border-radius: 1em; height: 18px; line-height: 1.1; min-width: 24px; padding: 0.25em 0.4em 0.3em 0.4em; width: auto; font-size: 12px; position: absolute; top: -10px; left: 100%; } .e-badge.e-badge-notification.e-badge-ghost { line-height: 0.9; } .e-badge.e-badge-circle { border-radius: 50%; height: 1.834em; line-height: 1.8em; min-width: 0; padding: 0; width: 1.834em; } .e-badge.e-badge-circle.e-badge-ghost { line-height: 1.8em; } .e-badge.e-badge-overlap { position: absolute; top: -10px; -webkit-transform: translateX(-50%); transform: translateX(-50%); } .e-badge.e-badge-dot { border-radius: 100%; height: 6px; line-height: 1; min-width: 0; padding: 0; width: 6px; -webkit-box-shadow: 0 0 0 1px #fff; box-shadow: 0 0 0 1px #fff; margin: 0; overflow: visible; position: absolute; top: -3px; left: 100%; } .e-badge.e-badge-bottom.e-badge-dot { position: absolute; top: auto; bottom: 3px; } .e-badge.e-badge-bottom.e-badge-notification { position: absolute; top: auto; bottom: -3px; } button .e-badge { line-height: 0.9; position: relative; top: -2px; } button .e-badge.e-badge-circle { height: 2em; line-height: 2em; width: 2em; } button .e-badge.e-badge-circle.e-badge-ghost { line-height: 1.9em; } .e-badge.e-badge-primary:not(.e-badge-ghost):not([href]), .e-badge.e-badge-primary[href]:not(.e-badge-ghost) { background-color: #0074cc; color: #fff; } .e-badge.e-badge-secondary:not(.e-badge-ghost):not([href]), .e-badge.e-badge-secondary[href]:not(.e-badge-ghost) { background-color: #414040; color: #dadada; } .e-badge.e-badge-success:not(.e-badge-ghost):not([href]), .e-badge.e-badge-success[href]:not(.e-badge-ghost) { background-color: #37844d; color: #000; } .e-badge.e-badge-danger:not(.e-badge-ghost):not([href]), .e-badge.e-badge-danger[href]:not(.e-badge-ghost) { background-color: #cd2a19; color: #000; } .e-badge.e-badge-warning:not(.e-badge-ghost):not([href]), .e-badge.e-badge-warning[href]:not(.e-badge-ghost) { background-color: #bf7500; color: #000; } .e-badge.e-badge-info:not(.e-badge-ghost):not([href]), .e-badge.e-badge-info[href]:not(.e-badge-ghost) { background-color: #1e79cb; color: #000; } .e-badge.e-badge-light:not(.e-badge-ghost):not([href]), .e-badge.e-badge-light[href]:not(.e-badge-ghost) { background-color: #201f1f; color: #dadada; } .e-badge.e-badge-dark:not(.e-badge-ghost):not([href]), .e-badge.e-badge-dark[href]:not(.e-badge-ghost) { background-color: #f4f4f4; color: #000; } .e-badge.e-badge-primary[href]:not(.e-badge-ghost):hover { background-color: #005799; } .e-badge.e-badge-secondary[href]:not(.e-badge-ghost):hover { background-color: #272727; } .e-badge.e-badge-success[href]:not(.e-badge-ghost):hover { background-color: #286038; } .e-badge.e-badge-danger[href]:not(.e-badge-ghost):hover { background-color: #a02113; } .e-badge.e-badge-warning[href]:not(.e-badge-ghost):hover { background-color: #8c5600; } .e-badge.e-badge-info[href]:not(.e-badge-ghost):hover { background-color: #175f9f; } .e-badge.e-badge-light[href]:not(.e-badge-ghost):hover { background-color: #060606; } .e-badge.e-badge-dark[href]:not(.e-badge-ghost):hover { background-color: #dbdbdb; } .e-badge.e-badge-primary[href].e-badge-ghost:hover { border-color: #004980; color: #004980; } .e-badge.e-badge-secondary[href].e-badge-ghost:hover { border-color: #1a1a1a; color: #1a1a1a; } .e-badge.e-badge-success[href].e-badge-ghost:hover { border-color: #214e2e; color: #214e2e; } .e-badge.e-badge-danger[href].e-badge-ghost:hover { border-color: #891c11; color: #891c11; } .e-badge.e-badge-warning[href].e-badge-ghost:hover { border-color: #734600; color: #734600; } .e-badge.e-badge-info[href].e-badge-ghost:hover { border-color: #145188; color: #145188; } .e-badge.e-badge-light[href].e-badge-ghost:hover { border-color: black; color: black; } .e-badge.e-badge-dark[href].e-badge-ghost:hover { border-color: #cecece; color: #cecece; } .e-badge.e-badge-ghost.e-badge-primary { background-color: transparent; border: 1px solid #0074cc; color: #0074cc; } .e-badge.e-badge-ghost.e-badge-secondary { background-color: transparent; border: 1px solid #414040; color: #414040; } .e-badge.e-badge-ghost.e-badge-success { background-color: transparent; border: 1px solid #37844d; color: #37844d; } .e-badge.e-badge-ghost.e-badge-danger { background-color: transparent; border: 1px solid #cd2a19; color: #cd2a19; } .e-badge.e-badge-ghost.e-badge-warning { background-color: transparent; border: 1px solid #bf7500; color: #bf7500; } .e-badge.e-badge-ghost.e-badge-info { background-color: transparent; border: 1px solid #1e79cb; color: #1e79cb; } .e-badge.e-badge-ghost.e-badge-light { background-color: transparent; border: 1px solid #201f1f; color: #201f1f; } .e-badge.e-badge-ghost.e-badge-dark { background-color: transparent; border: 1px solid #f4f4f4; color: #f4f4f4; } .e-toast .e-toast-close-icon::before { content: "\e7a7"; font-family: "e-icons"; } .e-toast .e-toast-success-icon::before { content: "\ea84"; font-family: "e-icons"; } .e-toast .e-toast-error-icon::before { content: "\e7e9"; font-family: "e-icons"; } .e-toast .e-toast-info-icon::before { content: "\e607"; font-family: "e-icons"; } .e-toast .e-toast-warning-icon::before { content: "\e92f"; font-family: "e-icons"; } /* stylelint-disable property-no-vendor-prefix */ .e-toast-container { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; position: relative; } .e-toast-container.e-toast-top-left { left: 10px; top: 10px; } .e-toast-container.e-toast-bottom-left { bottom: 10px; left: 10px; } .e-toast-container.e-toast-top-right { right: 10px; top: 10px; } .e-toast-container.e-toast-bottom-right { bottom: 10px; right: 10px; } .e-toast-container.e-toast-bottom-center { bottom: 10px; pointer-events: none; right: 0; width: 100%; } .e-toast-container.e-toast-bottom-center .e-toast { margin: 0 auto 10px; pointer-events: auto; } .e-toast-container.e-toast-top-center { pointer-events: none; right: 0; top: 10px; width: 100%; } .e-toast-container.e-toast-top-center .e-toast { margin: 0 auto 10px; pointer-events: auto; } .e-toast-container.e-toast-full-width { left: 0; right: 0; width: 100%; } .e-toast-container.e-toast-full-width .e-toast { margin: 0 auto 10px; width: 96%; } .e-toast-container.e-rtl .e-toast .e-toast-actions { text-align: left; } .e-toast-container.e-rtl .e-toast .e-toast-actions > * { margin-left: initial; margin-right: 10px; } .e-toast-container.e-rtl .e-toast .e-toast-close-icon { margin-left: initial; margin-right: auto; } .e-toast-container.e-rtl .e-toast .e-toast-icon { margin-left: 8px; margin-right: initial; } .e-toast-container.e-rtl .e-toast .e-toast-progress { left: auto; right: 0; } .e-toast-container .e-toast { border-radius: 0; display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; font-size: 14px; margin: 0 0 10px; overflow: hidden; padding: 16px; position: relative; } .e-toast-container .e-toast .e-toast-icon, .e-toast-container .e-toast .e-toast-message { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; } .e-toast-container .e-toast > * { word-break: break-word; word-wrap: break-word; } .e-toast-container .e-toast .e-toast-message { -ms-flex-item-align: center; align-self: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; overflow: hidden; width: inherit; } .e-toast-container .e-toast .e-toast-message .e-toast-title, .e-toast-container .e-toast .e-toast-message .e-toast-content { overflow: hidden; text-overflow: ellipsis; } .e-toast-container .e-toast .e-toast-message .e-toast-title:first-child, .e-toast-container .e-toast .e-toast-message .e-toast-content:first-child { padding: 0; } .e-toast-container .e-toast .e-toast-message .e-toast-title:last-child, .e-toast-container .e-toast .e-toast-message .e-toast-content:last-child { padding-bottom: 0; } .e-toast-container .e-toast .e-toast-message .e-toast-title > *, .e-toast-container .e-toast .e-toast-message .e-toast-content > * { overflow: hidden; text-overflow: ellipsis; } .e-toast-container .e-toast .e-toast-message .e-toast-title { font-size: 14px; font-weight: bold; letter-spacing: 0.5px; } .e-toast-container .e-toast .e-toast-message .e-toast-content { padding: 8px 0 8px 0; word-break: break-word; word-wrap: break-word; } .e-toast-container .e-toast .e-toast-message .e-toast-content + .e-toast-actions { padding-top: 0; } .e-toast-container .e-toast .e-toast-message .e-toast-actions { margin: 1px; padding: 8px 0 0 0; text-align: right; } .e-toast-container .e-toast .e-toast-message .e-toast-actions > * { margin-left: 10px; } .e-toast-container .e-toast .e-toast-close-icon { -webkit-box-align: center; -ms-flex-align: center; align-items: center; cursor: pointer; display: -webkit-box; display: -ms-flexbox; display: flex; font-size: 14px; height: 24px; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; margin-left: auto; width: 24px; } .e-toast-container .e-toast .e-toast-icon { -webkit-box-align: center; -ms-flex-align: center; align-items: center; font-size: 16px; height: 24px; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; margin-right: 8px; width: 24px; } .e-toast-container .e-toast .e-toast-progress { bottom: 0; height: 2px; left: 0; position: absolute; } .e-content-placeholder.e-toast.e-placeholder-toast { background-size: 400px 100px; min-height: 100px; } .e-blazor-toast-hidden { visibility: hidden; } .e-toast-container .e-toast .e-toast-close-icon.blazor-toast-close-icon { background-color: transparent; border-color: transparent; border-radius: 50%; bottom: 6px; height: 20px; position: relative; width: 22px; } .e-toast-container .e-toast { background-color: #282727; border: none; -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); color: #dadada; } .e-toast-container .e-toast .e-toast-close-icon { color: #dadada; } .e-toast-container .e-toast .e-toast-close-icon.e-blazor-toast-close-icon, .e-toast-container .e-toast .e-toast-close-icon.e-blazor-toast-close-icon:focus, .e-toast-container .e-toast .e-toast-close-icon.e-blazor-toast-close-icon:active { background-color: transparent; border: 0; -webkit-box-shadow: none; box-shadow: none; outline: 0; } .e-toast-container .e-toast .e-toast-close-icon.e-blazor-toast-close-icon:focus, .e-toast-container .e-toast .e-toast-close-icon.e-blazor-toast-close-icon:hover { background-color: transparent; color: #003761; } .e-toast-container .e-toast .e-toast-close-icon.e-icons:hover, .e-toast-container .e-toast .e-toast-close-icon.e-icons:focus { background-color: transparent; color: #003761; } .e-toast-container .e-toast.e-toast-success { background-color: #37844d; color: #fff; } .e-toast-container .e-toast.e-toast-success .e-toast-message .e-toast-title { color: #fff; } .e-toast-container .e-toast.e-toast-success .e-toast-message .e-toast-content { color: #fff; } .e-toast-container .e-toast.e-toast-success .e-toast-icon { color: #fff; } .e-toast-container .e-toast.e-toast-success .e-toast-close-icon { color: #fff; } .e-toast-container .e-toast.e-toast-success:hover { background-color: #347d49; -webkit-box-shadow: 0 3px 6px 0 rgba(248, 248, 248, 0.26); box-shadow: 0 3px 6px 0 rgba(248, 248, 248, 0.26); color: #fff; } .e-toast-container .e-toast.e-toast-info { background-color: #1e79cb; color: #fff; } .e-toast-container .e-toast.e-toast-info .e-toast-message .e-toast-title { color: #fff; } .e-toast-container .e-toast.e-toast-info .e-toast-message .e-toast-content { color: #fff; } .e-toast-container .e-toast.e-toast-info .e-toast-icon { color: #fff; } .e-toast-container .e-toast.e-toast-info .e-toast-close-icon { color: #fff; } .e-toast-container .e-toast.e-toast-info:hover { background-color: #1d74c2; -webkit-box-shadow: 0 3px 6px 0 rgba(248, 248, 248, 0.26); box-shadow: 0 3px 6px 0 rgba(248, 248, 248, 0.26); color: #fff; } .e-toast-container .e-toast.e-toast-warning { background-color: #bf7500; color: #fff; } .e-toast-container .e-toast.e-toast-warning .e-toast-message .e-toast-title { color: #fff; } .e-toast-container .e-toast.e-toast-warning .e-toast-message .e-toast-content { color: #fff; } .e-toast-container .e-toast.e-toast-warning .e-toast-icon { color: #fff; } .e-toast-container .e-toast.e-toast-warning .e-toast-close-icon { color: #fff; } .e-toast-container .e-toast.e-toast-warning:hover { background-color: #b56f00; -webkit-box-shadow: 0 3px 6px 0 rgba(248, 248, 248, 0.26); box-shadow: 0 3px 6px 0 rgba(248, 248, 248, 0.26); color: #fff; } .e-toast-container .e-toast.e-toast-danger { background-color: #cd2a19; color: #fff; } .e-toast-container .e-toast.e-toast-danger .e-toast-message .e-toast-title { color: #fff; } .e-toast-container .e-toast.e-toast-danger .e-toast-message .e-toast-content { color: #fff; } .e-toast-container .e-toast.e-toast-danger .e-toast-icon { color: #fff; } .e-toast-container .e-toast.e-toast-danger .e-toast-close-icon { color: #fff; } .e-toast-container .e-toast.e-toast-danger:hover { background-color: #c42818; -webkit-box-shadow: 0 3px 6px 0 rgba(248, 248, 248, 0.26); box-shadow: 0 3px 6px 0 rgba(248, 248, 248, 0.26); color: #fff; } .e-toast-container .e-toast:hover { background-color: #333232; -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.26); box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.26); } .e-toast-container .e-toast .e-toast-icon { color: #dadada; } .e-toast-container .e-toast .e-toast-message .e-toast-title { color: #dadada; } .e-toast-container .e-toast .e-toast-message .e-toast-content { color: #dadada; } .e-toast-container .e-toast .e-toast-progress { background-color: #0074cc; } .e-message .e-msg-icon::before, .e-message .e-msg-close-icon::before { font-family: "e-icons"; } .e-message .e-msg-icon::before, .e-message.e-info .e-msg-icon::before { content: "\e607"; } .e-message .e-msg-close-icon::before { content: "\e7a7"; } .e-message.e-success .e-msg-icon::before { content: "\ea84"; } .e-message.e-error .e-msg-icon::before { content: "\e975"; } .e-message.e-warning .e-msg-icon::before { content: "\e92f"; } .e-message { border: 1px solid; border-radius: 0; -webkit-box-sizing: border-box; box-sizing: border-box; font-family: "Segoe UI", "GeezaPro", "DejaVu Serif", sans-serif, "-apple-system", "BlinkMacSystemFont"; font-weight: 400; font-style: normal; padding: 6px 7px; display: -webkit-box; display: -ms-flexbox; display: flex; } .e-message.e-hidden { display: none; } .e-message .e-msg-icon, .e-message .e-msg-close-icon { -webkit-box-sizing: border-box; box-sizing: border-box; display: -webkit-box; display: -ms-flexbox; display: flex; line-height: 14px; } .e-message .e-msg-icon { font-size: 14px; height: 14px; margin: 2px 4px; } .e-message .e-msg-close-icon { border-width: 0; cursor: pointer; font-size: 12px; margin: 0 1px 0 auto; padding: 3px; height: 18px; } .e-message .e-msg-content { -webkit-box-sizing: border-box; box-sizing: border-box; font-size: 12px; line-height: 18px; padding: 0 4px; vertical-align: top; } .e-message.e-content-right { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; } .e-message.e-content-center .e-msg-content-wrap { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } .e-message.e-content-right .e-msg-close-icon, .e-message.e-content-center .e-msg-close-icon { margin: 2px 4px; } .e-message.e-rtl .e-msg-close-icon { margin: 0 auto 0 1px; } .e-message { background: #282727; border-color: #282727; color: #fff; } .e-message .e-msg-icon { color: #fff; } .e-message .e-msg-close-icon { background: transparent; color: #dadada; } .e-message .e-msg-close-icon:hover, .e-message .e-msg-close-icon:focus { background-color: rgba(218, 218, 218, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); border-radius: 50%; } .e-message.e-success { background-color: #193c23; border-color: #193c23; color: #abdcb9; } .e-message.e-success .e-msg-icon { color: #abdcb9; } .e-message.e-success .e-msg-close-icon { color: #dadada; } .e-message.e-success .e-msg-close-icon:hover, .e-message.e-success .e-msg-close-icon:focus { background-color: rgba(218, 218, 218, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); } .e-message.e-warning { background-color: #685100; border-color: #685100; color: #fff4ce; } .e-message.e-warning .e-msg-icon { color: #cea000; } .e-message.e-warning .e-msg-close-icon { color: #dadada; } .e-message.e-warning .e-msg-close-icon:hover, .e-message.e-warning .e-msg-close-icon:focus { background-color: rgba(218, 218, 218, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); } .e-message.e-info { background-color: #004462; border-color: #004462; color: #c8eeff; } .e-message.e-info .e-msg-icon { color: #62cfff; } .e-message.e-info .e-msg-close-icon { color: #dadada; } .e-message.e-info .e-msg-close-icon:hover, .e-message.e-info .e-msg-close-icon:focus { background-color: rgba(218, 218, 218, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); } .e-message.e-error { background-color: #432623; border-color: #432623; color: #fcebe9; } .e-message.e-error .e-msg-icon { color: #ff5f5f !important; /* stylelint-disable-line declaration-no-important */ } .e-message.e-error .e-msg-close-icon { color: #dadada; } .e-message.e-error .e-msg-close-icon:hover, .e-message.e-error .e-msg-close-icon:focus { background-color: rgba(218, 218, 218, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); } .e-message.e-outlined { background: transparent; border-color: #333232; color: #fff; } .e-message.e-outlined .e-msg-icon { color: #fff; } .e-message.e-outlined .e-msg-close-icon { color: #dadada; } .e-message.e-outlined .e-msg-close-icon:hover, .e-message.e-outlined .e-msg-close-icon:focus { background-color: rgba(218, 218, 218, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); } .e-message.e-outlined.e-success { border-color: #abdcb9; color: #abdcb9; } .e-message.e-outlined.e-success .e-msg-icon { color: #abdcb9; } .e-message.e-outlined.e-success .e-msg-close-icon { color: #dadada; } .e-message.e-outlined.e-success .e-msg-close-icon:hover, .e-message.e-outlined.e-success .e-msg-close-icon:focus { background-color: rgba(218, 218, 218, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); } .e-message.e-outlined.e-warning { border-color: #cea000; color: #cea000; } .e-message.e-outlined.e-warning .e-msg-icon { color: #cea000; } .e-message.e-outlined.e-warning .e-msg-close-icon { color: #dadada; } .e-message.e-outlined.e-warning .e-msg-close-icon:hover, .e-message.e-outlined.e-warning .e-msg-close-icon:focus { background-color: rgba(218, 218, 218, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); } .e-message.e-outlined.e-info { border-color: #62cfff; color: #62cfff; } .e-message.e-outlined.e-info .e-msg-icon { color: #62cfff; } .e-message.e-outlined.e-info .e-msg-close-icon { color: #dadada; } .e-message.e-outlined.e-info .e-msg-close-icon:hover, .e-message.e-outlined.e-info .e-msg-close-icon:focus { background-color: rgba(218, 218, 218, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); } .e-message.e-outlined.e-error { border-color: #ff5f5f; color: #ff5f5f; } .e-message.e-outlined.e-error .e-msg-icon { color: #ff5f5f; } .e-message.e-outlined.e-error .e-msg-close-icon { color: #dadada; } .e-message.e-outlined.e-error .e-msg-close-icon:hover, .e-message.e-outlined.e-error .e-msg-close-icon:focus { background-color: rgba(218, 218, 218, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); box-shadow: 0 0 0 2px rgba(218, 218, 218, 0.12); } .e-message.e-filled { background: #514f4f; border-color: #514f4f; color: #fff; } .e-message.e-filled .e-msg-icon { color: #fff; } .e-message.e-filled .e-msg-close-icon { color: #fff; } .e-message.e-filled .e-msg-close-icon:hover, .e-message.e-filled .e-msg-close-icon:focus { background-color: rgba(255, 255, 255, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); } .e-message.e-filled.e-success { background-color: #286038; border-color: #1e4729; color: #fff; } .e-message.e-filled.e-success .e-msg-icon { color: #fff; } .e-message.e-filled.e-success .e-msg-close-icon { color: #fff; } .e-message.e-filled.e-success .e-msg-close-icon:hover, .e-message.e-filled.e-success .e-msg-close-icon:focus { background-color: rgba(255, 255, 255, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); } .e-message.e-filled.e-warning { background-color: #876800; border-color: #876800; color: #fff; } .e-message.e-filled.e-warning .e-msg-icon { color: #fff; } .e-message.e-filled.e-warning .e-msg-close-icon { color: #fff; } .e-message.e-filled.e-warning .e-msg-close-icon:hover, .e-message.e-filled.e-warning .e-msg-close-icon:focus { background-color: rgba(255, 255, 255, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); } .e-message.e-filled.e-info { background-color: #006795; border-color: #006795; color: #fff; } .e-message.e-filled.e-info .e-msg-icon { color: #fff; } .e-message.e-filled.e-info .e-msg-close-icon { color: #fff; } .e-message.e-filled.e-info .e-msg-close-icon:hover, .e-message.e-filled.e-info .e-msg-close-icon:focus { background-color: rgba(255, 255, 255, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); } .e-message.e-filled.e-error { background-color: #72170e; border-color: #72170e; color: #fff; } .e-message.e-filled.e-error .e-msg-icon { color: #fff !important; /* stylelint-disable-line declaration-no-important */ } .e-message.e-filled.e-error .e-msg-close-icon { color: #fff; } .e-message.e-filled.e-error .e-msg-close-icon:hover, .e-message.e-filled.e-error .e-msg-close-icon:focus { background-color: rgba(255, 255, 255, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); } .e-skeleton { display: inline-block; position: relative; overflow: hidden; border: none; } .e-skeleton.e-skeleton-text, .e-skeleton.e-skeleton-square, .e-skeleton.e-skeleton-rectangle { border-radius: 0; } .e-skeleton.e-skeleton-circle { border-radius: 50%; } .e-skeleton.e-visible-none { display: none; } .e-skeleton.e-shimmer-wave::after { -webkit-animation: e-shimmer-wave 2s infinite; animation: e-shimmer-wave 2s infinite; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: calc(200% + 200px); } .e-skeleton.e-shimmer-fade { -webkit-animation: e-shimmer-fade 2s infinite; animation: e-shimmer-fade 2s infinite; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; } .e-skeleton.e-shimmer-pulse { -webkit-animation: e-shimmer-pulse 2s infinite; animation: e-shimmer-pulse 2s infinite; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; } .e-rtl .e-shimmer-wave::after, .e-rtl.e-shimmer-wave::after { -webkit-animation: e-shimmer-wave-rtl 2s infinite; animation: e-shimmer-wave-rtl 2s infinite; } @-webkit-keyframes e-shimmer-wave { to { -webkit-transform: translateX(calc(50% + 100px)); transform: translateX(calc(50% + 100px)); } } @keyframes e-shimmer-wave { to { -webkit-transform: translateX(calc(50% + 100px)); transform: translateX(calc(50% + 100px)); } } @-webkit-keyframes e-shimmer-wave-rtl { from { -webkit-transform: translateX(calc(50% + 100px)); transform: translateX(calc(50% + 100px)); } } @keyframes e-shimmer-wave-rtl { from { -webkit-transform: translateX(calc(50% + 100px)); transform: translateX(calc(50% + 100px)); } } @-webkit-keyframes e-shimmer-fade { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } } @keyframes e-shimmer-fade { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } } @-webkit-keyframes e-shimmer-pulse { 0% { -webkit-transform: scale(1); transform: scale(1); } 40% { -webkit-transform: scale(1); transform: scale(1); } 50% { -webkit-transform: scale(0.975); transform: scale(0.975); } 100% { -webkit-transform: scale(1); transform: scale(1); } } @keyframes e-shimmer-pulse { 0% { -webkit-transform: scale(1); transform: scale(1); } 40% { -webkit-transform: scale(1); transform: scale(1); } 50% { -webkit-transform: scale(0.975); transform: scale(0.975); } 100% { -webkit-transform: scale(1); transform: scale(1); } } .e-skeleton.e-shimmer-wave::after { background-image: linear-gradient(90deg, transparent calc(50% - 100px), #e6e1e5 50%, transparent calc(50% + 100px)); } .e-skeleton.e-skeleton-text, .e-skeleton.e-skeleton-square, .e-skeleton.e-skeleton-rectangle, .e-skeleton.e-skeleton-circle { background-color: #333232; }