hugo-theme-zzo/assets/sass/components/_alert.scss

33 lines
880 B
SCSS
Raw Normal View History

2019-11-04 13:09:44 +00:00
.alert {
padding: 0.75rem;
2019-11-04 13:09:44 +00:00
margin-bottom: 1rem;
border: 1px solid transparent;
border-radius: 0.125rem;
@include themify($themes) {
&-info {
background-color: rgba(215, 238, 249, 0.4);
border-left: 5px solid #bbdefb;
color: themed('dropdown-item-color');
}
2019-11-04 13:09:44 +00:00
&-success {
background-color: rgba(217, 239, 214, 0.4);
border-left: 5px solid #c8e6c9;
color: themed('dropdown-item-color');
}
2019-11-04 13:09:44 +00:00
&-warning {
background-color: rgba(255, 249, 196, 0.4);
border-left: 5px solid #ffeb3b;
color: themed('dropdown-item-color');
}
2019-11-04 13:09:44 +00:00
&-danger {
background-color: rgba(245, 221, 221, 0.4);
border-left: 5px solid #ffcdd2;
color: themed('dropdown-item-color');
}
2019-11-04 13:09:44 +00:00
}
}