UNPKG

1.07 kBtext/lessView Raw
1@import (reference) './imports/global';
2
3.aui-banner {
4 #aui-message.icon-bar(var(--aui-message-ig), var(--aui-message-icolor));
5 &::after {
6 left: 15px;
7 }
8
9 padding: var(--aui-message-padding);
10 padding-left: var(--aui-message-gutter);
11 position: relative;
12
13 a:not(.aui-button),
14 .aui-button-link {
15 text-decoration: underline;
16 }
17
18 &.aui-banner-error {
19 --aui-message-ig: @aui-glyph-exclamation-circle;
20 background-color: var(--aui-banner-error-bg-color);
21 color: var(--aui-banner-error-text-color);
22 }
23}
24
25// Interop for banners and messages in header.
26#header .aui-banner,
27#header .aui-message {
28 --aui-message-padding: 10px;
29 --aui-message-gutter: 40px;
30 --aui-message-isize: @aui-icon-size-small;
31 // AUI-5192: currentColor is quoted to work around Edge 18 bug.
32 --aui-focus: 'currentcolor';
33 --aui-link-color: 'currentcolor';
34 --aui-link-hover-color: 'currentcolor';
35 --aui-link-active-color: 'currentcolor';
36 border-radius: 0;
37 box-shadow: none;
38 margin-top: 0;
39}