gramli-angular-notifier
Version:
A well designed, fully animated, highly customizable, and easy-to-use notification library for your Angular application.
100 lines (96 loc) • 2.69 kB
CSS
.notifier__notification--bootstrap {
border-radius: 0.375rem;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
cursor: default;
padding: 0.75rem 1rem;
border: 1px solid transparent;
transition: all 0.15s ease-in-out;
}
.notifier__notification--bootstrap:hover {
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
transform: translateY(-1px);
}
.notifier__notification--bootstrap .notifier__notification-message {
display: inline-block;
margin: 0;
vertical-align: middle;
line-height: 1.5;
font-size: 1rem;
font-weight: 400;
color: inherit;
}
.notifier__notification--bootstrap .notifier__notification-button {
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.15s ease-in-out;
opacity: 1;
margin-left: 0.75rem;
margin-right: -0.5rem;
outline: none;
border: none;
background: transparent;
cursor: pointer;
padding: 0.5rem;
width: 2rem;
height: 2rem;
vertical-align: middle;
border-radius: 0.25rem;
color: #000;
filter: brightness(0.7);
}
.notifier__notification--bootstrap .notifier__notification-button:hover {
filter: brightness(0);
background-color: rgba(0, 0, 0, 0.1);
}
.notifier__notification--bootstrap .notifier__notification-button:focus {
filter: brightness(0);
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
background-color: rgba(0, 0, 0, 0.1);
}
.notifier__notification--bootstrap .notifier__notification-button:active {
transform: scale(0.95);
filter: brightness(0);
background-color: rgba(0, 0, 0, 0.15);
}
.notifier__notification--bootstrap.notifier__notification--default {
background-color: #cfe2ff;
border-color: #b6d4fe;
color: #084298;
}
.notifier__notification--bootstrap.notifier__notification--info {
background-color: #d1ecf1;
border-color: #bee5eb;
color: #0c5460;
}
.notifier__notification--bootstrap.notifier__notification--success {
background-color: #d1e7dd;
border-color: #badbcc;
color: #0f5132;
}
.notifier__notification--bootstrap.notifier__notification--warning {
background-color: #fff3cd;
border-color: #ffecb5;
color: #664d03;
}
.notifier__notification--bootstrap.notifier__notification--error {
background-color: #f8d7da;
border-color: #f5c2c7;
color: #842029;
}
@media (max-width: 576px) {
.notifier__notification--bootstrap {
padding: 0.5rem 0.75rem;
border-radius: 0.25rem;
}
.notifier__notification--bootstrap .notifier__notification-message {
font-size: 0.875rem;
line-height: 1.4;
}
.notifier__notification--bootstrap .notifier__notification-button {
width: 1.75rem;
height: 1.75rem;
padding: 0.375rem;
}
}
/*# sourceMappingURL=theme-bootstrap.css.map */