adtec-core-package 0.2.2 → 0.2.4

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 (156) hide show
  1. package/.editorconfig +6 -6
  2. package/.prettierrc.json +7 -7
  3. package/.vscode/extensions.json +8 -8
  4. package/README.md +39 -39
  5. package/env.d.ts +1 -1
  6. package/eslint.config.js +56 -56
  7. package/index.html +13 -13
  8. package/package.json +56 -56
  9. package/src/App.vue +9 -9
  10. package/src/assets/base.css +86 -86
  11. package/src/assets/logo.svg +1 -1
  12. package/src/assets/main.css +35 -35
  13. package/src/assets/style/transition.scss +49 -49
  14. package/src/components/OperationAuth/operationAuth.vue +26 -26
  15. package/src/components/Search/ElIconSearch.vue +239 -239
  16. package/src/components/Search/ElSearch.vue +132 -132
  17. package/src/components/icon/ElIconBtn.vue +182 -182
  18. package/src/components/icon/ElIcons.vue +38 -38
  19. package/src/components/upload/ElUploads.vue +279 -279
  20. package/src/css/elementUI/affix.scss +7 -7
  21. package/src/css/elementUI/alert.scss +115 -115
  22. package/src/css/elementUI/anchor-link.scss +41 -41
  23. package/src/css/elementUI/anchor.scss +88 -88
  24. package/src/css/elementUI/aside.scss +8 -8
  25. package/src/css/elementUI/avatar.scss +55 -55
  26. package/src/css/elementUI/backtop.scss +29 -29
  27. package/src/css/elementUI/badge.scss +58 -58
  28. package/src/css/elementUI/base.scss +3 -3
  29. package/src/css/elementUI/breadcrumb.scss +62 -62
  30. package/src/css/elementUI/button-group.scss +80 -80
  31. package/src/css/elementUI/button.scss +304 -304
  32. package/src/css/elementUI/calendar.scss +80 -80
  33. package/src/css/elementUI/card.scss +45 -45
  34. package/src/css/elementUI/carousel-item.scss +58 -58
  35. package/src/css/elementUI/carousel.scss +188 -188
  36. package/src/css/elementUI/cascader-panel.scss +138 -138
  37. package/src/css/elementUI/cascader.scss +230 -230
  38. package/src/css/elementUI/check-tag.scss +60 -60
  39. package/src/css/elementUI/checkbox-button.scss +140 -140
  40. package/src/css/elementUI/checkbox-group.scss +7 -7
  41. package/src/css/elementUI/checkbox.scss +298 -298
  42. package/src/css/elementUI/col.scss +48 -48
  43. package/src/css/elementUI/collapse.scss +70 -70
  44. package/src/css/elementUI/color/index.scss +20 -20
  45. package/src/css/elementUI/color-picker.scss +392 -392
  46. package/src/css/elementUI/common/popup.scss +47 -47
  47. package/src/css/elementUI/common/transition.scss +122 -122
  48. package/src/css/elementUI/container.scss +14 -14
  49. package/src/css/elementUI/dark/css-vars.scss +39 -39
  50. package/src/css/elementUI/dark/var.scss +222 -222
  51. package/src/css/elementUI/date-picker/date-picker.scss +110 -110
  52. package/src/css/elementUI/date-picker/date-range-picker.scss +113 -113
  53. package/src/css/elementUI/date-picker/date-table.scss +158 -158
  54. package/src/css/elementUI/date-picker/month-table.scss +112 -112
  55. package/src/css/elementUI/date-picker/picker-panel.scss +131 -131
  56. package/src/css/elementUI/date-picker/time-picker.scss +90 -90
  57. package/src/css/elementUI/date-picker/time-range-picker.scss +33 -33
  58. package/src/css/elementUI/date-picker/time-spinner.scss +111 -111
  59. package/src/css/elementUI/date-picker/year-table.scss +108 -108
  60. package/src/css/elementUI/date-picker.scss +9 -9
  61. package/src/css/elementUI/descriptions-item.scss +73 -73
  62. package/src/css/elementUI/descriptions.scss +152 -152
  63. package/src/css/elementUI/dialog.scss +199 -199
  64. package/src/css/elementUI/display.scss +12 -12
  65. package/src/css/elementUI/divider.scss +48 -48
  66. package/src/css/elementUI/dropdown.scss +208 -208
  67. package/src/css/elementUI/empty.scss +49 -49
  68. package/src/css/elementUI/footer.scss +12 -12
  69. package/src/css/elementUI/form.scss +243 -243
  70. package/src/css/elementUI/header.scss +12 -12
  71. package/src/css/elementUI/icon.scss +45 -45
  72. package/src/css/elementUI/image-viewer.scss +139 -139
  73. package/src/css/elementUI/image.scss +49 -49
  74. package/src/css/elementUI/index.scss +110 -110
  75. package/src/css/elementUI/input-number.scss +178 -178
  76. package/src/css/elementUI/input.scss +478 -478
  77. package/src/css/elementUI/link.scss +90 -90
  78. package/src/css/elementUI/loading.scss +104 -104
  79. package/src/css/elementUI/main.scss +14 -14
  80. package/src/css/elementUI/mention.scss +88 -88
  81. package/src/css/elementUI/menu.scss +339 -339
  82. package/src/css/elementUI/message-box.scss +213 -213
  83. package/src/css/elementUI/message.scss +98 -98
  84. package/src/css/elementUI/mixins/_button.scss +165 -165
  85. package/src/css/elementUI/mixins/_col.scss +33 -33
  86. package/src/css/elementUI/mixins/_var.scss +67 -67
  87. package/src/css/elementUI/mixins/config.scss +5 -5
  88. package/src/css/elementUI/mixins/function.scss +88 -88
  89. package/src/css/elementUI/mixins/mixins.scss +237 -237
  90. package/src/css/elementUI/mixins/utils.scss +39 -39
  91. package/src/css/elementUI/notification.scss +104 -104
  92. package/src/css/elementUI/option-group.scss +33 -33
  93. package/src/css/elementUI/option.scss +71 -71
  94. package/src/css/elementUI/overlay.scss +17 -17
  95. package/src/css/elementUI/page-header.scss +60 -60
  96. package/src/css/elementUI/pagination.scss +238 -238
  97. package/src/css/elementUI/popconfirm.scss +16 -16
  98. package/src/css/elementUI/popover.scss +61 -61
  99. package/src/css/elementUI/popper.scss +106 -106
  100. package/src/css/elementUI/progress.scss +179 -179
  101. package/src/css/elementUI/radio-button.scss +169 -169
  102. package/src/css/elementUI/radio-group.scss +9 -9
  103. package/src/css/elementUI/radio.scss +215 -215
  104. package/src/css/elementUI/rate.scss +108 -108
  105. package/src/css/elementUI/reset.scss +98 -98
  106. package/src/css/elementUI/result.scss +57 -57
  107. package/src/css/elementUI/row.scss +35 -35
  108. package/src/css/elementUI/scrollbar.scss +97 -97
  109. package/src/css/elementUI/segmented.scss +183 -183
  110. package/src/css/elementUI/select-dropdown-v2.scss +1 -1
  111. package/src/css/elementUI/select-dropdown.scss +57 -57
  112. package/src/css/elementUI/select-v2.scss +4 -4
  113. package/src/css/elementUI/select.scss +253 -253
  114. package/src/css/elementUI/skeleton-item.scss +83 -83
  115. package/src/css/elementUI/skeleton.scss +44 -44
  116. package/src/css/elementUI/slider.scss +212 -212
  117. package/src/css/elementUI/space.scss +20 -20
  118. package/src/css/elementUI/spinner.scss +43 -43
  119. package/src/css/elementUI/statistic.scss +35 -35
  120. package/src/css/elementUI/step.scss +316 -316
  121. package/src/css/elementUI/steps.scss +21 -21
  122. package/src/css/elementUI/switch.scss +300 -300
  123. package/src/css/elementUI/table-column.scss +98 -98
  124. package/src/css/elementUI/table-v2.scss +236 -236
  125. package/src/css/elementUI/tag.scss +181 -181
  126. package/src/css/elementUI/text.scss +51 -51
  127. package/src/css/elementUI/time-picker.scss +5 -5
  128. package/src/css/elementUI/time-select.scss +37 -37
  129. package/src/css/elementUI/timeline-item.scss +84 -84
  130. package/src/css/elementUI/timeline.scss +46 -46
  131. package/src/css/elementUI/tooltip-v2.scss +95 -95
  132. package/src/css/elementUI/tour.scss +187 -187
  133. package/src/css/elementUI/transfer.scss +203 -203
  134. package/src/css/elementUI/tree-select.scss +41 -41
  135. package/src/css/elementUI/tree.scss +134 -134
  136. package/src/css/elementUI/upload.scss +654 -654
  137. package/src/css/elementUI/var.scss +87 -87
  138. package/src/css/elementUI/virtual-list.scss +40 -40
  139. package/src/interface/enum/FlexEnum.ts +85 -85
  140. package/src/main.ts +14 -14
  141. package/src/mixin/globalMixin.ts +31 -33
  142. package/src/router/index.ts +23 -23
  143. package/src/utils/encrypt.ts +10 -10
  144. package/src/utils/request.ts +55 -55
  145. package/tsconfig.app.json +12 -12
  146. package/tsconfig.json +11 -11
  147. package/tsconfig.node.json +18 -18
  148. package/vite.config.ts +38 -38
  149. package/src/api/BasicApi.ts +0 -17
  150. package/src/api/SysUserApi.ts +0 -35
  151. package/src/components/business/userSelect.vue +0 -412
  152. package/src/hooks/useDictHooks.ts +0 -81
  153. package/src/interface/IMdmDept.ts +0 -82
  154. package/src/interface/IOrgDeptInfo.ts +0 -12
  155. package/src/interface/ISysUserInfo.ts +0 -70
  156. /package/src/components/autoToolTip/{ElAutoToolTip.vue → index.vue} +0 -0
@@ -1,112 +1,112 @@
1
- @use '../mixins/mixins' as *;
2
- @use '../common/var' as *;
3
-
4
- @include b(month-table) {
5
- font-size: 12px;
6
- margin: -1px;
7
- border-collapse: collapse;
8
-
9
- td {
10
- width: 68px;
11
- text-align: center;
12
- padding: 8px 0;
13
- cursor: pointer;
14
- position: relative;
15
-
16
- @include b(date-table-cell) {
17
- height: 48px;
18
- padding: 6px 0;
19
- box-sizing: border-box;
20
- }
21
-
22
- &.today {
23
- .#{$namespace}-date-table-cell__text {
24
- color: getCssVar('color-primary');
25
- font-weight: bold;
26
- }
27
-
28
- &.start-date .#{$namespace}-date-table-cell__text,
29
- &.end-date .#{$namespace}-date-table-cell__text {
30
- color: $color-white;
31
- }
32
- }
33
-
34
- &.disabled .#{$namespace}-date-table-cell__text {
35
- background-color: getCssVar('fill-color', 'light');
36
- cursor: not-allowed;
37
- color: getCssVar('text-color', 'placeholder');
38
-
39
- &:hover {
40
- color: getCssVar('text-color', 'placeholder');
41
- }
42
- }
43
-
44
- @include b(date-table-cell__text) {
45
- width: 54px;
46
- height: 36px;
47
- display: block;
48
- line-height: 36px;
49
- color: getCssVar('datepicker-text-color');
50
- margin: 0 auto;
51
- border-radius: 18px;
52
- position: absolute;
53
- left: 50%;
54
- transform: translateX(-50%);
55
-
56
- &:hover {
57
- color: getCssVar('datepicker-hover-text-color');
58
- }
59
- }
60
-
61
- &.in-range .#{$namespace}-date-table-cell {
62
- background-color: getCssVar('datepicker-inrange-bg-color');
63
-
64
- &:hover {
65
- background-color: getCssVar('datepicker-inrange-hover-bg-color');
66
- }
67
- }
68
-
69
- &.start-date .#{$namespace}-date-table-cell,
70
- &.end-date .#{$namespace}-date-table-cell {
71
- color: $color-white;
72
- }
73
-
74
- &.start-date .#{$namespace}-date-table-cell__text,
75
- &.end-date .#{$namespace}-date-table-cell__text {
76
- color: $color-white;
77
- background-color: getCssVar('datepicker-active-color');
78
- }
79
-
80
- &.start-date .#{$namespace}-date-table-cell {
81
- margin-left: 3px;
82
- border-top-left-radius: 24px;
83
- border-bottom-left-radius: 24px;
84
- }
85
-
86
- &.end-date .#{$namespace}-date-table-cell {
87
- margin-right: 3px;
88
- border-top-right-radius: 24px;
89
- border-bottom-right-radius: 24px;
90
- }
91
-
92
- &.current:not(.disabled) .#{$namespace}-date-table-cell {
93
- border-radius: 24px;
94
- margin-left: 3px;
95
- margin-right: 3px;
96
- }
97
-
98
- &.current:not(.disabled) .#{$namespace}-date-table-cell__text {
99
- color: $color-white;
100
- background-color: getCssVar('datepicker-active-color');
101
- }
102
-
103
- &:focus-visible {
104
- outline: none;
105
-
106
- .#{$namespace}-date-table-cell__text {
107
- outline: 2px solid getCssVar('datepicker-active-color');
108
- outline-offset: 1px;
109
- }
110
- }
111
- }
112
- }
1
+ @use '../mixins/mixins' as *;
2
+ @use '../common/var' as *;
3
+
4
+ @include b(month-table) {
5
+ font-size: 12px;
6
+ margin: -1px;
7
+ border-collapse: collapse;
8
+
9
+ td {
10
+ width: 68px;
11
+ text-align: center;
12
+ padding: 8px 0;
13
+ cursor: pointer;
14
+ position: relative;
15
+
16
+ @include b(date-table-cell) {
17
+ height: 48px;
18
+ padding: 6px 0;
19
+ box-sizing: border-box;
20
+ }
21
+
22
+ &.today {
23
+ .#{$namespace}-date-table-cell__text {
24
+ color: getCssVar('color-primary');
25
+ font-weight: bold;
26
+ }
27
+
28
+ &.start-date .#{$namespace}-date-table-cell__text,
29
+ &.end-date .#{$namespace}-date-table-cell__text {
30
+ color: $color-white;
31
+ }
32
+ }
33
+
34
+ &.disabled .#{$namespace}-date-table-cell__text {
35
+ background-color: getCssVar('fill-color', 'light');
36
+ cursor: not-allowed;
37
+ color: getCssVar('text-color', 'placeholder');
38
+
39
+ &:hover {
40
+ color: getCssVar('text-color', 'placeholder');
41
+ }
42
+ }
43
+
44
+ @include b(date-table-cell__text) {
45
+ width: 54px;
46
+ height: 36px;
47
+ display: block;
48
+ line-height: 36px;
49
+ color: getCssVar('datepicker-text-color');
50
+ margin: 0 auto;
51
+ border-radius: 18px;
52
+ position: absolute;
53
+ left: 50%;
54
+ transform: translateX(-50%);
55
+
56
+ &:hover {
57
+ color: getCssVar('datepicker-hover-text-color');
58
+ }
59
+ }
60
+
61
+ &.in-range .#{$namespace}-date-table-cell {
62
+ background-color: getCssVar('datepicker-inrange-bg-color');
63
+
64
+ &:hover {
65
+ background-color: getCssVar('datepicker-inrange-hover-bg-color');
66
+ }
67
+ }
68
+
69
+ &.start-date .#{$namespace}-date-table-cell,
70
+ &.end-date .#{$namespace}-date-table-cell {
71
+ color: $color-white;
72
+ }
73
+
74
+ &.start-date .#{$namespace}-date-table-cell__text,
75
+ &.end-date .#{$namespace}-date-table-cell__text {
76
+ color: $color-white;
77
+ background-color: getCssVar('datepicker-active-color');
78
+ }
79
+
80
+ &.start-date .#{$namespace}-date-table-cell {
81
+ margin-left: 3px;
82
+ border-top-left-radius: 24px;
83
+ border-bottom-left-radius: 24px;
84
+ }
85
+
86
+ &.end-date .#{$namespace}-date-table-cell {
87
+ margin-right: 3px;
88
+ border-top-right-radius: 24px;
89
+ border-bottom-right-radius: 24px;
90
+ }
91
+
92
+ &.current:not(.disabled) .#{$namespace}-date-table-cell {
93
+ border-radius: 24px;
94
+ margin-left: 3px;
95
+ margin-right: 3px;
96
+ }
97
+
98
+ &.current:not(.disabled) .#{$namespace}-date-table-cell__text {
99
+ color: $color-white;
100
+ background-color: getCssVar('datepicker-active-color');
101
+ }
102
+
103
+ &:focus-visible {
104
+ outline: none;
105
+
106
+ .#{$namespace}-date-table-cell__text {
107
+ outline: 2px solid getCssVar('datepicker-active-color');
108
+ outline-offset: 1px;
109
+ }
110
+ }
111
+ }
112
+ }
@@ -1,131 +1,131 @@
1
- @use '../mixins/mixins' as *;
2
- @use '../common/var' as *;
3
-
4
- @include b(picker-panel) {
5
- color: getCssVar('text-color', 'regular');
6
- background: getCssVar('bg-color', 'overlay');
7
- border-radius: getCssVar('border-radius-base');
8
- line-height: 30px;
9
-
10
- .#{$namespace}-time-panel {
11
- margin: 5px 0;
12
- border: solid 1px getCssVar('datepicker-border-color');
13
- background-color: getCssVar('bg-color', 'overlay');
14
- box-shadow: getCssVar('box-shadow-light');
15
- }
16
-
17
- @include e((body, body-wrapper)) {
18
- &::after {
19
- content: '';
20
- display: table;
21
- clear: both;
22
- }
23
- }
24
-
25
- @include e(content) {
26
- position: relative;
27
- margin: 15px;
28
- }
29
-
30
- @include e(footer) {
31
- border-top: 1px solid getCssVar('datepicker-inner-border-color');
32
- padding: 4px 12px;
33
- text-align: right;
34
- background-color: getCssVar('bg-color', 'overlay');
35
- position: relative;
36
- font-size: 0;
37
- }
38
-
39
- @include e(shortcut) {
40
- display: block;
41
- width: 100%;
42
- border: 0;
43
- background-color: transparent;
44
- line-height: 28px;
45
- font-size: 14px;
46
- color: getCssVar('datepicker-text-color');
47
- padding-left: 12px;
48
- text-align: left;
49
- outline: none;
50
- cursor: pointer;
51
-
52
- &:hover {
53
- color: getCssVar('datepicker-hover-text-color');
54
- }
55
-
56
- &.active {
57
- background-color: #e6f1fe;
58
- color: getCssVar('datepicker-active-color');
59
- }
60
- }
61
-
62
- @include e(btn) {
63
- border: 1px solid getCssVar('fill-color', 'darker');
64
- color: getCssVar('text-color', 'primary');
65
- line-height: 24px;
66
- border-radius: 2px;
67
- padding: 0 20px;
68
- cursor: pointer;
69
- background-color: transparent;
70
- outline: none;
71
- font-size: 12px;
72
-
73
- &[disabled] {
74
- color: getCssVar('text-color', 'disabled');
75
- cursor: not-allowed;
76
- }
77
- }
78
-
79
- @include e(icon-btn) {
80
- font-size: 12px;
81
- color: getCssVar('datepicker-icon-color');
82
- border: 0;
83
- background: transparent;
84
- cursor: pointer;
85
- outline: none;
86
- margin-top: 8px;
87
-
88
- &:hover {
89
- color: getCssVar('datepicker-hover-text-color');
90
- }
91
- &:focus-visible {
92
- color: getCssVar('datepicker-hover-text-color');
93
- }
94
-
95
- @include when(disabled) {
96
- color: getCssVar('text-color-disabled');
97
-
98
- &:hover {
99
- cursor: not-allowed;
100
- }
101
- }
102
- & .#{$namespace}-icon {
103
- cursor: pointer;
104
- font-size: inherit;
105
- }
106
- }
107
-
108
- @include e(link-btn) {
109
- vertical-align: middle;
110
- }
111
- }
112
-
113
- .#{$namespace}-picker-panel *[slot='sidebar'],
114
- .#{$namespace}-picker-panel__sidebar {
115
- position: absolute;
116
- top: 0;
117
- bottom: 0;
118
- width: 110px;
119
- border-right: 1px solid getCssVar('datepicker-inner-border-color');
120
- box-sizing: border-box;
121
- padding-top: 6px;
122
- background-color: getCssVar('bg-color', 'overlay');
123
- overflow: auto;
124
- }
125
-
126
- .#{$namespace}-picker-panel
127
- *[slot='sidebar']
128
- + .#{$namespace}-picker-panel__body,
129
- .#{$namespace}-picker-panel__sidebar + .#{$namespace}-picker-panel__body {
130
- margin-left: 110px;
131
- }
1
+ @use '../mixins/mixins' as *;
2
+ @use '../common/var' as *;
3
+
4
+ @include b(picker-panel) {
5
+ color: getCssVar('text-color', 'regular');
6
+ background: getCssVar('bg-color', 'overlay');
7
+ border-radius: getCssVar('border-radius-base');
8
+ line-height: 30px;
9
+
10
+ .#{$namespace}-time-panel {
11
+ margin: 5px 0;
12
+ border: solid 1px getCssVar('datepicker-border-color');
13
+ background-color: getCssVar('bg-color', 'overlay');
14
+ box-shadow: getCssVar('box-shadow-light');
15
+ }
16
+
17
+ @include e((body, body-wrapper)) {
18
+ &::after {
19
+ content: '';
20
+ display: table;
21
+ clear: both;
22
+ }
23
+ }
24
+
25
+ @include e(content) {
26
+ position: relative;
27
+ margin: 15px;
28
+ }
29
+
30
+ @include e(footer) {
31
+ border-top: 1px solid getCssVar('datepicker-inner-border-color');
32
+ padding: 4px 12px;
33
+ text-align: right;
34
+ background-color: getCssVar('bg-color', 'overlay');
35
+ position: relative;
36
+ font-size: 0;
37
+ }
38
+
39
+ @include e(shortcut) {
40
+ display: block;
41
+ width: 100%;
42
+ border: 0;
43
+ background-color: transparent;
44
+ line-height: 28px;
45
+ font-size: 14px;
46
+ color: getCssVar('datepicker-text-color');
47
+ padding-left: 12px;
48
+ text-align: left;
49
+ outline: none;
50
+ cursor: pointer;
51
+
52
+ &:hover {
53
+ color: getCssVar('datepicker-hover-text-color');
54
+ }
55
+
56
+ &.active {
57
+ background-color: #e6f1fe;
58
+ color: getCssVar('datepicker-active-color');
59
+ }
60
+ }
61
+
62
+ @include e(btn) {
63
+ border: 1px solid getCssVar('fill-color', 'darker');
64
+ color: getCssVar('text-color', 'primary');
65
+ line-height: 24px;
66
+ border-radius: 2px;
67
+ padding: 0 20px;
68
+ cursor: pointer;
69
+ background-color: transparent;
70
+ outline: none;
71
+ font-size: 12px;
72
+
73
+ &[disabled] {
74
+ color: getCssVar('text-color', 'disabled');
75
+ cursor: not-allowed;
76
+ }
77
+ }
78
+
79
+ @include e(icon-btn) {
80
+ font-size: 12px;
81
+ color: getCssVar('datepicker-icon-color');
82
+ border: 0;
83
+ background: transparent;
84
+ cursor: pointer;
85
+ outline: none;
86
+ margin-top: 8px;
87
+
88
+ &:hover {
89
+ color: getCssVar('datepicker-hover-text-color');
90
+ }
91
+ &:focus-visible {
92
+ color: getCssVar('datepicker-hover-text-color');
93
+ }
94
+
95
+ @include when(disabled) {
96
+ color: getCssVar('text-color-disabled');
97
+
98
+ &:hover {
99
+ cursor: not-allowed;
100
+ }
101
+ }
102
+ & .#{$namespace}-icon {
103
+ cursor: pointer;
104
+ font-size: inherit;
105
+ }
106
+ }
107
+
108
+ @include e(link-btn) {
109
+ vertical-align: middle;
110
+ }
111
+ }
112
+
113
+ .#{$namespace}-picker-panel *[slot='sidebar'],
114
+ .#{$namespace}-picker-panel__sidebar {
115
+ position: absolute;
116
+ top: 0;
117
+ bottom: 0;
118
+ width: 110px;
119
+ border-right: 1px solid getCssVar('datepicker-inner-border-color');
120
+ box-sizing: border-box;
121
+ padding-top: 6px;
122
+ background-color: getCssVar('bg-color', 'overlay');
123
+ overflow: auto;
124
+ }
125
+
126
+ .#{$namespace}-picker-panel
127
+ *[slot='sidebar']
128
+ + .#{$namespace}-picker-panel__body,
129
+ .#{$namespace}-picker-panel__sidebar + .#{$namespace}-picker-panel__body {
130
+ margin-left: 110px;
131
+ }
@@ -1,90 +1,90 @@
1
- @use '../mixins/mixins' as *;
2
- @use '../common/var' as *;
3
-
4
- @include b(time-panel) {
5
- border-radius: 2px;
6
- position: relative;
7
- width: 180px;
8
- left: 0;
9
- z-index: getCssVar('index-top');
10
- user-select: none;
11
- box-sizing: content-box;
12
-
13
- @include e(content) {
14
- font-size: 0;
15
- position: relative;
16
- overflow: hidden;
17
-
18
- &::after,
19
- &::before {
20
- content: '';
21
- top: 50%;
22
- position: absolute;
23
- margin-top: -16px;
24
- height: 32px;
25
- z-index: -1;
26
- left: 0;
27
- right: 0;
28
- box-sizing: border-box;
29
- padding-top: 6px;
30
- text-align: left;
31
- }
32
-
33
- &::after {
34
- left: 50%;
35
- margin-left: 12%;
36
- margin-right: 12%;
37
- }
38
-
39
- &::before {
40
- padding-left: 50%;
41
- margin-right: 12%;
42
- margin-left: 12%;
43
- border-top: 1px solid getCssVar('border-color-light');
44
- border-bottom: 1px solid getCssVar('border-color-light');
45
- }
46
-
47
- &.has-seconds {
48
- &::after {
49
- left: calc(100% / 3 * 2);
50
- }
51
-
52
- &::before {
53
- padding-left: calc(100% / 3);
54
- }
55
- }
56
- }
57
-
58
- @include e(footer) {
59
- border-top: 1px solid
60
- var(
61
- #{getCssVarName('timepicker-inner-border-color')},
62
- #{getCssVar('border-color-light')}
63
- );
64
- padding: 4px;
65
- height: 36px;
66
- line-height: 25px;
67
- text-align: right;
68
- box-sizing: border-box;
69
- }
70
-
71
- @include e(btn) {
72
- border: none;
73
- line-height: 28px;
74
- padding: 0 5px;
75
- margin: 0 5px;
76
- cursor: pointer;
77
- background-color: transparent;
78
- outline: none;
79
- font-size: 12px;
80
- color: getCssVar('text-color', 'primary');
81
-
82
- &.confirm {
83
- font-weight: 800;
84
- color: var(
85
- #{getCssVarName('timepicker-active-color')},
86
- #{getCssVar('color-primary')}
87
- );
88
- }
89
- }
90
- }
1
+ @use '../mixins/mixins' as *;
2
+ @use '../common/var' as *;
3
+
4
+ @include b(time-panel) {
5
+ border-radius: 2px;
6
+ position: relative;
7
+ width: 180px;
8
+ left: 0;
9
+ z-index: getCssVar('index-top');
10
+ user-select: none;
11
+ box-sizing: content-box;
12
+
13
+ @include e(content) {
14
+ font-size: 0;
15
+ position: relative;
16
+ overflow: hidden;
17
+
18
+ &::after,
19
+ &::before {
20
+ content: '';
21
+ top: 50%;
22
+ position: absolute;
23
+ margin-top: -16px;
24
+ height: 32px;
25
+ z-index: -1;
26
+ left: 0;
27
+ right: 0;
28
+ box-sizing: border-box;
29
+ padding-top: 6px;
30
+ text-align: left;
31
+ }
32
+
33
+ &::after {
34
+ left: 50%;
35
+ margin-left: 12%;
36
+ margin-right: 12%;
37
+ }
38
+
39
+ &::before {
40
+ padding-left: 50%;
41
+ margin-right: 12%;
42
+ margin-left: 12%;
43
+ border-top: 1px solid getCssVar('border-color-light');
44
+ border-bottom: 1px solid getCssVar('border-color-light');
45
+ }
46
+
47
+ &.has-seconds {
48
+ &::after {
49
+ left: calc(100% / 3 * 2);
50
+ }
51
+
52
+ &::before {
53
+ padding-left: calc(100% / 3);
54
+ }
55
+ }
56
+ }
57
+
58
+ @include e(footer) {
59
+ border-top: 1px solid
60
+ var(
61
+ #{getCssVarName('timepicker-inner-border-color')},
62
+ #{getCssVar('border-color-light')}
63
+ );
64
+ padding: 4px;
65
+ height: 36px;
66
+ line-height: 25px;
67
+ text-align: right;
68
+ box-sizing: border-box;
69
+ }
70
+
71
+ @include e(btn) {
72
+ border: none;
73
+ line-height: 28px;
74
+ padding: 0 5px;
75
+ margin: 0 5px;
76
+ cursor: pointer;
77
+ background-color: transparent;
78
+ outline: none;
79
+ font-size: 12px;
80
+ color: getCssVar('text-color', 'primary');
81
+
82
+ &.confirm {
83
+ font-weight: 800;
84
+ color: var(
85
+ #{getCssVarName('timepicker-active-color')},
86
+ #{getCssVar('color-primary')}
87
+ );
88
+ }
89
+ }
90
+ }