@conduction/nextcloud-vue 0.1.0-beta.11 → 0.1.0-beta.12
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/nextcloud-vue.cjs +67614 -0
- package/dist/nextcloud-vue.cjs.js +13518 -13617
- package/dist/nextcloud-vue.cjs.js.map +1 -1
- package/dist/nextcloud-vue.cjs.map +1 -0
- package/dist/nextcloud-vue.css +1796 -1800
- package/dist/nextcloud-vue.esm.js +13518 -13617
- package/dist/nextcloud-vue.esm.js.map +1 -1
- package/package.json +3 -2
- package/src/components/CnActionsBar/CnActionsBar.vue +254 -254
- package/src/components/CnAdvancedFormDialog/CnAdvancedFormDialog.vue +570 -570
- package/src/components/CnAdvancedFormDialog/CnDataTab.vue +217 -217
- package/src/components/CnAdvancedFormDialog/CnMetadataTab.vue +121 -121
- package/src/components/CnAdvancedFormDialog/CnPropertiesTab.vue +422 -422
- package/src/components/CnAdvancedFormDialog/CnPropertyValueCell.vue +247 -247
- package/src/components/CnCard/CnCard.vue +415 -415
- package/src/components/CnCardGrid/CnCardGrid.vue +156 -156
- package/src/components/CnCellRenderer/CnCellRenderer.vue +132 -132
- package/src/components/CnChartWidget/CnChartWidget.vue +346 -346
- package/src/components/CnConfigurationCard/CnConfigurationCard.vue +77 -77
- package/src/components/CnContextMenu/CnContextMenu.vue +142 -142
- package/src/components/CnCopyDialog/CnCopyDialog.vue +266 -266
- package/src/components/CnDashboardGrid/CnDashboardGrid.vue +229 -229
- package/src/components/CnDashboardPage/CnDashboardPage.vue +397 -397
- package/src/components/CnDataTable/CnDataTable.vue +362 -362
- package/src/components/CnDeleteDialog/CnDeleteDialog.vue +177 -177
- package/src/components/CnDetailCard/CnDetailCard.vue +225 -225
- package/src/components/CnDetailGrid/CnDetailGrid.vue +256 -256
- package/src/components/CnDetailPage/CnDetailPage.vue +432 -432
- package/src/components/CnFacetSidebar/CnFacetSidebar.vue +234 -234
- package/src/components/CnFilterBar/CnFilterBar.vue +153 -153
- package/src/components/CnFormDialog/CnFormDialog.vue +1047 -1047
- package/src/components/CnIcon/CnIcon.vue +89 -89
- package/src/components/CnIndexPage/CnIndexPage.vue +981 -980
- package/src/components/CnIndexSidebar/CnIndexSidebar.vue +536 -536
- package/src/components/CnInfoWidget/CnInfoWidget.vue +219 -219
- package/src/components/CnItemCard/CnItemCard.vue +134 -134
- package/src/components/CnJsonViewer/CnJsonViewer.vue +312 -312
- package/src/components/CnKpiGrid/CnKpiGrid.vue +93 -93
- package/src/components/CnMassActionBar/CnMassActionBar.vue +161 -161
- package/src/components/CnMassCopyDialog/CnMassCopyDialog.vue +327 -327
- package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.vue +245 -245
- package/src/components/CnMassExportDialog/CnMassExportDialog.vue +191 -191
- package/src/components/CnMassImportDialog/CnMassImportDialog.vue +494 -494
- package/src/components/CnNoteCard/CnNoteCard.vue +149 -149
- package/src/components/CnNotesCard/CnNotesCard.vue +416 -416
- package/src/components/CnObjectCard/CnObjectCard.vue +294 -294
- package/src/components/CnObjectDataWidget/CnObjectDataWidget.vue +854 -854
- package/src/components/CnObjectMetadataWidget/CnObjectMetadataWidget.vue +289 -289
- package/src/components/CnObjectSidebar/CnAuditTrailTab.vue +369 -369
- package/src/components/CnObjectSidebar/CnFilesTab.vue +287 -287
- package/src/components/CnObjectSidebar/CnNotesTab.vue +250 -250
- package/src/components/CnObjectSidebar/CnObjectSidebar.vue +255 -255
- package/src/components/CnObjectSidebar/CnTagsTab.vue +259 -259
- package/src/components/CnObjectSidebar/CnTasksTab.vue +483 -483
- package/src/components/CnPageHeader/CnPageHeader.vue +61 -61
- package/src/components/CnPagination/CnPagination.vue +253 -253
- package/src/components/CnProgressBar/CnProgressBar.vue +262 -262
- package/src/components/CnRegisterMapping/CnRegisterMapping.vue +793 -793
- package/src/components/CnRowActions/CnRowActions.vue +95 -95
- package/src/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue +226 -226
- package/src/components/CnSchemaFormDialog/CnSchemaFormDialog.vue +788 -788
- package/src/components/CnSchemaFormDialog/CnSchemaPropertiesTab.vue +305 -305
- package/src/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue +1398 -1398
- package/src/components/CnSchemaFormDialog/CnSchemaSecurityTab.vue +236 -236
- package/src/components/CnSettingsCard/CnSettingsCard.vue +92 -92
- package/src/components/CnSettingsSection/CnSettingsSection.vue +267 -267
- package/src/components/CnStatsBlock/CnStatsBlock.vue +437 -437
- package/src/components/CnStatsPanel/CnStatsPanel.vue +321 -321
- package/src/components/CnStatusBadge/CnStatusBadge.vue +90 -90
- package/src/components/CnTabbedFormDialog/CnTabbedFormDialog.vue +545 -545
- package/src/components/CnTableWidget/CnTableWidget.vue +333 -333
- package/src/components/CnTasksCard/CnTasksCard.vue +374 -374
- package/src/components/CnTileWidget/CnTileWidget.vue +159 -159
- package/src/components/CnTimelineStages/CnTimelineStages.vue +294 -294
- package/src/components/CnUserActionMenu/CnUserActionMenu.vue +436 -436
- package/src/components/CnVersionInfoCard/CnVersionInfoCard.vue +313 -313
- package/src/components/CnWidgetRenderer/CnWidgetRenderer.vue +180 -180
- package/src/components/CnWidgetWrapper/CnWidgetWrapper.vue +248 -248
|
@@ -1,225 +1,225 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
CnDetailCard — A card container for detail page sections.
|
|
3
|
-
|
|
4
|
-
Visually matches the dashboard widget card style (rounded border, header, content).
|
|
5
|
-
Used inside CnDetailPage to organize entity detail information into cards.
|
|
6
|
-
-->
|
|
7
|
-
<template>
|
|
8
|
-
<div class="cn-detail-card" :class="{ 'cn-detail-card--collapsed': isCollapsed }">
|
|
9
|
-
<!-- Header -->
|
|
10
|
-
<div
|
|
11
|
-
v-if="title || $slots.icon"
|
|
12
|
-
class="cn-detail-card__header"
|
|
13
|
-
:class="{ 'cn-detail-card__header--clickable': collapsible }"
|
|
14
|
-
@click="collapsible && toggleCollapse()">
|
|
15
|
-
<div class="cn-detail-card__header-left">
|
|
16
|
-
<slot name="icon">
|
|
17
|
-
<component
|
|
18
|
-
:is="icon"
|
|
19
|
-
v-if="icon"
|
|
20
|
-
:size="20"
|
|
21
|
-
class="cn-detail-card__icon" />
|
|
22
|
-
</slot>
|
|
23
|
-
<h3 class="cn-detail-card__title">
|
|
24
|
-
{{ title }}
|
|
25
|
-
</h3>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="cn-detail-card__header-right">
|
|
28
|
-
<slot name="actions" />
|
|
29
|
-
<button
|
|
30
|
-
v-if="collapsible"
|
|
31
|
-
class="cn-detail-card__collapse-btn"
|
|
32
|
-
:aria-label="isCollapsed ? 'Expand' : 'Collapse'">
|
|
33
|
-
<ChevronDown
|
|
34
|
-
:size="20"
|
|
35
|
-
:class="{ 'cn-detail-card__chevron--rotated': isCollapsed }" />
|
|
36
|
-
</button>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
|
|
40
|
-
<!-- Content -->
|
|
41
|
-
<div v-show="!isCollapsed" class="cn-detail-card__content" :class="{ 'cn-detail-card__content--flush': flush }">
|
|
42
|
-
<slot />
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
<!-- Footer -->
|
|
46
|
-
<div v-if="$slots.footer" v-show="!isCollapsed" class="cn-detail-card__footer">
|
|
47
|
-
<slot name="footer" />
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</template>
|
|
51
|
-
|
|
52
|
-
<script>
|
|
53
|
-
import ChevronDown from 'vue-material-design-icons/ChevronDown.vue'
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* CnDetailCard — Card container for detail page sections.
|
|
57
|
-
*
|
|
58
|
-
* @example Basic usage
|
|
59
|
-
* <CnDetailCard title="Core Info">
|
|
60
|
-
* <div class="info-grid">...</div>
|
|
61
|
-
* </CnDetailCard>
|
|
62
|
-
*
|
|
63
|
-
* @example With icon and actions
|
|
64
|
-
* <CnDetailCard title="Pipeline" :icon="ChartIcon">
|
|
65
|
-
* <template #actions>
|
|
66
|
-
* <NcButton>Edit</NcButton>
|
|
67
|
-
* </template>
|
|
68
|
-
* <PipelineProgress :stages="stages" />
|
|
69
|
-
* </CnDetailCard>
|
|
70
|
-
*
|
|
71
|
-
* @example Collapsible
|
|
72
|
-
* <CnDetailCard title="Products" :collapsible="true">
|
|
73
|
-
* <ProductList :items="products" />
|
|
74
|
-
* </CnDetailCard>
|
|
75
|
-
*/
|
|
76
|
-
export default {
|
|
77
|
-
name: 'CnDetailCard',
|
|
78
|
-
|
|
79
|
-
components: {
|
|
80
|
-
ChevronDown,
|
|
81
|
-
},
|
|
82
|
-
|
|
83
|
-
props: {
|
|
84
|
-
/** Card header title */
|
|
85
|
-
title: {
|
|
86
|
-
type: String,
|
|
87
|
-
default: '',
|
|
88
|
-
},
|
|
89
|
-
/** Optional MDI icon component for the header */
|
|
90
|
-
icon: {
|
|
91
|
-
type: [Object, Function],
|
|
92
|
-
default: null,
|
|
93
|
-
},
|
|
94
|
-
/** Whether the card can be collapsed */
|
|
95
|
-
collapsible: {
|
|
96
|
-
type: Boolean,
|
|
97
|
-
default: false,
|
|
98
|
-
},
|
|
99
|
-
/** Initial collapsed state (only relevant when collapsible is true) */
|
|
100
|
-
collapsed: {
|
|
101
|
-
type: Boolean,
|
|
102
|
-
default: false,
|
|
103
|
-
},
|
|
104
|
-
/**
|
|
105
|
-
* Remove content padding — allows tables and lists to go edge-to-edge.
|
|
106
|
-
*/
|
|
107
|
-
flush: {
|
|
108
|
-
type: Boolean,
|
|
109
|
-
default: false,
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
data() {
|
|
114
|
-
return {
|
|
115
|
-
isCollapsed: this.collapsed,
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
|
|
119
|
-
watch: {
|
|
120
|
-
collapsed(val) {
|
|
121
|
-
this.isCollapsed = val
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
|
|
125
|
-
methods: {
|
|
126
|
-
toggleCollapse() {
|
|
127
|
-
this.isCollapsed = !this.isCollapsed
|
|
128
|
-
this.$emit('update:collapsed', this.isCollapsed)
|
|
129
|
-
},
|
|
130
|
-
},
|
|
131
|
-
}
|
|
132
|
-
</script>
|
|
133
|
-
|
|
134
|
-
<style scoped>
|
|
135
|
-
.cn-detail-card {
|
|
136
|
-
background: var(--color-main-background);
|
|
137
|
-
border: 1px solid var(--color-border);
|
|
138
|
-
border-radius: var(--border-radius-large, 12px);
|
|
139
|
-
overflow: hidden;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.cn-detail-card__header {
|
|
143
|
-
display: flex;
|
|
144
|
-
align-items: center;
|
|
145
|
-
justify-content: space-between;
|
|
146
|
-
padding: 12px 16px;
|
|
147
|
-
border-bottom: 1px solid var(--color-border);
|
|
148
|
-
flex-shrink: 0;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.cn-detail-card__header--clickable {
|
|
152
|
-
cursor: pointer;
|
|
153
|
-
user-select: none;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.cn-detail-card__header--clickable:hover {
|
|
157
|
-
background: var(--color-background-hover);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.cn-detail-card--collapsed .cn-detail-card__header {
|
|
161
|
-
border-bottom: none;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.cn-detail-card__header-left {
|
|
165
|
-
display: flex;
|
|
166
|
-
align-items: center;
|
|
167
|
-
gap: 8px;
|
|
168
|
-
min-width: 0;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.cn-detail-card__header-right {
|
|
172
|
-
display: flex;
|
|
173
|
-
align-items: center;
|
|
174
|
-
gap: 4px;
|
|
175
|
-
flex-shrink: 0;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.cn-detail-card__icon {
|
|
179
|
-
color: var(--color-primary-element);
|
|
180
|
-
flex-shrink: 0;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.cn-detail-card__title {
|
|
184
|
-
font-weight: 600;
|
|
185
|
-
font-size: 14px;
|
|
186
|
-
margin: 0;
|
|
187
|
-
white-space: nowrap;
|
|
188
|
-
overflow: hidden;
|
|
189
|
-
text-overflow: ellipsis;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.cn-detail-card__collapse-btn {
|
|
193
|
-
display: flex;
|
|
194
|
-
align-items: center;
|
|
195
|
-
justify-content: center;
|
|
196
|
-
background: none;
|
|
197
|
-
border: none;
|
|
198
|
-
padding: 4px;
|
|
199
|
-
cursor: pointer;
|
|
200
|
-
color: var(--color-text-maxcontrast);
|
|
201
|
-
border-radius: var(--border-radius);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.cn-detail-card__collapse-btn:hover {
|
|
205
|
-
background: var(--color-background-dark);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.cn-detail-card__chevron--rotated {
|
|
209
|
-
transform: rotate(-90deg);
|
|
210
|
-
transition: transform 0.2s ease;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.cn-detail-card__content {
|
|
214
|
-
padding: 16px;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.cn-detail-card__content--flush {
|
|
218
|
-
padding: 0;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.cn-detail-card__footer {
|
|
222
|
-
padding: 8px 16px;
|
|
223
|
-
border-top: 1px solid var(--color-border);
|
|
224
|
-
}
|
|
225
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
CnDetailCard — A card container for detail page sections.
|
|
3
|
+
|
|
4
|
+
Visually matches the dashboard widget card style (rounded border, header, content).
|
|
5
|
+
Used inside CnDetailPage to organize entity detail information into cards.
|
|
6
|
+
-->
|
|
7
|
+
<template>
|
|
8
|
+
<div class="cn-detail-card" :class="{ 'cn-detail-card--collapsed': isCollapsed }">
|
|
9
|
+
<!-- Header -->
|
|
10
|
+
<div
|
|
11
|
+
v-if="title || $slots.icon"
|
|
12
|
+
class="cn-detail-card__header"
|
|
13
|
+
:class="{ 'cn-detail-card__header--clickable': collapsible }"
|
|
14
|
+
@click="collapsible && toggleCollapse()">
|
|
15
|
+
<div class="cn-detail-card__header-left">
|
|
16
|
+
<slot name="icon">
|
|
17
|
+
<component
|
|
18
|
+
:is="icon"
|
|
19
|
+
v-if="icon"
|
|
20
|
+
:size="20"
|
|
21
|
+
class="cn-detail-card__icon" />
|
|
22
|
+
</slot>
|
|
23
|
+
<h3 class="cn-detail-card__title">
|
|
24
|
+
{{ title }}
|
|
25
|
+
</h3>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="cn-detail-card__header-right">
|
|
28
|
+
<slot name="actions" />
|
|
29
|
+
<button
|
|
30
|
+
v-if="collapsible"
|
|
31
|
+
class="cn-detail-card__collapse-btn"
|
|
32
|
+
:aria-label="isCollapsed ? 'Expand' : 'Collapse'">
|
|
33
|
+
<ChevronDown
|
|
34
|
+
:size="20"
|
|
35
|
+
:class="{ 'cn-detail-card__chevron--rotated': isCollapsed }" />
|
|
36
|
+
</button>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<!-- Content -->
|
|
41
|
+
<div v-show="!isCollapsed" class="cn-detail-card__content" :class="{ 'cn-detail-card__content--flush': flush }">
|
|
42
|
+
<slot />
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<!-- Footer -->
|
|
46
|
+
<div v-if="$slots.footer" v-show="!isCollapsed" class="cn-detail-card__footer">
|
|
47
|
+
<slot name="footer" />
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</template>
|
|
51
|
+
|
|
52
|
+
<script>
|
|
53
|
+
import ChevronDown from 'vue-material-design-icons/ChevronDown.vue'
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* CnDetailCard — Card container for detail page sections.
|
|
57
|
+
*
|
|
58
|
+
* @example Basic usage
|
|
59
|
+
* <CnDetailCard title="Core Info">
|
|
60
|
+
* <div class="info-grid">...</div>
|
|
61
|
+
* </CnDetailCard>
|
|
62
|
+
*
|
|
63
|
+
* @example With icon and actions
|
|
64
|
+
* <CnDetailCard title="Pipeline" :icon="ChartIcon">
|
|
65
|
+
* <template #actions>
|
|
66
|
+
* <NcButton>Edit</NcButton>
|
|
67
|
+
* </template>
|
|
68
|
+
* <PipelineProgress :stages="stages" />
|
|
69
|
+
* </CnDetailCard>
|
|
70
|
+
*
|
|
71
|
+
* @example Collapsible
|
|
72
|
+
* <CnDetailCard title="Products" :collapsible="true">
|
|
73
|
+
* <ProductList :items="products" />
|
|
74
|
+
* </CnDetailCard>
|
|
75
|
+
*/
|
|
76
|
+
export default {
|
|
77
|
+
name: 'CnDetailCard',
|
|
78
|
+
|
|
79
|
+
components: {
|
|
80
|
+
ChevronDown,
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
props: {
|
|
84
|
+
/** Card header title */
|
|
85
|
+
title: {
|
|
86
|
+
type: String,
|
|
87
|
+
default: '',
|
|
88
|
+
},
|
|
89
|
+
/** Optional MDI icon component for the header */
|
|
90
|
+
icon: {
|
|
91
|
+
type: [Object, Function],
|
|
92
|
+
default: null,
|
|
93
|
+
},
|
|
94
|
+
/** Whether the card can be collapsed */
|
|
95
|
+
collapsible: {
|
|
96
|
+
type: Boolean,
|
|
97
|
+
default: false,
|
|
98
|
+
},
|
|
99
|
+
/** Initial collapsed state (only relevant when collapsible is true) */
|
|
100
|
+
collapsed: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
default: false,
|
|
103
|
+
},
|
|
104
|
+
/**
|
|
105
|
+
* Remove content padding — allows tables and lists to go edge-to-edge.
|
|
106
|
+
*/
|
|
107
|
+
flush: {
|
|
108
|
+
type: Boolean,
|
|
109
|
+
default: false,
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
data() {
|
|
114
|
+
return {
|
|
115
|
+
isCollapsed: this.collapsed,
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
|
|
119
|
+
watch: {
|
|
120
|
+
collapsed(val) {
|
|
121
|
+
this.isCollapsed = val
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
|
|
125
|
+
methods: {
|
|
126
|
+
toggleCollapse() {
|
|
127
|
+
this.isCollapsed = !this.isCollapsed
|
|
128
|
+
this.$emit('update:collapsed', this.isCollapsed)
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
}
|
|
132
|
+
</script>
|
|
133
|
+
|
|
134
|
+
<style scoped>
|
|
135
|
+
.cn-detail-card {
|
|
136
|
+
background: var(--color-main-background);
|
|
137
|
+
border: 1px solid var(--color-border);
|
|
138
|
+
border-radius: var(--border-radius-large, 12px);
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.cn-detail-card__header {
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: space-between;
|
|
146
|
+
padding: 12px 16px;
|
|
147
|
+
border-bottom: 1px solid var(--color-border);
|
|
148
|
+
flex-shrink: 0;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.cn-detail-card__header--clickable {
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
user-select: none;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.cn-detail-card__header--clickable:hover {
|
|
157
|
+
background: var(--color-background-hover);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.cn-detail-card--collapsed .cn-detail-card__header {
|
|
161
|
+
border-bottom: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.cn-detail-card__header-left {
|
|
165
|
+
display: flex;
|
|
166
|
+
align-items: center;
|
|
167
|
+
gap: 8px;
|
|
168
|
+
min-width: 0;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.cn-detail-card__header-right {
|
|
172
|
+
display: flex;
|
|
173
|
+
align-items: center;
|
|
174
|
+
gap: 4px;
|
|
175
|
+
flex-shrink: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.cn-detail-card__icon {
|
|
179
|
+
color: var(--color-primary-element);
|
|
180
|
+
flex-shrink: 0;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.cn-detail-card__title {
|
|
184
|
+
font-weight: 600;
|
|
185
|
+
font-size: 14px;
|
|
186
|
+
margin: 0;
|
|
187
|
+
white-space: nowrap;
|
|
188
|
+
overflow: hidden;
|
|
189
|
+
text-overflow: ellipsis;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.cn-detail-card__collapse-btn {
|
|
193
|
+
display: flex;
|
|
194
|
+
align-items: center;
|
|
195
|
+
justify-content: center;
|
|
196
|
+
background: none;
|
|
197
|
+
border: none;
|
|
198
|
+
padding: 4px;
|
|
199
|
+
cursor: pointer;
|
|
200
|
+
color: var(--color-text-maxcontrast);
|
|
201
|
+
border-radius: var(--border-radius);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.cn-detail-card__collapse-btn:hover {
|
|
205
|
+
background: var(--color-background-dark);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.cn-detail-card__chevron--rotated {
|
|
209
|
+
transform: rotate(-90deg);
|
|
210
|
+
transition: transform 0.2s ease;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.cn-detail-card__content {
|
|
214
|
+
padding: 16px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.cn-detail-card__content--flush {
|
|
218
|
+
padding: 0;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.cn-detail-card__footer {
|
|
222
|
+
padding: 8px 16px;
|
|
223
|
+
border-top: 1px solid var(--color-border);
|
|
224
|
+
}
|
|
225
|
+
</style>
|