.notification { position: absolute; width: 100%; height: 100%; z-index: 3; background: none; font-size: 0.9em; color: #ffffff; display: none; } .notification .window { position: relative; opacity: 0; -webkit-transition: all 300ms cubic-bezier(0.39, 0.575, 0.565, 1); -moz-transition: all 300ms cubic-bezier(0.39, 0.575, 0.565, 1); -ms-transition: all 300ms cubic-bezier(0.39, 0.575, 0.565, 1); -o-transition: all 300ms cubic-bezier(0.39, 0.575, 0.565, 1); transition: all 300ms cubic-bezier(0.39, 0.575, 0.565, 1); } .notification .window.show { opacity: 1; } .notification .window:not(.special) { left: 50%; top: 50%; width: 114px; margin: -64px auto auto -64px; padding: 8px; background-color: rgba(0, 0, 0, 0.8); text-align: center; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; -webkit-background-clip: padding-box; -moz-background-clip: padding; background-clip: padding-box; -webkit-transform: scale(0.85); -moz-transform: scale(0.85); -ms-transform: scale(0.85); -o-transform: scale(0.85); transform: scale(0.85); } .notification .window:not(.special).show { -webkit-transform: translate3d(0, 0%, 0); -moz-transform: translate3d(0, 0%, 0); -ms-transform: translate3d(0, 0%, 0); -o-transform: translate3d(0, 0%, 0); transform: translate3d(0, 0%, 0); } .notification .window:not(.special) .icon { display: block; font-size: 5.0em; } .notification .window:not(.special) .icon.loading { margin-bottom: 24px; } .notification .window:not(.special) strong { display: block; margin-bottom: 4px; } .notification .window.confirm, .notification .window.notify { -webkit-transform: translate3d(0, -150%, 0); -moz-transform: translate3d(0, -150%, 0); -ms-transform: translate3d(0, -150%, 0); -o-transform: translate3d(0, -150%, 0); transform: translate3d(0, -150%, 0); } .notification .window.confirm.show, .notification .window.notify.show { -webkit-transform: translate3d(0, 0%, 0); -moz-transform: translate3d(0, 0%, 0); -ms-transform: translate3d(0, 0%, 0); -o-transform: translate3d(0, 0%, 0); transform: translate3d(0, 0%, 0); } .notification .window.confirm .icon, .notification .window.notify .icon { float: left; font-size: 2.5em; margin-right: 8px; } .notification .window.confirm strong, .notification .window.notify strong { line-height: 1.5em; } .notification .window.confirm { opacity: 1; padding: 10px 12px; top: 0; top: 43px; background: #333; } .notification .window.confirm hr { margin: 10px 0; height: 1px; background: rgba(0, 0, 0, 0.75); -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); } .notification .window.confirm .button { width: 42%; font-size: 15px; line-height: 40px; } .notification .window.confirm .button:last-child { float: right; } .notification .window.notify { padding: 3px 0px 7px 7px; top: 0; color: #555555; text-shadow: 0 1px 0px #ffffff; background-image: -webkit-linear-gradient(top , #e8e8e8 0% , #f6f6f6 50%); background-image: -moz-linear-gradient(top , #e8e8e8 0% , #f6f6f6 50%); background-image: -ms-linear-gradient(top , #e8e8e8 0% , #f6f6f6 50%); background-image: -o-linear-gradient(top , #e8e8e8 0% , #f6f6f6 50%); background-image: linear-gradient(top , #e8e8e8 0% , #f6f6f6 50%); -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5); -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5); box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5); } .notification .window.notify.error, .notification .window.notify.alert, .notification .window.notify.success { color: #ffffff; text-shadow: 0 1px 0px rgba(0, 0, 0, 0.1); } .notification .window.notify.error { background-image: -webkit-linear-gradient(top , #ff4444 0% , #cc0000 50%); background-image: -moz-linear-gradient(top , #ff4444 0% , #cc0000 50%); background-image: -ms-linear-gradient(top , #ff4444 0% , #cc0000 50%); background-image: -o-linear-gradient(top , #ff4444 0% , #cc0000 50%); background-image: linear-gradient(top , #ff4444 0% , #cc0000 50%); } .notification .window.notify.alert { background-image: -webkit-linear-gradient(top , #ffbb33 0% , #ff8800 50%); background-image: -moz-linear-gradient(top , #ffbb33 0% , #ff8800 50%); background-image: -ms-linear-gradient(top , #ffbb33 0% , #ff8800 50%); background-image: -o-linear-gradient(top , #ffbb33 0% , #ff8800 50%); background-image: linear-gradient(top , #ffbb33 0% , #ff8800 50%); } .notification .window.notify.success { background-image: -webkit-linear-gradient(top , #99cc00 0% , #669900 50%); background-image: -moz-linear-gradient(top , #99cc00 0% , #669900 50%); background-image: -ms-linear-gradient(top , #99cc00 0% , #669900 50%); background-image: -o-linear-gradient(top , #99cc00 0% , #669900 50%); background-image: linear-gradient(top , #99cc00 0% , #669900 50%); } .notification .window.url { left: 0%; top: 00%; width: 280px; height: auto; margin: 64px auto 0px; padding: 0px; -webkit-transform: translate3d(0, 75%, 0); -moz-transform: translate3d(0, 75%, 0); -ms-transform: translate3d(0, 75%, 0); -o-transform: translate3d(0, 75%, 0); transform: translate3d(0, 75%, 0); } .notification .window.url .close { position: absolute; top: -14px; right: -14px; font-size: 16px; line-height: 24px; font-weight: normal; width: 24px; height: 24px; background: #000; border-radius: 14px; border: solid 2px #fff; box-shadow: 0 0 4px black; } .notification .window.working span { -webkit-animation: notification-working 1s infinite; } @-webkit-keyframes notification-working { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }