open-consul/ui/packages/consul-ui/app/components/inline-alert/skin.scss
John Cowen 6d8dc8a09b
ui: Rename icons for consistency and remove unused icons (#10311)
* ui: Standardize logo naming

According to structure it should always be logo-name not name-logo

* Make sure all our logos use logo-name format

* Upgrade to @hashicorp/structure-icons 1.9.0

* Add `-color` to be consistent with other logos

* Add ms logo back in

* Remove all the old `*-color` icons from before when we got masks

* Add missing files

* Missed glimmer extend name change
2021-06-22 18:56:17 +01:00

43 lines
871 B
SCSS

%inline-alert {
font-style: normal;
font-weight: normal;
}
%inline-alert-success,
%inline-alert-info,
%inline-alert-error,
%inline-alert-warning {
@extend %inline-alert;
}
%inline-alert {
color: inherit;
}
%inline-alert-error {
color: $color-failure;
}
%inline-alert::before {
font-size: 14px;
}
%inline-alert::before {
@extend %as-pseudo;
}
%inline-alert-success::before {
@extend %with-check-circle-fill-mask;
color: $green-500;
}
%inline-alert-error::before {
@extend %with-cancel-square-fill-mask;
color: $red-500;
}
%inline-alert-warning::before {
@extend %with-alert-triangle-mask;
color: $orange-500;
/* the warning triangle always looks */
/* too low just because its a triangle */
/* this tweak make it look better */
margin-top: -9px;
}
%inline-alert-info::before {
@extend %with-info-circle-fill-mask;
color: $blue-500;
}