UNPKG

alertifyjs

Version:

AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications.

103 lines (89 loc) 2.54 kB
.alertify { .dimmer { background-color: rgba(0,0,0,.85); opacity: 1; } .dialog { max-width: 50%; min-height: 137px; background-color: #F4F4F4; border: 1px solid #DDD; box-shadow: none; border-radius: 5px; } .header { padding: 1.5rem 2rem; border-bottom: none; border-radius: 5px 5px 0 0; color: #555; background-color: #fff; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 1.6em; font-weight: 700; } .body { font-family: 'Roboto', sans-serif; color: #555; .content { .input { width: 100%; margin: 0; padding: .65em 1em; font-size: 1em; background-color: #FFF; border: 1px solid rgba(0,0,0,.15); outline: 0; color: rgba(0,0,0,.7); border-radius: .3125em; transition: background-color .3s ease-out,box-shadow .2s ease,border-color .2s ease; box-sizing: border-box; &:active { border-color: rgba(0, 0, 0, 0.3); background-color: #FAFAFA; } &:focus { border-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.85); } } } } &.resizable, &.maximized:not(.resizable) { .content { top: 64px; bottom: 74px; } } .footer { background-color: #fff; padding: 1rem 2rem; border-top: none; border-radius: 0 0 5px 5px; } } /*************** notifier ***************/ .alertify-notifier { .message { background: rgba( 255, 255, 255, .95); color: #000; text-align: center; border: solid 1px #ddd; border-radius: 2px; &.success { color: #fff; background: rgba(91, 189, 114,.95); text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5); } &.error { color: #fff; background: rgba(217, 92, 92,.95); text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5); } &.warning { background: rgba(252, 248, 215, 0.95); border-color: #999; } } }