@maxax/ui 1.1.53 → 1.1.55

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.
Files changed (87) hide show
  1. package/dist/theme-chalk/base/col.scss +55 -0
  2. package/dist/theme-chalk/base/config.scss +5 -0
  3. package/dist/theme-chalk/base/function.scss +53 -0
  4. package/dist/theme-chalk/base/transition.scss +29 -0
  5. package/dist/theme-chalk/base/utils.scss +179 -0
  6. package/dist/theme-chalk/base/var-dark.scss +33 -0
  7. package/dist/theme-chalk/base/var-light.scss +33 -0
  8. package/dist/theme-chalk/base/var.scss +139 -0
  9. package/dist/theme-chalk/color/index.scss +16 -0
  10. package/dist/theme-chalk/components/appCommon.scss +52 -0
  11. package/dist/theme-chalk/components/basicActionFooter.scss +24 -0
  12. package/dist/theme-chalk/components/basicArrow.scss +11 -0
  13. package/dist/theme-chalk/components/basicButton.scss +8 -0
  14. package/dist/theme-chalk/components/basicButtonExportMax.scss +27 -0
  15. package/dist/theme-chalk/components/basicButtonGroup.scss +19 -0
  16. package/dist/theme-chalk/components/basicButtonImportMax.scss +118 -0
  17. package/dist/theme-chalk/components/basicCard.scss +8 -0
  18. package/dist/theme-chalk/components/basicCascader.scss +8 -0
  19. package/dist/theme-chalk/components/basicCheckbox.scss +197 -0
  20. package/dist/theme-chalk/components/basicCheckboxGroup.scss +22 -0
  21. package/dist/theme-chalk/components/basicCol.scss +18 -0
  22. package/dist/theme-chalk/components/basicCountTo.scss +8 -0
  23. package/dist/theme-chalk/components/basicDatePicker.scss +8 -0
  24. package/dist/theme-chalk/components/basicDragVerify.scss +75 -0
  25. package/dist/theme-chalk/components/basicDrawer.scss +12 -0
  26. package/dist/theme-chalk/components/basicDrawerFooter.scss +13 -0
  27. package/dist/theme-chalk/components/basicEditBatch.scss +62 -0
  28. package/dist/theme-chalk/components/basicFontIcon.scss +8 -0
  29. package/dist/theme-chalk/components/basicForm.scss +61 -0
  30. package/dist/theme-chalk/components/basicGradientTitle.scss +49 -0
  31. package/dist/theme-chalk/components/basicHelp.scss +16 -0
  32. package/dist/theme-chalk/components/basicHidden.scss +8 -0
  33. package/dist/theme-chalk/components/basicIconOnline.scss +8 -0
  34. package/dist/theme-chalk/components/basicIconPicker.scss +60 -0
  35. package/dist/theme-chalk/components/basicJsonViewer.scss +255 -0
  36. package/dist/theme-chalk/components/basicListPage.scss +42 -0
  37. package/dist/theme-chalk/components/basicLoading.scss +106 -0
  38. package/dist/theme-chalk/components/basicMasterTrigger.scss +13 -0
  39. package/dist/theme-chalk/components/basicMessage.scss +8 -0
  40. package/dist/theme-chalk/components/basicMessageBox.scss +183 -0
  41. package/dist/theme-chalk/components/basicModal.scss +16 -0
  42. package/dist/theme-chalk/components/basicMonaco.scss +8 -0
  43. package/dist/theme-chalk/components/basicNotification.scss +103 -0
  44. package/dist/theme-chalk/components/basicOverlay.scss +21 -0
  45. package/dist/theme-chalk/components/basicPage.scss +60 -0
  46. package/dist/theme-chalk/components/basicPanel.scss +36 -0
  47. package/dist/theme-chalk/components/basicPanelPage.scss +11 -0
  48. package/dist/theme-chalk/components/basicRadio.scss +66 -0
  49. package/dist/theme-chalk/components/basicRadioGroup.scss +14 -0
  50. package/dist/theme-chalk/components/basicRegion.scss +112 -0
  51. package/dist/theme-chalk/components/basicRegionSelect.scss +74 -0
  52. package/dist/theme-chalk/components/basicRow.scss +33 -0
  53. package/dist/theme-chalk/components/basicScrollText.scss +32 -0
  54. package/dist/theme-chalk/components/basicSelect.scss +8 -0
  55. package/dist/theme-chalk/components/basicSubPanel.scss +48 -0
  56. package/dist/theme-chalk/components/basicSvgIcon.scss +18 -0
  57. package/dist/theme-chalk/components/basicTable.scss +101 -0
  58. package/dist/theme-chalk/components/basicTag.scss +24 -0
  59. package/dist/theme-chalk/components/basicText.scss +45 -0
  60. package/dist/theme-chalk/components/basicTitle.scss +42 -0
  61. package/dist/theme-chalk/components/basicTree.scss +16 -0
  62. package/dist/theme-chalk/components/basicTriggerButton.scss +8 -0
  63. package/dist/theme-chalk/components/basicUpload.scss +65 -0
  64. package/dist/theme-chalk/components/basicUploadCore.scss +8 -0
  65. package/dist/theme-chalk/components/basicUploadDragger.scss +38 -0
  66. package/dist/theme-chalk/components/basicUploadList.scss +19 -0
  67. package/dist/theme-chalk/components/basicUploadListItem.scss +240 -0
  68. package/dist/theme-chalk/components/basicViewBar.scss +88 -0
  69. package/dist/theme-chalk/components/common.scss +63 -0
  70. package/dist/theme-chalk/components/components.scss +56 -0
  71. package/dist/theme-chalk/components/tree.scss +115 -0
  72. package/dist/theme-chalk/components/treeDrop.scss +138 -0
  73. package/dist/theme-chalk/components/treeNode.scss +209 -0
  74. package/dist/theme-chalk/components/treeSearch.scss +128 -0
  75. package/dist/theme-chalk/index.scss +2 -0
  76. package/dist/theme-chalk/theme/dark.scss +14 -0
  77. package/dist/theme-chalk/theme/light.scss +26 -0
  78. package/dist/theme-chalk/vxe-table/table/base.scss +87 -0
  79. package/dist/theme-chalk/vxe-table/table/dark.scss +48 -0
  80. package/dist/theme-chalk/vxe-table/table/index.scss +3 -0
  81. package/dist/theme-chalk/vxe-table/table/light.scss +42 -0
  82. package/dist/theme-chalk/vxe-table/ui/base.scss +200 -0
  83. package/dist/theme-chalk/vxe-table/ui/dark.scss +117 -0
  84. package/dist/theme-chalk/vxe-table/ui/index.scss +3 -0
  85. package/dist/theme-chalk/vxe-table/ui/light.scss +114 -0
  86. package/dist/theme-chalk/vxe-table/vxe-table.scss +7 -0
  87. package/package.json +5 -4
@@ -0,0 +1,103 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-notification') {
7
+ @include set-component-css-var('notification', $notification);
8
+
9
+ display: flex;
10
+ width: getCssVar('notification-width');
11
+ padding: getCssVar('notification-padding');
12
+ border-radius: getCssVar('notification-radius');
13
+ box-sizing: border-box;
14
+ position: fixed;
15
+ background-color: getCssVar('fill-color', 'base');
16
+ box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05);
17
+ transition:
18
+ opacity 0.3s,
19
+ transform 0.3s,
20
+ left 0.3s,
21
+ right 0.3s,
22
+ top 0.4s,
23
+ bottom 0.3s;
24
+ overflow-wrap: break-word;
25
+ overflow: hidden;
26
+ z-index: 9999;
27
+
28
+ &.right {
29
+ right: 16px;
30
+ }
31
+
32
+ &.left {
33
+ left: 16px;
34
+ }
35
+
36
+ @include e(group) {
37
+ flex: 1;
38
+ min-width: 0;
39
+ margin-left: getCssVar('notification-group-margin-left');
40
+ margin-right: getCssVar('notification-group-margin-right');
41
+ }
42
+
43
+ @include e(title) {
44
+ font-weight: bold;
45
+ font-size: 16px;
46
+ line-height: 24px;
47
+ color: getCssVar('text-color', 'base');
48
+ margin: 0;
49
+ }
50
+
51
+ @include e(content) {
52
+ font-size: 14px;
53
+ line-height: 24px;
54
+ margin: 12px 0 0;
55
+ color: getCssVar('text-color', 'base');
56
+
57
+ p {
58
+ margin: 0;
59
+ }
60
+ }
61
+
62
+ & .#{$namespace}-basic-notification__icon {
63
+ flex-shrink: 0;
64
+ height: 24px;
65
+ width: 24px;
66
+ font-size: 24px;
67
+ }
68
+
69
+ & .#{$namespace}-basic-notification__closeBtn {
70
+ position: absolute;
71
+ top: 18px;
72
+ right: 15px;
73
+ cursor: pointer;
74
+ color: getCssVar('text-color', 'base');
75
+ font-size: 16px;
76
+
77
+ &:hover {
78
+ color: getCssVar('notification-close-hover-color');
79
+ }
80
+ }
81
+
82
+ @each $type in (success, info, warning, error) {
83
+ & .#{$namespace}-basic-notification--#{$type} {
84
+ color: rgb(var(--#{$type}-color));
85
+ }
86
+ }
87
+ }
88
+
89
+ .imax-notification-fade-enter-from {
90
+ &.right {
91
+ right: 0;
92
+ transform: translateX(100%);
93
+ }
94
+
95
+ &.left {
96
+ left: 0;
97
+ transform: translateX(-100%);
98
+ }
99
+ }
100
+
101
+ .imax-notification-fade-leave-to {
102
+ opacity: 0;
103
+ }
@@ -0,0 +1,21 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-overlay') {
7
+ --basic-overlay-name: 'basic-overlay';
8
+
9
+ position: fixed;
10
+ top: 0;
11
+ right: 0;
12
+ bottom: 0;
13
+ left: 0;
14
+ z-index: 2000;
15
+ height: 100%;
16
+ background-color: rgba(0, 0, 0, 0.3);
17
+ overflow: auto;
18
+ #{& + '-root'} {
19
+ height: 0;
20
+ }
21
+ }
@@ -0,0 +1,60 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-page') {
7
+ --basic-page-name: 'basic-page';
8
+
9
+ position: relative;
10
+
11
+ @include e('header') {
12
+ position: relative;
13
+ padding-left: 1.5rem; /* 24px */
14
+ padding-right: 1.5rem; /* 24px */
15
+ padding-top: 1rem; /* 16px */
16
+ padding-bottom: 1rem; /* 16px */
17
+ }
18
+
19
+ @include e('header-title') {
20
+ margin-bottom: 0.5rem; /* 8px */
21
+ font-size: 1.125rem; /* 18px */
22
+ line-height: 1.75rem; /* 28px */
23
+ font-weight: 600;
24
+ display: flex;
25
+ }
26
+
27
+ @include e('header-description') {
28
+ font-size: 0.875rem; /* 14px */
29
+ line-height: 1.25rem; /* 20px */
30
+ }
31
+
32
+ @include e('header-extra') {
33
+ position: absolute;
34
+ bottom: 1rem; /* 16px */
35
+ right: 1.5rem; /* 24px */
36
+ }
37
+
38
+ @include e('content') {
39
+ position: relative;
40
+ height: 100%;
41
+ }
42
+
43
+ @include e('content-scrollbar') {
44
+ height: 100%;
45
+ }
46
+
47
+ @include e('footer') {
48
+ position: absolute;
49
+ bottom: 0;
50
+ left: 0;
51
+ right: 0;
52
+ display: flex;
53
+ padding-left: 1.5rem; /* 24px */
54
+ padding-right: 1.5rem; /* 24px */
55
+ padding-top: 1rem; /* 16px */
56
+ padding-bottom: 1rem; /* 16px */
57
+ border-top: 1px solid getCssVar('border-color', 'base');
58
+ background-color: getCssVar('fill-color', 'base');
59
+ }
60
+ }
@@ -0,0 +1,36 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-panel') {
7
+ --panel-name: 'basic-panel';
8
+ --panel-header-height: 48px;
9
+ --panel-header-padding: 0 10px;
10
+
11
+ width: 100%;
12
+
13
+ background-color: rgb(var(--container-bg-color) / var(--un-bg-opacity));
14
+
15
+ &.is-full {
16
+ height: 100%;
17
+ }
18
+
19
+ @include e('header') {
20
+ height: var(--panel-header-height);
21
+ width: 100%;
22
+ display: flex;
23
+ align-items: center;
24
+ justify-content: space-between;
25
+ padding: var(--panel-header-padding);
26
+ font-size: getCssVar('font-size', 'small');
27
+ font-weight: 500;
28
+ }
29
+
30
+ @include e('body') {
31
+ height: calc(100% - var(--panel-header-height));
32
+ width: 100%;
33
+ padding: 0 12px 12px 12px;
34
+ overflow: hidden;
35
+ }
36
+ }
@@ -0,0 +1,11 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-panel-page') {
7
+ --basic-panel-page-name: 'basic-panel-page';
8
+
9
+ width: 100%;
10
+ height: 100%;
11
+ }
@@ -0,0 +1,66 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-radio') {
7
+ --basic-radio-name: 'basic-radio';
8
+
9
+ padding: 2px 5px 2px 5px;
10
+ line-height: 28px;
11
+ text-align: center;
12
+ float: left;
13
+ margin: 2px;
14
+ border-radius: 2px;
15
+ cursor: pointer;
16
+ text-align: center;
17
+ border: 1px solid getCssVar('border-color', 'base');
18
+
19
+ @include e('target') {
20
+ display: none;
21
+ }
22
+
23
+ @include is('checked') {
24
+ border-color: rgb(var(--primary-color, 100, 108, 255));
25
+ color: rgb(var(--primary-color, 100, 108, 255));
26
+ }
27
+
28
+ @include is('disabled') {
29
+ cursor: not-allowed;
30
+ border-color: getCssVar('disabled', 'border');
31
+ color: getCssVar('disabled', 'text');
32
+ }
33
+
34
+ @include is('checked', 'disabled') {
35
+ background-color: getCssVar('disabled', 'bg');
36
+ opacity: 0.6;
37
+ }
38
+
39
+ @include m('tiny') {
40
+ padding: 0px 5px 0px 5px;
41
+ min-width: auto;
42
+ line-height: 20px;
43
+ font-size: getCssVar(font-size, 'tiny');
44
+ }
45
+
46
+ @include m('small') {
47
+ padding: 2px 5px 2px 5px;
48
+ min-width: 81px;
49
+ line-height: 24px;
50
+ font-size: getCssVar(font-size, 'small');
51
+ }
52
+
53
+ @include m('medium') {
54
+ padding: 2px 5px 2px 5px;
55
+ min-width: 81px;
56
+ line-height: 28px;
57
+ font-size: getCssVar(font-size, 'medium');
58
+ }
59
+
60
+ @include m('large') {
61
+ padding: 2px 5px 2px 5px;
62
+ min-width: 81px;
63
+ line-height: 32px;
64
+ font-size: getCssVar(font-size, 'large');
65
+ }
66
+ }
@@ -0,0 +1,14 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-radio-group') {
7
+ --basic-radio-group-name: 'basic-radio-group';
8
+
9
+ @each $type in $types {
10
+ @include m('#{$type}') {
11
+ color: rgb(var(--#{$type}-color));
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,112 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-region') {
7
+ --basic-region-name: 'basic-region';
8
+
9
+ color: #2b2b2b;
10
+ overflow: hidden;
11
+
12
+ .rg-header {
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: space-between;
16
+ padding: 8px;
17
+ border-bottom: 1px solid #ededed;
18
+
19
+ &-text {
20
+ font-size: 14px;
21
+ color: #4b4b4b;
22
+ overflow: hidden;
23
+ text-overflow: ellipsis;
24
+ white-space: nowrap;
25
+ }
26
+
27
+ &-control {
28
+ display: inline-flex;
29
+ align-items: center;
30
+ justify-content: center;
31
+ width: 32px;
32
+ height: 32px;
33
+ border: none;
34
+ background-color: transparent;
35
+ color: #b0b0b0;
36
+ cursor: pointer;
37
+ transition: background-color 0.2s ease, color 0.2s ease;
38
+
39
+ &:disabled {
40
+ cursor: not-allowed;
41
+ color: #d2d2d2;
42
+ }
43
+
44
+ &:not(:disabled):hover {
45
+ background-color: #efefef;
46
+ color: #6e6e6e;
47
+ }
48
+ }
49
+ }
50
+
51
+ .rg-tabs {
52
+ display: flex;
53
+ gap: 12px;
54
+ padding: 8px 8px 0;
55
+
56
+ .rg-tab {
57
+ font-size: 14px;
58
+ color: #c7c7c7;
59
+ font-weight: 600;
60
+ cursor: pointer;
61
+ user-select: none;
62
+ transition: color 0.2s ease;
63
+
64
+ &.is-active {
65
+ color: #1f1f1f;
66
+ }
67
+
68
+ &.is-disabled {
69
+ color: #e2e2e2;
70
+ cursor: not-allowed;
71
+ }
72
+ }
73
+ }
74
+
75
+ .rg-panel {
76
+ padding: 8px 0px 12px;
77
+ }
78
+
79
+ .rg-list {
80
+ display: flex;
81
+ flex-wrap: wrap;
82
+ gap: 4px;
83
+ }
84
+
85
+ .rg-item {
86
+ padding: 3px 10px;
87
+ font-size: 14px;
88
+ text-align: center;
89
+ cursor: pointer;
90
+ color: #5b5b5b;
91
+ transition: background-color 0.2s ease, color 0.2s ease;
92
+
93
+ &:hover {
94
+ background-color: #efefef;
95
+ color: #2b2b2b;
96
+ }
97
+
98
+ &.is-active {
99
+ background-color: #e6e6e6;
100
+ color: #1c1c1c;
101
+ font-weight: 700;
102
+ }
103
+ }
104
+
105
+ .rg-empty {
106
+ grid-column: 1 / -1;
107
+ padding: 24px 12px;
108
+ text-align: center;
109
+ color: #a0a0a0;
110
+ font-size: 14px;
111
+ }
112
+ }
@@ -0,0 +1,74 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-region-select') {
7
+ --basic-region-select-name: 'basic-region-select';
8
+
9
+ .#{$namespace}-basic-region-select__trigger {
10
+ display: inline-flex;
11
+ align-items: center;
12
+ gap: 8px;
13
+ min-width: 200px;
14
+ padding: 0 12px;
15
+ height: 32px;
16
+ border: 1px solid #d9d9d9;
17
+ border-radius: 4px;
18
+ background-color: #fff;
19
+ cursor: pointer;
20
+ transition: border-color 0.2s ease, box-shadow 0.2s ease;
21
+
22
+ &:hover {
23
+ border-color: #40a9ff;
24
+ }
25
+
26
+ &:focus,
27
+ &:focus-within {
28
+ border-color: #1890ff;
29
+ box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
30
+ }
31
+ }
32
+
33
+ .#{$namespace}-basic-region-select__text {
34
+ flex: 1;
35
+ overflow: hidden;
36
+ text-overflow: ellipsis;
37
+ white-space: nowrap;
38
+ font-size: 14px;
39
+ color: #2b2b2b;
40
+
41
+ &.#{$namespace}-is-placeholder {
42
+ color: #bfbfbf;
43
+ }
44
+ }
45
+
46
+ .#{$namespace}-basic-region-select__clear {
47
+ display: inline-flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ width: 16px;
51
+ height: 16px;
52
+ color: #bfbfbf;
53
+ cursor: pointer;
54
+ transition: color 0.2s ease;
55
+
56
+ &:hover {
57
+ color: #595959;
58
+ }
59
+ }
60
+
61
+ .#{$namespace}-basic-region-select__arrow {
62
+ display: inline-flex;
63
+ align-items: center;
64
+ justify-content: center;
65
+ width: 16px;
66
+ height: 16px;
67
+ color: #8c8c8c;
68
+ transition: transform 0.2s ease, color 0.2s ease;
69
+
70
+ &.#{$namespace}-is-open {
71
+ transform: rotate(180deg);
72
+ }
73
+ }
74
+ }
@@ -0,0 +1,33 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-row') {
7
+ --row-name: 'basic-row';
8
+
9
+ display: flex;
10
+ flex-flow: row wrap;
11
+ min-width: 0;
12
+
13
+ &::before,
14
+ &::after {
15
+ display: flex;
16
+ }
17
+
18
+ @include is('no-wrap') {
19
+ flex-wrap: nowrap;
20
+ }
21
+
22
+ @each $key, $value in $row-aligns {
23
+ @include m($key) {
24
+ align-items: $value;
25
+ }
26
+ }
27
+
28
+ @each $key, $value in $row-justify {
29
+ @include m($key) {
30
+ justify-content: $value;
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,32 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-scroll-text') {
7
+ --basic-scroll-text-name: 'basic-scroll-text';
8
+
9
+ overflow: hidden;
10
+ white-space: nowrap;
11
+
12
+ @include e('inner') {
13
+ display: inline-block;
14
+ }
15
+
16
+ @include e('scrolling') {
17
+ animation: scroll 10s linear infinite;
18
+
19
+ @include e('section') {
20
+ padding: 0 5px;
21
+ }
22
+ }
23
+
24
+ @keyframes scroll {
25
+ 0% {
26
+ transform: translate3d(0%, 0, 0);
27
+ }
28
+ 100% {
29
+ transform: translate3d(-50%, 0, 0);
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,8 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-api-select') {
7
+ --basic-api-select-name: 'basic-api-select';
8
+ }
@@ -0,0 +1,48 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-sub-panel') {
7
+ --sub-panel-name: 'basic-sub-panel';
8
+ --sub-panel-header-height: 32px;
9
+ --sub-panel-header-padding: 0 10px;
10
+
11
+ @include e('header') {
12
+ height: var(--panel-header-height);
13
+ width: 100%;
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: space-between;
17
+ padding: var(--panel-header-padding);
18
+ font-size: getCssVar('font-size', 'small');
19
+ font-weight: 500;
20
+ }
21
+
22
+ @include e('title') {
23
+ flex: 1;
24
+ display: flex;
25
+ align-items: center;
26
+
27
+ &:before {
28
+ content: '';
29
+ width: 4px;
30
+ height: 14px;
31
+ display: inline-block;
32
+ border-radius: 2px;
33
+ margin-right: 8px;
34
+ background-color: rgb(var(--primary-color, 100, 108, 255));
35
+ }
36
+ }
37
+
38
+ @include e('action') {
39
+ flex: 0 0 auto;
40
+ }
41
+
42
+ @include e('body') {
43
+ height: calc(100% - var(--panel-header-height));
44
+ width: 100%;
45
+ padding: 0 12px 12px 12px;
46
+ overflow: hidden;
47
+ }
48
+ }
@@ -0,0 +1,18 @@
1
+ @use '../base/config' as *;
2
+ @use '../base/var' as *;
3
+ @use '../base/utils' as *;
4
+ @use '../base/function' as *;
5
+
6
+ @include b('basic-svg-icon') {
7
+ --color: inherit;
8
+ height: 1em;
9
+ width: 1em;
10
+ line-height: 1em;
11
+ display: inline-flex;
12
+ justify-content: center;
13
+ align-items: center;
14
+ position: relative;
15
+ fill: currentColor;
16
+ color: var(--color);
17
+ font-size: inherit;
18
+ }