2018-08-29 11:11:58 +00:00
|
|
|
%notice {
|
|
|
|
border-radius: $radius-small;
|
2018-09-21 09:18:32 +00:00
|
|
|
border-width: 1px;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%notice-success,
|
|
|
|
%notice-info,
|
2018-10-19 15:17:02 +00:00
|
|
|
%notice-highlight,
|
2018-08-29 11:11:58 +00:00
|
|
|
%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 {
|
2018-10-19 15:17:02 +00:00
|
|
|
/* %frame-blue-000*/
|
|
|
|
border-style: solid; /*TODO: this can go once we are using a frame*/
|
2018-08-29 11:11:58 +00:00
|
|
|
@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;
|
|
|
|
}
|
2018-10-19 15:17:02 +00:00
|
|
|
%notice-highlight {
|
|
|
|
/* %frame-blue-000*/
|
|
|
|
border-style: solid; /*TODO: this can go once we are using a frame*/
|
|
|
|
@extend %with-star;
|
|
|
|
border-color: $ui-gray-300;
|
|
|
|
background-color: $ui-gray-050;
|
|
|
|
}
|
2018-08-29 11:11:58 +00:00
|
|
|
%notice-info::before {
|
|
|
|
color: $ui-color-action; /* change to info */
|
|
|
|
}
|
2018-10-19 15:17:02 +00:00
|
|
|
%notice-highlight::before {
|
|
|
|
/* %with-star, bigger */
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
2018-08-29 11:11:58 +00:00
|
|
|
%notice-warning {
|
2018-09-21 09:18:32 +00:00
|
|
|
@extend %frame-yellow-500, %with-warning;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%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;
|
|
|
|
}
|