fantasia-ui 0.2.21 → 0.2.26

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.
@@ -5349,78 +5349,104 @@ to {
5349
5349
  object-fit: cover;
5350
5350
  width: 100%;
5351
5351
  height: 100%;
5352
- }.f-button[data-v-04bddf31] {
5352
+ }.f-button[data-v-17d0ecc9] {
5353
5353
  display: inline-flex;
5354
5354
  align-items: center;
5355
5355
  justify-content: center;
5356
- border: 1px solid #dcdfe6;
5356
+ border: 1px solid var(--f-border-color, #dcdfe6);
5357
5357
  white-space: nowrap;
5358
5358
  cursor: pointer;
5359
- transition: 0.2s;
5360
- gap: 6px;
5359
+ transition: all 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);
5361
5360
  border-radius: 4px;
5362
5361
  background: #fff;
5363
5362
  color: #606266;
5363
+ line-height: 1;
5364
+ outline: none;
5365
+ user-select: none;
5366
+ }
5367
+ .f-button .f-button__inner[data-v-17d0ecc9] {
5368
+ display: inline-flex;
5369
+ align-items: center;
5370
+ justify-content: center;
5371
+ gap: 6px;
5372
+ height: 100%;
5364
5373
  }
5365
- .f-button[data-v-04bddf31]:hover {
5366
- opacity: 0.85;
5374
+ .f-button[data-v-17d0ecc9]:hover {
5375
+ color: #409eff;
5376
+ border-color: #c6e2ff;
5377
+ background-color: #ecf5ff;
5378
+ }
5379
+ .f-button[data-v-17d0ecc9]:active {
5380
+ background-color: #f5f7fa;
5367
5381
  }
5368
- .f-button[data-v-04bddf31]:active {
5369
- transform: translateY(1px);
5382
+ .f-button.is-active[data-v-17d0ecc9] {
5383
+ border-color: #000;
5384
+ color: #000;
5385
+ background-color: #fff;
5370
5386
  }
5371
- .f-button--primary[data-v-04bddf31] {
5387
+ .f-button--primary[data-v-17d0ecc9] {
5372
5388
  background: #409eff;
5373
5389
  border-color: #409eff;
5374
5390
  color: #fff;
5375
5391
  }
5376
- .f-button--success[data-v-04bddf31] {
5377
- background: #67c23a;
5378
- border-color: #67c23a;
5392
+ .f-button--primary[data-v-17d0ecc9]:hover {
5393
+ background: #66b1ff;
5394
+ border-color: #66b1ff;
5379
5395
  color: #fff;
5380
5396
  }
5381
- .f-button--danger[data-v-04bddf31] {
5382
- background: #f56c6c;
5383
- border-color: #f56c6c;
5397
+ .f-button--primary[data-v-17d0ecc9]:active {
5398
+ background: #3a8ee6;
5399
+ border-color: #3a8ee6;
5400
+ }
5401
+ .f-button--success[data-v-17d0ecc9] {
5402
+ background: #67c23a;
5403
+ border-color: #67c23a;
5384
5404
  color: #fff;
5385
5405
  }
5386
- .f-button--warning[data-v-04bddf31] {
5387
- background: #e6a23c;
5388
- border-color: #e6a23c;
5406
+ .f-button--success[data-v-17d0ecc9]:hover {
5407
+ background: #85ce61;
5408
+ border-color: #85ce61;
5389
5409
  color: #fff;
5390
5410
  }
5391
- .f-button--text[data-v-04bddf31] {
5392
- border-color: transparent !important;
5393
- background: transparent !important;
5411
+ .f-button--text[data-v-17d0ecc9] {
5412
+ border-color: transparent;
5413
+ background: transparent;
5394
5414
  color: #409eff;
5395
- padding: 0 4px !important;
5396
- min-width: auto !important;
5415
+ padding: 0 4px;
5416
+ min-width: auto;
5417
+ height: auto;
5418
+ }
5419
+ .f-button--text[data-v-17d0ecc9]:hover {
5420
+ background: #f5f7fa;
5397
5421
  }
5398
- .f-button.is-plain[data-v-04bddf31] {
5422
+ .f-button.is-plain[data-v-17d0ecc9] {
5399
5423
  background: #ecf5ff;
5400
5424
  color: #409eff;
5425
+ border-color: #b3d8ff;
5401
5426
  }
5402
- .f-button.is-plain--success[data-v-04bddf31] {
5427
+ .f-button.is-plain--success[data-v-17d0ecc9] {
5403
5428
  background: #f0f9eb;
5404
5429
  color: #67c23a;
5430
+ border-color: #c2e7b0;
5405
5431
  }
5406
- .f-button.is-block[data-v-04bddf31] {
5432
+ .f-button.is-block[data-v-17d0ecc9] {
5407
5433
  width: 100%;
5408
5434
  }
5409
- .f-button.is-disabled[data-v-04bddf31] {
5435
+ .f-button.is-disabled[data-v-17d0ecc9] {
5410
5436
  cursor: not-allowed;
5411
5437
  opacity: 0.5;
5412
5438
  pointer-events: none;
5439
+ background-image: none;
5413
5440
  }
5414
- .f-button .f-loader[data-v-04bddf31] {
5415
- width: 12px;
5416
- height: 12px;
5441
+ .f-button .f-loader[data-v-17d0ecc9] {
5442
+ width: 1em;
5443
+ height: 1em;
5417
5444
  border: 2px solid currentColor;
5418
5445
  border-bottom-color: transparent;
5419
5446
  border-radius: 50%;
5420
- display: inline-block;
5421
- animation: rotate-04bddf31 0.8s linear infinite;
5447
+ animation: rotate-17d0ecc9 0.8s linear infinite;
5422
5448
  }
5423
- @keyframes rotate-04bddf31 {
5449
+ @keyframes rotate-17d0ecc9 {
5424
5450
  from {
5425
5451
  transform: rotate(0deg);
5426
5452
  }
@@ -6190,51 +6216,43 @@ to {
6190
6216
  overflow: hidden;
6191
6217
  text-overflow: ellipsis;
6192
6218
  white-space: nowrap;
6193
- }:root {
6194
- --f-button-group-border-color: #333338;
6195
- }
6196
- :root.light {
6197
- --f-button-group-border-color: #e4e4e7;
6198
- }
6199
- .f-button-group {
6219
+ }.f-button-group {
6200
6220
  display: inline-flex;
6221
+ vertical-align: middle;
6201
6222
  }
6202
- .f-button-group--vertical {
6203
- flex-direction: column;
6204
- }
6205
- .f-button-group :deep(.f-button) {
6223
+ .f-button-group .f-button {
6206
6224
  position: relative;
6207
- }
6208
- .f-button-group :deep(.f-button):not(:first-child):not(:last-child) {
6209
6225
  border-radius: 0;
6210
6226
  }
6211
- .f-button-group:not(.f-button-group--vertical) :deep(.f-button):first-child:not(:last-child) {
6212
- border-top-right-radius: 0;
6213
- border-bottom-right-radius: 0;
6227
+ .f-button-group .f-button:not(:first-child) {
6228
+ margin-left: -1px;
6214
6229
  }
6215
- .f-button-group:not(.f-button-group--vertical) :deep(.f-button):last-child:not(:first-child) {
6216
- border-top-left-radius: 0;
6217
- border-bottom-left-radius: 0;
6230
+ .f-button-group .f-button:first-child {
6231
+ border-top-left-radius: 4px;
6232
+ border-bottom-left-radius: 4px;
6218
6233
  }
6219
- .f-button-group:not(.f-button-group--vertical) :deep(.f-button):not(:first-child) {
6220
- margin-left: -1px;
6234
+ .f-button-group .f-button:last-child {
6235
+ border-top-right-radius: 4px;
6236
+ border-bottom-right-radius: 4px;
6221
6237
  }
6222
- .f-button-group:not(.f-button-group--vertical) :deep(.f-button):hover, .f-button-group:not(.f-button-group--vertical) :deep(.f-button):focus, .f-button-group:not(.f-button-group--vertical) :deep(.f-button).f-button--active {
6238
+ .f-button-group .f-button:hover, .f-button-group .f-button:focus, .f-button-group .f-button.is-active {
6223
6239
  z-index: 1;
6224
6240
  }
6225
- .f-button-group--vertical :deep(.f-button):first-child:not(:last-child) {
6226
- border-bottom-left-radius: 0;
6227
- border-bottom-right-radius: 0;
6241
+ .f-button-group .f-button.is-active {
6242
+ z-index: 2;
6228
6243
  }
6229
- .f-button-group--vertical :deep(.f-button):last-child:not(:first-child) {
6230
- border-top-left-radius: 0;
6231
- border-top-right-radius: 0;
6244
+ .f-button-group--vertical {
6245
+ flex-direction: column;
6232
6246
  }
6233
- .f-button-group--vertical :deep(.f-button):not(:first-child) {
6247
+ .f-button-group--vertical .f-button:not(:first-child) {
6248
+ margin-left: 0;
6234
6249
  margin-top: -1px;
6235
6250
  }
6236
- .f-button-group--vertical :deep(.f-button):hover, .f-button-group--vertical :deep(.f-button):focus, .f-button-group--vertical :deep(.f-button).f-button--active {
6237
- z-index: 1;
6251
+ .f-button-group--vertical .f-button:first-child {
6252
+ border-radius: 4px 4px 0 0;
6253
+ }
6254
+ .f-button-group--vertical .f-button:last-child {
6255
+ border-radius: 0 0 4px 4px;
6238
6256
  }:root {
6239
6257
  --f-collapse-border-color: #333338;
6240
6258
  --f-collapse-radius: 8px;