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
583 B
SCSS
Raw Normal View History

.alert {
padding: 0.5em 1em;
2017-10-10 16:07:46 -04:00
background-color: $danger-low;
color: $primary;
position: relative;
.close {
2018-01-12 17:27:38 -05:00
font-size: $font-up-3;
position: absolute;
top: 8px;
right: 8px;
.d-icon {
color: $primary-low-mid;
}
}
&.alert-success {
background-color: $success-low;
2014-08-06 09:31:13 -04:00
color: $primary;
}
&.alert-error {
background-color: $danger-low;
2014-08-06 09:31:13 -04:00
color: $primary;
}
&.alert-info {
2017-06-11 22:20:14 -04:00
background-color: $tertiary-low;
color: $primary;
&.clickable {
color: $tertiary;
}
}
}
a.alert.clickable {
display: flex;
}