:root { --background-color: #fff; --text-color: #4b5563; --dark-background-color: #0f172a; --dark-text-color: #fff; --success-color: #10b981; --info-color: #3b82f6; --warning-color: #f59e0b; --error-color: #ef4444; --success-color-light: #d4f7eb; --info-color-light: #d4e1f7; --warning-color-light: #fce8cf; --error-color-light: #f9d2d2 } .fl-wrapper { position: fixed; -webkit-transition: all 1s ease-in-out; -moz-transition: all 1s ease-in-out; transition: all 1s ease-in-out; width: 24em; z-index: 9999 } @media only screen and (width <=480px) { .fl-wrapper { left: 5%; right: 5%; width: 90% } } .fl-wrapper[data-position^=top-] { top: .5em } .fl-wrapper[data-position^=bottom-] { bottom: .5em } .fl-wrapper[data-position$=-right] { right: .5em } .fl-wrapper[data-position$=-right] .fl-container { -webkit-transform: translateX(110%); -moz-transform: translateX(110%); -ms-transform: translateX(110%); transform: translateX(110%) } .fl-wrapper[data-position$=-left] { left: .5em } .fl-wrapper[data-position$=-left] .fl-container { -webkit-transform: translateX(-110%); -moz-transform: translateX(-110%); -ms-transform: translateX(-110%); transform: translateX(-110%) } .fl-wrapper[data-position$=-center] { left: 50%; -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%) } .fl-wrapper[data-position=top-center] .fl-container { -webkit-transform: translateY(-100vh); -moz-transform: translateY(-100vh); -ms-transform: translateY(-100vh); transform: translateY(-100vh) } .fl-wrapper[data-position=bottom-center] .fl-container { -webkit-transform: translateY(100vh); -moz-transform: translateY(100vh); -ms-transform: translateY(100vh); transform: translateY(100vh) } .fl-container { color: var(--text-color); opacity: 0; -webkit-transform: translateY(-20px); -moz-transform: translateY(-20px); -ms-transform: translateY(-20px); transform: translateY(-20px); -webkit-transition: all .5s ease-in-out; -moz-transition: all .5s ease-in-out; transition: all .5s ease-in-out } .fl-container.fl-show { opacity: 1; -webkit-transform: translate(0) !important; -moz-transform: translate(0) !important; -ms-transform: translate(0) !important; transform: translate(0) !important } .fl-container.fl-rtl { direction: rtl } .fl-icon { border-radius: 50%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; color: #fff; display: inline-block; height: 1em; margin: 0; min-height: 1em; min-width: 1em; position: relative; -webkit-transition: all 1s; -moz-transition: all 1s; transition: all 1s; width: 1em } .fl-icon:after, .fl-icon:before { border-width: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; content: ""; position: absolute; -webkit-transition: all 1s; -moz-transition: all 1s; transition: all 1s } .fl-success .fl-icon:after, .fl-success .fl-icon:before { background-color: currentcolor; border-radius: .1em; height: .6em; left: .35em; top: .6em; -webkit-transform: rotate(-135deg); -moz-transform: rotate(-135deg); -ms-transform: rotate(-135deg); transform: rotate(-135deg); -webkit-transform-origin: .08em .08em; -moz-transform-origin: .08em .08em; -ms-transform-origin: .08em .08em; transform-origin: .08em .08em; width: .16em } .fl-success .fl-icon:after { height: .16em; width: .4em } .fl-info .fl-icon:after, .fl-info .fl-icon:before { background-color: currentcolor; border-radius: .03em; left: 50%; -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); width: .15em } .fl-info .fl-icon:before { height: .38em; top: .4em } .fl-info .fl-icon:after { -webkit-box-shadow: -.06em .19em, -.06em .44em, .06em .44em; box-shadow: -.06em .19em, -.06em .44em, .06em .44em; height: .13em; top: .21em } .fl-warning .fl-icon:after, .fl-warning .fl-icon:before { background-color: currentcolor; border-radius: .03em; left: 50%; -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); width: .15em } .fl-warning .fl-icon:before { height: .38em; top: .21em } .fl-warning .fl-icon:after { height: .13em; top: .65em } .fl-error .fl-icon:after, .fl-error .fl-icon:before { background-color: currentcolor; border-radius: .1em; height: .7em; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%) rotate(-135deg); -moz-transform: translate(-50%, -50%) rotate(-135deg); -ms-transform: translate(-50%, -50%) rotate(-135deg); transform: translate(-50%, -50%) rotate(-135deg); width: .16em } .fl-error .fl-icon:after { -webkit-transform: translate(-50%, -50%) rotate(-45deg); -moz-transform: translate(-50%, -50%) rotate(-45deg); -ms-transform: translate(-50%, -50%) rotate(-45deg); transform: translate(-50%, -50%) rotate(-45deg) } .fl-success .fl-icon { background-color: var(--success-color) } .fl-info .fl-icon { background-color: var(--info-color) } .fl-warning .fl-icon { background-color: var(--warning-color) } .fl-error .fl-icon { background-color: var(--error-color) } .fl-progress-bar { bottom: 0; display: -webkit-box; display: -webkit-flex; display: -moz-box; display: flex; height: .125em; left: 0; position: absolute; right: 0 } .fl-success .fl-progress-bar { background-color: var(--success-color-light) } .fl-success .fl-progress-bar .fl-progress { background-color: var(--success-color) } .fl-info .fl-progress-bar { background-color: var(--info-color-light) } .fl-info .fl-progress-bar .fl-progress { background-color: var(--info-color) } .fl-warning .fl-progress-bar { background-color: var(--warning-color-light) } .fl-warning .fl-progress-bar .fl-progress { background-color: var(--warning-color) } .fl-error .fl-progress-bar { background-color: var(--error-color-light) } .fl-error .fl-progress-bar .fl-progress { background-color: var(--error-color) } body.fl-dark .fl-flasher, html.fl-dark .fl-flasher { --background-color: var(--dark-background-color); --text-color: var(--dark-text-color) } .fl-flasher { background-color: var(--background-color); border: 1px solid rgba(0, 0, 0, .03); border-bottom: none; -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05); color: var(--text-color); line-height: 1.5; margin: .75em 0; padding: .75em; position: relative; word-break: break-word } .fl-flasher.fl-rtl { border-radius: 0 .375em .375em 0 } .fl-flasher:not(.fl-rtl) { border-radius: .375em 0 0 .375em } .fl-flasher .fl-content { -webkit-box-align: center; -webkit-align-items: center; -moz-box-align: center; align-items: center; display: -webkit-box; display: -webkit-flex; display: -moz-box; display: flex } .fl-flasher .fl-icon { font-size: 2.5em } .fl-flasher .fl-message, .fl-flasher .fl-title { display: block; line-height: 1.25em; margin-left: 1em; margin-right: 1em } .fl-flasher .fl-title { font-size: 1em; font-weight: 700 } .fl-flasher .fl-message { font-size: .875em; margin-top: .25em } .fl-flasher .fl-close { -webkit-box-align: center; -webkit-align-items: center; -moz-box-align: center; align-items: center; background-color: transparent; border: none; color: #a8aaab; cursor: pointer; display: -webkit-inline-box; display: -webkit-inline-flex; display: -moz-inline-box; display: inline-flex; font-size: 25px; -webkit-box-pack: center; -webkit-justify-content: center; -moz-box-pack: center; justify-content: center; line-height: 0; margin: -.5rem; padding: .5rem; position: absolute; right: .5rem; top: 1rem; -webkit-transition: color .3s ease, -webkit-transform .3s ease; transition: color .3s ease, -webkit-transform .3s ease; -moz-transition: color .3s ease, transform .3s ease, -moz-transform .3s ease; transition: color .3s ease, transform .3s ease; transition: color .3s ease, transform .3s ease, -webkit-transform .3s ease, -moz-transform .3s ease } .fl-flasher .fl-close:hover { color: #8e9192; -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -ms-transform: scale(1.1); transform: scale(1.1) } .fl-flasher.fl-rtl .fl-close { left: .5rem; right: auto } .fl-flasher.fl-success { border-left: .8em solid var(--success-color) } .fl-flasher.fl-success.fl-rtl { border-left: none; border-right: .8em solid var(--success-color) } .fl-flasher.fl-success:not(.fl-rtl) { border-left: .8em solid var(--success-color); border-right: none } .fl-flasher.fl-success .fl-title { color: var(--success-color) } .fl-flasher.fl-info { border-left: .8em solid var(--info-color) } .fl-flasher.fl-info.fl-rtl { border-left: none; border-right: .8em solid var(--info-color) } .fl-flasher.fl-info:not(.fl-rtl) { border-left: .8em solid var(--info-color); border-right: none } .fl-flasher.fl-info .fl-title { color: var(--info-color) } .fl-flasher.fl-warning { border-left: .8em solid var(--warning-color) } .fl-flasher.fl-warning.fl-rtl { border-left: none; border-right: .8em solid var(--warning-color) } .fl-flasher.fl-warning:not(.fl-rtl) { border-left: .8em solid var(--warning-color); border-right: none } .fl-flasher.fl-warning .fl-title { color: var(--warning-color) } .fl-flasher.fl-error { border-left: .8em solid var(--error-color) } .fl-flasher.fl-error.fl-rtl { border-left: none; border-right: .8em solid var(--error-color) } .fl-flasher.fl-error:not(.fl-rtl) { border-left: .8em solid var(--error-color); border-right: none } .fl-flasher.fl-error .fl-title { color: var(--error-color) }