Set max width for alerts and delete unused classes
This commit is contained in:
parent
8e2870b62f
commit
eeb174af35
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
.usa-alert {
|
.usa-alert {
|
||||||
padding-bottom: 2.4rem;
|
padding-bottom: 2.4rem;
|
||||||
|
max-width: $max-panel-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin alert {
|
@mixin alert {
|
||||||
@ -97,38 +98,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert {
|
|
||||||
@include alert;
|
|
||||||
@include alert-level("info");
|
|
||||||
|
|
||||||
&.alert--success {
|
|
||||||
@include alert-level("success");
|
|
||||||
|
|
||||||
.alert__actions {
|
|
||||||
.icon-link {
|
|
||||||
@include icon-link-color($color-green, $color-white);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.alert--warning {
|
|
||||||
@include alert-level("warning");
|
|
||||||
|
|
||||||
.alert__actions {
|
|
||||||
.icon-link {
|
|
||||||
@include icon-link-color($color-gold-dark, $color-white);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.alert--error {
|
|
||||||
@include alert-level("error");
|
|
||||||
|
|
||||||
.alert__actions {
|
|
||||||
.icon-link {
|
|
||||||
@include icon-link-color($color-red, $color-white);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user