discourse/app/assets/stylesheets/common/base/alert.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
622 B
SCSS
Raw Normal View History

.alert {
padding: 0.5em 2.5em 0.5em 1em;
2017-10-11 04:07:46 +08:00
background-color: $danger-low;
color: $primary;
position: relative;
margin-bottom: 1em;
.close {
2018-01-13 06:27:38 +08:00
font-size: $font-up-3;
position: absolute;
top: 0.265em;
right: 0.66em;
.d-icon {
color: $primary-medium;
}
}
&.alert-success {
background-color: $success-low;
2014-08-06 21:31:13 +08:00
color: $primary;
}
&.alert-error {
background-color: $danger-low;
2014-08-06 21:31:13 +08:00
color: $primary;
}
&.alert-info {
2017-06-12 10:20:14 +08:00
background-color: $tertiary-low;
color: $primary;
&.clickable {
color: $tertiary;
}
}
}
a.alert.clickable {
display: flex;
}