1 | @import '../../style/themes/index';
|
2 | @import '../../style/mixins/index';
|
3 |
|
4 | @notification-prefix-cls: ~'@{ant-prefix}-notification';
|
5 |
|
6 | .@{notification-prefix-cls} {
|
7 | &-rtl {
|
8 | direction: rtl;
|
9 | }
|
10 |
|
11 | &-notice {
|
12 | &-closable &-message {
|
13 | .@{notification-prefix-cls}-rtl & {
|
14 | padding-right: 0;
|
15 | padding-left: 24px;
|
16 | }
|
17 | }
|
18 |
|
19 | &-with-icon &-message {
|
20 | .@{notification-prefix-cls}-rtl & {
|
21 | margin-right: 48px;
|
22 | margin-left: 0;
|
23 | }
|
24 | }
|
25 |
|
26 | &-with-icon &-description {
|
27 | .@{notification-prefix-cls}-rtl & {
|
28 | margin-right: 48px;
|
29 | margin-left: 0;
|
30 | }
|
31 | }
|
32 |
|
33 | &-icon {
|
34 | .@{notification-prefix-cls}-rtl & {
|
35 | margin-right: 4px;
|
36 | margin-left: 0;
|
37 | }
|
38 | }
|
39 |
|
40 | &-close {
|
41 | .@{notification-prefix-cls}-rtl & {
|
42 | right: auto;
|
43 | left: 22px;
|
44 | }
|
45 | }
|
46 |
|
47 | &-btn {
|
48 | .@{notification-prefix-cls}-rtl & {
|
49 | float: left;
|
50 | }
|
51 | }
|
52 | }
|
53 | }
|