@mptw/skylens-ui 1.4.43 → 1.4.44
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/assets/css/layout.styl +5 -5
- package/components/SLAlertModal.vue +1 -1
- package/components/SLButton.vue +15 -15
- package/components/SLCalendarButton.vue +2 -2
- package/components/SLCalendarPopup.vue +9 -9
- package/components/SLCard.vue +4 -4
- package/components/SLCheckbox.vue +3 -3
- package/components/SLCollapsableBlock.vue +1 -1
- package/components/SLCollapsableMulitPillSelect.vue +1 -1
- package/components/SLConfirmModal.vue +1 -1
- package/components/SLDateInput.vue +4 -4
- package/components/SLDownloadButton.vue +2 -2
- package/components/SLDropdown.vue +2 -2
- package/components/SLEyeCheckbox.vue +5 -5
- package/components/SLFileInput.vue +1 -1
- package/components/SLGenderAgeSelect.vue +2 -2
- package/components/SLHourRangeInput.vue +2 -2
- package/components/SLInfoTip.vue +1 -1
- package/components/SLLegend.vue +2 -2
- package/components/SLLink.vue +1 -1
- package/components/SLMonthCalendarButton.vue +5 -5
- package/components/SLMonthPicker.vue +5 -5
- package/components/SLMultiEmailInput.vue +6 -6
- package/components/SLMultiSelect.vue +2 -2
- package/components/SLNoData.vue +1 -1
- package/components/SLPagination.vue +1 -1
- package/components/SLPillCheckbox.vue +2 -2
- package/components/SLPillLabel.vue +1 -1
- package/components/SLProjectShareItem.vue +1 -1
- package/components/SLRadioButton.vue +6 -6
- package/components/SLRadioButtonGroup.vue +1 -1
- package/components/SLRadioGroup.vue +2 -2
- package/components/SLRangeInput.vue +4 -4
- package/components/SLSearchInput.vue +1 -1
- package/components/SLSelect.vue +8 -8
- package/components/SLSidebarNavSectionItem.vue +1 -1
- package/components/SLSitePage.vue +1 -1
- package/components/SLSortByDropdown.vue +1 -1
- package/components/SLStayRangeInput.vue +2 -2
- package/components/SLTable.vue +3 -3
- package/components/SLTableTooltip.vue +5 -5
- package/components/SLTabs.vue +4 -4
- package/components/SLTextInput.vue +3 -3
- package/components/SLTextarea.vue +3 -3
- package/components/SLToggleButton.vue +1 -1
- package/components/SLTwoLayerMultiSelect.vue +5 -5
- package/components/SLTwoLayerSelect.vue +3 -3
- package/components/SLTwoLayerSingleSelect.vue +3 -3
- package/components/SLWarnModal.vue +1 -1
- package/package.json +1 -1
- package/tailwind.config.js +9 -1
package/assets/css/layout.styl
CHANGED
|
@@ -17,11 +17,11 @@ label
|
|
|
17
17
|
--vc-accent-900 theme('colors.primary.800')
|
|
18
18
|
|
|
19
19
|
.vc-skylens-gray
|
|
20
|
-
--vc-accent-200 theme('colors.
|
|
21
|
-
--vc-accent-500 theme('colors.
|
|
22
|
-
--vc-accent-600 theme('colors.
|
|
23
|
-
--vc-accent-700 theme('colors.
|
|
24
|
-
--vc-accent-900 theme('colors.
|
|
20
|
+
--vc-accent-200 theme('colors.pgray.5')
|
|
21
|
+
--vc-accent-500 theme('colors.pgray.4')
|
|
22
|
+
--vc-accent-600 theme('colors.pgray.3')
|
|
23
|
+
--vc-accent-700 theme('colors.pgray.3')
|
|
24
|
+
--vc-accent-900 theme('colors.pgray.2')
|
|
25
25
|
|
|
26
26
|
.vc-container
|
|
27
27
|
.vc-weeks
|
package/components/SLButton.vue
CHANGED
|
@@ -37,8 +37,8 @@ export default defineComponent({
|
|
|
37
37
|
"highlight-500",
|
|
38
38
|
"third",
|
|
39
39
|
"danger",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
40
|
+
"pgray-5",
|
|
41
|
+
"pgray-2",
|
|
42
42
|
"secondary",
|
|
43
43
|
"secondary-600",
|
|
44
44
|
"blue-1",
|
|
@@ -139,10 +139,10 @@ export default defineComponent({
|
|
|
139
139
|
@apply text-sm leading-none
|
|
140
140
|
|
|
141
141
|
&-white
|
|
142
|
-
@apply bg-white border-white text-
|
|
142
|
+
@apply bg-white border-white text-pgray-2 s("hover:bg-white") s("hover:border-white")
|
|
143
143
|
|
|
144
144
|
&.btn-outline
|
|
145
|
-
@apply text-
|
|
145
|
+
@apply text-pgray-2 s("hover:text-pgray-2")
|
|
146
146
|
|
|
147
147
|
.btn-loading
|
|
148
148
|
.loading
|
|
@@ -204,27 +204,27 @@ export default defineComponent({
|
|
|
204
204
|
div
|
|
205
205
|
border-color theme('colors.danger.light') transparent transparent transparent
|
|
206
206
|
|
|
207
|
-
&-
|
|
208
|
-
@apply bg-
|
|
207
|
+
&-pgray-5
|
|
208
|
+
@apply bg-pgray-5 border-pgray-5 text-pgray-2 s("hover:bg-pgray-4.5") s("hover:border-pgray-4.5")
|
|
209
209
|
|
|
210
210
|
&.btn-outline
|
|
211
|
-
@apply text-
|
|
211
|
+
@apply text-pgray-5 s("hover:text-pgray-4.5")
|
|
212
212
|
|
|
213
213
|
.btn-loading
|
|
214
214
|
.loading
|
|
215
215
|
div
|
|
216
|
-
border-color theme('colors.
|
|
216
|
+
border-color theme('colors.pgray[4.5]') transparent transparent transparent
|
|
217
217
|
|
|
218
|
-
&-
|
|
219
|
-
@apply bg-
|
|
218
|
+
&-pgray-2
|
|
219
|
+
@apply bg-pgray-2 border-pgray-2 text-white s("hover:bg-pgray-3") s("hover:border-pgray-3")
|
|
220
220
|
|
|
221
221
|
&.btn-outline
|
|
222
|
-
@apply text-
|
|
222
|
+
@apply text-pgray-2 s("hover:text-pgray-3")
|
|
223
223
|
|
|
224
224
|
.btn-loading
|
|
225
225
|
.loading
|
|
226
226
|
div
|
|
227
|
-
border-color theme('colors.
|
|
227
|
+
border-color theme('colors.pgray.3') transparent transparent transparent
|
|
228
228
|
|
|
229
229
|
&-secondary
|
|
230
230
|
@apply bg-secondary border-secondary text-white s("hover:bg-secondary-800") s("hover:border-secondary-800")
|
|
@@ -274,13 +274,13 @@ export default defineComponent({
|
|
|
274
274
|
@apply bg-transparent border s("hover:bg-white")
|
|
275
275
|
|
|
276
276
|
&-disabled
|
|
277
|
-
@apply bg-
|
|
277
|
+
@apply bg-pgray-5 border-pgray-5 text-white cursor-default s("hover:bg-pgray-5") s("hover:border-pgray-5") s("hover:text-white")
|
|
278
278
|
|
|
279
279
|
&.btn-outline
|
|
280
|
-
@apply bg-white border-
|
|
280
|
+
@apply bg-white border-pgray-5 text-pgray-5 s("hover:bg-white") s("hover:border-pgray-5") s("hover:text-pgray-5")
|
|
281
281
|
|
|
282
282
|
&.btn-icon
|
|
283
|
-
@apply bg-transparent border-transparent text-
|
|
283
|
+
@apply bg-transparent border-transparent text-pgray-5 s("hover:bg-transparent") s("hover:border-transparent") s("hover:text-pgray-5")
|
|
284
284
|
|
|
285
285
|
&.loading
|
|
286
286
|
@apply bg-primary-200 border-primary-200 cursor-default
|
|
@@ -244,7 +244,7 @@ export default defineComponent({
|
|
|
244
244
|
@apply s('h-[37px]')
|
|
245
245
|
|
|
246
246
|
.toggle-button
|
|
247
|
-
@apply inline-flex flex-col justify-center s('h-[58px]') s('px-2.75') space-y-1 border s('border-white/20') rounded bg-white text-sm leading-normal text-
|
|
247
|
+
@apply inline-flex flex-col justify-center s('h-[58px]') s('px-2.75') space-y-1 border s('border-white/20') rounded bg-white text-sm leading-normal text-pgray-2
|
|
248
248
|
|
|
249
249
|
.date-range
|
|
250
250
|
@apply flex items-center
|
|
@@ -259,7 +259,7 @@ export default defineComponent({
|
|
|
259
259
|
@apply block s('ml-0.5') px-1 s('py-0.5') bg-primary-50 rounded text-xs text-primary
|
|
260
260
|
|
|
261
261
|
.compare-date-range
|
|
262
|
-
@apply pl-1 space-x-2 text-sm text-
|
|
262
|
+
@apply pl-1 space-x-2 text-sm text-pgray-3
|
|
263
263
|
|
|
264
264
|
.calendar-popup
|
|
265
265
|
@apply z-60 absolute invisible pointer-events-none
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
.actions
|
|
92
92
|
SLButton(
|
|
93
93
|
size="lg"
|
|
94
|
-
color="
|
|
94
|
+
color="pgray-5"
|
|
95
95
|
title="取消"
|
|
96
96
|
@click="onClickedCancel"
|
|
97
97
|
)
|
|
@@ -762,19 +762,19 @@ export default defineComponent({
|
|
|
762
762
|
@apply w-auto py-4 border border-primary-100 rounded-lg bg-white shadow-md overflow-hidden
|
|
763
763
|
|
|
764
764
|
.popup-body
|
|
765
|
-
@apply flex s('mb-2.5') divide-x divide-
|
|
765
|
+
@apply flex s('mb-2.5') divide-x divide-pgray-4
|
|
766
766
|
|
|
767
767
|
.popup-footer
|
|
768
|
-
@apply s('mx-3.75') border-t border-
|
|
768
|
+
@apply s('mx-3.75') border-t border-pgray-4 text-center
|
|
769
769
|
|
|
770
770
|
.compare
|
|
771
|
-
@apply pt-4 text-base leading-normal text-
|
|
771
|
+
@apply pt-4 text-base leading-normal text-pgray-2
|
|
772
772
|
|
|
773
773
|
.range1
|
|
774
774
|
@apply text-primary font-bold
|
|
775
775
|
|
|
776
776
|
.range2
|
|
777
|
-
@apply text-
|
|
777
|
+
@apply text-pgray-2 font-bold
|
|
778
778
|
|
|
779
779
|
.actions
|
|
780
780
|
@apply pt-4 space-x-8
|
|
@@ -783,7 +783,7 @@ export default defineComponent({
|
|
|
783
783
|
@apply relative
|
|
784
784
|
|
|
785
785
|
.quick-button
|
|
786
|
-
@apply relative block s('w-[7.4375rem]') s('pl-6.5') s('py-2') space-y-1 bg-white text-
|
|
786
|
+
@apply relative block s('w-[7.4375rem]') s('pl-6.5') s('py-2') space-y-1 bg-white text-pgray-3 s('hover:bg-primary-100') s('hover:text-pgray-2')
|
|
787
787
|
|
|
788
788
|
&.selected
|
|
789
789
|
@apply bg-primary-100 text-primary s('hover:text-primary')
|
|
@@ -799,7 +799,7 @@ export default defineComponent({
|
|
|
799
799
|
@apply text-xs
|
|
800
800
|
|
|
801
801
|
.quicks-divide
|
|
802
|
-
@apply h-px ml-1 my-1 bg-
|
|
802
|
+
@apply h-px ml-1 my-1 bg-pgray-4
|
|
803
803
|
width calc(100% - theme('spacing.1'))
|
|
804
804
|
|
|
805
805
|
.compare-switch
|
|
@@ -813,7 +813,7 @@ export default defineComponent({
|
|
|
813
813
|
|
|
814
814
|
&-compare
|
|
815
815
|
.calendar-header
|
|
816
|
-
@apply text-
|
|
816
|
+
@apply text-pgray-2
|
|
817
817
|
|
|
818
818
|
&-header
|
|
819
819
|
@apply s('pt-1.5') s('pb-1.75') s('space-y-0.5') border-b border-primary text-sm s('leading-4.75') text-primary
|
|
@@ -828,5 +828,5 @@ export default defineComponent({
|
|
|
828
828
|
@apply space-y-2
|
|
829
829
|
|
|
830
830
|
.data-date
|
|
831
|
-
@apply text-xs text-
|
|
831
|
+
@apply text-xs text-pgray-2 text-right
|
|
832
832
|
</style>
|
package/components/SLCard.vue
CHANGED
|
@@ -91,13 +91,13 @@ export default defineComponent({
|
|
|
91
91
|
@apply s('h-0.5') rounded-full bg-highlight-500
|
|
92
92
|
|
|
93
93
|
.card-desc
|
|
94
|
-
@apply text-base text-
|
|
94
|
+
@apply text-base text-pgray-2
|
|
95
95
|
|
|
96
96
|
.date-range
|
|
97
|
-
@apply ml-2 text-sm text-
|
|
97
|
+
@apply ml-2 text-sm text-pgray-3
|
|
98
98
|
|
|
99
99
|
.inline-info
|
|
100
|
-
@apply mt-2 text-sm text-
|
|
100
|
+
@apply mt-2 text-sm text-pgray-3
|
|
101
101
|
|
|
102
102
|
.card-body
|
|
103
103
|
@apply relative
|
|
@@ -111,7 +111,7 @@ export default defineComponent({
|
|
|
111
111
|
.card-header
|
|
112
112
|
.card-title
|
|
113
113
|
&-container
|
|
114
|
-
@apply mb-0 text-base text-
|
|
114
|
+
@apply mb-0 text-base text-pgray-2
|
|
115
115
|
|
|
116
116
|
&-border
|
|
117
117
|
@apply hidden
|
|
@@ -151,7 +151,7 @@ export default defineComponent({
|
|
|
151
151
|
@apply absolute s("-top-10") s("-left-10")
|
|
152
152
|
|
|
153
153
|
label
|
|
154
|
-
@apply relative text-base text-
|
|
154
|
+
@apply relative text-base text-pgray-3 cursor-pointer
|
|
155
155
|
|
|
156
156
|
.icon
|
|
157
157
|
@apply hidden
|
|
@@ -180,8 +180,8 @@ export default defineComponent({
|
|
|
180
180
|
@apply inline-block
|
|
181
181
|
|
|
182
182
|
input:not(:checked):disabled + label
|
|
183
|
-
@apply text-
|
|
183
|
+
@apply text-pgray-4 cursor-default pointer-events-none
|
|
184
184
|
|
|
185
185
|
input:checked:disabled + label
|
|
186
|
-
@apply text-
|
|
186
|
+
@apply text-pgray-3 cursor-default pointer-events-none
|
|
187
187
|
</style>
|
|
@@ -113,7 +113,7 @@ export default defineComponent({
|
|
|
113
113
|
@apply text-sm text-primary
|
|
114
114
|
|
|
115
115
|
.collapse-block-title
|
|
116
|
-
@apply text-base text-
|
|
116
|
+
@apply text-base text-pgray-1 font-bold
|
|
117
117
|
|
|
118
118
|
.toggle-collapse-button
|
|
119
119
|
@apply inline-flex items-center space-x-2
|
|
@@ -75,7 +75,7 @@ export default defineComponent({
|
|
|
75
75
|
<style lang="stylus">
|
|
76
76
|
.collapsable-multi-pill-select
|
|
77
77
|
.toggle-button
|
|
78
|
-
@apply inline-flex items-center justify-between w-80 p-2 mb-2 border border-primary-500 rounded text-base text-
|
|
78
|
+
@apply inline-flex items-center justify-between w-80 p-2 mb-2 border border-primary-500 rounded text-base text-pgray-2
|
|
79
79
|
|
|
80
80
|
&.active
|
|
81
81
|
.toggle-icon
|
|
@@ -403,7 +403,7 @@ export default defineComponent({
|
|
|
403
403
|
|
|
404
404
|
|
|
405
405
|
& > label
|
|
406
|
-
@apply mb-2 text-base leading-normal text-
|
|
406
|
+
@apply mb-2 text-base leading-normal text-pgray-2
|
|
407
407
|
|
|
408
408
|
.is-invalid
|
|
409
409
|
.input-group, .input-group.is-focus
|
|
@@ -440,10 +440,10 @@ export default defineComponent({
|
|
|
440
440
|
@apply block absolute top-2 s('right-1.75') bottom-2 w-px bg-primary
|
|
441
441
|
|
|
442
442
|
.inputs
|
|
443
|
-
@apply relative flex-grow flex items-center p-2 bg-white rounded-r border border-l-0 border-primary-500 text-base text-
|
|
443
|
+
@apply relative flex-grow flex items-center p-2 bg-white rounded-r border border-l-0 border-primary-500 text-base text-pgray-2
|
|
444
444
|
|
|
445
445
|
input
|
|
446
|
-
@apply flex-grow bg-transparent text-base text-
|
|
446
|
+
@apply flex-grow bg-transparent text-base text-pgray-2 text-left placeholder-pgray-4 s('focus:outline-none')
|
|
447
447
|
width: calc((100% - 25px) / 2)
|
|
448
448
|
|
|
449
449
|
.date-range-split
|
|
@@ -453,7 +453,7 @@ export default defineComponent({
|
|
|
453
453
|
@apply absolute right-0 mr-2 text-danger-light hidden
|
|
454
454
|
|
|
455
455
|
.input-info
|
|
456
|
-
@apply mt-1 text-xs text-
|
|
456
|
+
@apply mt-1 text-xs text-pgray-3
|
|
457
457
|
|
|
458
458
|
.invalid-feedback
|
|
459
459
|
@apply hidden text-danger text-xs
|
|
@@ -390,7 +390,7 @@ export default defineComponent({
|
|
|
390
390
|
|
|
391
391
|
&.disabled
|
|
392
392
|
.download-button-toggle
|
|
393
|
-
@apply border-
|
|
393
|
+
@apply border-pgray-5 text-pgray-5 cursor-default
|
|
394
394
|
|
|
395
395
|
&-toggle
|
|
396
396
|
@apply inline-flex justify-center items-center s('w-[28px]') s('h-[28px]') bg-white border border-primary-600 rounded text-lg text-primary-600
|
|
@@ -405,6 +405,6 @@ export default defineComponent({
|
|
|
405
405
|
@apply visible pointer-events-auto
|
|
406
406
|
|
|
407
407
|
.download-option
|
|
408
|
-
@apply block p-2 bg-white text-sm text-
|
|
408
|
+
@apply block p-2 bg-white text-sm text-pgray-3
|
|
409
409
|
@apply s('hover:bg-primary-100') s('hover:text-primary')
|
|
410
410
|
</style>
|
|
@@ -251,10 +251,10 @@ export default defineComponent({
|
|
|
251
251
|
@apply text-primary-600 rotate-180
|
|
252
252
|
|
|
253
253
|
&-toggle
|
|
254
|
-
@apply flex items-center s('p-1.75') border border-primary-500 rounded bg-white space-x-2 text-base text-
|
|
254
|
+
@apply flex items-center s('p-1.75') border border-primary-500 rounded bg-white space-x-2 text-base text-pgray-2 whitespace-nowrap
|
|
255
255
|
|
|
256
256
|
.toggle-icon
|
|
257
|
-
@apply text-xs leading-none text-
|
|
257
|
+
@apply text-xs leading-none text-pgray-2 transition-transform transform
|
|
258
258
|
|
|
259
259
|
&-menu
|
|
260
260
|
@apply z-50 flex flex-col max-h-48 border border-primary-500 rounded bg-white shadow-md overflow-hidden invisible pointer-events-none
|
|
@@ -132,7 +132,7 @@ export default defineComponent({
|
|
|
132
132
|
@apply absolute s('-top-10') s('-left-10')
|
|
133
133
|
|
|
134
134
|
label
|
|
135
|
-
@apply relative inline-flex items-center text-base text-
|
|
135
|
+
@apply relative inline-flex items-center text-base text-pgray-2 cursor-pointer
|
|
136
136
|
|
|
137
137
|
.icon
|
|
138
138
|
@apply hidden text-primary
|
|
@@ -149,14 +149,14 @@ export default defineComponent({
|
|
|
149
149
|
@apply inline-block
|
|
150
150
|
|
|
151
151
|
input:not(:checked):disabled + label
|
|
152
|
-
@apply text-
|
|
152
|
+
@apply text-pgray-4 cursor-default
|
|
153
153
|
|
|
154
154
|
.icon-eye-slash
|
|
155
|
-
@apply inline-block text-
|
|
155
|
+
@apply inline-block text-pgray-4
|
|
156
156
|
|
|
157
157
|
input:checked:disabled + label
|
|
158
|
-
@apply text-
|
|
158
|
+
@apply text-pgray-3 cursor-default
|
|
159
159
|
|
|
160
160
|
.icon-eye
|
|
161
|
-
@apply inline-block text-
|
|
161
|
+
@apply inline-block text-pgray-3
|
|
162
162
|
</style>
|
|
@@ -97,5 +97,5 @@ export default defineComponent({
|
|
|
97
97
|
@apply absolute top-0 left-0
|
|
98
98
|
|
|
99
99
|
.filename
|
|
100
|
-
@apply s("p-1.75") border border-primary-300 rounded bg-primary-50 text-base text-
|
|
100
|
+
@apply s("p-1.75") border border-primary-300 rounded bg-primary-50 text-base text-pgray-2
|
|
101
101
|
</style>
|
|
@@ -235,7 +235,7 @@ export default defineComponent({
|
|
|
235
235
|
@apply relative inline-flex
|
|
236
236
|
|
|
237
237
|
.toggle-button
|
|
238
|
-
@apply inline-flex items-center justify-between w-full s('p-1.75') border border-primary-500 rounded space-x-4 text-sm text-
|
|
238
|
+
@apply inline-flex items-center justify-between w-full s('p-1.75') border border-primary-500 rounded space-x-4 text-sm text-pgray-2
|
|
239
239
|
|
|
240
240
|
.toggle-title
|
|
241
241
|
@apply flex-grow truncate
|
|
@@ -275,5 +275,5 @@ export default defineComponent({
|
|
|
275
275
|
@apply ml-1
|
|
276
276
|
|
|
277
277
|
.options-divide
|
|
278
|
-
@apply flex-grow-0 flex-shrink-0 w-px ml-3 s('mr-2.75') bg-
|
|
278
|
+
@apply flex-grow-0 flex-shrink-0 w-px ml-3 s('mr-2.75') bg-pgray-4
|
|
279
279
|
</style>
|
|
@@ -183,7 +183,7 @@ export default defineComponent({
|
|
|
183
183
|
|
|
184
184
|
|
|
185
185
|
& > label
|
|
186
|
-
@apply flex items-center mb-2 space-x-2 text-base leading-normal text-
|
|
186
|
+
@apply flex items-center mb-2 space-x-2 text-base leading-normal text-pgray-2
|
|
187
187
|
|
|
188
188
|
.icon
|
|
189
189
|
@apply text-xs leading-none
|
|
@@ -198,7 +198,7 @@ export default defineComponent({
|
|
|
198
198
|
@apply border-danger
|
|
199
199
|
|
|
200
200
|
input[type=text]
|
|
201
|
-
@apply flex-grow-0 flex-shrink-0 s('w-4.75') border-0 bg-transparent text-base text-center text-
|
|
201
|
+
@apply flex-grow-0 flex-shrink-0 s('w-4.75') border-0 bg-transparent text-base text-center text-pgray-2 outline-none
|
|
202
202
|
|
|
203
203
|
.minutes-label
|
|
204
204
|
@apply flex-grow-0 flex-shrink-0
|
package/components/SLInfoTip.vue
CHANGED
|
@@ -211,7 +211,7 @@ export default defineComponent({
|
|
|
211
211
|
content '\e943'
|
|
212
212
|
|
|
213
213
|
&-content
|
|
214
|
-
@apply relative py-5 pl-4 pr-6 border s('border-primary-600/50') rounded-lg bg-white text-sm text-
|
|
214
|
+
@apply relative py-5 pl-4 pr-6 border s('border-primary-600/50') rounded-lg bg-white text-sm text-pgray-2 text-left font-normal whitespace-normal shadow-popup-sm
|
|
215
215
|
|
|
216
216
|
.pin-toggle
|
|
217
217
|
@apply absolute top-0 right-0 mt-2 mr-2 text-base text-primary-600
|
package/components/SLLegend.vue
CHANGED
|
@@ -63,10 +63,10 @@ export default defineComponent({
|
|
|
63
63
|
@apply text-center
|
|
64
64
|
|
|
65
65
|
&-item
|
|
66
|
-
@apply inline-flex items-center mx-2 text-base text-
|
|
66
|
+
@apply inline-flex items-center mx-2 text-base text-pgray-2
|
|
67
67
|
|
|
68
68
|
&.unactive
|
|
69
|
-
@apply text-
|
|
69
|
+
@apply text-pgray-5
|
|
70
70
|
|
|
71
71
|
.item-icon
|
|
72
72
|
@apply mr-1
|
package/components/SLLink.vue
CHANGED
|
@@ -155,7 +155,7 @@ export default defineComponent({
|
|
|
155
155
|
@apply pointer-events-none
|
|
156
156
|
|
|
157
157
|
&-tooltip
|
|
158
|
-
@apply p-1 bg-
|
|
158
|
+
@apply p-1 bg-pgray-2 text-xs text-white whitespace-nowrap shadow invisible
|
|
159
159
|
|
|
160
160
|
&[data-show]
|
|
161
161
|
@apply visible
|
|
@@ -345,9 +345,9 @@ export default defineComponent({
|
|
|
345
345
|
.button-title
|
|
346
346
|
@apply space-y-1 text-end
|
|
347
347
|
.current-month
|
|
348
|
-
@apply text-lg text-
|
|
348
|
+
@apply text-lg text-pgray-2
|
|
349
349
|
.compare-month
|
|
350
|
-
@apply text-xs text-
|
|
350
|
+
@apply text-xs text-pgray-3
|
|
351
351
|
.month-calendar-popup
|
|
352
352
|
@apply z-50 s('p-3.75') space-y-4 bg-white border border-primary-100 rounded-lg shadow-md hidden
|
|
353
353
|
|
|
@@ -370,9 +370,9 @@ export default defineComponent({
|
|
|
370
370
|
.popup-body
|
|
371
371
|
@apply flex
|
|
372
372
|
.calendar-divide
|
|
373
|
-
@apply w-px s('ml-4') s('mr-3.75') bg-
|
|
373
|
+
@apply w-px s('ml-4') s('mr-3.75') bg-pgray-4
|
|
374
374
|
.popup-footer
|
|
375
|
-
@apply pt-4 space-x-6 border-t border-
|
|
375
|
+
@apply pt-4 space-x-6 border-t border-pgray-4 text-center
|
|
376
376
|
.cancel-button
|
|
377
|
-
@apply text-base text-
|
|
377
|
+
@apply text-base text-pgray-3
|
|
378
378
|
</style>
|
|
@@ -127,25 +127,25 @@ export default defineComponent({
|
|
|
127
127
|
@apply flex items-center justify-center space-x-10
|
|
128
128
|
|
|
129
129
|
.prev-button, .next-button
|
|
130
|
-
@apply inline-flex items-center text-xs text-
|
|
130
|
+
@apply inline-flex items-center text-xs text-pgray-3
|
|
131
131
|
|
|
132
132
|
&.disabled
|
|
133
|
-
@apply text-
|
|
133
|
+
@apply text-pgray-5 cursor-default
|
|
134
134
|
|
|
135
135
|
.year
|
|
136
|
-
@apply text-sm text-
|
|
136
|
+
@apply text-sm text-pgray-2
|
|
137
137
|
|
|
138
138
|
.month-select
|
|
139
139
|
&-wrapper
|
|
140
140
|
@apply flex flex-wrap s('-my-2') s('-mx-4')
|
|
141
141
|
|
|
142
142
|
.month-button
|
|
143
|
-
@apply flex items-center justify-center s('w-[42px]') s('h-[27px]') s('my-2') s('mx-4') bg-white rounded text-sm text-
|
|
143
|
+
@apply flex items-center justify-center s('w-[42px]') s('h-[27px]') s('my-2') s('mx-4') bg-white rounded text-sm text-pgray-3
|
|
144
144
|
@apply s('hover:bg-primary-300') s('hover:text-white')
|
|
145
145
|
|
|
146
146
|
&.selected
|
|
147
147
|
@apply text-white
|
|
148
148
|
|
|
149
149
|
&.disabled
|
|
150
|
-
@apply bg-white text-
|
|
150
|
+
@apply bg-white text-pgray-5
|
|
151
151
|
</style>
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
span 與其他使用者共用
|
|
6
6
|
SLInfoTip(placement="top", :pinnable='false')
|
|
7
7
|
.space-y-3
|
|
8
|
-
.flex.items-center.text-sm.text-
|
|
8
|
+
.flex.items-center.text-sm.text-pgray-2
|
|
9
9
|
SLIcon.text-highlight-500(icon="check-circle")
|
|
10
10
|
span.whitespace-nowrap :確認帳號存在 SKYLENS
|
|
11
|
-
.flex.items-center.text-sm.text-
|
|
11
|
+
.flex.items-center.text-sm.text-pgray-2
|
|
12
12
|
SLIcon.text-danger(icon='exclamation-circle')
|
|
13
13
|
span.whitespace-nowrap :帳號可能不存在 SKYLENS , 需請帳號管理者新增
|
|
14
14
|
.right-block
|
|
@@ -626,7 +626,7 @@ export default defineComponent({
|
|
|
626
626
|
@apply flex items-center justify-between mb-2 cursor-default
|
|
627
627
|
|
|
628
628
|
.left-block
|
|
629
|
-
@apply flex-grow-0 flex-shrink-0 flex items-center text-base text-
|
|
629
|
+
@apply flex-grow-0 flex-shrink-0 flex items-center text-base text-pgray-2
|
|
630
630
|
|
|
631
631
|
.right-block
|
|
632
632
|
@apply flex-grow-0 flex-shrink-0 text-xs hidden
|
|
@@ -651,7 +651,7 @@ export default defineComponent({
|
|
|
651
651
|
@apply flex flex-col items-start space-y-2 overflow-hidden
|
|
652
652
|
|
|
653
653
|
.email-item
|
|
654
|
-
@apply inline-flex items-center justify-start max-w-full s('px-1.75') s('py-0.5') space-x-2 bg-white border border-primary-300 rounded-full text-base text-
|
|
654
|
+
@apply inline-flex items-center justify-start max-w-full s('px-1.75') s('py-0.5') space-x-2 bg-white border border-primary-300 rounded-full text-base text-pgray-2
|
|
655
655
|
|
|
656
656
|
&-email
|
|
657
657
|
@apply flex-grow truncate
|
|
@@ -672,7 +672,7 @@ export default defineComponent({
|
|
|
672
672
|
@apply text-xs
|
|
673
673
|
|
|
674
674
|
textarea
|
|
675
|
-
@apply flex-grow-0 flex-shrink-0 block w-full p-0 border-0 bg-white text-sm text-
|
|
675
|
+
@apply flex-grow-0 flex-shrink-0 block w-full p-0 border-0 bg-white text-sm text-pgray-2 resize-none s('focus:outline-none')
|
|
676
676
|
|
|
677
677
|
.multi-email-input-role
|
|
678
678
|
@apply flex-grow-0 flex-shrink-0 flex
|
|
@@ -703,7 +703,7 @@ export default defineComponent({
|
|
|
703
703
|
:deep(.swiper-scrollbar-drag)
|
|
704
704
|
@apply bg-primary-300
|
|
705
705
|
.autotcomplete-item
|
|
706
|
-
@apply block w-full py-1 px-2 bg-white text-sm text-
|
|
706
|
+
@apply block w-full py-1 px-2 bg-white text-sm text-pgray-2
|
|
707
707
|
&:hover, &.focused
|
|
708
708
|
@apply bg-primary-100
|
|
709
709
|
</style>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
)
|
|
11
11
|
span.option-label {{ option.label }}
|
|
12
12
|
span.btn.btn-apply(v-if='!option.selected') {{ applyTitle }}
|
|
13
|
-
span.btn.btn-
|
|
13
|
+
span.btn.btn-pgray-5(v-else) {{ cancelTitle }}
|
|
14
14
|
</template>
|
|
15
15
|
|
|
16
16
|
<script lang="ts">
|
|
@@ -114,7 +114,7 @@ export default defineComponent({
|
|
|
114
114
|
@apply bg-primary
|
|
115
115
|
|
|
116
116
|
.option-label
|
|
117
|
-
@apply flex-grow inline-block text-base leading-normal text-
|
|
117
|
+
@apply flex-grow inline-block text-base leading-normal text-pgray-2 truncate
|
|
118
118
|
|
|
119
119
|
.btn
|
|
120
120
|
@apply flex-grow-0 flex-shrink-0 inline-block px-2 py-1 bg-primary rounded text-base leading-normal text-white opacity-0
|
package/components/SLNoData.vue
CHANGED
|
@@ -148,7 +148,7 @@ export default defineComponent({
|
|
|
148
148
|
@apply flex items-center justify-end
|
|
149
149
|
|
|
150
150
|
&-info
|
|
151
|
-
@apply inline-flex items-center mr-4 s('space-x-0.5') text-base text-
|
|
151
|
+
@apply inline-flex items-center mr-4 s('space-x-0.5') text-base text-pgray-2
|
|
152
152
|
|
|
153
153
|
.custom-select
|
|
154
154
|
@apply s('min-w-[2.3125rem]')
|
|
@@ -186,7 +186,7 @@ export default defineComponent({
|
|
|
186
186
|
|
|
187
187
|
label
|
|
188
188
|
@apply inline-flex justify-center items-center relative s('px-1.75') s('py-0.75')
|
|
189
|
-
@apply bg-white border border-primary-300 rounded-full text-sm s('leading-4.75') text-
|
|
189
|
+
@apply bg-white border border-primary-300 rounded-full text-sm s('leading-4.75') text-pgray-2 align-top cursor-pointer
|
|
190
190
|
|
|
191
191
|
.icon
|
|
192
192
|
@apply hidden ml-2
|
|
@@ -198,5 +198,5 @@ export default defineComponent({
|
|
|
198
198
|
@apply inline-block
|
|
199
199
|
|
|
200
200
|
input:disabled + label
|
|
201
|
-
@apply bg-white border-
|
|
201
|
+
@apply bg-white border-pgray-5 text-pgray-4 font-normal cursor-default
|
|
202
202
|
</style>
|
|
@@ -78,16 +78,16 @@ export default defineComponent({
|
|
|
78
78
|
@apply relative inline-flex flex-col items-start space-y-1 cursor-pointer
|
|
79
79
|
|
|
80
80
|
.radio-button-wrapper
|
|
81
|
-
@apply inline-flex items-center text-base text-
|
|
81
|
+
@apply inline-flex items-center text-base text-pgray-3
|
|
82
82
|
|
|
83
83
|
.icon
|
|
84
84
|
@apply hidden
|
|
85
85
|
|
|
86
86
|
span
|
|
87
|
-
@apply ml-1 text-base text-
|
|
87
|
+
@apply ml-1 text-base text-pgray-2
|
|
88
88
|
|
|
89
89
|
.radio-button-desc
|
|
90
|
-
@apply pl-5 text-xs text-
|
|
90
|
+
@apply pl-5 text-xs text-pgray-2
|
|
91
91
|
|
|
92
92
|
input:not(:checked) + label
|
|
93
93
|
.radio-button-wrapper
|
|
@@ -102,11 +102,11 @@ export default defineComponent({
|
|
|
102
102
|
input:disabled + label
|
|
103
103
|
.radio-button-wrapper
|
|
104
104
|
span
|
|
105
|
-
@apply text-
|
|
105
|
+
@apply text-pgray-3
|
|
106
106
|
|
|
107
107
|
.icon-circle
|
|
108
|
-
@apply text-
|
|
108
|
+
@apply text-pgray-3
|
|
109
109
|
|
|
110
110
|
.icon-dot-circle
|
|
111
|
-
@apply text-
|
|
111
|
+
@apply text-pgray-3
|
|
112
112
|
</style>
|
|
@@ -188,7 +188,7 @@ export default defineComponent({
|
|
|
188
188
|
@apply bg-insight-title text-white
|
|
189
189
|
|
|
190
190
|
&.disabled
|
|
191
|
-
@apply bg-
|
|
191
|
+
@apply bg-pgray-6 border-pgray-6
|
|
192
192
|
|
|
193
193
|
.radio
|
|
194
194
|
@apply relative inline-flex
|
|
@@ -205,5 +205,5 @@ export default defineComponent({
|
|
|
205
205
|
|
|
206
206
|
input:disabled + .element-with-title
|
|
207
207
|
label
|
|
208
|
-
@apply bg-
|
|
208
|
+
@apply bg-pgray-6 text-pgray-4 cursor-default
|
|
209
209
|
</style>
|
|
@@ -178,13 +178,13 @@ export default defineComponent({
|
|
|
178
178
|
.input-group
|
|
179
179
|
.input-range-group
|
|
180
180
|
.range-input-accept-values
|
|
181
|
-
@apply text-
|
|
181
|
+
@apply text-pgray-4
|
|
182
182
|
|
|
183
183
|
input[type=text]
|
|
184
184
|
@apply border-primary-600 bg-primary-100
|
|
185
185
|
|
|
186
186
|
& > label
|
|
187
|
-
@apply mb-2 text-base leading-normal text-
|
|
187
|
+
@apply mb-2 text-base leading-normal text-pgray-2
|
|
188
188
|
|
|
189
189
|
.is-invalid
|
|
190
190
|
.invalid-feedback
|
|
@@ -198,10 +198,10 @@ export default defineComponent({
|
|
|
198
198
|
@apply flex-grow
|
|
199
199
|
|
|
200
200
|
.range-input-accept-values
|
|
201
|
-
@apply flex justify-between mb-1 text-sm text-
|
|
201
|
+
@apply flex justify-between mb-1 text-sm text-pgray-3
|
|
202
202
|
|
|
203
203
|
input[type=text]
|
|
204
|
-
@apply flex-grow-0 flex-shrink-0 w-11 bg-white border border-primary-600 rounded text-base text-center text-
|
|
204
|
+
@apply flex-grow-0 flex-shrink-0 w-11 bg-white border border-primary-600 rounded text-base text-center text-pgray-2
|
|
205
205
|
@apply s('focus:outline-none')
|
|
206
206
|
|
|
207
207
|
.invalid-feedback
|
|
@@ -94,6 +94,6 @@ export default defineComponent({
|
|
|
94
94
|
@apply w-px h-full my-px bg-primary-600
|
|
95
95
|
|
|
96
96
|
.btn
|
|
97
|
-
@apply p-0 border-0 text-
|
|
97
|
+
@apply p-0 border-0 text-pgray-3 s('focus:outline-none') s('active:outline-none')
|
|
98
98
|
</style>
|
|
99
99
|
|
package/components/SLSelect.vue
CHANGED
|
@@ -478,13 +478,13 @@ export default defineComponent({
|
|
|
478
478
|
&.disabled, &.readonly
|
|
479
479
|
.form-control
|
|
480
480
|
label
|
|
481
|
-
@apply border-primary-600 bg-primary-100 text-
|
|
481
|
+
@apply border-primary-600 bg-primary-100 text-pgray-4 cursor-default
|
|
482
482
|
|
|
483
483
|
.icon
|
|
484
|
-
@apply text-
|
|
484
|
+
@apply text-pgray-4
|
|
485
485
|
|
|
486
486
|
.input-label
|
|
487
|
-
@apply mb-2 text-base leading-normal text-
|
|
487
|
+
@apply mb-2 text-base leading-normal text-pgray-2
|
|
488
488
|
|
|
489
489
|
.form-control
|
|
490
490
|
@apply relative block overflow-hidden
|
|
@@ -500,16 +500,16 @@ export default defineComponent({
|
|
|
500
500
|
@apply absolute outline-none
|
|
501
501
|
|
|
502
502
|
label
|
|
503
|
-
@apply relative flex items-center s("p-1.75") bg-white border border-primary-600 rounded text-base leading-normal text-
|
|
503
|
+
@apply relative flex items-center s("p-1.75") bg-white border border-primary-600 rounded text-base leading-normal text-pgray-4 space-x-2 cursor-pointer
|
|
504
504
|
|
|
505
505
|
&.selected
|
|
506
|
-
@apply text-
|
|
506
|
+
@apply text-pgray-2
|
|
507
507
|
|
|
508
508
|
.button-title
|
|
509
509
|
@apply flex-grow truncate
|
|
510
510
|
|
|
511
511
|
.icon
|
|
512
|
-
@apply flex-grow-0 flex-shrink-0 text-xs text-
|
|
512
|
+
@apply flex-grow-0 flex-shrink-0 text-xs text-pgray-2
|
|
513
513
|
|
|
514
514
|
.invalid-feedback
|
|
515
515
|
@apply hidden text-danger text-xs
|
|
@@ -540,7 +540,7 @@ export default defineComponent({
|
|
|
540
540
|
@apply flex flex-col
|
|
541
541
|
|
|
542
542
|
.option-button
|
|
543
|
-
@apply block s("min-w-[10.125rem]") s('p-1.75') bg-white text-base leading-normal text-
|
|
543
|
+
@apply block s("min-w-[10.125rem]") s('p-1.75') bg-white text-base leading-normal text-pgray-3 s("hover:bg-primary-100") s("hover:text-primary")
|
|
544
544
|
|
|
545
545
|
&.selected
|
|
546
546
|
@apply bg-primary-100 text-primary
|
|
@@ -552,7 +552,7 @@ export default defineComponent({
|
|
|
552
552
|
@apply inline-block
|
|
553
553
|
|
|
554
554
|
&.disabled
|
|
555
|
-
@apply cursor-default s("hover:bg-white") s("hover:text-
|
|
555
|
+
@apply cursor-default s("hover:bg-white") s("hover:text-pgray-3")
|
|
556
556
|
|
|
557
557
|
.icon
|
|
558
558
|
@apply mr-2
|
|
@@ -129,7 +129,7 @@ export default defineComponent({
|
|
|
129
129
|
@apply flex mt-2
|
|
130
130
|
|
|
131
131
|
&-notice
|
|
132
|
-
@apply mb-4 pl-2 pr-20 py-3 s('bg-[#FBFCFF]') rounded-lg text-sm text-
|
|
132
|
+
@apply mb-4 pl-2 pr-20 py-3 s('bg-[#FBFCFF]') rounded-lg text-sm text-pgray-2
|
|
133
133
|
|
|
134
134
|
&-content
|
|
135
135
|
@apply flex flex-col flex-grow w-full px-4 pt-4 pb-8 rounded-lg bg-white
|
|
@@ -183,7 +183,7 @@ export default defineComponent({
|
|
|
183
183
|
@apply inline-flex
|
|
184
184
|
|
|
185
185
|
.sort-by-dropdown-item
|
|
186
|
-
@apply inline-flex p-2 bg-white text-sm text-
|
|
186
|
+
@apply inline-flex p-2 bg-white text-sm text-pgray-3
|
|
187
187
|
&.active
|
|
188
188
|
@apply bg-primary-100 text-primary
|
|
189
189
|
</style>
|
|
@@ -275,7 +275,7 @@ export default defineComponent({
|
|
|
275
275
|
|
|
276
276
|
|
|
277
277
|
& > label
|
|
278
|
-
@apply mb-2 text-base leading-normal text-
|
|
278
|
+
@apply mb-2 text-base leading-normal text-pgray-2
|
|
279
279
|
|
|
280
280
|
.is-invalid
|
|
281
281
|
.input-group
|
|
@@ -293,7 +293,7 @@ export default defineComponent({
|
|
|
293
293
|
@apply flex-grow flex flex-nowrap space-x-2
|
|
294
294
|
|
|
295
295
|
input[type=text]
|
|
296
|
-
@apply flex-grow-0 flex-shrink-0 w-11 border border-primary-600 rounded text-base text-center text-
|
|
296
|
+
@apply flex-grow-0 flex-shrink-0 w-11 border border-primary-600 rounded text-base text-center text-pgray-2 outline-none
|
|
297
297
|
|
|
298
298
|
.custom-select
|
|
299
299
|
@apply w-full
|
package/components/SLTable.vue
CHANGED
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
.flex.flex-col.items-center.py-8.px-4.space-y-3
|
|
93
93
|
img(src="~/assets/images/commons/empty-box.png")
|
|
94
94
|
.text-lg.text-primary-600 {{ noItems }}
|
|
95
|
-
.text-sm.text-
|
|
95
|
+
.text-sm.text-pgray-3(v-if="reason") 可能的原因:{{ reason }}
|
|
96
96
|
SLLoading(
|
|
97
97
|
v-if="loading"
|
|
98
98
|
:boundaries="[{ sides: ['top'], query: 'td' }, { sides: ['bottom'], query: 'tbody' }]"
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
@apply bg-primary-50 text-lg font-bold shadow-inline
|
|
426
426
|
|
|
427
427
|
td
|
|
428
|
-
@apply p-2 border-b border-opacity-50 text-base text-
|
|
428
|
+
@apply p-2 border-b border-opacity-50 text-base text-pgray-2
|
|
429
429
|
|
|
430
430
|
&.text-right.sortable
|
|
431
431
|
@apply pr-8
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
@apply flex flex-col
|
|
441
441
|
|
|
442
442
|
.table-header-filter-item
|
|
443
|
-
@apply inline-flex justify-center p-2 bg-white text-sm text-
|
|
443
|
+
@apply inline-flex justify-center p-2 bg-white text-sm text-pgray-3
|
|
444
444
|
@apply s('hover:bg-primary-50')
|
|
445
445
|
|
|
446
446
|
&.active
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
tr(v-if="formatedDateRanges[index]").date-row
|
|
12
12
|
td(
|
|
13
13
|
colspan="3"
|
|
14
|
-
:class="{'text-
|
|
14
|
+
:class="{'text-pgray-3': index + 1 < 2, 'text-primary': index + 1 > 1}"
|
|
15
15
|
) {{ formatedDateRanges[index] }}
|
|
16
16
|
tr.header-row(:class='headerBorderColor')
|
|
17
17
|
th(v-for="field in fields" :key="field.key") {{ field.label }}
|
|
@@ -75,21 +75,21 @@ export default defineComponent({
|
|
|
75
75
|
@apply inline-block p-4 border border-primary-600 rounded bg-white shadow-popup-sm pointer-events-none
|
|
76
76
|
|
|
77
77
|
&-title
|
|
78
|
-
@apply mb-4 text-base text-
|
|
78
|
+
@apply mb-4 text-base text-pgray-2 font-bold
|
|
79
79
|
|
|
80
80
|
&:not(:last-child)
|
|
81
81
|
@apply mb-1
|
|
82
82
|
|
|
83
83
|
&-caption
|
|
84
|
-
@apply mb-2 text-sm text-
|
|
84
|
+
@apply mb-2 text-sm text-pgray-2
|
|
85
85
|
|
|
86
86
|
table
|
|
87
|
-
@apply w-full text-base text-
|
|
87
|
+
@apply w-full text-base text-pgray-2
|
|
88
88
|
|
|
89
89
|
tbody
|
|
90
90
|
tr
|
|
91
91
|
&.date-row
|
|
92
|
-
@apply text-
|
|
92
|
+
@apply text-pgray-3
|
|
93
93
|
|
|
94
94
|
td
|
|
95
95
|
@apply pt-4
|
package/components/SLTabs.vue
CHANGED
|
@@ -416,10 +416,10 @@ export default defineComponent({
|
|
|
416
416
|
|
|
417
417
|
&.disabled
|
|
418
418
|
.tab-nav-item-link
|
|
419
|
-
@apply text-
|
|
419
|
+
@apply text-pgray-4 cursor-default
|
|
420
420
|
|
|
421
421
|
&-link
|
|
422
|
-
@apply relative block px-4 pb-2 text-lg text-
|
|
422
|
+
@apply relative block px-4 pb-2 text-lg text-pgray-2
|
|
423
423
|
|
|
424
424
|
&-title
|
|
425
425
|
@apply truncate
|
|
@@ -438,7 +438,7 @@ export default defineComponent({
|
|
|
438
438
|
.tabs-nav-left
|
|
439
439
|
&:before
|
|
440
440
|
content ""
|
|
441
|
-
@apply absolute right-0 bottom-0 left-0 h-1 bg-
|
|
441
|
+
@apply absolute right-0 bottom-0 left-0 h-1 bg-pgray-5
|
|
442
442
|
|
|
443
443
|
.tabs-nav-left
|
|
444
444
|
@apply relative flex-grow-0 flex-shrink-0
|
|
@@ -462,7 +462,7 @@ export default defineComponent({
|
|
|
462
462
|
|
|
463
463
|
&.disabled
|
|
464
464
|
.tab-nav-item-link
|
|
465
|
-
@apply text-
|
|
465
|
+
@apply text-pgray-4 cursor-default
|
|
466
466
|
|
|
467
467
|
&-link
|
|
468
468
|
@apply relative block pt-1 px-6 pb-2 text-base text-secondary-500
|
|
@@ -286,7 +286,7 @@ export default defineComponent({
|
|
|
286
286
|
@apply border-primary-600 bg-primary-100
|
|
287
287
|
|
|
288
288
|
& > label
|
|
289
|
-
@apply w-full mb-2 text-base leading-normal text-
|
|
289
|
+
@apply w-full mb-2 text-base leading-normal text-pgray-2
|
|
290
290
|
|
|
291
291
|
.required
|
|
292
292
|
@apply text-danger
|
|
@@ -344,13 +344,13 @@ export default defineComponent({
|
|
|
344
344
|
@apply rounded-r-none border-r-0
|
|
345
345
|
|
|
346
346
|
input
|
|
347
|
-
@apply flex-grow w-full bg-transparent text-
|
|
347
|
+
@apply flex-grow w-full bg-transparent text-pgray-2 placeholder-pgray-4 s('focus:outline-none')
|
|
348
348
|
|
|
349
349
|
.icon
|
|
350
350
|
@apply flex-grow-0 flex-shrink-0 hidden text-danger-light
|
|
351
351
|
|
|
352
352
|
.float-label
|
|
353
|
-
@apply hidden absolute top-0 left-0 s('p-1.75') border-t border-b border-transparent text-
|
|
353
|
+
@apply hidden absolute top-0 left-0 s('p-1.75') border-t border-b border-transparent text-pgray-3 cursor-text
|
|
354
354
|
|
|
355
355
|
&-append
|
|
356
356
|
@apply flex-grow-0 flex-shrink-0
|
|
@@ -108,7 +108,7 @@ export default defineComponent({
|
|
|
108
108
|
@apply border-primary-600 bg-primary-100
|
|
109
109
|
|
|
110
110
|
label
|
|
111
|
-
@apply mb-2 text-base leading-normal text-
|
|
111
|
+
@apply mb-2 text-base leading-normal text-pgray-2
|
|
112
112
|
|
|
113
113
|
.is-invalid
|
|
114
114
|
textarea
|
|
@@ -121,13 +121,13 @@ export default defineComponent({
|
|
|
121
121
|
@apply relative
|
|
122
122
|
|
|
123
123
|
textarea
|
|
124
|
-
@apply block w-full p-2 border border-primary-600 rounded bg-white text-base text-
|
|
124
|
+
@apply block w-full p-2 border border-primary-600 rounded bg-white text-base text-pgray-2 resize-none s('focus:border-primary') s('focus:outline-none')
|
|
125
125
|
|
|
126
126
|
textarea:focus + .textarea-placeholder
|
|
127
127
|
@apply invisible
|
|
128
128
|
|
|
129
129
|
.form-control-notice
|
|
130
|
-
@apply inline-block ml-1 text-
|
|
130
|
+
@apply inline-block ml-1 text-pgray-3 text-xs
|
|
131
131
|
|
|
132
132
|
.invalid-feedback
|
|
133
133
|
@apply hidden text-danger text-xs
|
|
@@ -354,16 +354,16 @@ export default defineComponent({
|
|
|
354
354
|
@apply border-primary-600
|
|
355
355
|
|
|
356
356
|
.toggle-button
|
|
357
|
-
@apply relative flex items-center w-full s('p-1.75') s('space-x-1.75') border border-primary-600 rounded text-base text-
|
|
357
|
+
@apply relative flex items-center w-full s('p-1.75') s('space-x-1.75') border border-primary-600 rounded text-base text-pgray-4
|
|
358
358
|
|
|
359
359
|
&.selected
|
|
360
|
-
@apply text-
|
|
360
|
+
@apply text-pgray-2
|
|
361
361
|
|
|
362
362
|
.button-title
|
|
363
363
|
@apply flex-grow
|
|
364
364
|
|
|
365
365
|
.icon
|
|
366
|
-
@apply flex-grow-0 flex-shrink-0 inline-flex text-xs text-
|
|
366
|
+
@apply flex-grow-0 flex-shrink-0 inline-flex text-xs text-pgray-2 leading-none
|
|
367
367
|
|
|
368
368
|
.select-menu-popup
|
|
369
369
|
@apply z-10 flex flex-col s("h-67.75") s('min-w-[552px]') w-full s("pt-2.75") s("px-2.75") bg-white border border-primary-100 rounded shadow invisible pointer-events-none
|
|
@@ -411,7 +411,7 @@ export default defineComponent({
|
|
|
411
411
|
|
|
412
412
|
.list
|
|
413
413
|
.item
|
|
414
|
-
@apply relative flex items-center justify-start flex-nowrap s('py-1.5') px-2 s('space-x-2.5') text-sm text-
|
|
414
|
+
@apply relative flex items-center justify-start flex-nowrap s('py-1.5') px-2 s('space-x-2.5') text-sm text-pgray-3
|
|
415
415
|
@apply s('hover:bg-primary-100')
|
|
416
416
|
|
|
417
417
|
&.checked
|
|
@@ -441,5 +441,5 @@ export default defineComponent({
|
|
|
441
441
|
@apply flex-grow block truncate
|
|
442
442
|
|
|
443
443
|
&-divider
|
|
444
|
-
@apply flex-grow-0 flex-shrink-0 w-px h-auto mb-3 s("mr-2.75") ml-3 bg-
|
|
444
|
+
@apply flex-grow-0 flex-shrink-0 w-px h-auto mb-3 s("mr-2.75") ml-3 bg-pgray-4
|
|
445
445
|
</style>
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
)
|
|
41
41
|
span {{ layer.name }}
|
|
42
42
|
//- .highlight-dot
|
|
43
|
-
.select-body-empty.flex.items-center.justify-center.h-full.pb-3.text-sm.text-
|
|
43
|
+
.select-body-empty.flex.items-center.justify-center.h-full.pb-3.text-sm.text-pgray-3(v-else-if='query !== "" && firstLayers.length === 0') {{ emptyMessage }}
|
|
44
44
|
</template>
|
|
45
45
|
|
|
46
46
|
<script lang="ts">
|
|
@@ -252,7 +252,7 @@ export default defineComponent({
|
|
|
252
252
|
|
|
253
253
|
.list
|
|
254
254
|
.item
|
|
255
|
-
@apply relative block s('py-1.5') px-2 s("hover:bg-primary-50") text-sm text-
|
|
255
|
+
@apply relative block s('py-1.5') px-2 s("hover:bg-primary-50") text-sm text-pgray-3 truncate
|
|
256
256
|
|
|
257
257
|
&.selected
|
|
258
258
|
@apply bg-primary-100 text-primary
|
|
@@ -261,5 +261,5 @@ export default defineComponent({
|
|
|
261
261
|
@apply absolute top-0 left-0 s('w-1.5') s('h-1.5') mt-2 ml-1 bg-red rounded-full
|
|
262
262
|
|
|
263
263
|
&-divider
|
|
264
|
-
@apply flex-grow-0 flex-shrink-0 w-px h-auto mb-3 s("mr-2.75") ml-3 bg-
|
|
264
|
+
@apply flex-grow-0 flex-shrink-0 w-px h-auto mb-3 s("mr-2.75") ml-3 bg-pgray-4
|
|
265
265
|
</style>
|
|
@@ -294,16 +294,16 @@ export default defineComponent({
|
|
|
294
294
|
@apply text-sm
|
|
295
295
|
|
|
296
296
|
.toggle-button
|
|
297
|
-
@apply relative flex items-center w-full s('p-1.75') s('space-x-1.75') border border-primary-600 rounded text-base text-
|
|
297
|
+
@apply relative flex items-center w-full s('p-1.75') s('space-x-1.75') border border-primary-600 rounded text-base text-pgray-4
|
|
298
298
|
|
|
299
299
|
&.selected
|
|
300
|
-
@apply text-
|
|
300
|
+
@apply text-pgray-2
|
|
301
301
|
|
|
302
302
|
.button-title
|
|
303
303
|
@apply flex-grow
|
|
304
304
|
|
|
305
305
|
.icon
|
|
306
|
-
@apply flex-grow-0 flex-shrink-0 inline-flex text-xs text-
|
|
306
|
+
@apply flex-grow-0 flex-shrink-0 inline-flex text-xs text-pgray-2 leading-none
|
|
307
307
|
|
|
308
308
|
.tw-layer-select
|
|
309
309
|
@apply z-10 invisible pointer-events-none
|
package/package.json
CHANGED
package/tailwind.config.js
CHANGED
|
@@ -77,7 +77,7 @@ module.exports = {
|
|
|
77
77
|
2: '#F34141',
|
|
78
78
|
DEFAULT: '#EB5757',
|
|
79
79
|
},
|
|
80
|
-
|
|
80
|
+
pgray: {
|
|
81
81
|
1: '#2C2D31',
|
|
82
82
|
2: '#4D4F55',
|
|
83
83
|
3: '#858792',
|
|
@@ -86,6 +86,14 @@ module.exports = {
|
|
|
86
86
|
5: '#DFE1E9',
|
|
87
87
|
6: '#ECECF2',
|
|
88
88
|
},
|
|
89
|
+
gray: {
|
|
90
|
+
1: '#333333',
|
|
91
|
+
2: '#4F4F4F',
|
|
92
|
+
3: '#828282',
|
|
93
|
+
4: '#BDBDBD',
|
|
94
|
+
5: '#E0E0E0',
|
|
95
|
+
6: '#F2F2F2',
|
|
96
|
+
},
|
|
89
97
|
green: {
|
|
90
98
|
2: '#6EC393',
|
|
91
99
|
DEFAULT: '#27AE60',
|