提交 | 用户 | age
|
2f6253
|
1 |
@import './pagination.less'; |
陈 |
2 |
@import './input.less'; |
|
3 |
@import './btn.less'; |
|
4 |
|
770283
|
5 |
// TODO beta.11 fix |
2407b3
|
6 |
.ant-col { |
V |
7 |
width: 100%; |
|
8 |
} |
|
9 |
|
770283
|
10 |
// .ant-form-item-label { |
V |
11 |
// text-align: unset; |
|
12 |
// } |
|
13 |
|
2f6253
|
14 |
// ================================= |
陈 |
15 |
// ==============descriptions======= |
|
16 |
// ================================= |
|
17 |
.ant-descriptions-bordered .ant-descriptions-item-label { |
|
18 |
background-color: @background-color-light; |
|
19 |
} |
|
20 |
|
|
21 |
.ant-descriptions .ant-descriptions-item-content { |
|
22 |
color: @text-color-call-out; |
|
23 |
} |
|
24 |
// ================================= |
|
25 |
// ==============modal message====== |
|
26 |
// ================================= |
|
27 |
.modal-icon-warning { |
|
28 |
color: @warning-color !important; |
|
29 |
} |
|
30 |
|
|
31 |
.modal-icon-success { |
|
32 |
color: @success-color !important; |
|
33 |
} |
|
34 |
|
|
35 |
.modal-icon-error { |
|
36 |
color: @error-color !important; |
|
37 |
} |
|
38 |
|
a2c413
|
39 |
.modal-icon-info { |
V |
40 |
color: @primary-color !important; |
|
41 |
} |
|
42 |
|
2f6253
|
43 |
.ant-modal-mask { |
陈 |
44 |
background-color: rgba(0, 0, 0, 0.2); |
|
45 |
} |
|
46 |
// ================================= |
|
47 |
// ==============menu=============== |
|
48 |
// ================================= |
|
49 |
.ant-menu-item { |
|
50 |
&-selected { |
|
51 |
a { |
|
52 |
color: @primary-color; |
|
53 |
|
|
54 |
&:hover { |
|
55 |
color: @primary-color; |
|
56 |
} |
|
57 |
} |
|
58 |
} |
|
59 |
} |
|
60 |
// ================================= |
|
61 |
// ==============dropdown=========== |
|
62 |
// ================================= |
|
63 |
.ant-dropdown { |
|
64 |
.ant-divider { |
|
65 |
margin: 4px 0; |
|
66 |
} |
|
67 |
|
|
68 |
&-menu-item { |
|
69 |
line-height: 30px; |
|
70 |
color: @text-color-call-out; |
|
71 |
|
|
72 |
&:hover { |
|
73 |
color: inherit; |
|
74 |
background-color: @border-color-shallow-light; |
|
75 |
} |
|
76 |
} |
|
77 |
} |
|
78 |
// ================================= |
|
79 |
// ==============back-top=========== |
|
80 |
// ================================= |
|
81 |
.ant-back-top { |
|
82 |
right: 50px; |
|
83 |
bottom: 60px; |
|
84 |
} |
|
85 |
// ================================= |
|
86 |
// ==============calendar=========== |
|
87 |
// ================================= |
|
88 |
.ant-calendar-picker { |
|
89 |
width: 100%; |
|
90 |
} |
|
91 |
// ================================= |
|
92 |
// ==============tooltip============ |
|
93 |
// ================================= |
|
94 |
|
|
95 |
.ant-tooltip { |
|
96 |
&-inner { |
|
97 |
padding: 6px 16px; |
|
98 |
line-height: 20px; |
|
99 |
color: @white; |
|
100 |
background: @text-color-base; |
|
101 |
border-radius: 4px; |
|
102 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); |
|
103 |
} |
|
104 |
} |
|
105 |
// ================================= |
|
106 |
// ==============form=============== |
|
107 |
// ================================= |
|
108 |
.ant-form-item.deltag .ant-form-item-required::before { |
|
109 |
content: ''; |
|
110 |
} |
|
111 |
|
|
112 |
.ant-form-item { |
|
113 |
&-label label::after { |
|
114 |
margin: 0 6px 0 2px; |
|
115 |
} |
|
116 |
|
|
117 |
&-control { |
|
118 |
line-height: 36px; |
|
119 |
} |
|
120 |
} |
|
121 |
|
|
122 |
.ant-form-explain { |
|
123 |
margin-bottom: 2px; |
|
124 |
font-size: 14px; |
|
125 |
} |
|
126 |
|
|
127 |
.compact-form-row { |
|
128 |
.ant-form-item { |
|
129 |
margin-bottom: 8px; |
|
130 |
} |
|
131 |
} |
|
132 |
|
|
133 |
// ================================= |
|
134 |
// ==============empty============== |
|
135 |
// ================================= |
|
136 |
.ant-empty-image { |
|
137 |
max-height: 144px; |
|
138 |
min-height: 60px; |
|
139 |
} |
|
140 |
|
|
141 |
.ant-empty-description { |
|
142 |
margin-top: 16px; |
|
143 |
font-size: 14px; |
|
144 |
line-height: 24px; |
|
145 |
color: @text-color-call-out; |
|
146 |
} |