mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 15:15:50 +08:00
33 lines
550 B
SCSS
33 lines
550 B
SCSS
.alert {
|
|
padding: 8px 32px 8px 16px;
|
|
background-color: $danger-low;
|
|
color: $primary;
|
|
position: relative;
|
|
|
|
.close {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
font-size: $font-up-3;
|
|
.d-icon {
|
|
color: $primary-low-mid;
|
|
}
|
|
}
|
|
|
|
&.alert-success {
|
|
background-color: $success-low;
|
|
color: $primary;
|
|
}
|
|
&.alert-error {
|
|
background-color: $danger-low;
|
|
color: $primary;
|
|
}
|
|
&.alert-info {
|
|
background-color: $tertiary-low;
|
|
color: $primary;
|
|
&.clickable {
|
|
color: $tertiary;
|
|
}
|
|
}
|
|
}
|