@ant-design/pro-components 1.1.1 → 1.1.4

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.
@@ -1952,41 +1952,19 @@ html {
1952
1952
  overflow: initial !important;
1953
1953
  }
1954
1954
 
1955
- .ant-pro-table-dropdown {
1956
- width: auto;
1957
- }
1958
- .ant-pro-select-item-option-content-light {
1959
- color: #1890ff;
1960
- }
1961
- .ant-pro-select-item-option-content {
1962
- flex: auto;
1963
- overflow: hidden;
1964
- white-space: nowrap;
1965
- text-overflow: ellipsis;
1966
- }
1967
-
1968
- .ant-pro-field-dropdown {
1969
- width: auto;
1970
- }
1971
-
1972
- .ant-pro-field-select-light-select .ant-select {
1955
+ .ant-pro-field-date-picker-light .ant-calendar-picker,
1956
+ .ant-pro-field-date-picker-light .ant-picker {
1973
1957
  position: absolute;
1974
- width: 153px;
1958
+ width: 80px;
1975
1959
  height: 28px;
1960
+ overflow: hidden;
1976
1961
  visibility: hidden;
1977
1962
  }
1978
- .ant-pro-field-select-light-select .ant-select-selector {
1979
- height: 28px;
1980
- }
1981
- .ant-pro-field-select-light-select.ant-pro-field-select-light-select-searchable .ant-select {
1982
- width: 200px;
1983
- }
1984
- .ant-pro-field-select-light-select.ant-pro-field-select-light-select-searchable .ant-select-selector {
1985
- height: 28px;
1986
- }
1987
1963
 
1988
1964
  .ant-pro-core-field-label {
1989
- display: inline-block;
1965
+ display: inline-flex;
1966
+ gap: 4px;
1967
+ align-items: center;
1990
1968
  height: 30px;
1991
1969
  padding: 0 4px;
1992
1970
  font-size: 14px;
@@ -2008,8 +1986,7 @@ html {
2008
1986
  display: inline-block;
2009
1987
  }
2010
1988
  .ant-pro-core-field-label-icon {
2011
- margin-top: -2px;
2012
- margin-left: 4px;
1989
+ height: 12px;
2013
1990
  padding: 1px;
2014
1991
  color: rgba(0, 0, 0, 0.45);
2015
1992
  font-size: 12px;
@@ -2017,7 +1994,7 @@ html {
2017
1994
  }
2018
1995
  .ant-pro-core-field-label-icon.ant-pro-core-field-label-close {
2019
1996
  display: none;
2020
- margin-top: -4px;
1997
+ height: 14px;
2021
1998
  padding: 3px;
2022
1999
  color: #fff;
2023
2000
  font-size: 8px;
@@ -2065,15 +2042,6 @@ html {
2065
2042
  background-color: #fff;
2066
2043
  }
2067
2044
 
2068
- .ant-pro-field-date-picker-light .ant-calendar-picker,
2069
- .ant-pro-field-date-picker-light .ant-picker {
2070
- position: absolute;
2071
- width: 80px;
2072
- height: 28px;
2073
- overflow: hidden;
2074
- visibility: hidden;
2075
- }
2076
-
2077
2045
  .ant-pro-field-index-column {
2078
2046
  display: inline-flex;
2079
2047
  align-items: center;
@@ -2092,6 +2060,39 @@ html {
2092
2060
  background-color: #979797;
2093
2061
  }
2094
2062
 
2063
+ .ant-pro-table-dropdown {
2064
+ width: auto;
2065
+ }
2066
+ .ant-pro-select-item-option-content-light {
2067
+ color: #1890ff;
2068
+ }
2069
+ .ant-pro-select-item-option-content {
2070
+ flex: auto;
2071
+ overflow: hidden;
2072
+ white-space: nowrap;
2073
+ text-overflow: ellipsis;
2074
+ }
2075
+
2076
+ .ant-pro-field-dropdown {
2077
+ width: auto;
2078
+ }
2079
+
2080
+ .ant-pro-field-select-light-select .ant-select {
2081
+ position: absolute;
2082
+ width: 153px;
2083
+ height: 28px;
2084
+ visibility: hidden;
2085
+ }
2086
+ .ant-pro-field-select-light-select .ant-select-selector {
2087
+ height: 28px;
2088
+ }
2089
+ .ant-pro-field-select-light-select.ant-pro-field-select-light-select-searchable .ant-select {
2090
+ width: 200px;
2091
+ }
2092
+ .ant-pro-field-select-light-select.ant-pro-field-select-light-select-searchable .ant-select-selector {
2093
+ height: 28px;
2094
+ }
2095
+
2095
2096
  .ant-pro-field-checkbox-vertical .ant-checkbox-group-item {
2096
2097
  display: flex;
2097
2098
  margin-right: 0;
@@ -3174,6 +3175,239 @@ html {
3174
3175
  margin: 0;
3175
3176
  }
3176
3177
 
3178
+ .ant-pro-list {
3179
+ background-color: transparent;
3180
+ }
3181
+ .ant-pro-list .ant-pro-table-alert {
3182
+ margin-bottom: 16px;
3183
+ }
3184
+ .ant-pro-list .ant-pro-list-row {
3185
+ border-bottom: 1px solid #f0f0f0;
3186
+ }
3187
+ .ant-pro-list .ant-pro-list-row:last-child {
3188
+ border-bottom: none;
3189
+ }
3190
+ .ant-pro-list .ant-pro-list-row:last-child .ant-list-item {
3191
+ border-bottom: none;
3192
+ }
3193
+ .ant-pro-list .ant-pro-list-row:hover {
3194
+ background-color: rgba(0, 0, 0, 0.02);
3195
+ transition: background-color 0.3s;
3196
+ }
3197
+ .ant-pro-list .ant-pro-list-row:hover .ant-list-item-action {
3198
+ display: block;
3199
+ }
3200
+ .ant-pro-list .ant-pro-list-row:hover .ant-list-item-extra {
3201
+ display: flex;
3202
+ }
3203
+ .ant-pro-list .ant-pro-list-row:hover .ant-pro-list-row-extra {
3204
+ display: block;
3205
+ }
3206
+ .ant-pro-list .ant-pro-list-row:hover .ant-pro-list-row-subheader-actions {
3207
+ display: block;
3208
+ }
3209
+ .ant-pro-list .ant-pro-list-row-card {
3210
+ margin: 8px 0;
3211
+ padding: 0 8px;
3212
+ }
3213
+ .ant-pro-list .ant-pro-list-row-card:hover {
3214
+ background-color: transparent;
3215
+ }
3216
+ .ant-pro-list .ant-pro-list-row-card .ant-list-item-meta-title {
3217
+ flex-shrink: 9;
3218
+ margin: 0;
3219
+ line-height: 22px;
3220
+ }
3221
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-editable .ant-list-item-meta-avatar,
3222
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-editable .ant-list-item-meta-description,
3223
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-editable .ant-list-item-meta-title {
3224
+ padding: 6px 0;
3225
+ }
3226
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-editable .ant-list-item-action {
3227
+ display: block;
3228
+ }
3229
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-selected {
3230
+ background-color: #e6f7ff;
3231
+ }
3232
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-selected:hover {
3233
+ background-color: #e6f7ff;
3234
+ }
3235
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-type-new {
3236
+ animation: techUiListActive 3s;
3237
+ }
3238
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-type-inline .ant-pro-list-row-title {
3239
+ font-weight: normal;
3240
+ }
3241
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-type-top {
3242
+ background-image: url('https://gw.alipayobjects.com/zos/antfincdn/DehQfMbOJb/icon.svg');
3243
+ background-repeat: no-repeat;
3244
+ background-position: left top;
3245
+ background-size: 12px 12px;
3246
+ }
3247
+ .ant-pro-list .ant-pro-list-row-show-action-hover .ant-list-item-action,
3248
+ .ant-pro-list .ant-pro-list-row-show-action-hover .ant-pro-card-extra,
3249
+ .ant-pro-list .ant-pro-list-row-show-action-hover .ant-pro-card-actions {
3250
+ display: none;
3251
+ }
3252
+ .ant-pro-list .ant-pro-list-row-show-action-hover:hover .ant-pro-card-extra,
3253
+ .ant-pro-list .ant-pro-list-row-show-action-hover:hover .ant-pro-card-actions {
3254
+ display: flex;
3255
+ }
3256
+ .ant-pro-list .ant-pro-list-row-show-extra-hover .ant-list-item-extra {
3257
+ display: none;
3258
+ }
3259
+ .ant-pro-list .ant-pro-list-row-extra {
3260
+ display: none;
3261
+ }
3262
+ .ant-pro-list .ant-pro-list-row-subheader {
3263
+ display: flex;
3264
+ align-items: center;
3265
+ justify-content: space-between;
3266
+ height: 44px;
3267
+ padding: 0 24px;
3268
+ color: rgba(0, 0, 0, 0.45);
3269
+ line-height: 44px;
3270
+ background: rgba(0, 0, 0, 0.02);
3271
+ }
3272
+ .ant-pro-list .ant-pro-list-row-subheader-actions {
3273
+ display: none;
3274
+ }
3275
+ .ant-pro-list .ant-pro-list-row-subheader-actions > * {
3276
+ margin-right: 8px;
3277
+ }
3278
+ .ant-pro-list .ant-pro-list-row-subheader-actions > *:last-child {
3279
+ margin-right: 0;
3280
+ }
3281
+ .ant-pro-list .ant-pro-list-row-header {
3282
+ display: flex;
3283
+ flex: 1;
3284
+ justify-content: flex-start;
3285
+ }
3286
+ .ant-pro-list .ant-pro-list-row-header-title {
3287
+ display: flex;
3288
+ align-items: center;
3289
+ justify-content: flex-start;
3290
+ }
3291
+ .ant-pro-list .ant-pro-list-row-header-option {
3292
+ display: flex;
3293
+ }
3294
+ .ant-pro-list .ant-pro-list-row-checkbox {
3295
+ width: 16px;
3296
+ margin-right: 12px;
3297
+ }
3298
+ .ant-pro-list .ant-pro-list-row-expand-icon {
3299
+ margin-right: 8;
3300
+ margin-right: 8px;
3301
+ color: rgba(0, 0, 0, 0.45);
3302
+ }
3303
+ .ant-pro-list .ant-pro-list-row-expand-icon > .anticon > svg {
3304
+ transition: 0.3s;
3305
+ }
3306
+ .ant-pro-list .ant-pro-list-row-expanded > .anticon > svg {
3307
+ transform: rotate(90deg);
3308
+ }
3309
+ .ant-pro-list .ant-pro-list-row-title {
3310
+ margin-right: 16px;
3311
+ word-break: break-all;
3312
+ cursor: pointer;
3313
+ }
3314
+ .ant-pro-list .ant-pro-list-row-title:hover {
3315
+ color: #40a9ff;
3316
+ }
3317
+ .ant-pro-list .ant-pro-list-row-content {
3318
+ position: relative;
3319
+ display: flex;
3320
+ flex: 1;
3321
+ flex-direction: column;
3322
+ margin: 0 32px;
3323
+ }
3324
+ .ant-pro-list .ant-pro-list-row-subTitle {
3325
+ color: rgba(0, 0, 0, 0.45);
3326
+ }
3327
+ .ant-pro-list .ant-pro-list-row-description {
3328
+ margin-top: 4px;
3329
+ word-break: break-all;
3330
+ }
3331
+ .ant-pro-list .ant-pro-list-row-avatar {
3332
+ display: flex;
3333
+ }
3334
+ .ant-pro-list .ant-list-pagination {
3335
+ margin-bottom: 24px;
3336
+ }
3337
+ .ant-pro-list .ant-list-item {
3338
+ padding: 12px;
3339
+ cursor: pointer;
3340
+ }
3341
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row .ant-list-header {
3342
+ padding: 0;
3343
+ border-bottom: none;
3344
+ }
3345
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row .ant-list .ant-list-item {
3346
+ width: 100%;
3347
+ padding: 12px 18px 12px 24px;
3348
+ }
3349
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row .ant-list .ant-list-item-meta-avatar {
3350
+ display: flex;
3351
+ align-items: center;
3352
+ margin-right: 8px;
3353
+ }
3354
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row .ant-list .ant-list-item-action-split {
3355
+ display: none;
3356
+ }
3357
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row .ant-list .ant-list-item-meta-title {
3358
+ margin: 0;
3359
+ }
3360
+ .ant-pro-list-no-split .ant-pro-list-row {
3361
+ border-bottom: none;
3362
+ }
3363
+ .ant-pro-list-no-split .ant-list .ant-list-item {
3364
+ border-bottom: none;
3365
+ }
3366
+ .ant-pro-list-bordered .ant-pro-list-toolbar {
3367
+ border-bottom: 1px solid #f0f0f0;
3368
+ }
3369
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row {
3370
+ padding: 12px 18px 12px 24px;
3371
+ }
3372
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row-header-title {
3373
+ display: flex;
3374
+ flex-direction: column;
3375
+ align-items: flex-start;
3376
+ justify-content: center;
3377
+ }
3378
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row-content {
3379
+ margin: 0;
3380
+ }
3381
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row-subTitle {
3382
+ margin-top: 8px;
3383
+ }
3384
+ .ant-pro-list .ant-list-vertical .ant-list-item-extra {
3385
+ display: flex;
3386
+ align-items: center;
3387
+ margin-left: 32px;
3388
+ }
3389
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row-description {
3390
+ margin-top: 16px;
3391
+ }
3392
+ .ant-pro-list .ant-list-bordered .ant-list-item {
3393
+ padding-right: 0;
3394
+ padding-left: 0;
3395
+ }
3396
+ .ant-pro-list .ant-pro-list-row-show-extra-hover .ant-list-item-extra {
3397
+ display: none;
3398
+ }
3399
+ @keyframes techUiListActive {
3400
+ 0% {
3401
+ background-color: unset;
3402
+ }
3403
+ 30% {
3404
+ background: #fefbe6;
3405
+ }
3406
+ 100% {
3407
+ background-color: unset;
3408
+ }
3409
+ }
3410
+
3177
3411
  .ant-pro-table-dropdown {
3178
3412
  width: auto;
3179
3413
  }
@@ -3236,7 +3470,7 @@ html {
3236
3470
  .ant-pro-table-list-toolbar-filter:not(:last-child) {
3237
3471
  margin-right: 16px;
3238
3472
  }
3239
- .ant-pro-table-list-toolbar-filter .ant-pro-table-search {
3473
+ .ant-pro-table-list-toolbar-filter div.ant-pro-table-search {
3240
3474
  margin: 0;
3241
3475
  padding: 0;
3242
3476
  }