2020-10-26 16:51:53 +00:00
|
|
|
%notice {
|
2021-10-07 18:21:11 +00:00
|
|
|
border-radius: var(--decor-radius-100);
|
|
|
|
border: var(--decor-border-100);
|
|
|
|
color: var(--black);
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice::before {
|
|
|
|
@extend %as-pseudo;
|
|
|
|
}
|
2021-01-05 10:05:59 +00:00
|
|
|
%notice header > * {
|
2021-01-26 17:53:45 +00:00
|
|
|
@extend %h300;
|
2021-01-05 10:05:59 +00:00
|
|
|
}
|
2020-10-26 16:51:53 +00:00
|
|
|
%notice footer * {
|
|
|
|
@extend %p3;
|
2021-10-07 18:21:11 +00:00
|
|
|
font-weight: var(--typo-weight-bold);
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-success,
|
|
|
|
%notice-info,
|
|
|
|
%notice-highlight,
|
|
|
|
%notice-error,
|
|
|
|
%notice-warning {
|
|
|
|
@extend %notice;
|
|
|
|
}
|
|
|
|
%notice-success {
|
2021-10-07 18:21:11 +00:00
|
|
|
background-color: rgb(var(--tone-green-050));
|
|
|
|
border-color: rgb(var(--tone-green-500));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-info {
|
2021-10-07 18:21:11 +00:00
|
|
|
border-color: rgb(var(--tone-blue-100));
|
|
|
|
background-color: rgb(var(--tone-gray-010));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-info header * {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-blue-700));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-highlight {
|
2021-10-07 18:21:11 +00:00
|
|
|
background-color: rgb(var(--tone-gray-050));
|
|
|
|
border-color: rgb(var(--tone-gray-300));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-info header * {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-gray-700));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-warning {
|
2021-10-07 18:21:11 +00:00
|
|
|
border-color: rgb(var(--tone-yellow-100));
|
|
|
|
background-color: rgb(var(--tone-yellow-050));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-warning header * {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-yellow-800));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-error {
|
2021-10-07 18:21:11 +00:00
|
|
|
background-color: rgb(var(--tone-red-050));
|
|
|
|
border-color: rgb(var(--tone-red-500));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-success::before {
|
2021-06-22 17:56:17 +00:00
|
|
|
@extend %with-check-circle-fill-mask;
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-green-500));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-info::before {
|
2021-06-22 17:56:17 +00:00
|
|
|
@extend %with-info-circle-fill-mask;
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-blue-500));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-highlight::before {
|
|
|
|
@extend %with-star-fill-mask;
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-yellow-500));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-warning::before {
|
2021-06-22 17:56:17 +00:00
|
|
|
@extend %with-alert-triangle-mask;
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-orange-500));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|
|
|
|
%notice-error::before {
|
2021-06-22 17:56:17 +00:00
|
|
|
@extend %with-cancel-square-fill-mask;
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-red-500));
|
2020-10-26 16:51:53 +00:00
|
|
|
}
|