@ant-design/pro-components 1.1.1 → 1.1.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.
@@ -3174,6 +3174,239 @@ html {
3174
3174
  margin: 0;
3175
3175
  }
3176
3176
 
3177
+ .ant-pro-list {
3178
+ background-color: transparent;
3179
+ }
3180
+ .ant-pro-list .ant-pro-table-alert {
3181
+ margin-bottom: 16px;
3182
+ }
3183
+ .ant-pro-list .ant-pro-list-row {
3184
+ border-bottom: 1px solid #f0f0f0;
3185
+ }
3186
+ .ant-pro-list .ant-pro-list-row:last-child {
3187
+ border-bottom: none;
3188
+ }
3189
+ .ant-pro-list .ant-pro-list-row:last-child .ant-list-item {
3190
+ border-bottom: none;
3191
+ }
3192
+ .ant-pro-list .ant-pro-list-row:hover {
3193
+ background-color: rgba(0, 0, 0, 0.02);
3194
+ transition: background-color 0.3s;
3195
+ }
3196
+ .ant-pro-list .ant-pro-list-row:hover .ant-list-item-action {
3197
+ display: block;
3198
+ }
3199
+ .ant-pro-list .ant-pro-list-row:hover .ant-list-item-extra {
3200
+ display: flex;
3201
+ }
3202
+ .ant-pro-list .ant-pro-list-row:hover .ant-pro-list-row-extra {
3203
+ display: block;
3204
+ }
3205
+ .ant-pro-list .ant-pro-list-row:hover .ant-pro-list-row-subheader-actions {
3206
+ display: block;
3207
+ }
3208
+ .ant-pro-list .ant-pro-list-row-card {
3209
+ margin: 8px 0;
3210
+ padding: 0 8px;
3211
+ }
3212
+ .ant-pro-list .ant-pro-list-row-card:hover {
3213
+ background-color: transparent;
3214
+ }
3215
+ .ant-pro-list .ant-pro-list-row-card .ant-list-item-meta-title {
3216
+ flex-shrink: 9;
3217
+ margin: 0;
3218
+ line-height: 22px;
3219
+ }
3220
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-editable .ant-list-item-meta-avatar,
3221
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-editable .ant-list-item-meta-description,
3222
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-editable .ant-list-item-meta-title {
3223
+ padding: 6px 0;
3224
+ }
3225
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-editable .ant-list-item-action {
3226
+ display: block;
3227
+ }
3228
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-selected {
3229
+ background-color: #e6f7ff;
3230
+ }
3231
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-selected:hover {
3232
+ background-color: #e6f7ff;
3233
+ }
3234
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-type-new {
3235
+ animation: techUiListActive 3s;
3236
+ }
3237
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-type-inline .ant-pro-list-row-title {
3238
+ font-weight: normal;
3239
+ }
3240
+ .ant-pro-list .ant-pro-list-row.ant-pro-list-row-type-top {
3241
+ background-image: url('https://gw.alipayobjects.com/zos/antfincdn/DehQfMbOJb/icon.svg');
3242
+ background-repeat: no-repeat;
3243
+ background-position: left top;
3244
+ background-size: 12px 12px;
3245
+ }
3246
+ .ant-pro-list .ant-pro-list-row-show-action-hover .ant-list-item-action,
3247
+ .ant-pro-list .ant-pro-list-row-show-action-hover .ant-pro-card-extra,
3248
+ .ant-pro-list .ant-pro-list-row-show-action-hover .ant-pro-card-actions {
3249
+ display: none;
3250
+ }
3251
+ .ant-pro-list .ant-pro-list-row-show-action-hover:hover .ant-pro-card-extra,
3252
+ .ant-pro-list .ant-pro-list-row-show-action-hover:hover .ant-pro-card-actions {
3253
+ display: flex;
3254
+ }
3255
+ .ant-pro-list .ant-pro-list-row-show-extra-hover .ant-list-item-extra {
3256
+ display: none;
3257
+ }
3258
+ .ant-pro-list .ant-pro-list-row-extra {
3259
+ display: none;
3260
+ }
3261
+ .ant-pro-list .ant-pro-list-row-subheader {
3262
+ display: flex;
3263
+ align-items: center;
3264
+ justify-content: space-between;
3265
+ height: 44px;
3266
+ padding: 0 24px;
3267
+ color: rgba(0, 0, 0, 0.45);
3268
+ line-height: 44px;
3269
+ background: rgba(0, 0, 0, 0.02);
3270
+ }
3271
+ .ant-pro-list .ant-pro-list-row-subheader-actions {
3272
+ display: none;
3273
+ }
3274
+ .ant-pro-list .ant-pro-list-row-subheader-actions > * {
3275
+ margin-right: 8px;
3276
+ }
3277
+ .ant-pro-list .ant-pro-list-row-subheader-actions > *:last-child {
3278
+ margin-right: 0;
3279
+ }
3280
+ .ant-pro-list .ant-pro-list-row-header {
3281
+ display: flex;
3282
+ flex: 1;
3283
+ justify-content: flex-start;
3284
+ }
3285
+ .ant-pro-list .ant-pro-list-row-header-title {
3286
+ display: flex;
3287
+ align-items: center;
3288
+ justify-content: flex-start;
3289
+ }
3290
+ .ant-pro-list .ant-pro-list-row-header-option {
3291
+ display: flex;
3292
+ }
3293
+ .ant-pro-list .ant-pro-list-row-checkbox {
3294
+ width: 16px;
3295
+ margin-right: 12px;
3296
+ }
3297
+ .ant-pro-list .ant-pro-list-row-expand-icon {
3298
+ margin-right: 8;
3299
+ margin-right: 8px;
3300
+ color: rgba(0, 0, 0, 0.45);
3301
+ }
3302
+ .ant-pro-list .ant-pro-list-row-expand-icon > .anticon > svg {
3303
+ transition: 0.3s;
3304
+ }
3305
+ .ant-pro-list .ant-pro-list-row-expanded > .anticon > svg {
3306
+ transform: rotate(90deg);
3307
+ }
3308
+ .ant-pro-list .ant-pro-list-row-title {
3309
+ margin-right: 16px;
3310
+ word-break: break-all;
3311
+ cursor: pointer;
3312
+ }
3313
+ .ant-pro-list .ant-pro-list-row-title:hover {
3314
+ color: #40a9ff;
3315
+ }
3316
+ .ant-pro-list .ant-pro-list-row-content {
3317
+ position: relative;
3318
+ display: flex;
3319
+ flex: 1;
3320
+ flex-direction: column;
3321
+ margin: 0 32px;
3322
+ }
3323
+ .ant-pro-list .ant-pro-list-row-subTitle {
3324
+ color: rgba(0, 0, 0, 0.45);
3325
+ }
3326
+ .ant-pro-list .ant-pro-list-row-description {
3327
+ margin-top: 4px;
3328
+ word-break: break-all;
3329
+ }
3330
+ .ant-pro-list .ant-pro-list-row-avatar {
3331
+ display: flex;
3332
+ }
3333
+ .ant-pro-list .ant-list-pagination {
3334
+ margin-bottom: 24px;
3335
+ }
3336
+ .ant-pro-list .ant-list-item {
3337
+ padding: 12px;
3338
+ cursor: pointer;
3339
+ }
3340
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row .ant-list-header {
3341
+ padding: 0;
3342
+ border-bottom: none;
3343
+ }
3344
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row .ant-list .ant-list-item {
3345
+ width: 100%;
3346
+ padding: 12px 18px 12px 24px;
3347
+ }
3348
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row .ant-list .ant-list-item-meta-avatar {
3349
+ display: flex;
3350
+ align-items: center;
3351
+ margin-right: 8px;
3352
+ }
3353
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row .ant-list .ant-list-item-action-split {
3354
+ display: none;
3355
+ }
3356
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row .ant-list .ant-list-item-meta-title {
3357
+ margin: 0;
3358
+ }
3359
+ .ant-pro-list-no-split .ant-pro-list-row {
3360
+ border-bottom: none;
3361
+ }
3362
+ .ant-pro-list-no-split .ant-list .ant-list-item {
3363
+ border-bottom: none;
3364
+ }
3365
+ .ant-pro-list-bordered .ant-pro-list-toolbar {
3366
+ border-bottom: 1px solid #f0f0f0;
3367
+ }
3368
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row {
3369
+ padding: 12px 18px 12px 24px;
3370
+ }
3371
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row-header-title {
3372
+ display: flex;
3373
+ flex-direction: column;
3374
+ align-items: flex-start;
3375
+ justify-content: center;
3376
+ }
3377
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row-content {
3378
+ margin: 0;
3379
+ }
3380
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row-subTitle {
3381
+ margin-top: 8px;
3382
+ }
3383
+ .ant-pro-list .ant-list-vertical .ant-list-item-extra {
3384
+ display: flex;
3385
+ align-items: center;
3386
+ margin-left: 32px;
3387
+ }
3388
+ .ant-pro-list .ant-list-vertical .ant-pro-list-row-description {
3389
+ margin-top: 16px;
3390
+ }
3391
+ .ant-pro-list .ant-list-bordered .ant-list-item {
3392
+ padding-right: 0;
3393
+ padding-left: 0;
3394
+ }
3395
+ .ant-pro-list .ant-pro-list-row-show-extra-hover .ant-list-item-extra {
3396
+ display: none;
3397
+ }
3398
+ @keyframes techUiListActive {
3399
+ 0% {
3400
+ background-color: unset;
3401
+ }
3402
+ 30% {
3403
+ background: #fefbe6;
3404
+ }
3405
+ 100% {
3406
+ background-color: unset;
3407
+ }
3408
+ }
3409
+
3177
3410
  .ant-pro-table-dropdown {
3178
3411
  width: auto;
3179
3412
  }