mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:26:04 +08:00
87de3c2319
* UX: replace highlight vars in popup menu * UX: replace highlight vars in autcomplete * UX: replace highlight vars in menu-panel * UX: update style guide * UX: bulk replace highlight vars in various small appearances
43 lines
808 B
SCSS
43 lines
808 B
SCSS
.alert {
|
|
padding: 0.5em 2.5em 0.5em 1em;
|
|
background-color: var(--danger-low);
|
|
color: var(--primary);
|
|
position: relative;
|
|
margin-bottom: 1em;
|
|
|
|
.close {
|
|
font-size: var(--font-up-3);
|
|
position: absolute;
|
|
top: 0.265em;
|
|
right: 0.66em;
|
|
.d-icon {
|
|
color: var(--primary-medium);
|
|
}
|
|
}
|
|
|
|
&.alert-success {
|
|
background-color: var(--success-low);
|
|
color: var(--primary);
|
|
}
|
|
&.alert-error {
|
|
background-color: var(--danger-low);
|
|
color: var(--primary);
|
|
}
|
|
&.alert-warning {
|
|
background-color: var(--highlight-bg);
|
|
color: var(--primary);
|
|
}
|
|
&.alert-info {
|
|
background-color: var(--tertiary-low);
|
|
color: var(--primary);
|
|
&.clickable {
|
|
color: var(--tertiary);
|
|
z-index: z("base");
|
|
}
|
|
}
|
|
}
|
|
|
|
a.alert.clickable {
|
|
display: flex;
|
|
}
|