2020-03-23 13:51:37 +08:00
|
|
|
.@{alert-prefix-cls} {
|
2020-04-26 10:41:53 +08:00
|
|
|
&&-rtl {
|
2020-03-23 13:51:37 +08:00
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
2020-04-30 10:55:54 +08:00
|
|
|
&&-no-icon {
|
|
|
|
.@{alert-prefix-cls}-rtl& {
|
|
|
|
padding: @alert-no-icon-padding-vertical 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-23 13:51:37 +08:00
|
|
|
&-icon {
|
|
|
|
.@{alert-prefix-cls}-rtl & {
|
2021-01-09 09:07:02 +08:00
|
|
|
margin-right: auto;
|
|
|
|
margin-left: @margin-xs;
|
2020-03-23 13:51:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-09 09:07:02 +08:00
|
|
|
&-action {
|
2020-03-23 13:51:37 +08:00
|
|
|
.@{alert-prefix-cls}-rtl & {
|
2021-01-09 09:07:02 +08:00
|
|
|
margin-right: @margin-xs;
|
|
|
|
margin-left: auto;
|
2020-03-23 13:51:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-09 09:07:02 +08:00
|
|
|
&-close-icon {
|
|
|
|
.@{alert-prefix-cls}-rtl & {
|
|
|
|
margin-right: @margin-xs;
|
|
|
|
margin-left: auto;
|
2020-03-23 13:51:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-with-description &-icon {
|
|
|
|
.@{alert-prefix-cls}-rtl& {
|
2021-01-09 09:07:02 +08:00
|
|
|
margin-right: auto;
|
|
|
|
margin-left: @alert-with-description-padding-vertical;
|
2020-03-23 13:51:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|