@opendesign-plus/components 0.0.1-rc.21 → 0.0.1-rc.23
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/dist/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +3 -3
- package/dist/components/OHeaderSearch.vue.d.ts +58 -14
- package/dist/components/OThemeSwitcher.vue.d.ts +2 -5
- package/dist/components/activity/{OMyActivityCalendar.vue.d.ts → OActivityMyCalendar.vue.d.ts} +86 -24
- package/dist/components/activity/index.d.ts +45 -14
- package/dist/components/meeting/{OMyMeetingCalendar.vue.d.ts → OMeetingMyCalendar.vue.d.ts} +86 -24
- package/dist/components/meeting/index.d.ts +15 -301
- package/dist/components.cjs.js +36 -36
- package/dist/components.css +1 -1
- package/dist/components.es.js +7156 -7126
- package/package.json +3 -3
- package/src/assets/styles/element-plus.scss +204 -0
- package/src/components/OBanner.vue +18 -18
- package/src/components/OCookieNotice.vue +21 -21
- package/src/components/OFooter.vue +18 -17
- package/src/components/OHeaderSearch.vue +19 -19
- package/src/components/OHeaderUser.vue +3 -2
- package/src/components/OSection.vue +4 -4
- package/src/components/OThemeSwitcher.vue +51 -27
- package/src/components/activity/OActivityApproval.vue +14 -10
- package/src/components/activity/OActivityForm.vue +7 -5
- package/src/components/activity/{OMyActivityCalendar.vue → OActivityMyCalendar.vue} +69 -47
- package/src/components/activity/config.ts +1 -1
- package/src/components/activity/index.ts +4 -4
- package/src/components/common/ContentWrapper.vue +3 -3
- package/src/components/element-plus/OElCookieNotice.vue +26 -26
- package/src/components/events/OEventsApply.vue +46 -45
- package/src/components/events/OEventsCalendar.vue +21 -19
- package/src/components/events/OEventsList.vue +22 -20
- package/src/components/header/OHeader.vue +2 -2
- package/src/components/header/components/HeaderContent.vue +60 -60
- package/src/components/header/components/HeaderNav.vue +4 -4
- package/src/components/header/components/HeaderNavMobile.vue +3 -3
- package/src/components/meeting/OMeetingCalendar.vue +42 -39
- package/src/components/meeting/OMeetingForm.vue +32 -26
- package/src/components/meeting/{OMyMeetingCalendar.vue → OMeetingMyCalendar.vue} +97 -62
- package/src/components/meeting/OMeetingPlayback.vue +36 -12
- package/src/components/meeting/{OSigMeetingCalendar.vue → OMeetingSigCalendar.vue} +9 -6
- package/src/components/meeting/components/OMeetingCalendarList.vue +12 -12
- package/src/components/meeting/components/OMeetingCalendarSelector.vue +1 -1
- package/src/components/meeting/components/OMeetingDetail.vue +2 -2
- package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +11 -10
- package/src/components/meeting/components/OMeetingPlaybackVideo.vue +11 -11
- package/src/components/meeting/components/{OSigMeetingAside.vue → OMeetingSigAside.vue} +7 -7
- package/src/components/meeting/config.ts +1 -1
- package/src/components/meeting/index.ts +6 -6
- package/src/draft/Banner.vue +6 -6
- package/src/draft/ButtonCards.vue +1 -1
- package/src/draft/Feature.vue +6 -6
- package/src/draft/Footer.vue +29 -22
- package/src/draft/HorizontalAnchor.vue +4 -4
- package/src/draft/ItemSwiper.vue +2 -2
- package/src/draft/Logo.vue +3 -3
- package/src/draft/LogoCard.vue +2 -2
- package/src/draft/MultiCard.vue +1 -1
- package/src/draft/MultiIconCard.vue +1 -1
- package/src/draft/OInfoCard.vue +4 -4
- package/src/draft/Section.vue +4 -4
- package/src/draft/SingleTabCard.vue +1 -1
- package/src/draft/SliderCard.vue +4 -3
- package/src/i18n/en.ts +2 -2
- package/vite.config.ts +2 -2
- /package/dist/components/meeting/{OSigMeetingCalendar.vue.d.ts → OMeetingSigCalendar.vue.d.ts} +0 -0
- /package/dist/components/meeting/components/{OSigMeetingAside.vue.d.ts → OMeetingSigAside.vue.d.ts} +0 -0
|
@@ -293,7 +293,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
293
293
|
width: 160px;
|
|
294
294
|
height: 32px;
|
|
295
295
|
|
|
296
|
-
@include respond
|
|
296
|
+
@include respond('<=laptop') {
|
|
297
297
|
width: 120px;
|
|
298
298
|
}
|
|
299
299
|
|
|
@@ -308,7 +308,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
308
308
|
color: var(--o-color-info1);
|
|
309
309
|
@include h4;
|
|
310
310
|
|
|
311
|
-
@include respond
|
|
311
|
+
@include respond('<=pad_v') {
|
|
312
312
|
font-size: 20px;
|
|
313
313
|
}
|
|
314
314
|
|
|
@@ -324,7 +324,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
324
324
|
cursor: pointer;
|
|
325
325
|
display: none;
|
|
326
326
|
|
|
327
|
-
@include respond
|
|
327
|
+
@include respond('<=pad_v') {
|
|
328
328
|
display: block;
|
|
329
329
|
}
|
|
330
330
|
}
|
|
@@ -373,7 +373,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
373
373
|
width: 160px;
|
|
374
374
|
transition: width var(--o-easing-standard-in) var(--o-duration-m2);
|
|
375
375
|
|
|
376
|
-
@include respond
|
|
376
|
+
@include respond('<=laptop') {
|
|
377
377
|
width: 120px;
|
|
378
378
|
}
|
|
379
379
|
}
|
|
@@ -382,7 +382,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
382
382
|
.o-header-search-input-wrapper.focus {
|
|
383
383
|
padding: var(--o-gap-4);
|
|
384
384
|
|
|
385
|
-
@include respond
|
|
385
|
+
@include respond('<=pad_v') {
|
|
386
386
|
display: flex;
|
|
387
387
|
align-items: center;
|
|
388
388
|
gap: var(--o-gap-4);
|
|
@@ -392,11 +392,11 @@ onClickOutside(posWrapper, onClear);
|
|
|
392
392
|
.o-header-search-input {
|
|
393
393
|
width: 480px;
|
|
394
394
|
|
|
395
|
-
@include respond
|
|
395
|
+
@include respond('<=laptop') {
|
|
396
396
|
width: 240px;
|
|
397
397
|
}
|
|
398
398
|
|
|
399
|
-
@include respond
|
|
399
|
+
@include respond('<=pad_v') {
|
|
400
400
|
flex: 1;
|
|
401
401
|
}
|
|
402
402
|
}
|
|
@@ -414,7 +414,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
414
414
|
background-color: var(--o-color-fill2);
|
|
415
415
|
box-shadow: var(--o-shadow-2);
|
|
416
416
|
|
|
417
|
-
@include respond
|
|
417
|
+
@include respond('<=pad_v') {
|
|
418
418
|
position: static;
|
|
419
419
|
height: calc(100vh - 50px);
|
|
420
420
|
padding-top: 0;
|
|
@@ -433,17 +433,17 @@ onClickOutside(posWrapper, onClear);
|
|
|
433
433
|
background-color: var(--o-color-fill2);
|
|
434
434
|
box-shadow: unset;
|
|
435
435
|
|
|
436
|
-
@include respond
|
|
436
|
+
@include respond('<=laptop') {
|
|
437
437
|
top: -10px;
|
|
438
438
|
height: 10px;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
@include respond
|
|
441
|
+
@include respond('<=pad') {
|
|
442
442
|
top: -8px;
|
|
443
443
|
height: 8px;
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
-
@include respond
|
|
446
|
+
@include respond('<=pad_v') {
|
|
447
447
|
display: none;
|
|
448
448
|
}
|
|
449
449
|
}
|
|
@@ -461,7 +461,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
461
461
|
color: var(--o-color-primary1);
|
|
462
462
|
}
|
|
463
463
|
|
|
464
|
-
@include respond
|
|
464
|
+
@include respond('<=pad_v') {
|
|
465
465
|
font-size: 12px;
|
|
466
466
|
line-height: 18px;
|
|
467
467
|
}
|
|
@@ -472,7 +472,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
.o-header-search-history-container {
|
|
475
|
-
@include respond
|
|
475
|
+
@include respond('<=pad_v') {
|
|
476
476
|
margin-bottom: var(--o-gap-5);
|
|
477
477
|
}
|
|
478
478
|
}
|
|
@@ -487,7 +487,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
487
487
|
@include tip2;
|
|
488
488
|
color: var(--o-color-info3);
|
|
489
489
|
|
|
490
|
-
@include respond
|
|
490
|
+
@include respond('<=pad_v') {
|
|
491
491
|
@include text2;
|
|
492
492
|
color: var(--o-color-info1);
|
|
493
493
|
}
|
|
@@ -510,7 +510,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
510
510
|
width: 16px;
|
|
511
511
|
height: 16px;
|
|
512
512
|
border-radius: 50%;
|
|
513
|
-
background-color: rgb(var(--o-
|
|
513
|
+
background-color: rgb(var(--o-grey-9));
|
|
514
514
|
|
|
515
515
|
.icon-delete {
|
|
516
516
|
height: 16px;
|
|
@@ -547,7 +547,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
547
547
|
white-space: nowrap;
|
|
548
548
|
@include tip2;
|
|
549
549
|
|
|
550
|
-
@include respond
|
|
550
|
+
@include respond('<=pad_v') {
|
|
551
551
|
@include text1;
|
|
552
552
|
}
|
|
553
553
|
}
|
|
@@ -555,7 +555,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
555
555
|
.o-header-search-drawer-divider {
|
|
556
556
|
--o-divider-gap: var(--o-gap-4);
|
|
557
557
|
|
|
558
|
-
@include respond
|
|
558
|
+
@include respond('<=pad_v') {
|
|
559
559
|
display: none;
|
|
560
560
|
}
|
|
561
561
|
}
|
|
@@ -564,7 +564,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
564
564
|
color: var(--o-color-info3);
|
|
565
565
|
@include tip2;
|
|
566
566
|
|
|
567
|
-
@include respond
|
|
567
|
+
@include respond('<=pad_v') {
|
|
568
568
|
margin-bottom: var(--o-gap-3);
|
|
569
569
|
@include text2;
|
|
570
570
|
}
|
|
@@ -577,7 +577,7 @@ onClickOutside(posWrapper, onClear);
|
|
|
577
577
|
margin-top: var(--o-gap-3);
|
|
578
578
|
@include tip2;
|
|
579
579
|
|
|
580
|
-
@include respond
|
|
580
|
+
@include respond('<=pad_v') {
|
|
581
581
|
flex-direction: column;
|
|
582
582
|
gap: 12px;
|
|
583
583
|
font-size: 12px;
|
|
@@ -169,7 +169,7 @@ const jumpToPage = (val: any) => {
|
|
|
169
169
|
@include text-truncate(1);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
@include respond
|
|
172
|
+
@include respond('<=pad_v') {
|
|
173
173
|
.header-user {
|
|
174
174
|
min-width: auto;
|
|
175
175
|
|
|
@@ -207,7 +207,8 @@ const jumpToPage = (val: any) => {
|
|
|
207
207
|
color: var(--o-color-primary1);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
|
|
210
|
+
|
|
211
|
+
@include respond('<=pad_v') {
|
|
211
212
|
.user-dropdown {
|
|
212
213
|
.o-divider {
|
|
213
214
|
display: none;
|
|
@@ -121,11 +121,11 @@ const props = withDefaults(defineProps<SectionPropsT>(), {
|
|
|
121
121
|
color: var(--o-color-info2);
|
|
122
122
|
@include text1;
|
|
123
123
|
|
|
124
|
-
@include respond
|
|
124
|
+
@include respond('pad-laptop') {
|
|
125
125
|
margin-top: 8px;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
@include respond
|
|
128
|
+
@include respond('phone') {
|
|
129
129
|
margin-top: 12px;
|
|
130
130
|
text-align: center;
|
|
131
131
|
}
|
|
@@ -155,11 +155,11 @@ const props = withDefaults(defineProps<SectionPropsT>(), {
|
|
|
155
155
|
border-radius: var(--btn-height);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
@include respond
|
|
158
|
+
@include respond('<=laptop') {
|
|
159
159
|
margin-top: 16px;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
@include respond
|
|
162
|
+
@include respond('phone') {
|
|
163
163
|
margin-top: 12px;
|
|
164
164
|
}
|
|
165
165
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import {
|
|
3
|
-
import { OIcon, OSwitch } from '@opensig/opendesign';
|
|
2
|
+
import { computed } from 'vue';
|
|
3
|
+
import { OIcon, OSwitch, OIconSun, OIconMoon } from '@opensig/opendesign';
|
|
4
4
|
import { useScreen } from '@opendesign-plus/composables';
|
|
5
5
|
|
|
6
6
|
import IconSun from '~icons/components/icon-sun.svg';
|
|
@@ -11,8 +11,7 @@ export interface OThemeSwitcherPropsT {
|
|
|
11
11
|
type?: 'auto' | 'common' | 'mobile';
|
|
12
12
|
lightValue?: string;
|
|
13
13
|
darkValue?: string;
|
|
14
|
-
|
|
15
|
-
darkIcon?: Component;
|
|
14
|
+
disabled?: boolean;
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
export interface OThemeSwitcherEmitsT {
|
|
@@ -25,8 +24,7 @@ const props = withDefaults(defineProps<OThemeSwitcherPropsT>(), {
|
|
|
25
24
|
type: 'auto',
|
|
26
25
|
lightValue: 'light',
|
|
27
26
|
darkValue: 'dark',
|
|
28
|
-
|
|
29
|
-
darkIcon: IconMoon,
|
|
27
|
+
disabled: false,
|
|
30
28
|
});
|
|
31
29
|
|
|
32
30
|
const emit = defineEmits<OThemeSwitcherEmitsT>();
|
|
@@ -37,7 +35,7 @@ const switchVal = computed({
|
|
|
37
35
|
get() {
|
|
38
36
|
return props.theme;
|
|
39
37
|
},
|
|
40
|
-
set(val) {
|
|
38
|
+
set(val: string) {
|
|
41
39
|
emit('update:theme', val);
|
|
42
40
|
emit('change', val);
|
|
43
41
|
},
|
|
@@ -48,13 +46,17 @@ const isCommon = computed(() => {
|
|
|
48
46
|
});
|
|
49
47
|
|
|
50
48
|
const toggleTheme = () => {
|
|
49
|
+
if (props.disabled) {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
|
|
51
53
|
switchVal.value = switchVal.value === props.lightValue ? props.darkValue : props.lightValue;
|
|
52
54
|
};
|
|
53
55
|
</script>
|
|
54
56
|
|
|
55
57
|
<template>
|
|
56
58
|
<div class="o-theme-switcher">
|
|
57
|
-
<div v-if="isCommon" class="o-theme-switcher-common" @click="toggleTheme">
|
|
59
|
+
<div v-if="isCommon" class="o-theme-switcher-common" :class="{ disabled }" @click="toggleTheme">
|
|
58
60
|
<OIcon class="o-theme-icon">
|
|
59
61
|
<IconMoon v-if="switchVal === lightValue" />
|
|
60
62
|
<IconSun v-else />
|
|
@@ -62,16 +64,18 @@ const toggleTheme = () => {
|
|
|
62
64
|
</div>
|
|
63
65
|
|
|
64
66
|
<div v-else class="o-theme-switcher-mobile">
|
|
65
|
-
<OSwitch v-model="switchVal" class="o-theme-switch" :checked-value="
|
|
66
|
-
<template #
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
<OSwitch v-model="switchVal" class="o-theme-switch" :checked-value="lightValue" :unchecked-value="darkValue" :disabled="disabled">
|
|
68
|
+
<template #inactive>
|
|
69
|
+
<OIconMoon />
|
|
70
|
+
</template>
|
|
71
|
+
<template #active>
|
|
72
|
+
<OIconSun />
|
|
70
73
|
</template>
|
|
71
74
|
<template #off>
|
|
72
|
-
<
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
<OIconSun />
|
|
76
|
+
</template>
|
|
77
|
+
<template #on>
|
|
78
|
+
<OIconMoon />
|
|
75
79
|
</template>
|
|
76
80
|
</OSwitch>
|
|
77
81
|
</div>
|
|
@@ -80,29 +84,49 @@ const toggleTheme = () => {
|
|
|
80
84
|
|
|
81
85
|
<style lang="scss" scoped>
|
|
82
86
|
.o-theme-switcher-common {
|
|
83
|
-
cursor: pointer;
|
|
84
|
-
width: 20px;
|
|
85
|
-
height: 20px;
|
|
86
87
|
display: flex;
|
|
87
88
|
align-items: center;
|
|
89
|
+
width: var(--o-icon_size-m);
|
|
90
|
+
height: var(--o-icon_size-m);
|
|
91
|
+
font-size: var(--o-icon_size-m);
|
|
92
|
+
|
|
93
|
+
@include respond-to('pad_h') {
|
|
94
|
+
width: var(--o-icon_size-s);
|
|
95
|
+
height: var(--o-icon_size-s);
|
|
96
|
+
font-size: var(--o-icon_size-s);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.o-theme-switcher-common:not(.disabled) {
|
|
101
|
+
cursor: pointer;
|
|
88
102
|
|
|
89
103
|
.o-theme-icon {
|
|
90
|
-
|
|
91
|
-
color: var(--o-color-info1);
|
|
104
|
+
color: var(--o-color-info2);
|
|
92
105
|
|
|
93
106
|
@include hover {
|
|
94
|
-
color: var(--o-color-
|
|
107
|
+
color: var(--o-color-primary2);
|
|
108
|
+
background-color: var(--o-color-control2-light);
|
|
109
|
+
border-radius: var(--o-radius-xs);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&:active {
|
|
113
|
+
color: var(--o-color-primary3);
|
|
95
114
|
}
|
|
96
115
|
}
|
|
97
116
|
}
|
|
98
117
|
|
|
118
|
+
.o-theme-switcher-common.disabled {
|
|
119
|
+
cursor: not-allowed;
|
|
120
|
+
|
|
121
|
+
.o-theme-icon {
|
|
122
|
+
color: var(--o-color-info4);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
99
126
|
.o-theme-switcher-mobile {
|
|
100
127
|
.o-theme-switch {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
.o-theme-icon {
|
|
104
|
-
color: var(--o-color-white);
|
|
105
|
-
}
|
|
128
|
+
--switch-handler-color: var(--o-color-white);
|
|
129
|
+
--switch-color: var(--o-color-info4);
|
|
106
130
|
}
|
|
107
131
|
}
|
|
108
132
|
</style>
|
|
@@ -569,6 +569,8 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
569
569
|
|
|
570
570
|
<style lang="scss">
|
|
571
571
|
.o-activity-table {
|
|
572
|
+
--activity-card-radius: var(--o-radius-xs);
|
|
573
|
+
--activity-input-radius: var(--o-radius-xs);
|
|
572
574
|
.table-wrapper {
|
|
573
575
|
.el-table {
|
|
574
576
|
border-top: none;
|
|
@@ -589,12 +591,12 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
589
591
|
margin-left: 24px;
|
|
590
592
|
}
|
|
591
593
|
|
|
592
|
-
@include respond
|
|
594
|
+
@include respond('<=pad_v') {
|
|
593
595
|
.o-btn + .o-btn {
|
|
594
596
|
margin-left: 16px;
|
|
595
597
|
}
|
|
596
598
|
}
|
|
597
|
-
@include respond
|
|
599
|
+
@include respond('phone') {
|
|
598
600
|
margin-top: 8px;
|
|
599
601
|
.o-btn + .o-btn {
|
|
600
602
|
margin-left: 12px;
|
|
@@ -695,7 +697,7 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
695
697
|
@include text1;
|
|
696
698
|
|
|
697
699
|
.el-table__header-wrapper {
|
|
698
|
-
border-radius:
|
|
700
|
+
border-radius: var(--activity-card-radius) var(--activity-card-radius) 0 0;
|
|
699
701
|
|
|
700
702
|
.el-table__cell {
|
|
701
703
|
padding: 12px 0 11px;
|
|
@@ -725,7 +727,7 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
725
727
|
}
|
|
726
728
|
|
|
727
729
|
.o-textarea {
|
|
728
|
-
--_box-radius:
|
|
730
|
+
--_box-radius: var(--activity-input-radius);
|
|
729
731
|
}
|
|
730
732
|
|
|
731
733
|
.dialog-footer {
|
|
@@ -737,7 +739,7 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
737
739
|
margin-left: 16px;
|
|
738
740
|
}
|
|
739
741
|
|
|
740
|
-
@include respond
|
|
742
|
+
@include respond('<=pad_v') {
|
|
741
743
|
.o-btn {
|
|
742
744
|
width: 140px;
|
|
743
745
|
color: var(--o-color-info1);
|
|
@@ -756,7 +758,7 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
756
758
|
|
|
757
759
|
.o-collapse {
|
|
758
760
|
padding: 0;
|
|
759
|
-
border-radius:
|
|
761
|
+
border-radius: var(--activity-card-radius);
|
|
760
762
|
|
|
761
763
|
.o-collapse-item {
|
|
762
764
|
--collapse-item-header-padding: 8px 0 12px;
|
|
@@ -826,11 +828,12 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
826
828
|
|
|
827
829
|
<style lang="scss">
|
|
828
830
|
.handle-dialog-approval {
|
|
831
|
+
--activity-card-radius: var(--o-radius-xs);
|
|
829
832
|
--dlg-width: 450px;
|
|
830
|
-
--dlg-radius: var(--
|
|
831
|
-
@include respond
|
|
833
|
+
--dlg-radius: var(--activity-card-radius);
|
|
834
|
+
@include respond('<=pad_v') {
|
|
832
835
|
width: 100%;
|
|
833
|
-
--dlg-radius: var(--
|
|
836
|
+
--dlg-radius: var(--activity-card-radius) var(--activity-card-radius) 0 0;
|
|
834
837
|
}
|
|
835
838
|
}
|
|
836
839
|
|
|
@@ -841,6 +844,7 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
841
844
|
}
|
|
842
845
|
.review-dialog {
|
|
843
846
|
--dlg-width: 690px;
|
|
847
|
+
--activity-input-radius: var(--o-radius-xs);
|
|
844
848
|
|
|
845
849
|
.o-form {
|
|
846
850
|
width: 450px;
|
|
@@ -852,7 +856,7 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
852
856
|
|
|
853
857
|
.o-textarea {
|
|
854
858
|
width: 100%;
|
|
855
|
-
--_box-radius: var(--
|
|
859
|
+
--_box-radius: var(--activity-input-radius);
|
|
856
860
|
}
|
|
857
861
|
}
|
|
858
862
|
|
|
@@ -444,6 +444,8 @@ defineExpose({
|
|
|
444
444
|
|
|
445
445
|
<style lang="scss">
|
|
446
446
|
.o-activity-form {
|
|
447
|
+
--activity-card-radius: var(--o-radius-xs);
|
|
448
|
+
--activity-input-radius: var(--o-radius-xs);
|
|
447
449
|
.form-wrapper {
|
|
448
450
|
& > .o-form-item {
|
|
449
451
|
max-width: 620px;
|
|
@@ -480,7 +482,7 @@ defineExpose({
|
|
|
480
482
|
}
|
|
481
483
|
|
|
482
484
|
.o-textarea {
|
|
483
|
-
--_box-radius: var(--
|
|
485
|
+
--_box-radius: var(--activity-input-radius);
|
|
484
486
|
width: 100%;
|
|
485
487
|
}
|
|
486
488
|
|
|
@@ -489,7 +491,7 @@ defineExpose({
|
|
|
489
491
|
}
|
|
490
492
|
|
|
491
493
|
.el-input__wrapper {
|
|
492
|
-
border-radius: var(--
|
|
494
|
+
border-radius: var(--activity-input-radius);
|
|
493
495
|
}
|
|
494
496
|
|
|
495
497
|
.time-config {
|
|
@@ -497,8 +499,8 @@ defineExpose({
|
|
|
497
499
|
background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent);
|
|
498
500
|
padding: var(--o-gap-5);
|
|
499
501
|
padding-right: calc(var(--o-gap-4) + var(--o-gap-5));
|
|
500
|
-
border-radius: var(--
|
|
501
|
-
@include respond
|
|
502
|
+
border-radius: var(--activity-card-radius);
|
|
503
|
+
@include respond('<=pad_v') {
|
|
502
504
|
padding: var(--o-gap-4);
|
|
503
505
|
}
|
|
504
506
|
|
|
@@ -522,7 +524,7 @@ defineExpose({
|
|
|
522
524
|
margin-left: var(--o-gap-4);
|
|
523
525
|
}
|
|
524
526
|
|
|
525
|
-
@include respond
|
|
527
|
+
@include respond('<=pad_v') {
|
|
526
528
|
.o-btn {
|
|
527
529
|
--btn-min-width: 74px;
|
|
528
530
|
}
|