xrk-components 2.0.0-beta.92 → 2.0.0-beta.94

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.
package/lib/index.css CHANGED
@@ -20448,6 +20448,251 @@
20448
20448
  -webkit-transform: translateX(0);
20449
20449
  transform: translateX(0);
20450
20450
  }
20451
+ .base-layout-menu[data-v-cbc34618] {
20452
+ width: 100%;
20453
+ position: relative;
20454
+ -webkit-user-select: none;
20455
+ -moz-user-select: none;
20456
+ -ms-user-select: none;
20457
+ user-select: none;
20458
+ }
20459
+ .base-layout-menu .main-menu[data-v-cbc34618] {
20460
+ width: 100%;
20461
+ scrollbar-width: none; /* Firefox */
20462
+ -ms-overflow-style: none; /* IE/Edge */
20463
+ }
20464
+ .base-layout-menu .main-menu[data-v-cbc34618]::-webkit-scrollbar {
20465
+ display: none; /* Chrome/Safari/Opera */
20466
+ }
20467
+ .base-layout-menu .main-menu[data-v-cbc34618] .xrk-collapse-item__content {
20468
+ padding-bottom: 0;
20469
+ }
20470
+ .base-layout-menu .main-menu[data-v-cbc34618] .xrk-collapse-item__header {
20471
+ color: var(--xrk-text-color-secondary);
20472
+ min-height: var(--xrk-collapse-header-height) !important;
20473
+ height: auto;
20474
+ }
20475
+ .base-layout-menu .main-menu[data-v-cbc34618] .xrk-collapse-item__header.is-active, .base-layout-menu .main-menu[data-v-cbc34618] .xrk-collapse-item__header:hover {
20476
+ color: var(--xrk-text-color-primary);
20477
+ font-weight: var(--xrk-font-weight-primary);
20478
+ }
20479
+ .base-layout-menu .main-menu[data-v-cbc34618] .xrk-collapse-item__header.active {
20480
+ color: var(--xrk-color-primary);
20481
+ background-color: var(--xrk-color-primary-light-9);
20482
+ -webkit-transition: all 0.15s;
20483
+ transition: all 0.15s;
20484
+ }
20485
+ .base-layout-menu .main-menu[data-v-cbc34618] .xrk-collapse-item__header.active::before {
20486
+ background-color: var(--xrk-color-primary);
20487
+ }
20488
+ .base-layout-menu .main-menu[data-v-cbc34618] .xrk-collapse-item__header.active::after {
20489
+ opacity: 1;
20490
+ -webkit-transform: translateX(0);
20491
+ transform: translateX(0);
20492
+ }
20493
+ .base-layout-menu .main-menu .menu-name-one[data-v-cbc34618] {
20494
+ font-size: var(--xrk-font-size-base);
20495
+ display: -webkit-box;
20496
+ display: -webkit-flex;
20497
+ display: -ms-flexbox;
20498
+ display: flex;
20499
+ -webkit-box-align: center;
20500
+ -webkit-align-items: center;
20501
+ -ms-flex-align: center;
20502
+ align-items: center;
20503
+ gap: 6px;
20504
+ }
20505
+ .base-layout-menu .main-menu .menu-name-one img[data-v-cbc34618] {
20506
+ width: 18px;
20507
+ height: 18px;
20508
+ -o-object-fit: contain;
20509
+ object-fit: contain;
20510
+ -webkit-flex-shrink: 0;
20511
+ -ms-flex-negative: 0;
20512
+ flex-shrink: 0;
20513
+ }
20514
+ .base-layout-menu .main-menu .sub-menu[data-v-cbc34618] {
20515
+ min-height: var(--xrk-collapse-header-height);
20516
+ display: -webkit-box;
20517
+ display: -webkit-flex;
20518
+ display: -ms-flexbox;
20519
+ display: flex;
20520
+ -webkit-box-align: center;
20521
+ -webkit-align-items: center;
20522
+ -ms-flex-align: center;
20523
+ align-items: center;
20524
+ gap: 10px;
20525
+ -webkit-box-pack: start;
20526
+ -webkit-justify-content: flex-start;
20527
+ -ms-flex-pack: start;
20528
+ justify-content: flex-start;
20529
+ padding: 4px 12px 4px 18px;
20530
+ color: var(--xrk-text-color-secondary);
20531
+ cursor: pointer;
20532
+ position: relative;
20533
+ word-break: break-all;
20534
+ -webkit-box-sizing: border-box;
20535
+ box-sizing: border-box;
20536
+ -webkit-user-select: none;
20537
+ -moz-user-select: none;
20538
+ -ms-user-select: none;
20539
+ user-select: none;
20540
+ }
20541
+ .base-layout-menu .main-menu .sub-menu[data-v-cbc34618]::before {
20542
+ content: "";
20543
+ width: 3px;
20544
+ height: 3px;
20545
+ border-radius: 100%;
20546
+ background-color: inherit;
20547
+ display: inline;
20548
+ background-color: var(--xrk-text-color-secondary);
20549
+ -webkit-flex-shrink: 0;
20550
+ -ms-flex-negative: 0;
20551
+ flex-shrink: 0;
20552
+ }
20553
+ .base-layout-menu .main-menu .sub-menu[data-v-cbc34618]::after {
20554
+ content: "";
20555
+ width: 3px;
20556
+ height: 100%;
20557
+ background-color: var(--xrk-color-primary);
20558
+ position: absolute;
20559
+ left: 0;
20560
+ top: 0;
20561
+ -webkit-transform: translateX(-100%);
20562
+ transform: translateX(-100%);
20563
+ opacity: 0;
20564
+ -webkit-transition: all 0.15s;
20565
+ transition: all 0.15s;
20566
+ }
20567
+ .base-layout-menu .main-menu .sub-menu[data-v-cbc34618]:not(.active):hover {
20568
+ color: var(--xrk-color-primary);
20569
+ -webkit-transition: all 0.15s;
20570
+ transition: all 0.15s;
20571
+ }
20572
+ .base-layout-menu .main-menu .sub-menu[data-v-cbc34618]:not(.active):hover::before {
20573
+ background-color: var(--xrk-color-primary);
20574
+ }
20575
+ .base-layout-menu .main-menu .sub-menu[data-v-cbc34618]:not(.active):hover::after {
20576
+ opacity: 0;
20577
+ }
20578
+ .base-layout-menu .main-menu .sub-menu.active[data-v-cbc34618] {
20579
+ color: var(--xrk-color-primary);
20580
+ background-color: var(--xrk-color-primary-light-9);
20581
+ -webkit-transition: all 0.15s;
20582
+ transition: all 0.15s;
20583
+ }
20584
+ .base-layout-menu .main-menu .sub-menu.active[data-v-cbc34618]::before {
20585
+ background-color: var(--xrk-color-primary);
20586
+ }
20587
+ .base-layout-menu .main-menu .sub-menu.active[data-v-cbc34618]::after {
20588
+ opacity: 1;
20589
+ -webkit-transform: translateX(0);
20590
+ transform: translateX(0);
20591
+ }
20592
+ .base-layout-menu .main-menu .sub-menu.fold[data-v-cbc34618]::before {
20593
+ display: none !important;
20594
+ }
20595
+ .base-layout-menu .sub-menus[data-v-cbc34618] {
20596
+ position: absolute;
20597
+ width: var(--base-layout-menu-sub-width, 150px);
20598
+ height: 100%;
20599
+ overflow: auto;
20600
+ background-color: var(--xrk-fill-color-lighter);
20601
+ top: 0;
20602
+ right: 0;
20603
+ -webkit-transform: translateX(100%);
20604
+ transform: translateX(100%);
20605
+ z-index: 9;
20606
+ opacity: 0;
20607
+ pointer-events: none;
20608
+ -webkit-user-select: none;
20609
+ -moz-user-select: none;
20610
+ -ms-user-select: none;
20611
+ user-select: none;
20612
+ padding: 21px 0;
20613
+ -webkit-box-sizing: border-box;
20614
+ box-sizing: border-box;
20615
+ }
20616
+ .base-layout-menu .sub-menus.active[data-v-cbc34618] {
20617
+ pointer-events: initial;
20618
+ opacity: 1;
20619
+ }
20620
+ .base-layout-menu .sub-menus .content[data-v-cbc34618] {
20621
+ overflow: auto;
20622
+ }
20623
+ .base-layout-menu .sub-menus .content .menu + .menu[data-v-cbc34618] {
20624
+ margin-top: 48px;
20625
+ }
20626
+ .base-layout-menu .sub-menus .content .menu .name[data-v-cbc34618] {
20627
+ font-size: var(--xrk-font-size-extra-small);
20628
+ color: var(--xrk-text-color-disabled);
20629
+ padding-bottom: var(--xrk-font-size-extra-small);
20630
+ border-bottom: 1px solid #e5e5e5;
20631
+ margin: 0 10px;
20632
+ margin-bottom: var(--xrk-font-size-extra-small);
20633
+ pointer-events: none;
20634
+ }
20635
+ .base-layout-menu .sub-menus .content .menu .name.no-child[data-v-cbc34618] {
20636
+ cursor: pointer;
20637
+ pointer-events: initial;
20638
+ }
20639
+ .base-layout-menu .sub-menus .content .menu .sub-menu[data-v-cbc34618] {
20640
+ padding: 3px 10px;
20641
+ min-height: 32px;
20642
+ position: relative;
20643
+ cursor: pointer;
20644
+ font-size: var(--xrk-font-size-base);
20645
+ display: -webkit-box;
20646
+ display: -webkit-flex;
20647
+ display: -ms-flexbox;
20648
+ display: flex;
20649
+ -webkit-box-align: center;
20650
+ -webkit-align-items: center;
20651
+ -ms-flex-align: center;
20652
+ align-items: center;
20653
+ line-height: 1.8;
20654
+ }
20655
+ .base-layout-menu .sub-menus .content .menu .sub-menu[data-v-cbc34618]::after {
20656
+ content: "";
20657
+ width: 2px;
20658
+ height: 100%;
20659
+ background-color: var(--xrk-color-primary);
20660
+ position: absolute;
20661
+ left: 0;
20662
+ top: 0;
20663
+ -webkit-transform: translateX(-100%);
20664
+ transform: translateX(-100%);
20665
+ }
20666
+ .base-layout-menu .sub-menus .content .menu .sub-menu[data-v-cbc34618]:not(.active):hover {
20667
+ color: var(--xrk-color-primary);
20668
+ -webkit-transition: all 0.15s;
20669
+ transition: all 0.15s;
20670
+ }
20671
+ .base-layout-menu .sub-menus .content .menu .sub-menu[data-v-cbc34618]:not(.active):hover::after {
20672
+ opacity: 0;
20673
+ }
20674
+ .base-layout-menu .sub-menus .content .menu .sub-menu.active[data-v-cbc34618] {
20675
+ color: var(--xrk-color-primary);
20676
+ background-color: var(--xrk-color-primary-light-9);
20677
+ -webkit-transition: all 0.15s;
20678
+ transition: all 0.15s;
20679
+ }
20680
+ .base-layout-menu .sub-menus .content .menu .sub-menu.active[data-v-cbc34618]::after {
20681
+ -webkit-transform: translateX(0);
20682
+ transform: translateX(0);
20683
+ }
20684
+ @charset "UTF-8";
20685
+ /* 隐藏滚动条但保留滚动功能(webkit 内核) */
20686
+ .scroll-menu[data-v-3f66cd84] {
20687
+ width: 100%;
20688
+ height: 100%;
20689
+ overflow: auto;
20690
+ scrollbar-width: none; /* Firefox */
20691
+ -ms-overflow-style: none; /* IE/Edge */
20692
+ }
20693
+ .scroll-menu[data-v-3f66cd84]::-webkit-scrollbar {
20694
+ display: none; /* Chrome/Safari/Opera */
20695
+ }
20451
20696
  .base-layout-main[data-v-3f66cd84] {
20452
20697
  width: var(--base-layout-main-width, 100vw);
20453
20698
  height: var(--base-layout-main-height, 100vh);
@@ -20518,7 +20763,7 @@
20518
20763
  -webkit-flex-shrink: 0;
20519
20764
  -ms-flex-negative: 0;
20520
20765
  flex-shrink: 0;
20521
- width: var(--base-layout-menu-width, 140px);
20766
+ width: var(--base-layout-menu-width, 180px);
20522
20767
  background-color: #fff;
20523
20768
  z-index: 2;
20524
20769
  }