discourse/app/assets/stylesheets/common/base/alert.scss
Michael Brown d9a02d1336
Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse""
This reverts commit 20780a1eee.

* SECURITY: re-adds accidentally reverted commit:
  03d26cd6: ensure embed_url contains valid http(s) uri
* when the merge commit e62a85cf was reverted, git chose the 2660c2e2 parent to land on
  instead of the 03d26cd6 parent (which contains security fixes)
2020-05-23 00:56:13 -04:00

38 lines
622 B
SCSS

.alert {
padding: 0.5em 2.5em 0.5em 1em;
background-color: $danger-low;
color: $primary;
position: relative;
margin-bottom: 1em;
.close {
font-size: $font-up-3;
position: absolute;
top: 0.265em;
right: 0.66em;
.d-icon {
color: $primary-medium;
}
}
&.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;
}
}
}
a.alert.clickable {
display: flex;
}