You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
934 B
59 lines
934 B
5 years ago
|
@import '../../style/themes/index';
|
||
|
@import '../../style/mixins/index';
|
||
|
|
||
|
@alert-prefix-cls: ~'@{ant-prefix}-alert';
|
||
|
|
||
|
.@{alert-prefix-cls} {
|
||
|
&-rtl {
|
||
|
padding: 8px 37px 8px 15px;
|
||
|
direction: rtl;
|
||
|
}
|
||
|
|
||
|
&&-closable {
|
||
|
.@{alert-prefix-cls}-rtl& {
|
||
|
padding-right: 15px;
|
||
|
padding-left: 30px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-icon {
|
||
|
.@{alert-prefix-cls}-rtl & {
|
||
|
right: 16px;
|
||
|
left: auto;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-close-icon {
|
||
|
.@{alert-prefix-cls}-rtl & {
|
||
|
right: auto;
|
||
|
left: 16px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-with-description {
|
||
|
.@{alert-prefix-cls}-rtl& {
|
||
|
padding: 15px 64px 15px 15px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-with-description&-no-icon {
|
||
|
.@{alert-prefix-cls}-rtl& {
|
||
|
padding: 15px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-with-description &-icon {
|
||
|
.@{alert-prefix-cls}-rtl& {
|
||
|
right: 24px;
|
||
|
left: auto;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-with-description &-close-icon {
|
||
|
.@{alert-prefix-cls}-rtl& {
|
||
|
right: auto;
|
||
|
left: 16px;
|
||
|
}
|
||
|
}
|
||
|
}
|