@nubitio/react-admin 0.5.15 → 0.5.19
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/README.md +1 -1
- package/dist/index.cjs +91 -0
- package/dist/index.d.cts +4 -3
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +4 -3
- package/dist/style.css +577 -484
- package/package.json +7 -6
package/dist/style.css
CHANGED
|
@@ -754,6 +754,238 @@ html[data-density=compact] .nb-dialog__footer {
|
|
|
754
754
|
padding: var(--space-2) var(--space-3);
|
|
755
755
|
resize: vertical;
|
|
756
756
|
}
|
|
757
|
+
.nb-file-dropzone {
|
|
758
|
+
display: flex;
|
|
759
|
+
flex-direction: column;
|
|
760
|
+
gap: var(--space-1);
|
|
761
|
+
width: 100%;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.nb-file-dropzone__zone {
|
|
765
|
+
align-items: center;
|
|
766
|
+
background: var(--surface-1);
|
|
767
|
+
border: 1px dashed var(--border-color);
|
|
768
|
+
border-radius: var(--radius-lg);
|
|
769
|
+
box-sizing: border-box;
|
|
770
|
+
cursor: pointer;
|
|
771
|
+
display: flex;
|
|
772
|
+
justify-content: center;
|
|
773
|
+
min-height: 112px;
|
|
774
|
+
overflow: hidden;
|
|
775
|
+
position: relative;
|
|
776
|
+
transition: border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
|
|
777
|
+
width: 100%;
|
|
778
|
+
}
|
|
779
|
+
.nb-file-dropzone__zone:hover:not(.nb-file-dropzone__zone--disabled):not(.nb-file-dropzone__zone--filled) {
|
|
780
|
+
background: color-mix(in srgb, var(--accent-color) 4%, var(--surface-1));
|
|
781
|
+
border-color: var(--accent-color);
|
|
782
|
+
}
|
|
783
|
+
.nb-file-dropzone__zone--active {
|
|
784
|
+
background: color-mix(in srgb, var(--accent-color) 8%, var(--surface-1));
|
|
785
|
+
border-color: var(--accent-color);
|
|
786
|
+
}
|
|
787
|
+
.nb-file-dropzone__zone--filled {
|
|
788
|
+
border-style: solid;
|
|
789
|
+
cursor: default;
|
|
790
|
+
min-height: 88px;
|
|
791
|
+
}
|
|
792
|
+
.nb-file-dropzone__zone--uploading {
|
|
793
|
+
pointer-events: none;
|
|
794
|
+
}
|
|
795
|
+
.nb-file-dropzone__zone--disabled {
|
|
796
|
+
cursor: not-allowed;
|
|
797
|
+
opacity: 0.72;
|
|
798
|
+
}
|
|
799
|
+
.nb-file-dropzone__zone:focus-visible {
|
|
800
|
+
box-shadow: 0 0 0 3px var(--focus-ring-color);
|
|
801
|
+
outline: none;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
.nb-file-dropzone--image .nb-file-dropzone__zone {
|
|
805
|
+
min-height: 168px;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.nb-file-dropzone--image .nb-file-dropzone__zone--filled {
|
|
809
|
+
min-height: 180px;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.nb-file-dropzone--invalid .nb-file-dropzone__zone {
|
|
813
|
+
border-color: var(--error-color);
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.nb-file-dropzone__placeholder {
|
|
817
|
+
align-items: center;
|
|
818
|
+
display: flex;
|
|
819
|
+
flex-direction: column;
|
|
820
|
+
gap: var(--space-2);
|
|
821
|
+
max-width: 320px;
|
|
822
|
+
padding: var(--space-4);
|
|
823
|
+
text-align: center;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.nb-file-dropzone__icon {
|
|
827
|
+
align-items: center;
|
|
828
|
+
background: color-mix(in srgb, var(--accent-color) 10%, transparent);
|
|
829
|
+
border-radius: 999px;
|
|
830
|
+
color: var(--accent-color);
|
|
831
|
+
display: inline-flex;
|
|
832
|
+
font-size: 24px;
|
|
833
|
+
height: 48px;
|
|
834
|
+
justify-content: center;
|
|
835
|
+
width: 48px;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.nb-file-dropzone__title {
|
|
839
|
+
color: var(--text-primary);
|
|
840
|
+
font-size: var(--font-size-sm);
|
|
841
|
+
font-weight: var(--font-weight-semibold);
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
.nb-file-dropzone__hint {
|
|
845
|
+
color: var(--text-tertiary);
|
|
846
|
+
font-size: var(--font-size-xs);
|
|
847
|
+
line-height: var(--line-height-tight);
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.nb-file-dropzone__preview {
|
|
851
|
+
display: block;
|
|
852
|
+
height: 100%;
|
|
853
|
+
max-height: 220px;
|
|
854
|
+
object-fit: contain;
|
|
855
|
+
width: 100%;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.nb-file-dropzone__file {
|
|
859
|
+
align-items: center;
|
|
860
|
+
display: flex;
|
|
861
|
+
gap: var(--space-3);
|
|
862
|
+
max-width: 100%;
|
|
863
|
+
padding: var(--space-3) var(--space-4);
|
|
864
|
+
width: 100%;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.nb-file-dropzone__file-icon {
|
|
868
|
+
align-items: center;
|
|
869
|
+
background: var(--surface-0);
|
|
870
|
+
border: 1px solid var(--border-subtle);
|
|
871
|
+
border-radius: var(--radius-md);
|
|
872
|
+
color: var(--accent-color);
|
|
873
|
+
display: inline-flex;
|
|
874
|
+
flex: 0 0 auto;
|
|
875
|
+
font-size: 22px;
|
|
876
|
+
height: 44px;
|
|
877
|
+
justify-content: center;
|
|
878
|
+
width: 44px;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
.nb-file-dropzone__file-meta {
|
|
882
|
+
display: flex;
|
|
883
|
+
flex: 1 1 auto;
|
|
884
|
+
flex-direction: column;
|
|
885
|
+
gap: 2px;
|
|
886
|
+
min-width: 0;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.nb-file-dropzone__file-name {
|
|
890
|
+
color: var(--text-primary);
|
|
891
|
+
font-size: var(--font-size-sm);
|
|
892
|
+
font-weight: var(--font-weight-medium);
|
|
893
|
+
overflow: hidden;
|
|
894
|
+
text-overflow: ellipsis;
|
|
895
|
+
white-space: nowrap;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.nb-file-dropzone__file-link {
|
|
899
|
+
color: var(--accent-color);
|
|
900
|
+
font-size: var(--font-size-xs);
|
|
901
|
+
text-decoration: none;
|
|
902
|
+
}
|
|
903
|
+
.nb-file-dropzone__file-link:hover {
|
|
904
|
+
text-decoration: underline;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.nb-file-dropzone__overlay {
|
|
908
|
+
align-items: center;
|
|
909
|
+
background: rgba(0, 0, 0, 0.42);
|
|
910
|
+
color: #fff;
|
|
911
|
+
display: flex;
|
|
912
|
+
flex-direction: column;
|
|
913
|
+
font-size: var(--font-size-sm);
|
|
914
|
+
gap: var(--space-2);
|
|
915
|
+
inset: 0;
|
|
916
|
+
justify-content: center;
|
|
917
|
+
position: absolute;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
.nb-file-dropzone__spinner {
|
|
921
|
+
animation: nb-file-dropzone-spin 700ms linear infinite;
|
|
922
|
+
border: 2px solid rgba(255, 255, 255, 0.35);
|
|
923
|
+
border-radius: 999px;
|
|
924
|
+
border-top-color: #fff;
|
|
925
|
+
height: 24px;
|
|
926
|
+
width: 24px;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
@keyframes nb-file-dropzone-spin {
|
|
930
|
+
to {
|
|
931
|
+
transform: rotate(360deg);
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
.nb-file-dropzone__actions {
|
|
935
|
+
align-items: center;
|
|
936
|
+
background: linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent);
|
|
937
|
+
bottom: 0;
|
|
938
|
+
display: flex;
|
|
939
|
+
gap: var(--space-2);
|
|
940
|
+
inset-inline: 0;
|
|
941
|
+
justify-content: center;
|
|
942
|
+
opacity: 0;
|
|
943
|
+
padding: var(--space-3);
|
|
944
|
+
position: absolute;
|
|
945
|
+
transition: opacity var(--transition-base);
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.nb-file-dropzone__zone--filled:hover .nb-file-dropzone__actions,
|
|
949
|
+
.nb-file-dropzone__zone--filled:focus-within .nb-file-dropzone__actions {
|
|
950
|
+
opacity: 1;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.nb-file-dropzone__action {
|
|
954
|
+
align-items: center;
|
|
955
|
+
background: var(--surface-1);
|
|
956
|
+
border: 1px solid var(--border-subtle);
|
|
957
|
+
border-radius: var(--radius-md);
|
|
958
|
+
color: var(--text-primary);
|
|
959
|
+
cursor: pointer;
|
|
960
|
+
display: inline-flex;
|
|
961
|
+
font: inherit;
|
|
962
|
+
font-size: var(--font-size-xs);
|
|
963
|
+
font-weight: var(--font-weight-medium);
|
|
964
|
+
gap: var(--space-1);
|
|
965
|
+
min-height: 28px;
|
|
966
|
+
padding: 0 var(--space-2);
|
|
967
|
+
transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
|
|
968
|
+
}
|
|
969
|
+
.nb-file-dropzone__action:hover {
|
|
970
|
+
border-color: var(--accent-color);
|
|
971
|
+
color: var(--accent-color);
|
|
972
|
+
}
|
|
973
|
+
.nb-file-dropzone__action--danger:hover {
|
|
974
|
+
border-color: var(--error-color);
|
|
975
|
+
color: var(--error-color);
|
|
976
|
+
}
|
|
977
|
+
.nb-file-dropzone__action:focus-visible {
|
|
978
|
+
box-shadow: 0 0 0 2px var(--focus-ring-color);
|
|
979
|
+
outline: none;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.nb-file-dropzone__error {
|
|
983
|
+
align-items: center;
|
|
984
|
+
color: var(--error-color);
|
|
985
|
+
display: inline-flex;
|
|
986
|
+
font-size: var(--font-size-xs);
|
|
987
|
+
gap: var(--space-1);
|
|
988
|
+
}
|
|
757
989
|
.nb-dropdown {
|
|
758
990
|
min-width: 0;
|
|
759
991
|
position: relative;
|
|
@@ -2828,6 +3060,15 @@ html[data-density=compact] .nb-drawer__footer {
|
|
|
2828
3060
|
width: 20px;
|
|
2829
3061
|
}
|
|
2830
3062
|
|
|
3063
|
+
.nb-timeline__marker--custom {
|
|
3064
|
+
font-size: var(--font-size-xs);
|
|
3065
|
+
font-weight: var(--font-weight-semibold);
|
|
3066
|
+
line-height: 1;
|
|
3067
|
+
}
|
|
3068
|
+
.nb-timeline__marker--custom.nb-timeline__marker--current::after {
|
|
3069
|
+
display: none;
|
|
3070
|
+
}
|
|
3071
|
+
|
|
2831
3072
|
.nb-timeline__marker--dot {
|
|
2832
3073
|
background: var(--surface-2);
|
|
2833
3074
|
border: 2px solid var(--accent-color);
|
|
@@ -3539,7 +3780,7 @@ html[data-density=compact] .nb-drawer__footer {
|
|
|
3539
3780
|
font-size: var(--font-size-xs);
|
|
3540
3781
|
}
|
|
3541
3782
|
|
|
3542
|
-
.nb-datagrid__filter-operator {
|
|
3783
|
+
.nb-datagrid__filter-wrap > .nb-datagrid__filter-operator {
|
|
3543
3784
|
left: 5px;
|
|
3544
3785
|
position: absolute;
|
|
3545
3786
|
top: 50%;
|
|
@@ -3547,7 +3788,7 @@ html[data-density=compact] .nb-drawer__footer {
|
|
|
3547
3788
|
width: 30px;
|
|
3548
3789
|
z-index: 2;
|
|
3549
3790
|
}
|
|
3550
|
-
.nb-datagrid__filter-operator.nb-dropdown .nb-dropdown__trigger {
|
|
3791
|
+
.nb-datagrid__filter-wrap > .nb-datagrid__filter-operator.nb-dropdown .nb-dropdown__trigger {
|
|
3551
3792
|
appearance: none;
|
|
3552
3793
|
background: color-mix(in srgb, var(--accent-color) 10%, transparent);
|
|
3553
3794
|
border: 1px solid color-mix(in srgb, var(--accent-color) 20%, transparent);
|
|
@@ -3563,7 +3804,7 @@ html[data-density=compact] .nb-drawer__footer {
|
|
|
3563
3804
|
text-align: center;
|
|
3564
3805
|
width: 30px;
|
|
3565
3806
|
}
|
|
3566
|
-
.nb-datagrid__filter-operator.nb-dropdown .nb-dropdown__caret {
|
|
3807
|
+
.nb-datagrid__filter-wrap > .nb-datagrid__filter-operator.nb-dropdown .nb-dropdown__caret {
|
|
3567
3808
|
display: none;
|
|
3568
3809
|
}
|
|
3569
3810
|
|
|
@@ -4627,495 +4868,30 @@ html[data-density=compact] .nb-datagrid .nb-badge {
|
|
|
4627
4868
|
box-shadow: none;
|
|
4628
4869
|
}
|
|
4629
4870
|
}
|
|
4630
|
-
.nb-
|
|
4871
|
+
.nb-form {
|
|
4872
|
+
color: var(--text-primary);
|
|
4631
4873
|
display: flex;
|
|
4632
4874
|
flex-direction: column;
|
|
4633
|
-
gap: var(--space-
|
|
4634
|
-
|
|
4875
|
+
gap: var(--space-3);
|
|
4876
|
+
min-height: 0;
|
|
4877
|
+
padding: 20px 24px;
|
|
4635
4878
|
}
|
|
4636
4879
|
|
|
4637
|
-
.nb-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
border: 1px dashed var(--border-color);
|
|
4641
|
-
border-radius: var(--radius-lg);
|
|
4642
|
-
box-sizing: border-box;
|
|
4643
|
-
cursor: pointer;
|
|
4644
|
-
display: flex;
|
|
4645
|
-
justify-content: center;
|
|
4646
|
-
min-height: 112px;
|
|
4647
|
-
overflow: hidden;
|
|
4648
|
-
position: relative;
|
|
4649
|
-
transition: border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
|
|
4650
|
-
width: 100%;
|
|
4651
|
-
}
|
|
4652
|
-
.nb-form__file-upload-zone:hover:not(.nb-form__file-upload-zone--disabled):not(.nb-form__file-upload-zone--filled) {
|
|
4653
|
-
background: color-mix(in srgb, var(--accent-color) 4%, var(--surface-1));
|
|
4654
|
-
border-color: var(--accent-color);
|
|
4655
|
-
}
|
|
4656
|
-
.nb-form__file-upload-zone--active {
|
|
4657
|
-
background: color-mix(in srgb, var(--accent-color) 8%, var(--surface-1));
|
|
4658
|
-
border-color: var(--accent-color);
|
|
4659
|
-
}
|
|
4660
|
-
.nb-form__file-upload-zone--filled {
|
|
4661
|
-
border-style: solid;
|
|
4662
|
-
cursor: default;
|
|
4663
|
-
min-height: 88px;
|
|
4664
|
-
}
|
|
4665
|
-
.nb-form__file-upload-zone--uploading {
|
|
4666
|
-
pointer-events: none;
|
|
4667
|
-
}
|
|
4668
|
-
.nb-form__file-upload-zone--disabled {
|
|
4669
|
-
cursor: not-allowed;
|
|
4670
|
-
opacity: 0.72;
|
|
4671
|
-
}
|
|
4672
|
-
.nb-form__file-upload-zone:focus-visible {
|
|
4673
|
-
box-shadow: 0 0 0 3px var(--focus-ring-color);
|
|
4674
|
-
outline: none;
|
|
4880
|
+
.nb-form:has(> .nb-form__tabs),
|
|
4881
|
+
.nb-form--with-detail {
|
|
4882
|
+
padding: 0;
|
|
4675
4883
|
}
|
|
4676
4884
|
|
|
4677
|
-
.nb-
|
|
4678
|
-
|
|
4885
|
+
.nb-form__master-detail {
|
|
4886
|
+
align-items: stretch;
|
|
4887
|
+
display: grid;
|
|
4888
|
+
gap: var(--space-4);
|
|
4889
|
+
grid-template-columns: minmax(280px, 332px) minmax(560px, 1fr);
|
|
4890
|
+
min-height: 0;
|
|
4679
4891
|
}
|
|
4680
4892
|
|
|
4681
|
-
.nb-
|
|
4682
|
-
|
|
4683
|
-
}
|
|
4684
|
-
|
|
4685
|
-
.nb-form__file-upload--invalid .nb-form__file-upload-zone {
|
|
4686
|
-
border-color: var(--error-color);
|
|
4687
|
-
}
|
|
4688
|
-
|
|
4689
|
-
.nb-form__file-upload-placeholder {
|
|
4690
|
-
align-items: center;
|
|
4691
|
-
display: flex;
|
|
4692
|
-
flex-direction: column;
|
|
4693
|
-
gap: var(--space-2);
|
|
4694
|
-
max-width: 320px;
|
|
4695
|
-
padding: var(--space-4);
|
|
4696
|
-
text-align: center;
|
|
4697
|
-
}
|
|
4698
|
-
|
|
4699
|
-
.nb-form__file-upload-icon {
|
|
4700
|
-
align-items: center;
|
|
4701
|
-
background: color-mix(in srgb, var(--accent-color) 10%, transparent);
|
|
4702
|
-
border-radius: 999px;
|
|
4703
|
-
color: var(--accent-color);
|
|
4704
|
-
display: inline-flex;
|
|
4705
|
-
font-size: 24px;
|
|
4706
|
-
height: 48px;
|
|
4707
|
-
justify-content: center;
|
|
4708
|
-
width: 48px;
|
|
4709
|
-
}
|
|
4710
|
-
|
|
4711
|
-
.nb-form__file-upload-title {
|
|
4712
|
-
color: var(--text-primary);
|
|
4713
|
-
font-size: var(--font-size-sm);
|
|
4714
|
-
font-weight: var(--font-weight-semibold);
|
|
4715
|
-
}
|
|
4716
|
-
|
|
4717
|
-
.nb-form__file-upload-hint {
|
|
4718
|
-
color: var(--text-tertiary);
|
|
4719
|
-
font-size: var(--font-size-xs);
|
|
4720
|
-
line-height: var(--line-height-tight);
|
|
4721
|
-
}
|
|
4722
|
-
|
|
4723
|
-
.nb-form__file-upload-preview {
|
|
4724
|
-
display: block;
|
|
4725
|
-
height: 100%;
|
|
4726
|
-
max-height: 220px;
|
|
4727
|
-
object-fit: contain;
|
|
4728
|
-
width: 100%;
|
|
4729
|
-
}
|
|
4730
|
-
|
|
4731
|
-
.nb-form__file-upload-file {
|
|
4732
|
-
align-items: center;
|
|
4733
|
-
display: flex;
|
|
4734
|
-
gap: var(--space-3);
|
|
4735
|
-
max-width: 100%;
|
|
4736
|
-
padding: var(--space-3) var(--space-4);
|
|
4737
|
-
width: 100%;
|
|
4738
|
-
}
|
|
4739
|
-
|
|
4740
|
-
.nb-form__file-upload-file-icon {
|
|
4741
|
-
align-items: center;
|
|
4742
|
-
background: var(--surface-0);
|
|
4743
|
-
border: 1px solid var(--border-subtle);
|
|
4744
|
-
border-radius: var(--radius-md);
|
|
4745
|
-
color: var(--accent-color);
|
|
4746
|
-
display: inline-flex;
|
|
4747
|
-
flex: 0 0 auto;
|
|
4748
|
-
font-size: 22px;
|
|
4749
|
-
height: 44px;
|
|
4750
|
-
justify-content: center;
|
|
4751
|
-
width: 44px;
|
|
4752
|
-
}
|
|
4753
|
-
|
|
4754
|
-
.nb-form__file-upload-file-meta {
|
|
4755
|
-
display: flex;
|
|
4756
|
-
flex: 1 1 auto;
|
|
4757
|
-
flex-direction: column;
|
|
4758
|
-
gap: 2px;
|
|
4759
|
-
min-width: 0;
|
|
4760
|
-
}
|
|
4761
|
-
|
|
4762
|
-
.nb-form__file-upload-file-name {
|
|
4763
|
-
color: var(--text-primary);
|
|
4764
|
-
font-size: var(--font-size-sm);
|
|
4765
|
-
font-weight: var(--font-weight-medium);
|
|
4766
|
-
overflow: hidden;
|
|
4767
|
-
text-overflow: ellipsis;
|
|
4768
|
-
white-space: nowrap;
|
|
4769
|
-
}
|
|
4770
|
-
|
|
4771
|
-
.nb-form__file-upload-file-link {
|
|
4772
|
-
color: var(--accent-color);
|
|
4773
|
-
font-size: var(--font-size-xs);
|
|
4774
|
-
text-decoration: none;
|
|
4775
|
-
}
|
|
4776
|
-
.nb-form__file-upload-file-link:hover {
|
|
4777
|
-
text-decoration: underline;
|
|
4778
|
-
}
|
|
4779
|
-
|
|
4780
|
-
.nb-form__file-upload-overlay {
|
|
4781
|
-
align-items: center;
|
|
4782
|
-
background: rgba(0, 0, 0, 0.42);
|
|
4783
|
-
color: #fff;
|
|
4784
|
-
display: flex;
|
|
4785
|
-
flex-direction: column;
|
|
4786
|
-
font-size: var(--font-size-sm);
|
|
4787
|
-
gap: var(--space-2);
|
|
4788
|
-
inset: 0;
|
|
4789
|
-
justify-content: center;
|
|
4790
|
-
position: absolute;
|
|
4791
|
-
}
|
|
4792
|
-
|
|
4793
|
-
.nb-form__file-upload-spinner {
|
|
4794
|
-
animation: nb-form-file-spin 700ms linear infinite;
|
|
4795
|
-
border: 2px solid rgba(255, 255, 255, 0.35);
|
|
4796
|
-
border-radius: 999px;
|
|
4797
|
-
border-top-color: #fff;
|
|
4798
|
-
height: 24px;
|
|
4799
|
-
width: 24px;
|
|
4800
|
-
}
|
|
4801
|
-
|
|
4802
|
-
@keyframes nb-form-file-spin {
|
|
4803
|
-
to {
|
|
4804
|
-
transform: rotate(360deg);
|
|
4805
|
-
}
|
|
4806
|
-
}
|
|
4807
|
-
.nb-form__file-upload-actions {
|
|
4808
|
-
align-items: center;
|
|
4809
|
-
background: linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent);
|
|
4810
|
-
bottom: 0;
|
|
4811
|
-
display: flex;
|
|
4812
|
-
gap: var(--space-2);
|
|
4813
|
-
inset-inline: 0;
|
|
4814
|
-
justify-content: center;
|
|
4815
|
-
opacity: 0;
|
|
4816
|
-
padding: var(--space-3);
|
|
4817
|
-
position: absolute;
|
|
4818
|
-
transition: opacity var(--transition-base);
|
|
4819
|
-
}
|
|
4820
|
-
|
|
4821
|
-
.nb-form__file-upload-zone--filled:hover .nb-form__file-upload-actions,
|
|
4822
|
-
.nb-form__file-upload-zone--filled:focus-within .nb-form__file-upload-actions {
|
|
4823
|
-
opacity: 1;
|
|
4824
|
-
}
|
|
4825
|
-
|
|
4826
|
-
.nb-form__file-upload-action {
|
|
4827
|
-
align-items: center;
|
|
4828
|
-
background: var(--surface-1);
|
|
4829
|
-
border: 1px solid var(--border-subtle);
|
|
4830
|
-
border-radius: var(--radius-md);
|
|
4831
|
-
color: var(--text-primary);
|
|
4832
|
-
cursor: pointer;
|
|
4833
|
-
display: inline-flex;
|
|
4834
|
-
font: inherit;
|
|
4835
|
-
font-size: var(--font-size-xs);
|
|
4836
|
-
font-weight: var(--font-weight-medium);
|
|
4837
|
-
gap: var(--space-1);
|
|
4838
|
-
min-height: 28px;
|
|
4839
|
-
padding: 0 var(--space-2);
|
|
4840
|
-
transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
|
|
4841
|
-
}
|
|
4842
|
-
.nb-form__file-upload-action:hover {
|
|
4843
|
-
border-color: var(--accent-color);
|
|
4844
|
-
color: var(--accent-color);
|
|
4845
|
-
}
|
|
4846
|
-
.nb-form__file-upload-action--danger:hover {
|
|
4847
|
-
border-color: var(--error-color);
|
|
4848
|
-
color: var(--error-color);
|
|
4849
|
-
}
|
|
4850
|
-
.nb-form__file-upload-action:focus-visible {
|
|
4851
|
-
box-shadow: 0 0 0 2px var(--focus-ring-color);
|
|
4852
|
-
outline: none;
|
|
4853
|
-
}
|
|
4854
|
-
|
|
4855
|
-
.nb-form__file-upload-error {
|
|
4856
|
-
align-items: center;
|
|
4857
|
-
color: var(--error-color);
|
|
4858
|
-
display: inline-flex;
|
|
4859
|
-
font-size: var(--font-size-xs);
|
|
4860
|
-
gap: var(--space-1);
|
|
4861
|
-
}
|
|
4862
|
-
.nb-form__file-upload {
|
|
4863
|
-
display: flex;
|
|
4864
|
-
flex-direction: column;
|
|
4865
|
-
gap: var(--space-1);
|
|
4866
|
-
width: 100%;
|
|
4867
|
-
}
|
|
4868
|
-
|
|
4869
|
-
.nb-form__file-upload-zone {
|
|
4870
|
-
align-items: center;
|
|
4871
|
-
background: var(--surface-1);
|
|
4872
|
-
border: 1px dashed var(--border-color);
|
|
4873
|
-
border-radius: var(--radius-lg);
|
|
4874
|
-
box-sizing: border-box;
|
|
4875
|
-
cursor: pointer;
|
|
4876
|
-
display: flex;
|
|
4877
|
-
justify-content: center;
|
|
4878
|
-
min-height: 112px;
|
|
4879
|
-
overflow: hidden;
|
|
4880
|
-
position: relative;
|
|
4881
|
-
transition: border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
|
|
4882
|
-
width: 100%;
|
|
4883
|
-
}
|
|
4884
|
-
.nb-form__file-upload-zone:hover:not(.nb-form__file-upload-zone--disabled):not(.nb-form__file-upload-zone--filled) {
|
|
4885
|
-
background: color-mix(in srgb, var(--accent-color) 4%, var(--surface-1));
|
|
4886
|
-
border-color: var(--accent-color);
|
|
4887
|
-
}
|
|
4888
|
-
.nb-form__file-upload-zone--active {
|
|
4889
|
-
background: color-mix(in srgb, var(--accent-color) 8%, var(--surface-1));
|
|
4890
|
-
border-color: var(--accent-color);
|
|
4891
|
-
}
|
|
4892
|
-
.nb-form__file-upload-zone--filled {
|
|
4893
|
-
border-style: solid;
|
|
4894
|
-
cursor: default;
|
|
4895
|
-
min-height: 88px;
|
|
4896
|
-
}
|
|
4897
|
-
.nb-form__file-upload-zone--uploading {
|
|
4898
|
-
pointer-events: none;
|
|
4899
|
-
}
|
|
4900
|
-
.nb-form__file-upload-zone--disabled {
|
|
4901
|
-
cursor: not-allowed;
|
|
4902
|
-
opacity: 0.72;
|
|
4903
|
-
}
|
|
4904
|
-
.nb-form__file-upload-zone:focus-visible {
|
|
4905
|
-
box-shadow: 0 0 0 3px var(--focus-ring-color);
|
|
4906
|
-
outline: none;
|
|
4907
|
-
}
|
|
4908
|
-
|
|
4909
|
-
.nb-form__file-upload--image .nb-form__file-upload-zone {
|
|
4910
|
-
min-height: 168px;
|
|
4911
|
-
}
|
|
4912
|
-
|
|
4913
|
-
.nb-form__file-upload--image .nb-form__file-upload-zone--filled {
|
|
4914
|
-
min-height: 180px;
|
|
4915
|
-
}
|
|
4916
|
-
|
|
4917
|
-
.nb-form__file-upload--invalid .nb-form__file-upload-zone {
|
|
4918
|
-
border-color: var(--error-color);
|
|
4919
|
-
}
|
|
4920
|
-
|
|
4921
|
-
.nb-form__file-upload-placeholder {
|
|
4922
|
-
align-items: center;
|
|
4923
|
-
display: flex;
|
|
4924
|
-
flex-direction: column;
|
|
4925
|
-
gap: var(--space-2);
|
|
4926
|
-
max-width: 320px;
|
|
4927
|
-
padding: var(--space-4);
|
|
4928
|
-
text-align: center;
|
|
4929
|
-
}
|
|
4930
|
-
|
|
4931
|
-
.nb-form__file-upload-icon {
|
|
4932
|
-
align-items: center;
|
|
4933
|
-
background: color-mix(in srgb, var(--accent-color) 10%, transparent);
|
|
4934
|
-
border-radius: 999px;
|
|
4935
|
-
color: var(--accent-color);
|
|
4936
|
-
display: inline-flex;
|
|
4937
|
-
font-size: 24px;
|
|
4938
|
-
height: 48px;
|
|
4939
|
-
justify-content: center;
|
|
4940
|
-
width: 48px;
|
|
4941
|
-
}
|
|
4942
|
-
|
|
4943
|
-
.nb-form__file-upload-title {
|
|
4944
|
-
color: var(--text-primary);
|
|
4945
|
-
font-size: var(--font-size-sm);
|
|
4946
|
-
font-weight: var(--font-weight-semibold);
|
|
4947
|
-
}
|
|
4948
|
-
|
|
4949
|
-
.nb-form__file-upload-hint {
|
|
4950
|
-
color: var(--text-tertiary);
|
|
4951
|
-
font-size: var(--font-size-xs);
|
|
4952
|
-
line-height: var(--line-height-tight);
|
|
4953
|
-
}
|
|
4954
|
-
|
|
4955
|
-
.nb-form__file-upload-preview {
|
|
4956
|
-
display: block;
|
|
4957
|
-
height: 100%;
|
|
4958
|
-
max-height: 220px;
|
|
4959
|
-
object-fit: contain;
|
|
4960
|
-
width: 100%;
|
|
4961
|
-
}
|
|
4962
|
-
|
|
4963
|
-
.nb-form__file-upload-file {
|
|
4964
|
-
align-items: center;
|
|
4965
|
-
display: flex;
|
|
4966
|
-
gap: var(--space-3);
|
|
4967
|
-
max-width: 100%;
|
|
4968
|
-
padding: var(--space-3) var(--space-4);
|
|
4969
|
-
width: 100%;
|
|
4970
|
-
}
|
|
4971
|
-
|
|
4972
|
-
.nb-form__file-upload-file-icon {
|
|
4973
|
-
align-items: center;
|
|
4974
|
-
background: var(--surface-0);
|
|
4975
|
-
border: 1px solid var(--border-subtle);
|
|
4976
|
-
border-radius: var(--radius-md);
|
|
4977
|
-
color: var(--accent-color);
|
|
4978
|
-
display: inline-flex;
|
|
4979
|
-
flex: 0 0 auto;
|
|
4980
|
-
font-size: 22px;
|
|
4981
|
-
height: 44px;
|
|
4982
|
-
justify-content: center;
|
|
4983
|
-
width: 44px;
|
|
4984
|
-
}
|
|
4985
|
-
|
|
4986
|
-
.nb-form__file-upload-file-meta {
|
|
4987
|
-
display: flex;
|
|
4988
|
-
flex: 1 1 auto;
|
|
4989
|
-
flex-direction: column;
|
|
4990
|
-
gap: 2px;
|
|
4991
|
-
min-width: 0;
|
|
4992
|
-
}
|
|
4993
|
-
|
|
4994
|
-
.nb-form__file-upload-file-name {
|
|
4995
|
-
color: var(--text-primary);
|
|
4996
|
-
font-size: var(--font-size-sm);
|
|
4997
|
-
font-weight: var(--font-weight-medium);
|
|
4998
|
-
overflow: hidden;
|
|
4999
|
-
text-overflow: ellipsis;
|
|
5000
|
-
white-space: nowrap;
|
|
5001
|
-
}
|
|
5002
|
-
|
|
5003
|
-
.nb-form__file-upload-file-link {
|
|
5004
|
-
color: var(--accent-color);
|
|
5005
|
-
font-size: var(--font-size-xs);
|
|
5006
|
-
text-decoration: none;
|
|
5007
|
-
}
|
|
5008
|
-
.nb-form__file-upload-file-link:hover {
|
|
5009
|
-
text-decoration: underline;
|
|
5010
|
-
}
|
|
5011
|
-
|
|
5012
|
-
.nb-form__file-upload-overlay {
|
|
5013
|
-
align-items: center;
|
|
5014
|
-
background: rgba(0, 0, 0, 0.42);
|
|
5015
|
-
color: #fff;
|
|
5016
|
-
display: flex;
|
|
5017
|
-
flex-direction: column;
|
|
5018
|
-
font-size: var(--font-size-sm);
|
|
5019
|
-
gap: var(--space-2);
|
|
5020
|
-
inset: 0;
|
|
5021
|
-
justify-content: center;
|
|
5022
|
-
position: absolute;
|
|
5023
|
-
}
|
|
5024
|
-
|
|
5025
|
-
.nb-form__file-upload-spinner {
|
|
5026
|
-
animation: nb-form-file-spin 700ms linear infinite;
|
|
5027
|
-
border: 2px solid rgba(255, 255, 255, 0.35);
|
|
5028
|
-
border-radius: 999px;
|
|
5029
|
-
border-top-color: #fff;
|
|
5030
|
-
height: 24px;
|
|
5031
|
-
width: 24px;
|
|
5032
|
-
}
|
|
5033
|
-
|
|
5034
|
-
@keyframes nb-form-file-spin {
|
|
5035
|
-
to {
|
|
5036
|
-
transform: rotate(360deg);
|
|
5037
|
-
}
|
|
5038
|
-
}
|
|
5039
|
-
.nb-form__file-upload-actions {
|
|
5040
|
-
align-items: center;
|
|
5041
|
-
background: linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent);
|
|
5042
|
-
bottom: 0;
|
|
5043
|
-
display: flex;
|
|
5044
|
-
gap: var(--space-2);
|
|
5045
|
-
inset-inline: 0;
|
|
5046
|
-
justify-content: center;
|
|
5047
|
-
opacity: 0;
|
|
5048
|
-
padding: var(--space-3);
|
|
5049
|
-
position: absolute;
|
|
5050
|
-
transition: opacity var(--transition-base);
|
|
5051
|
-
}
|
|
5052
|
-
|
|
5053
|
-
.nb-form__file-upload-zone--filled:hover .nb-form__file-upload-actions,
|
|
5054
|
-
.nb-form__file-upload-zone--filled:focus-within .nb-form__file-upload-actions {
|
|
5055
|
-
opacity: 1;
|
|
5056
|
-
}
|
|
5057
|
-
|
|
5058
|
-
.nb-form__file-upload-action {
|
|
5059
|
-
align-items: center;
|
|
5060
|
-
background: var(--surface-1);
|
|
5061
|
-
border: 1px solid var(--border-subtle);
|
|
5062
|
-
border-radius: var(--radius-md);
|
|
5063
|
-
color: var(--text-primary);
|
|
5064
|
-
cursor: pointer;
|
|
5065
|
-
display: inline-flex;
|
|
5066
|
-
font: inherit;
|
|
5067
|
-
font-size: var(--font-size-xs);
|
|
5068
|
-
font-weight: var(--font-weight-medium);
|
|
5069
|
-
gap: var(--space-1);
|
|
5070
|
-
min-height: 28px;
|
|
5071
|
-
padding: 0 var(--space-2);
|
|
5072
|
-
transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
|
|
5073
|
-
}
|
|
5074
|
-
.nb-form__file-upload-action:hover {
|
|
5075
|
-
border-color: var(--accent-color);
|
|
5076
|
-
color: var(--accent-color);
|
|
5077
|
-
}
|
|
5078
|
-
.nb-form__file-upload-action--danger:hover {
|
|
5079
|
-
border-color: var(--error-color);
|
|
5080
|
-
color: var(--error-color);
|
|
5081
|
-
}
|
|
5082
|
-
.nb-form__file-upload-action:focus-visible {
|
|
5083
|
-
box-shadow: 0 0 0 2px var(--focus-ring-color);
|
|
5084
|
-
outline: none;
|
|
5085
|
-
}
|
|
5086
|
-
|
|
5087
|
-
.nb-form__file-upload-error {
|
|
5088
|
-
align-items: center;
|
|
5089
|
-
color: var(--error-color);
|
|
5090
|
-
display: inline-flex;
|
|
5091
|
-
font-size: var(--font-size-xs);
|
|
5092
|
-
gap: var(--space-1);
|
|
5093
|
-
}
|
|
5094
|
-
|
|
5095
|
-
.nb-form {
|
|
5096
|
-
color: var(--text-primary);
|
|
5097
|
-
display: flex;
|
|
5098
|
-
flex-direction: column;
|
|
5099
|
-
gap: var(--space-3);
|
|
5100
|
-
min-height: 0;
|
|
5101
|
-
padding: 20px 24px;
|
|
5102
|
-
}
|
|
5103
|
-
|
|
5104
|
-
.nb-form:has(> .nb-form__tabs),
|
|
5105
|
-
.nb-form--with-detail {
|
|
5106
|
-
padding: 0;
|
|
5107
|
-
}
|
|
5108
|
-
|
|
5109
|
-
.nb-form__master-detail {
|
|
5110
|
-
align-items: stretch;
|
|
5111
|
-
display: grid;
|
|
5112
|
-
gap: var(--space-4);
|
|
5113
|
-
grid-template-columns: minmax(280px, 332px) minmax(560px, 1fr);
|
|
5114
|
-
min-height: 0;
|
|
5115
|
-
}
|
|
5116
|
-
|
|
5117
|
-
.nb-form--with-detail .nb-form__master-detail {
|
|
5118
|
-
overflow: visible;
|
|
4893
|
+
.nb-form--with-detail .nb-form__master-detail {
|
|
4894
|
+
overflow: visible;
|
|
5119
4895
|
}
|
|
5120
4896
|
|
|
5121
4897
|
.nb-crud-page-shell__body .nb-form--with-detail {
|
|
@@ -6787,3 +6563,320 @@ html[data-density=compact] .nb-crud-page-shell__footer {
|
|
|
6787
6563
|
line-height: 1;
|
|
6788
6564
|
padding: 0;
|
|
6789
6565
|
}
|
|
6566
|
+
|
|
6567
|
+
/* dashboard/dist/style.css */
|
|
6568
|
+
.nb-dashboard-page {
|
|
6569
|
+
position: relative;
|
|
6570
|
+
}
|
|
6571
|
+
.nb-dashboard-page .nb-toolbar-content {
|
|
6572
|
+
display: flex;
|
|
6573
|
+
flex-direction: column;
|
|
6574
|
+
gap: var(--space-4);
|
|
6575
|
+
padding-bottom: var(--space-4);
|
|
6576
|
+
}
|
|
6577
|
+
.nb-dashboard-page__error {
|
|
6578
|
+
background: color-mix(in srgb, var(--error-color) 12%, transparent);
|
|
6579
|
+
border: 1px solid color-mix(in srgb, var(--error-color) 35%, transparent);
|
|
6580
|
+
border-radius: var(--radius-lg);
|
|
6581
|
+
color: var(--error-color);
|
|
6582
|
+
font-size: var(--font-size-sm);
|
|
6583
|
+
padding: var(--space-3) var(--space-4);
|
|
6584
|
+
}
|
|
6585
|
+
.nb-dashboard-page__loading {
|
|
6586
|
+
align-items: center;
|
|
6587
|
+
background: color-mix(in srgb, var(--surface-0) 55%, transparent);
|
|
6588
|
+
display: flex;
|
|
6589
|
+
inset: 0;
|
|
6590
|
+
justify-content: center;
|
|
6591
|
+
pointer-events: none;
|
|
6592
|
+
position: absolute;
|
|
6593
|
+
z-index: 2;
|
|
6594
|
+
}
|
|
6595
|
+
.nb-dashboard-page__spinner {
|
|
6596
|
+
animation: nb-dashboard-spin 0.8s linear infinite;
|
|
6597
|
+
border: 2px solid var(--border-color);
|
|
6598
|
+
border-radius: 50%;
|
|
6599
|
+
border-top-color: var(--accent-color);
|
|
6600
|
+
height: 28px;
|
|
6601
|
+
width: 28px;
|
|
6602
|
+
}
|
|
6603
|
+
|
|
6604
|
+
@keyframes nb-dashboard-spin {
|
|
6605
|
+
to {
|
|
6606
|
+
transform: rotate(360deg);
|
|
6607
|
+
}
|
|
6608
|
+
}
|
|
6609
|
+
.nb-dashboard-section {
|
|
6610
|
+
display: grid;
|
|
6611
|
+
gap: var(--space-4);
|
|
6612
|
+
width: 100%;
|
|
6613
|
+
}
|
|
6614
|
+
.nb-dashboard-section--stats {
|
|
6615
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
6616
|
+
}
|
|
6617
|
+
.nb-dashboard-section--charts {
|
|
6618
|
+
grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
|
|
6619
|
+
align-items: stretch;
|
|
6620
|
+
}
|
|
6621
|
+
.nb-dashboard-section--full {
|
|
6622
|
+
grid-template-columns: minmax(0, 1fr);
|
|
6623
|
+
}
|
|
6624
|
+
.nb-dashboard-section--grid {
|
|
6625
|
+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
6626
|
+
}
|
|
6627
|
+
|
|
6628
|
+
@media (max-width: 1100px) {
|
|
6629
|
+
.nb-dashboard-section--stats {
|
|
6630
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
6631
|
+
}
|
|
6632
|
+
.nb-dashboard-section--charts {
|
|
6633
|
+
grid-template-columns: minmax(0, 1fr);
|
|
6634
|
+
}
|
|
6635
|
+
}
|
|
6636
|
+
@media (max-width: 640px) {
|
|
6637
|
+
.nb-dashboard-section--stats {
|
|
6638
|
+
grid-template-columns: minmax(0, 1fr);
|
|
6639
|
+
}
|
|
6640
|
+
}
|
|
6641
|
+
.nb-dashboard-widget__subtitle {
|
|
6642
|
+
color: var(--text-tertiary);
|
|
6643
|
+
font-size: var(--font-size-xs);
|
|
6644
|
+
margin-left: var(--space-2);
|
|
6645
|
+
}
|
|
6646
|
+
|
|
6647
|
+
.nb-dashboard-stat .nb-stat-card__header {
|
|
6648
|
+
padding-bottom: 0;
|
|
6649
|
+
}
|
|
6650
|
+
.nb-dashboard-stat .nb-stat-card__body {
|
|
6651
|
+
padding-top: var(--space-2);
|
|
6652
|
+
}
|
|
6653
|
+
.nb-dashboard-stat__content {
|
|
6654
|
+
align-items: flex-start;
|
|
6655
|
+
display: flex;
|
|
6656
|
+
gap: var(--space-3);
|
|
6657
|
+
}
|
|
6658
|
+
.nb-dashboard-stat__icon {
|
|
6659
|
+
align-items: center;
|
|
6660
|
+
border-radius: var(--radius-lg);
|
|
6661
|
+
display: inline-flex;
|
|
6662
|
+
flex-shrink: 0;
|
|
6663
|
+
font-size: 1.1rem;
|
|
6664
|
+
height: 40px;
|
|
6665
|
+
justify-content: center;
|
|
6666
|
+
width: 40px;
|
|
6667
|
+
}
|
|
6668
|
+
.nb-dashboard-stat__icon--accent {
|
|
6669
|
+
background: color-mix(in srgb, var(--accent-color) 14%, transparent);
|
|
6670
|
+
color: var(--accent-color);
|
|
6671
|
+
}
|
|
6672
|
+
.nb-dashboard-stat__icon--success {
|
|
6673
|
+
background: color-mix(in srgb, var(--success-color) 14%, transparent);
|
|
6674
|
+
color: var(--success-color);
|
|
6675
|
+
}
|
|
6676
|
+
.nb-dashboard-stat__icon--warning {
|
|
6677
|
+
background: color-mix(in srgb, var(--warning-color) 14%, transparent);
|
|
6678
|
+
color: var(--warning-color);
|
|
6679
|
+
}
|
|
6680
|
+
.nb-dashboard-stat__icon--danger {
|
|
6681
|
+
background: color-mix(in srgb, var(--error-color) 14%, transparent);
|
|
6682
|
+
color: var(--error-color);
|
|
6683
|
+
}
|
|
6684
|
+
.nb-dashboard-stat__icon--info {
|
|
6685
|
+
background: color-mix(in srgb, var(--info-color, var(--accent-color)) 14%, transparent);
|
|
6686
|
+
color: var(--info-color, var(--accent-color));
|
|
6687
|
+
}
|
|
6688
|
+
.nb-dashboard-stat__metrics {
|
|
6689
|
+
display: flex;
|
|
6690
|
+
flex: 1;
|
|
6691
|
+
flex-direction: column;
|
|
6692
|
+
min-width: 0;
|
|
6693
|
+
}
|
|
6694
|
+
|
|
6695
|
+
.nb-dashboard-chart-card .nb-stat-card__body {
|
|
6696
|
+
padding-top: var(--space-2);
|
|
6697
|
+
}
|
|
6698
|
+
|
|
6699
|
+
.nb-dashboard-chart-empty {
|
|
6700
|
+
align-items: center;
|
|
6701
|
+
color: var(--text-tertiary);
|
|
6702
|
+
display: flex;
|
|
6703
|
+
font-size: var(--font-size-sm);
|
|
6704
|
+
justify-content: center;
|
|
6705
|
+
min-height: 120px;
|
|
6706
|
+
}
|
|
6707
|
+
|
|
6708
|
+
.nb-dashboard-bar-chart {
|
|
6709
|
+
align-items: stretch;
|
|
6710
|
+
display: flex;
|
|
6711
|
+
gap: var(--space-2);
|
|
6712
|
+
padding-top: var(--space-2);
|
|
6713
|
+
}
|
|
6714
|
+
.nb-dashboard-bar-chart__item {
|
|
6715
|
+
display: flex;
|
|
6716
|
+
flex: 1;
|
|
6717
|
+
flex-direction: column;
|
|
6718
|
+
gap: var(--space-2);
|
|
6719
|
+
min-width: 0;
|
|
6720
|
+
}
|
|
6721
|
+
.nb-dashboard-bar-chart__bar-wrap {
|
|
6722
|
+
align-items: flex-end;
|
|
6723
|
+
display: flex;
|
|
6724
|
+
flex: 1;
|
|
6725
|
+
min-height: 0;
|
|
6726
|
+
}
|
|
6727
|
+
.nb-dashboard-bar-chart__bar {
|
|
6728
|
+
background: var(--accent-color);
|
|
6729
|
+
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
6730
|
+
transition: height 0.2s ease;
|
|
6731
|
+
width: 100%;
|
|
6732
|
+
}
|
|
6733
|
+
.nb-dashboard-bar-chart__label {
|
|
6734
|
+
color: var(--text-tertiary);
|
|
6735
|
+
font-size: var(--font-size-xs);
|
|
6736
|
+
overflow: hidden;
|
|
6737
|
+
text-align: center;
|
|
6738
|
+
text-overflow: ellipsis;
|
|
6739
|
+
white-space: nowrap;
|
|
6740
|
+
}
|
|
6741
|
+
|
|
6742
|
+
.nb-dashboard-donut {
|
|
6743
|
+
display: grid;
|
|
6744
|
+
gap: var(--space-4);
|
|
6745
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
6746
|
+
}
|
|
6747
|
+
@media (max-width: 720px) {
|
|
6748
|
+
.nb-dashboard-donut {
|
|
6749
|
+
grid-template-columns: minmax(0, 1fr);
|
|
6750
|
+
}
|
|
6751
|
+
}
|
|
6752
|
+
.nb-dashboard-donut__chart {
|
|
6753
|
+
align-items: center;
|
|
6754
|
+
display: flex;
|
|
6755
|
+
justify-content: center;
|
|
6756
|
+
min-height: 180px;
|
|
6757
|
+
position: relative;
|
|
6758
|
+
}
|
|
6759
|
+
.nb-dashboard-donut__svg {
|
|
6760
|
+
height: 180px;
|
|
6761
|
+
width: 180px;
|
|
6762
|
+
}
|
|
6763
|
+
.nb-dashboard-donut__center {
|
|
6764
|
+
align-items: center;
|
|
6765
|
+
display: flex;
|
|
6766
|
+
flex-direction: column;
|
|
6767
|
+
gap: var(--space-1);
|
|
6768
|
+
left: 50%;
|
|
6769
|
+
position: absolute;
|
|
6770
|
+
text-align: center;
|
|
6771
|
+
top: 50%;
|
|
6772
|
+
transform: translate(-50%, -50%);
|
|
6773
|
+
width: 42%;
|
|
6774
|
+
}
|
|
6775
|
+
.nb-dashboard-donut__center-label {
|
|
6776
|
+
color: var(--text-tertiary);
|
|
6777
|
+
font-size: var(--font-size-xs);
|
|
6778
|
+
text-transform: uppercase;
|
|
6779
|
+
}
|
|
6780
|
+
.nb-dashboard-donut__center-value {
|
|
6781
|
+
color: var(--text-primary);
|
|
6782
|
+
font-family: var(--font-family-mono);
|
|
6783
|
+
font-size: var(--font-size-sm);
|
|
6784
|
+
font-weight: var(--font-weight-bold);
|
|
6785
|
+
line-height: 1.2;
|
|
6786
|
+
}
|
|
6787
|
+
.nb-dashboard-donut__legend {
|
|
6788
|
+
display: flex;
|
|
6789
|
+
flex-direction: column;
|
|
6790
|
+
gap: var(--space-2);
|
|
6791
|
+
list-style: none;
|
|
6792
|
+
margin: 0;
|
|
6793
|
+
padding: var(--space-2) 0 0;
|
|
6794
|
+
}
|
|
6795
|
+
.nb-dashboard-donut__legend-item {
|
|
6796
|
+
align-items: center;
|
|
6797
|
+
display: grid;
|
|
6798
|
+
gap: var(--space-2);
|
|
6799
|
+
grid-template-columns: 12px 1fr auto;
|
|
6800
|
+
}
|
|
6801
|
+
.nb-dashboard-donut__legend-swatch {
|
|
6802
|
+
border-radius: var(--radius-sm);
|
|
6803
|
+
height: 12px;
|
|
6804
|
+
width: 12px;
|
|
6805
|
+
}
|
|
6806
|
+
.nb-dashboard-donut__legend-label {
|
|
6807
|
+
color: var(--text-secondary);
|
|
6808
|
+
font-size: var(--font-size-sm);
|
|
6809
|
+
overflow: hidden;
|
|
6810
|
+
text-overflow: ellipsis;
|
|
6811
|
+
white-space: nowrap;
|
|
6812
|
+
}
|
|
6813
|
+
.nb-dashboard-donut__legend-value {
|
|
6814
|
+
color: var(--text-primary);
|
|
6815
|
+
font-family: var(--font-family-mono);
|
|
6816
|
+
font-size: var(--font-size-xs);
|
|
6817
|
+
font-weight: var(--font-weight-medium);
|
|
6818
|
+
}
|
|
6819
|
+
|
|
6820
|
+
.nb-dashboard-table-card .nb-stat-card__header > div:first-child {
|
|
6821
|
+
align-items: center;
|
|
6822
|
+
display: flex;
|
|
6823
|
+
flex-wrap: wrap;
|
|
6824
|
+
gap: var(--space-2);
|
|
6825
|
+
width: 100%;
|
|
6826
|
+
}
|
|
6827
|
+
|
|
6828
|
+
.nb-dashboard-table__header-extra {
|
|
6829
|
+
align-items: center;
|
|
6830
|
+
display: flex;
|
|
6831
|
+
flex: 1;
|
|
6832
|
+
gap: var(--space-3);
|
|
6833
|
+
justify-content: space-between;
|
|
6834
|
+
min-width: 0;
|
|
6835
|
+
}
|
|
6836
|
+
|
|
6837
|
+
.nb-dashboard-table__view-all {
|
|
6838
|
+
color: var(--accent-color);
|
|
6839
|
+
font-size: var(--font-size-sm);
|
|
6840
|
+
font-weight: var(--font-weight-medium);
|
|
6841
|
+
margin-left: auto;
|
|
6842
|
+
text-decoration: none;
|
|
6843
|
+
white-space: nowrap;
|
|
6844
|
+
}
|
|
6845
|
+
.nb-dashboard-table__view-all:hover {
|
|
6846
|
+
text-decoration: underline;
|
|
6847
|
+
}
|
|
6848
|
+
|
|
6849
|
+
.nb-dashboard-table-wrap {
|
|
6850
|
+
overflow-x: auto;
|
|
6851
|
+
}
|
|
6852
|
+
|
|
6853
|
+
.nb-dashboard-table {
|
|
6854
|
+
border-collapse: collapse;
|
|
6855
|
+
font-size: var(--font-size-sm);
|
|
6856
|
+
width: 100%;
|
|
6857
|
+
}
|
|
6858
|
+
.nb-dashboard-table th {
|
|
6859
|
+
border-bottom: 1px solid var(--border-color);
|
|
6860
|
+
color: var(--text-tertiary);
|
|
6861
|
+
font-size: var(--font-size-xs);
|
|
6862
|
+
font-weight: var(--font-weight-medium);
|
|
6863
|
+
letter-spacing: 0.04em;
|
|
6864
|
+
padding: var(--space-2) var(--space-3);
|
|
6865
|
+
text-align: left;
|
|
6866
|
+
text-transform: uppercase;
|
|
6867
|
+
}
|
|
6868
|
+
.nb-dashboard-table td {
|
|
6869
|
+
border-bottom: 1px solid color-mix(in srgb, var(--border-color) 65%, transparent);
|
|
6870
|
+
color: var(--text-primary);
|
|
6871
|
+
padding: var(--space-3);
|
|
6872
|
+
vertical-align: middle;
|
|
6873
|
+
}
|
|
6874
|
+
.nb-dashboard-table tbody tr:last-child td {
|
|
6875
|
+
border-bottom: none;
|
|
6876
|
+
}
|
|
6877
|
+
.nb-dashboard-table__cell--right {
|
|
6878
|
+
text-align: right;
|
|
6879
|
+
}
|
|
6880
|
+
.nb-dashboard-table__cell--center {
|
|
6881
|
+
text-align: center;
|
|
6882
|
+
}
|