mastoradio/src/assets/scss/3-components/_notifications.scss

45 lines
887 B
SCSS
Raw Normal View History

2020-02-15 18:58:20 +01:00
/**
* Notification module
* Namespace : .notif
*/
/* ----------------------------------------------------------- */
/* == configuration */
/* ----------------------------------------------------------- */
2020-03-04 01:35:23 +01:00
$notif-info: rgba(#0064da, .15);
$notif-success: rgba(#00da64, .15);
$notif-warning: rgba(#da6900, .15);
$notif-error: rgba(#da0000, .15);
2020-02-15 18:58:20 +01:00
/* ----------------------------------------------------------- */
/* == module */
/* ----------------------------------------------------------- */
.notif {
margin-top: .5rem;
padding: .5em 1em;
border-radius: .3rem;
font-size: 1.3rem;
2020-02-15 18:58:20 +01:00
}
2020-03-04 01:35:23 +01:00
.notif--info {
background-color: $notif-info;
color: #183fc8;
}
2020-02-15 18:58:20 +01:00
.notif--success {
background-color: $notif-success;
2020-03-04 01:35:23 +01:00
color: #0f4014;
2020-02-15 18:58:20 +01:00
}
.notif--warning {
background-color: $notif-warning;
2020-03-04 01:35:23 +01:00
color: #402c0f;
2020-02-15 18:58:20 +01:00
}
.notif--error {
background-color: $notif-error;
color: #9e0000;
2020-02-15 18:58:20 +01:00
}