提交 | 用户 | age
|
2f6253
|
1 |
@import (reference) '../../../design/index.less'; |
陈 |
2 |
|
|
3 |
.fullscreen-modal { |
|
4 |
overflow: hidden; |
|
5 |
|
|
6 |
.ant-modal { |
|
7 |
top: 0 !important; |
|
8 |
right: 0 !important; |
|
9 |
bottom: 0 !important; |
|
10 |
left: 0 !important; |
|
11 |
width: 100% !important; |
81baf1
|
12 |
height: 100%; |
V |
13 |
|
|
14 |
&-content { |
|
15 |
height: 100%; |
|
16 |
} |
2f6253
|
17 |
} |
陈 |
18 |
} |
|
19 |
|
|
20 |
.ant-modal { |
|
21 |
width: 520px; |
|
22 |
padding-bottom: 0; |
|
23 |
|
|
24 |
.ant-spin-nested-loading { |
|
25 |
padding: 16px; |
|
26 |
} |
|
27 |
|
|
28 |
&-title { |
|
29 |
font-size: 16px; |
|
30 |
font-weight: bold; |
|
31 |
line-height: 16px; |
|
32 |
|
|
33 |
.base-title { |
fb0c77
|
34 |
cursor: move !important; |
2f6253
|
35 |
} |
陈 |
36 |
} |
|
37 |
|
|
38 |
.custom-close-icon { |
|
39 |
display: flex; |
|
40 |
height: 95%; |
|
41 |
align-items: center; |
|
42 |
|
81baf1
|
43 |
> span { |
V |
44 |
margin-left: 48px; |
|
45 |
font-size: 16px; |
|
46 |
} |
|
47 |
|
|
48 |
&.can-full { |
|
49 |
> span { |
|
50 |
margin-left: 12px; |
|
51 |
} |
|
52 |
} |
|
53 |
|
|
54 |
&:not(.can-full) { |
|
55 |
> span:nth-child(1) { |
|
56 |
&:hover { |
|
57 |
font-weight: 700; |
|
58 |
} |
|
59 |
} |
2f6253
|
60 |
} |
陈 |
61 |
|
|
62 |
& span:nth-child(1) { |
|
63 |
display: inline-block; |
|
64 |
padding: 10px; |
|
65 |
|
|
66 |
&:hover { |
|
67 |
color: @primary-color; |
|
68 |
} |
|
69 |
} |
|
70 |
|
|
71 |
& span:nth-child(2) { |
|
72 |
&:hover { |
|
73 |
color: @error-color; |
|
74 |
} |
|
75 |
} |
|
76 |
} |
|
77 |
|
|
78 |
.ant-modal-body { |
|
79 |
padding: 0; |
|
80 |
} |
|
81 |
|
|
82 |
&-large { |
|
83 |
top: 60px; |
|
84 |
|
|
85 |
&--mini { |
|
86 |
top: 16px; |
|
87 |
} |
|
88 |
} |
|
89 |
|
|
90 |
&-header { |
|
91 |
padding: 16px; |
|
92 |
} |
|
93 |
|
|
94 |
&-content { |
|
95 |
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); |
|
96 |
} |
|
97 |
|
|
98 |
&-footer { |
81baf1
|
99 |
// padding: 10px 26px 26px 16px; |
2f6253
|
100 |
|
陈 |
101 |
button + button { |
|
102 |
margin-left: 10px; |
|
103 |
} |
|
104 |
} |
|
105 |
|
|
106 |
&-close { |
|
107 |
font-weight: normal; |
|
108 |
outline: none; |
|
109 |
} |
|
110 |
|
|
111 |
&-close-x { |
|
112 |
display: inline-block; |
|
113 |
width: 96px; |
|
114 |
height: 56px; |
|
115 |
line-height: 56px; |
|
116 |
} |
|
117 |
|
|
118 |
&-confirm-body { |
|
119 |
.ant-modal-confirm-content { |
|
120 |
color: @text-color-help-dark; |
|
121 |
|
|
122 |
> * { |
|
123 |
color: @text-color-help-dark; |
|
124 |
} |
|
125 |
} |
|
126 |
} |
|
127 |
|
|
128 |
&-confirm-confirm.error .ant-modal-confirm-body > .anticon { |
|
129 |
color: @error-color; |
|
130 |
} |
|
131 |
|
|
132 |
&-confirm-btns { |
|
133 |
.ant-btn:last-child { |
|
134 |
margin-right: 0; |
|
135 |
} |
|
136 |
} |
|
137 |
|
|
138 |
&-confirm-info { |
|
139 |
.ant-modal-confirm-body > .anticon { |
|
140 |
color: @warning-color; |
|
141 |
} |
|
142 |
} |
|
143 |
|
|
144 |
&-confirm-confirm.success { |
|
145 |
.ant-modal-confirm-body > .anticon { |
|
146 |
color: @success-color; |
|
147 |
} |
|
148 |
} |
|
149 |
} |
|
150 |
|
|
151 |
.ant-modal-confirm .ant-modal-body { |
|
152 |
padding: 24px !important; |
|
153 |
} |
|
154 |
@media screen and (max-height: 600px) { |
|
155 |
.ant-modal { |
|
156 |
top: 60px; |
|
157 |
} |
|
158 |
} |
|
159 |
@media screen and (max-height: 540px) { |
|
160 |
.ant-modal { |
|
161 |
top: 30px; |
|
162 |
} |
|
163 |
} |
|
164 |
@media screen and (max-height: 480px) { |
|
165 |
.ant-modal { |
|
166 |
top: 10px; |
|
167 |
} |
|
168 |
} |