consul/ui-v2/app/styles/components/notice/skin.scss

41 lines
862 B
SCSS

%notice {
border-radius: $radius-small;
border-width: 1px;
}
%notice-success,
%notice-info,
%notice-error,
%notice-warning {
@extend %notice;
}
%notice-success {
@extend %with-passing;
background-color: $ui-green-050;
border-color: $ui-color-success;
color: $ui-green-700;
}
%notice-success::before {
color: $ui-color-success;
}
%notice-info {
@extend %with-passing; /* needs a better info button*/
background-color: $ui-blue-050;
border-color: $ui-color-action; /* TODO: change to info */
color: $ui-blue-700;
}
%notice-info::before {
color: $ui-color-action; /* change to info */
}
%notice-warning {
@extend %frame-yellow-500, %with-warning;
}
%notice-error {
@extend %with-critical;
background-color: $ui-red-050;
border-color: $ui-color-failure;
color: $ui-red-600;
}
%notice-error::before {
color: $ui-color-failure;
}