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,063 lines (1,043 loc) 28.4 kB
.e-badge { background: #1b2430; border-color: transparent; border-radius: 2px; -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: #d1d5db; display: inline-block; font-family: "Inter"; font-size: 10px; font-weight: 500; line-height: 1; padding: 4px; height: 18px; 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: 10px; padding: 4px 10px 4px 10px; } .e-badge.e-badge-ghost { line-height: 1; padding: 3px 10px 3px 10px; } .e-badge.e-badge-notification { border-radius: 10px; height: 18px; line-height: 1; min-width: 32px; padding: 4px 10px 4px 10px; width: auto; font-size: 10px; position: absolute; top: -10px; left: 100%; } .e-badge.e-badge-notification.e-badge-ghost { line-height: 1; } .e-badge.e-badge-circle { border-radius: 10px; height: 18px; line-height: 1; min-width: 0; padding: 4px 3px 4px 3px; width: 18px; } .e-badge.e-badge-circle.e-badge-ghost { line-height: 1; padding: 3px; } .e-badge.e-badge-overlap { position: absolute; top: -10px; -webkit-transform: translateX(-50%); transform: translateX(-50%); } .e-badge.e-badge-dot { border-radius: 10px; height: 10px; line-height: 1; min-width: 0; padding: 0; width: 10px; -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); 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: 1; position: relative; top: -2px; } button .e-badge.e-badge-circle { height: 18px; line-height: 1; width: 18px; } button .e-badge.e-badge-circle.e-badge-ghost { line-height: 1; } .e-badge.e-badge-primary:not(.e-badge-ghost):not([href]), .e-badge.e-badge-primary[href]:not(.e-badge-ghost) { background-color: #22d3ee; color: #000; } .e-badge.e-badge-secondary:not(.e-badge-ghost):not([href]), .e-badge.e-badge-secondary[href]:not(.e-badge-ghost) { background-color: #1b2430; color: #d1d5db; } .e-badge.e-badge-success:not(.e-badge-ghost):not([href]), .e-badge.e-badge-success[href]:not(.e-badge-ghost) { background-color: #dcfce7; color: #22c55e; } .e-badge.e-badge-danger:not(.e-badge-ghost):not([href]), .e-badge.e-badge-danger[href]:not(.e-badge-ghost) { background-color: #fee2e2; color: #f87171; } .e-badge.e-badge-warning:not(.e-badge-ghost):not([href]), .e-badge.e-badge-warning[href]:not(.e-badge-ghost) { background-color: #ffedd5; color: #f97316; } .e-badge.e-badge-info:not(.e-badge-ghost):not([href]), .e-badge.e-badge-info[href]:not(.e-badge-ghost) { background-color: #e0f2fe; color: #38bdf8; } .e-badge.e-badge-light:not(.e-badge-ghost):not([href]), .e-badge.e-badge-light[href]:not(.e-badge-ghost) { background-color: #374151; color: #d1d5db; } .e-badge.e-badge-dark:not(.e-badge-ghost):not([href]), .e-badge.e-badge-dark[href]:not(.e-badge-ghost) { background-color: #9ca3af; color: #374151; } .e-badge.e-badge-primary[href]:not(.e-badge-ghost):hover { background-color: #10b4cd; } .e-badge.e-badge-secondary[href]:not(.e-badge-ghost):hover { background-color: #090c10; } .e-badge.e-badge-success[href]:not(.e-badge-ghost):hover { background-color: #adf8c7; } .e-badge.e-badge-danger[href]:not(.e-badge-ghost):hover { background-color: #fcb1b1; } .e-badge.e-badge-warning[href]:not(.e-badge-ghost):hover { background-color: #ffd7a2; } .e-badge.e-badge-info[href]:not(.e-badge-ghost):hover { background-color: #afddfc; } .e-badge.e-badge-light[href]:not(.e-badge-ghost):hover { background-color: #222933; } .e-badge.e-badge-dark[href]:not(.e-badge-ghost):hover { background-color: #808998; } .e-badge.e-badge-primary[href].e-badge-ghost:hover { border-color: #0e9fb6; color: #0e9fb6; } .e-badge.e-badge-secondary[href].e-badge-ghost:hover { border-color: black; color: black; } .e-badge.e-badge-success[href].e-badge-ghost:hover { border-color: #96f6b7; color: #96f6b7; } .e-badge.e-badge-danger[href].e-badge-ghost:hover { border-color: #fb9898; color: #fb9898; } .e-badge.e-badge-warning[href].e-badge-ghost:hover { border-color: #ffcc89; color: #ffcc89; } .e-badge.e-badge-info[href].e-badge-ghost:hover { border-color: #96d3fc; color: #96d3fc; } .e-badge.e-badge-light[href].e-badge-ghost:hover { border-color: #181c23; color: #181c23; } .e-badge.e-badge-dark[href].e-badge-ghost:hover { border-color: #727c8d; color: #727c8d; } .e-badge.e-badge-ghost.e-badge-primary { background-color: transparent; border: 1px solid #22d3ee; color: #22d3ee; } .e-badge.e-badge-ghost.e-badge-secondary { background-color: transparent; border: 1px solid #d1d5db; color: #d1d5db; border: 1px solid #1b2430; color: #1b2430; } .e-badge.e-badge-ghost.e-badge-success { background-color: transparent; border: 1px solid #22c55e; color: #22c55e; border: 1px solid #dcfce7; color: #dcfce7; } .e-badge.e-badge-ghost.e-badge-danger { background-color: transparent; border: 1px solid #f87171; color: #f87171; border: 1px solid #fee2e2; color: #fee2e2; } .e-badge.e-badge-ghost.e-badge-warning { background-color: transparent; border: 1px solid #f97316; color: #f97316; } .e-badge.e-badge-ghost.e-badge-info { background-color: transparent; border: 1px solid #38bdf8; color: #38bdf8; } .e-badge.e-badge-ghost.e-badge-light { background-color: transparent; border: 1px solid #d1d5db; color: #d1d5db; border: 1px solid #374151; color: #374151; } .e-badge.e-badge-ghost.e-badge-dark { background-color: transparent; border: 1px solid #9ca3af; color: #9ca3af; } .e-toast .e-toast-close-icon::before { content: "\e7e7"; font-family: "e-icons"; } .e-toast .e-toast-success-icon::before { content: "\e7b0"; font-family: "e-icons"; } .e-toast .e-toast-error-icon::before { content: "\e7a2"; font-family: "e-icons"; } .e-toast .e-toast-info-icon::before { content: "\e797"; font-family: "e-icons"; } .e-toast .e-toast-warning-icon::before { content: "\e88b"; 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: 12px; margin-right: initial; } .e-toast-container.e-rtl .e-toast .e-toast-progress { left: auto; right: 0; } .e-toast-container .e-toast { border-radius: 6px; display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; font-size: 14px; margin: 0 0 10px; overflow: hidden; padding: 18px; 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: 700; letter-spacing: 0.5px; } .e-toast-container .e-toast .e-toast-message .e-toast-content { padding: 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 8px; 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: 16px; height: 20px; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; margin-left: auto; width: 20px; } .e-toast-container .e-toast .e-toast-icon { -webkit-box-align: center; -ms-flex-align: center; align-items: center; font-size: 16px; height: 20px; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; margin-right: 12px; width: 20px; } .e-toast-container .e-toast .e-toast-progress { bottom: 0; height: 4px; 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: #1f2937; border: 1px solid #4b5563; -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); color: #d1d5db; } .e-toast-container .e-toast .e-toast-close-icon { color: #d1d5db; } .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: #f3f4f6; } .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: #f3f4f6; } .e-toast-container .e-toast.e-toast-success { background-color: #dcfce7; color: #22c55e; } .e-toast-container .e-toast.e-toast-success .e-toast-message .e-toast-title { color: #22c55e; } .e-toast-container .e-toast.e-toast-success .e-toast-message .e-toast-content { color: #22c55e; } .e-toast-container .e-toast.e-toast-success .e-toast-icon { color: #22c55e; } .e-toast-container .e-toast.e-toast-success .e-toast-close-icon { color: #22c55e; } .e-toast-container .e-toast.e-toast-success:hover { background-color: #dcfce7; -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); color: #22c55e; } .e-toast-container .e-toast.e-toast-info { background-color: #e0f2fe; color: #0ea5e9; } .e-toast-container .e-toast.e-toast-info .e-toast-message .e-toast-title { color: #0ea5e9; } .e-toast-container .e-toast.e-toast-info .e-toast-message .e-toast-content { color: #0ea5e9; } .e-toast-container .e-toast.e-toast-info .e-toast-icon { color: #0ea5e9; } .e-toast-container .e-toast.e-toast-info .e-toast-close-icon { color: #0ea5e9; } .e-toast-container .e-toast.e-toast-info:hover { background-color: #e0f2fe; -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); color: #0ea5e9; } .e-toast-container .e-toast.e-toast-warning { background-color: #ffedd5; color: #ea580c; } .e-toast-container .e-toast.e-toast-warning .e-toast-message .e-toast-title { color: #ea580c; } .e-toast-container .e-toast.e-toast-warning .e-toast-message .e-toast-content { color: #ea580c; } .e-toast-container .e-toast.e-toast-warning .e-toast-icon { color: #ea580c; } .e-toast-container .e-toast.e-toast-warning .e-toast-close-icon { color: #ea580c; } .e-toast-container .e-toast.e-toast-warning:hover { background-color: #ffedd5; -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); color: #ea580c; } .e-toast-container .e-toast.e-toast-danger { background-color: #fee2e2; color: #f87171; } .e-toast-container .e-toast.e-toast-danger .e-toast-message .e-toast-title { color: #f87171; } .e-toast-container .e-toast.e-toast-danger .e-toast-message .e-toast-content { color: #f87171; } .e-toast-container .e-toast.e-toast-danger .e-toast-icon { color: #f87171; } .e-toast-container .e-toast.e-toast-danger .e-toast-close-icon { color: #f87171; } .e-toast-container .e-toast.e-toast-danger:hover { background-color: #fee2e2; -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); color: #f87171; } .e-toast-container .e-toast:hover { background-color: #1f2937; -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); } .e-toast-container .e-toast .e-toast-icon { color: #d1d5db; } .e-toast-container .e-toast .e-toast-message .e-toast-title { color: #fff; } .e-toast-container .e-toast .e-toast-message .e-toast-content { color: #d1d5db; } .e-toast-container .e-toast .e-toast-progress { background-color: #22d3ee; } .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: "\e800"; } .e-message .e-msg-close-icon::before { content: "\e7e7"; } .e-message.e-success .e-msg-icon::before { content: "\e72b"; } .e-message.e-error .e-msg-icon::before { content: "\e878"; } .e-message.e-warning .e-msg-icon::before { content: "\e88b"; } .e-message { border: 1px solid; border-radius: 4px; -webkit-box-sizing: border-box; box-sizing: border-box; font-family: "Inter"; font-weight: 400; font-style: normal; padding: 9px 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: 16px; } .e-message .e-msg-icon { font-size: 16px; height: 16px; margin: 3px 4px; } .e-message .e-msg-close-icon { border-width: 0; cursor: pointer; font-size: 16px; margin: 1px 2px 1px auto; padding: 2px; height: 20px; } .e-message .e-msg-content { -webkit-box-sizing: border-box; box-sizing: border-box; font-size: 14px; line-height: 22px; 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: 3px 4px; } .e-message.e-rtl .e-msg-close-icon { margin: 1px auto 1px 2px; } .e-message { background: #374151; border-color: #4b5563; color: #fff; } .e-message .e-msg-icon { color: #fff; } .e-message .e-msg-close-icon { background: transparent; color: #d1d5db; } .e-message .e-msg-close-icon:hover, .e-message .e-msg-close-icon:focus { background-color: rgba(209, 213, 219, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); border-radius: 50%; } .e-message.e-success { background-color: #14532d; border-color: #166534; color: #dcfce7; } .e-message.e-success .e-msg-icon { color: #22c55e; } .e-message.e-success .e-msg-close-icon { color: #d1d5db; } .e-message.e-success .e-msg-close-icon:hover, .e-message.e-success .e-msg-close-icon:focus { background-color: rgba(209, 213, 219, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); } .e-message.e-warning { background-color: #7c2d12; border-color: #9a3412; color: #ffedd5; } .e-message.e-warning .e-msg-icon { color: #f97316; } .e-message.e-warning .e-msg-close-icon { color: #d1d5db; } .e-message.e-warning .e-msg-close-icon:hover, .e-message.e-warning .e-msg-close-icon:focus { background-color: rgba(209, 213, 219, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); } .e-message.e-info { background-color: #164e63; border-color: #155e75; color: #cffafe; } .e-message.e-info .e-msg-icon { color: #06b6d4; } .e-message.e-info .e-msg-close-icon { color: #d1d5db; } .e-message.e-info .e-msg-close-icon:hover, .e-message.e-info .e-msg-close-icon:focus { background-color: rgba(209, 213, 219, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); } .e-message.e-error { background-color: #7f1d1d; border-color: #991b1b; color: #fee2e2; } .e-message.e-error .e-msg-icon { color: #f87171 !important; /* stylelint-disable-line declaration-no-important */ } .e-message.e-error .e-msg-close-icon { color: #d1d5db; } .e-message.e-error .e-msg-close-icon:hover, .e-message.e-error .e-msg-close-icon:focus { background-color: rgba(209, 213, 219, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); } .e-message.e-outlined { background: transparent; border-color: #9ca3af; color: #fff; } .e-message.e-outlined .e-msg-icon { color: #fff; } .e-message.e-outlined .e-msg-close-icon { color: #d1d5db; } .e-message.e-outlined .e-msg-close-icon:hover, .e-message.e-outlined .e-msg-close-icon:focus { background-color: rgba(209, 213, 219, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); } .e-message.e-outlined.e-success { border-color: #22c55e; color: #22c55e; } .e-message.e-outlined.e-success .e-msg-icon { color: #22c55e; } .e-message.e-outlined.e-success .e-msg-close-icon { color: #d1d5db; } .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(209, 213, 219, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); } .e-message.e-outlined.e-warning { border-color: #f97316; color: #f97316; } .e-message.e-outlined.e-warning .e-msg-icon { color: #f97316; } .e-message.e-outlined.e-warning .e-msg-close-icon { color: #d1d5db; } .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(209, 213, 219, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); } .e-message.e-outlined.e-info { border-color: #06b6d4; color: #06b6d4; } .e-message.e-outlined.e-info .e-msg-icon { color: #06b6d4; } .e-message.e-outlined.e-info .e-msg-close-icon { color: #d1d5db; } .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(209, 213, 219, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); } .e-message.e-outlined.e-error { border-color: #f87171; color: #f87171; } .e-message.e-outlined.e-error .e-msg-icon { color: #f87171; } .e-message.e-outlined.e-error .e-msg-close-icon { color: #d1d5db; } .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(209, 213, 219, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.12); } .e-message.e-filled { background: #9ca3af; border-color: #9ca3af; 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: #22c55e; border-color: #22c55e; color: #1f2937; } .e-message.e-filled.e-success .e-msg-icon { color: #1f2937; } .e-message.e-filled.e-success .e-msg-close-icon { color: #1f2937; } .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(31, 41, 55, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.12); box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.12); } .e-message.e-filled.e-warning { background-color: #f97316; border-color: #f97316; color: #1f2937; } .e-message.e-filled.e-warning .e-msg-icon { color: #1f2937; } .e-message.e-filled.e-warning .e-msg-close-icon { color: #1f2937; } .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(31, 41, 55, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.12); box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.12); } .e-message.e-filled.e-info { background-color: #06b6d4; border-color: #06b6d4; color: #1f2937; } .e-message.e-filled.e-info .e-msg-icon { color: #1f2937; } .e-message.e-filled.e-info .e-msg-close-icon { color: #1f2937; } .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(31, 41, 55, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.12); box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.12); } .e-message.e-filled.e-error { background-color: #f87171; border-color: #f87171; color: #1f2937; } .e-message.e-filled.e-error .e-msg-icon { color: #1f2937 !important; /* stylelint-disable-line declaration-no-important */ } .e-message.e-filled.e-error .e-msg-close-icon { color: #1f2937; } .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(31, 41, 55, 0.12); -webkit-box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.12); box-shadow: 0 0 0 2px rgba(31, 41, 55, 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: 4px; } .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: #374151; }