@steedos-widgets/amis-object 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  :root {
2
+ --Page-main-bg: transparent;
2
3
  --fontFamilyBase: -apple-system,BlinkMacSystemFont,Helvetica,Arial,Microsoft Yahei,SimHei;
3
4
  --fontSizeLg: 14px;
4
5
  --Form-item-fontSize: 12px;
@@ -39,6 +40,167 @@
39
40
  --Nav-item-onActive-color: #000;
40
41
  }
41
42
 
43
+ fieldset.antd-Collapse {
44
+ margin-bottom: 1rem;
45
+ }
46
+
47
+ fieldset.antd-Collapse > legend.antd-Collapse-header {
48
+ border-left: 0;
49
+ background: rgb(241 245 249);
50
+ padding: 0.5rem;
51
+ margin: 0;
52
+ border-radius: 0.25rem;
53
+ }
54
+
55
+ fieldset.antd-Collapse > legend.antd-Collapse-header > .antd-Collapse-arrow:before {
56
+ border-color: initial
57
+ }
58
+
59
+
60
+ main {
61
+ background: var(--body-bg);
62
+ }
63
+
64
+
65
+ .ant-modal-root .amis-scope .antd-Panel-footerWrap{
66
+ position: sticky;
67
+ width: 100%;
68
+ bottom: 0px;
69
+ background: #ffffff
70
+ }
71
+
72
+ .amis-scope .antd-Select-option > label {
73
+ display: block;
74
+ min-width: 100px;
75
+ }
76
+
77
+ /* .steedos-related-listview.amis-scope .antd-Table-headToolbar{
78
+ display: none;
79
+ } */
80
+
81
+ /* .steedos-listview.amis-scope .antd-Table-headToolbar{
82
+ display: none;
83
+ } */
84
+
85
+ .antd-Crud-toolbar{
86
+ margin-left: 1rem;
87
+ margin-right: 1rem;
88
+ }
89
+
90
+ #__next .antd-Panel {
91
+ box-shadow: none;
92
+ }
93
+
94
+ .is-inline .antd-Combo-items{
95
+ justify-content: space-between !important;
96
+ display: flex !important;
97
+
98
+ }
99
+
100
+ .is-inline .antd-Combo-items > :not([hidden]) ~ :not([hidden]) {
101
+ --tw-space-x-reverse: 0 !important;
102
+ margin-right: calc(0.25rem * var(--tw-space-x-reverse)) !important;
103
+ margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse))) !important;
104
+ }
105
+
106
+ .is-inline .antd-Combo-item{
107
+ display: inline-block !important;
108
+ flex: 1 1 0%;
109
+ margin-top: 0 !important;
110
+ }
111
+
112
+ /*Table空状态高度调整*/
113
+ .antd-Table-placeholder{
114
+ height: 20px !important;
115
+ }
116
+
117
+ .antd-Table-placeholder-empty-icon.icon{
118
+ height: 20px !important;
119
+ }
120
+
121
+ .steedos-listview .antd-List-toolbar{
122
+ display: none;
123
+ }
124
+
125
+ /* .steedos-listview .antd-Crud-toolbar:first-child{
126
+ display: none;
127
+ } */
128
+
129
+ .amis-scope .antd-Card{
130
+ border-left: none !important;
131
+ border-right: none !important;
132
+ -o-border-image: none !important;
133
+ border-image: none !important;
134
+ border-bottom: none !important;
135
+ }
136
+
137
+ .amis-scope svg.icon {
138
+ vertical-align: baseline;
139
+ display: inline;
140
+ }
141
+
142
+ button.antd-Button--primary {
143
+ color: #fff;
144
+ border-color: #1890ff;
145
+ background: #1890ff;
146
+ /* background-color: var(--Button--primary-bg); */
147
+ }
148
+
149
+ #__next .antd-Table {
150
+ margin-bottom: 0;
151
+ }
152
+
153
+ #__next .antd-Table-tr--even {
154
+ background-color: #fcfdfe;
155
+ }
156
+
157
+ #__next .antd-Table-checkCell {
158
+ border-right: 0;
159
+ }
160
+
161
+ body {
162
+ font-family: -apple-system,BlinkMacSystemFont,Helvetica,Arial,Microsoft Yahei,SimHei;
163
+ }
164
+
165
+ @media (max-width: 768px){
166
+ .ant-modal.antd-Modal--lg, .ant-modal.antd-Modal--xl, .ant-modal.antd-Modal--full{
167
+ top: 0px !important;
168
+ margin: 0px !important;
169
+ max-width: 100% !important;
170
+ padding-bottom: 0px !important;
171
+ height: 100%;
172
+ }
173
+ .ant-modal-content {
174
+ height: 100%;
175
+ max-height: 100%;
176
+ }
177
+ }
178
+
179
+ :focus:not(:focus-visible) {
180
+ outline: 0;
181
+ }
182
+
183
+ svg.icon {
184
+ display: inherit;
185
+ }
186
+
187
+
188
+ /* fix: https://github.com/baidu/amis/issues/5073 */
189
+ .antd-CBGroup-toolbar .antd-CBGroup-toolbarConditionAdd .antd-ButtonGroup>.antd-Button:first-child {
190
+ margin-right: 1.5rem;
191
+ }
192
+
193
+
194
+ @media only screen and (min-width: 768px) {
195
+ .amis-scope .antd-Modal-content{
196
+ max-height: calc(100vh - 100px);
197
+ }
198
+ }
199
+
200
+ .antd-Modal-body {
201
+ overflow: auto;
202
+ }
203
+
42
204
  /* @tailwind base; */
43
205
  .container {
44
206
  width: 100%