@appscode/design-system 2.2.65 → 2.2.67-alpha
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/main.scss +3 -2
- package/package.json +1 -1
- package/plugins/time-convert.js +0 -1
- package/vue-components/styles/base/utilities/_all.scss +1 -0
- package/vue-components/styles/base/utilities/_animation.scss +11 -0
- package/vue-components/styles/base/utilities/_colors.scss +8 -2
- package/vue-components/styles/base/utilities/_global.scss +3 -1
- package/vue-components/styles/components/_table.scss +3 -1
- package/vue-components/styles/components/form-fields/_all.scss +1 -0
- package/vue-components/styles/components/form-fields/_check-radio-switch.scss +230 -34
- package/vue-components/styles/components/form-fields/_custom-selectbox.scss +135 -0
- package/vue-components/styles/components/form-fields/_input.scss +2 -9
- package/vue-components/styles/components/header/_header.scss +1 -1
- package/vue-components/v3/accordion/Accordion.vue +14 -7
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +1 -1
- package/vue-components/v3/button/Buttons.vue +1 -1
- package/vue-components/v3/cards/FeatureCard.vue +1 -1
- package/vue-components/v3/code-preview/CodeBlock.vue +16 -5
- package/vue-components/v3/code-preview/CodeGroup.vue +13 -8
- package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
- package/vue-components/v3/editor/Editor.vue +2 -2
- package/vue-components/v3/editor/FilteredFileEditor.vue +2 -2
- package/vue-components/v3/editor/MonacoEditor.vue +1 -1
- package/vue-components/v3/editor/ResourceKeyValueEditor.vue +1 -1
- package/vue-components/v3/form-fields/AcInput.vue +1 -1
- package/vue-components/v3/form-fields/AcTextArea.vue +1 -1
- package/vue-components/v3/form-fields/CheckBox.vue +7 -11
- package/vue-components/v3/form-fields/CheckRadio.vue +2 -3
- package/vue-components/v3/form-fields/CustomSelect.vue +122 -0
- package/vue-components/v3/form-fields/ListInputField.vue +118 -0
- package/vue-components/v3/form-fields/Switch.vue +14 -10
- package/vue-components/v3/icons/ArrowDownIcon.vue +14 -0
- package/vue-components/v3/icons/CloseIcon.vue +14 -0
- package/vue-components/v3/icons/RefreshIcon.vue +18 -0
- package/vue-components/v3/modal/DialogModal.vue +1 -1
- package/vue-components/v3/navbar/NavbarItem.vue +2 -2
- package/vue-components/v3/navbar/Notification.vue +1 -1
- package/vue-components/v3/pagination/Pagination.vue +1 -1
- package/vue-components/v3/sidebar/AccentColorPicker.vue +2 -2
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +2 -2
- package/vue-components/v3/sidebar/SidebarItem.vue +1 -1
- package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +1 -1
- package/vue-components/v3/table/InfoTable.vue +1 -1
- package/vue-components/v3/table/MultiInfoTable.vue +1 -1
- package/vue-components/v3/table/Table.vue +1 -1
- package/vue-components/v3/table/TableCell.vue +1 -3
- package/vue-components/v3/table/table-cell/CellValue.vue +2 -2
- package/vue-components/v3/table/table-cell/GenericCell.vue +1 -1
- package/plugins/vue-toaster.js +0 -85
package/main.scss
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
// Third party CSS
|
|
6
6
|
@import "../node_modules/bulma/bulma.sass";
|
|
7
|
-
@import "bulma-checkradio";
|
|
8
|
-
@import "bulma-switch";
|
|
7
|
+
// @import "bulma-checkradio";
|
|
8
|
+
// @import "bulma-switch";
|
|
9
9
|
@import "bulma-tooltip";
|
|
10
10
|
@import "font-awesome/css/font-awesome.min.css";
|
|
11
11
|
@import "vue-multiselect/dist/vue-multiselect.css";
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
@import "@/components/vue-components/styles/components/terminal";
|
|
23
23
|
@import "@/components/vue-components/styles/components/code-preview/all";
|
|
24
24
|
@import "@/components/vue-components/styles/components/form-fields/input";
|
|
25
|
+
@import "@/components/vue-components/styles/components/form-fields/custom-selectbox";
|
|
25
26
|
@import "@/components/vue-components/styles/components/ui-builder/vue-open-api";
|
|
26
27
|
@import "@/components/vue-components/styles/components/ui-builder/ui-builder";
|
|
27
28
|
// @import "@/components/vue-components/styles/theme/appscode.scss";
|
package/package.json
CHANGED
package/plugins/time-convert.js
CHANGED
|
@@ -178,10 +178,16 @@ $gray-97: hsl($gray-hue, $gray-saturation, 97%);
|
|
|
178
178
|
// Box Shadow
|
|
179
179
|
$ac-shadow-1: 0 1px 4px rgba(26, 80, 151, 0.16);
|
|
180
180
|
$ac-shadow-2: 0px 8px 57px rgba(0, 0, 0, 0.16);
|
|
181
|
-
$ac-shadow-3:
|
|
181
|
+
$ac-shadow-3:
|
|
182
|
+
0 3px 4px 0 rgba(0, 0, 0, 0.18),
|
|
183
|
+
0 3px 3px -2px rgba(0, 0, 0, 0.16),
|
|
184
|
+
0 1px 6px 0 rgba(0, 0, 0, 0.12);
|
|
182
185
|
|
|
183
186
|
$shadow-sm: 0 1px 4px rgba(26, 80, 151, 0.16);
|
|
184
187
|
$shadow-xl: 0px 8px 57px rgba(0, 0, 0, 0.16);
|
|
185
|
-
$shadow-lg:
|
|
188
|
+
$shadow-lg:
|
|
189
|
+
0 3px 4px 0 rgba(0, 0, 0, 0.18),
|
|
190
|
+
0 3px 3px -2px rgba(0, 0, 0, 0.16),
|
|
191
|
+
0 1px 6px 0 rgba(0, 0, 0, 0.12);
|
|
186
192
|
|
|
187
193
|
// @import "../../theme/appscode";
|
|
@@ -637,7 +637,9 @@ $border_color_4: transparent transparent #585d6e transparent;
|
|
|
637
637
|
&[aria-hidden="true"] {
|
|
638
638
|
visibility: hidden;
|
|
639
639
|
opacity: 0;
|
|
640
|
-
transition:
|
|
640
|
+
transition:
|
|
641
|
+
opacity 0.15s,
|
|
642
|
+
visibility 0.15s;
|
|
641
643
|
}
|
|
642
644
|
|
|
643
645
|
&[aria-hidden="false"] {
|
|
@@ -417,7 +417,9 @@
|
|
|
417
417
|
.table-inner-shadow {
|
|
418
418
|
border-radius: 0px;
|
|
419
419
|
background: $color-border;
|
|
420
|
-
box-shadow:
|
|
420
|
+
box-shadow:
|
|
421
|
+
inset 5px 5px 10px #e3e6e9,
|
|
422
|
+
inset -5px -5px 10px $white-100;
|
|
421
423
|
}
|
|
422
424
|
|
|
423
425
|
@keyframes expand {
|
|
@@ -1,42 +1,238 @@
|
|
|
1
|
-
.is-checkradio.is-primary[type="checkbox"].is-primary:checked.has-background-color + label::before,
|
|
2
|
-
.is-checkradio.is-primary[type="checkbox"].is-primary:checked.has-background-color + label:before,
|
|
3
|
-
.is-checkradio.is-primary[type="checkbox"].is-primary:checked.has-background-color + label::after,
|
|
4
|
-
.is-checkradio.is-primary[type="checkbox"].is-primary:checked.has-background-color + label:after {
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
// .is-checkradio.is-primary[type="checkbox"].is-primary:checked.has-background-color + label::before,
|
|
2
|
+
// .is-checkradio.is-primary[type="checkbox"].is-primary:checked.has-background-color + label:before,
|
|
3
|
+
// .is-checkradio.is-primary[type="checkbox"].is-primary:checked.has-background-color + label::after,
|
|
4
|
+
// .is-checkradio.is-primary[type="checkbox"].is-primary:checked.has-background-color + label:after {
|
|
5
|
+
// background-color: $ac-primary !important;
|
|
6
|
+
// }
|
|
7
7
|
|
|
8
|
-
.is-checkradio[type="checkbox"] + label::after,
|
|
9
|
-
.is-checkradio[type="checkbox"] + label:after {
|
|
10
|
-
|
|
11
|
-
}
|
|
8
|
+
// .is-checkradio[type="checkbox"] + label::after,
|
|
9
|
+
// .is-checkradio[type="checkbox"] + label:after {
|
|
10
|
+
// border-color: $ac-primary;
|
|
11
|
+
// }
|
|
12
12
|
|
|
13
|
-
.is-checkradio[type="checkbox"]:checked + label::before,
|
|
14
|
-
.is-checkradio[type="checkbox"]:checked + label:before {
|
|
15
|
-
|
|
16
|
-
}
|
|
13
|
+
// .is-checkradio[type="checkbox"]:checked + label::before,
|
|
14
|
+
// .is-checkradio[type="checkbox"]:checked + label:before {
|
|
15
|
+
// border: 1px solid $ac-primary;
|
|
16
|
+
// }
|
|
17
17
|
|
|
18
|
-
.is-checkradio.is-primary[type="radio"] + label::after,
|
|
19
|
-
.is-checkradio.is-primary[type="radio"] + label:after {
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.is-checkradio.is-primary[type="checkbox"]:checked + label
|
|
24
|
-
.is-checkradio.is-primary[type="
|
|
25
|
-
.is-checkradio.is-primary[type="radio"]:checked + label
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
// .is-checkradio.is-primary[type="radio"] + label::after,
|
|
19
|
+
// .is-checkradio.is-primary[type="radio"] + label:after {
|
|
20
|
+
// background: $ac-primary !important;
|
|
21
|
+
// }
|
|
22
|
+
|
|
23
|
+
// .is-checkradio.is-primary[type="checkbox"]:checked + label::before,
|
|
24
|
+
// .is-checkradio.is-primary[type="checkbox"]:checked + label:before,
|
|
25
|
+
// .is-checkradio.is-primary[type="radio"]:checked + label::before,
|
|
26
|
+
// .is-checkradio.is-primary[type="radio"]:checked + label:before {
|
|
27
|
+
// border-color: $ac-primary;
|
|
28
|
+
// }
|
|
29
|
+
|
|
30
|
+
// .is-checkradio[type="radio"].is-primary:checked + label::after,
|
|
31
|
+
// .is-checkradio[type="radio"].is-primary:checked + label:after {
|
|
32
|
+
// background-color: $ac-primary !important;
|
|
33
|
+
// border-color: $ac-primary;
|
|
34
|
+
// }
|
|
35
|
+
|
|
36
|
+
// .switch[type="checkbox"].is-primary:checked + label::before,
|
|
37
|
+
// .switch[type="checkbox"].is-primary:checked + label:before {
|
|
38
|
+
// background-color: $ac-primary;
|
|
39
|
+
// }
|
|
40
|
+
|
|
41
|
+
// .is-checkradio[type="radio"] + label::after,
|
|
42
|
+
// .is-checkradio[type="radio"] + label:after {
|
|
43
|
+
// background-color: $ac-primary;
|
|
44
|
+
// }
|
|
45
|
+
|
|
46
|
+
// 2024 AppsCode Custom Checkbox, Radio, Switch style
|
|
47
|
+
// checkbox
|
|
48
|
+
.ac-checkbox {
|
|
49
|
+
position: relative;
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
gap: 8px;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
user-select: none;
|
|
55
|
+
|
|
56
|
+
input {
|
|
57
|
+
position: absolute;
|
|
58
|
+
width: 0;
|
|
59
|
+
height: 0;
|
|
60
|
+
opacity: 0;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
input:checked ~ .checkmark {
|
|
65
|
+
background: $ac-primary;
|
|
66
|
+
border: 1px solid $ac-primary;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
input:checked ~ .checkmark::after {
|
|
70
|
+
opacity: 1;
|
|
71
|
+
transition: all 0.2s ease;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.checkmark {
|
|
75
|
+
position: relative;
|
|
76
|
+
display: block;
|
|
77
|
+
top: 0;
|
|
78
|
+
left: 1px;
|
|
79
|
+
width: 18px;
|
|
80
|
+
height: 18px;
|
|
81
|
+
background: white;
|
|
82
|
+
border-radius: 4px;
|
|
83
|
+
border: 1px solid $color-border-dark;
|
|
84
|
+
transition: all 0.2s ease;
|
|
28
85
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
86
|
+
&::after {
|
|
87
|
+
position: absolute;
|
|
88
|
+
display: block;
|
|
89
|
+
content: "";
|
|
90
|
+
left: 50%;
|
|
91
|
+
top: 45%;
|
|
92
|
+
width: 4px;
|
|
93
|
+
height: 8px;
|
|
94
|
+
border: solid white;
|
|
95
|
+
border-width: 0 2px 2px 0;
|
|
96
|
+
transform: translate(-50%, -50%) rotate(45deg);
|
|
97
|
+
opacity: 0;
|
|
98
|
+
transition: all 0.2s ease;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
&:hover {
|
|
102
|
+
.checkmark {
|
|
103
|
+
border: 1px solid $ac-primary;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
33
106
|
}
|
|
34
107
|
|
|
35
|
-
|
|
36
|
-
.
|
|
37
|
-
|
|
108
|
+
// radio button
|
|
109
|
+
.ac-radio {
|
|
110
|
+
&:not(:last-child) {
|
|
111
|
+
margin-bottom: 8px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// Hide the actual radio inputs off-screen
|
|
115
|
+
[type="radio"] {
|
|
116
|
+
position: absolute;
|
|
117
|
+
left: -9999px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Style for labels associated with radio buttons
|
|
121
|
+
[type="radio"] + label {
|
|
122
|
+
position: relative;
|
|
123
|
+
padding-left: 24px;
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
line-height: 20px;
|
|
126
|
+
display: inline-block;
|
|
127
|
+
|
|
128
|
+
// Base circle style
|
|
129
|
+
&::before {
|
|
130
|
+
content: "";
|
|
131
|
+
position: absolute;
|
|
132
|
+
left: 0;
|
|
133
|
+
top: 0;
|
|
134
|
+
width: 18px;
|
|
135
|
+
height: 18px;
|
|
136
|
+
border: 1px solid $color-border-dark;
|
|
137
|
+
border-radius: 50%; // Full circle
|
|
138
|
+
background: #fff;
|
|
139
|
+
transition: 0.2s ease-in-out;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// Inner dot for selected radio button
|
|
143
|
+
&::after {
|
|
144
|
+
content: "";
|
|
145
|
+
position: absolute;
|
|
146
|
+
top: 4px;
|
|
147
|
+
left: 4px;
|
|
148
|
+
width: 10px;
|
|
149
|
+
height: 10px;
|
|
150
|
+
background: $ac-primary;
|
|
151
|
+
border-radius: 50%;
|
|
152
|
+
opacity: 0;
|
|
153
|
+
transform: scale(0);
|
|
154
|
+
transition:
|
|
155
|
+
opacity 0.2s ease,
|
|
156
|
+
transform 0.2s ease;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// Checked state styles
|
|
161
|
+
[type="radio"]:checked + label::after {
|
|
162
|
+
opacity: 1;
|
|
163
|
+
transform: scale(1);
|
|
164
|
+
}
|
|
165
|
+
[type="radio"]:checked + label::before {
|
|
166
|
+
border: 1px solid $ac-primary;
|
|
167
|
+
}
|
|
168
|
+
&:hover {
|
|
169
|
+
[type="radio"] + label {
|
|
170
|
+
&::before {
|
|
171
|
+
border: 1px solid $ac-primary;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
38
175
|
}
|
|
39
|
-
|
|
40
|
-
.
|
|
41
|
-
|
|
176
|
+
|
|
177
|
+
.ac-switch {
|
|
178
|
+
.switch {
|
|
179
|
+
position: relative;
|
|
180
|
+
display: inline-block;
|
|
181
|
+
width: 36px;
|
|
182
|
+
height: 18px;
|
|
183
|
+
|
|
184
|
+
input {
|
|
185
|
+
position: absolute;
|
|
186
|
+
opacity: 0;
|
|
187
|
+
width: 100%;
|
|
188
|
+
height: 100%;
|
|
189
|
+
z-index: 1; // Keeps input clickable
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.slider {
|
|
194
|
+
position: absolute;
|
|
195
|
+
top: 0;
|
|
196
|
+
left: 0;
|
|
197
|
+
right: 0;
|
|
198
|
+
bottom: 0;
|
|
199
|
+
background-color: #ccc;
|
|
200
|
+
transition:
|
|
201
|
+
background-color 0.4s,
|
|
202
|
+
box-shadow 0.4s;
|
|
203
|
+
|
|
204
|
+
&.round {
|
|
205
|
+
border-radius: 34px;
|
|
206
|
+
|
|
207
|
+
&::before {
|
|
208
|
+
border-radius: 50%;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&:before {
|
|
213
|
+
content: "";
|
|
214
|
+
position: absolute;
|
|
215
|
+
height: 12px;
|
|
216
|
+
width: 12px;
|
|
217
|
+
left: 4px;
|
|
218
|
+
bottom: 3px;
|
|
219
|
+
background-color: white;
|
|
220
|
+
transition:
|
|
221
|
+
transform 0.4s,
|
|
222
|
+
background-color 0.4s;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
input:checked + .slider {
|
|
227
|
+
background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light));
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
input:checked + .slider:before {
|
|
231
|
+
transform: translateX(16px);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
input:focus-visible + .slider {
|
|
235
|
+
box-shadow: 0 0 3px hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light));
|
|
236
|
+
}
|
|
237
|
+
}
|
|
42
238
|
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
.is-selectbox {
|
|
2
|
+
position: relative;
|
|
3
|
+
z-index: 9;
|
|
4
|
+
|
|
5
|
+
input[type="text"] {
|
|
6
|
+
padding-right: 32px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&.is-extra-small {
|
|
10
|
+
.buttons {
|
|
11
|
+
.button {
|
|
12
|
+
height: 28px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ac-field {
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 7px;
|
|
20
|
+
left: 12px;
|
|
21
|
+
width: calc(100% - 15px);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.is-open {
|
|
25
|
+
.options {
|
|
26
|
+
opacity: 1;
|
|
27
|
+
visibility: visible;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.buttons {
|
|
32
|
+
position: absolute;
|
|
33
|
+
gap: 0;
|
|
34
|
+
right: 2px;
|
|
35
|
+
top: 2px;
|
|
36
|
+
margin: 0;
|
|
37
|
+
|
|
38
|
+
.button {
|
|
39
|
+
margin: 0 !important;
|
|
40
|
+
color: #616161 !important;
|
|
41
|
+
padding: 0;
|
|
42
|
+
width: 32px;
|
|
43
|
+
height: 32px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.options {
|
|
48
|
+
border: 1px solid $color-border;
|
|
49
|
+
box-shadow: $ac-shadow-1;
|
|
50
|
+
background-color: $white-100;
|
|
51
|
+
border-radius: 4px;
|
|
52
|
+
padding: 2px;
|
|
53
|
+
position: absolute;
|
|
54
|
+
width: 100%;
|
|
55
|
+
max-height: 500px;
|
|
56
|
+
overflow-y: auto;
|
|
57
|
+
transition: 0.3s ease-in-out;
|
|
58
|
+
opacity: 0;
|
|
59
|
+
visibility: hidden;
|
|
60
|
+
|
|
61
|
+
input[type="checkbox"] {
|
|
62
|
+
width: 16px;
|
|
63
|
+
height: 16px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
label {
|
|
67
|
+
position: inherit;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.group {
|
|
71
|
+
li {
|
|
72
|
+
display: block;
|
|
73
|
+
|
|
74
|
+
ul {
|
|
75
|
+
li {
|
|
76
|
+
display: flex;
|
|
77
|
+
|
|
78
|
+
&:hover:not(.is-active) {
|
|
79
|
+
background-color: $primary-light-gray;
|
|
80
|
+
color: $color-heading;
|
|
81
|
+
|
|
82
|
+
label {
|
|
83
|
+
color: $color-heading;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
li {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
padding: 6px 12px;
|
|
95
|
+
border-radius: 4px;
|
|
96
|
+
gap: 8px;
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
transition: 0.2s ease-in-out;
|
|
99
|
+
color: $color-text;
|
|
100
|
+
|
|
101
|
+
label {
|
|
102
|
+
color: $color-text;
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&:hover:not(.group li, .is-active) {
|
|
107
|
+
background-color: $primary-light-gray;
|
|
108
|
+
color: $color-heading;
|
|
109
|
+
|
|
110
|
+
label {
|
|
111
|
+
color: $color-heading;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
strong {
|
|
116
|
+
color: $color-heading;
|
|
117
|
+
font-weight: 500;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.is-active {
|
|
121
|
+
background-color: $ac-primary;
|
|
122
|
+
color: $white-100;
|
|
123
|
+
|
|
124
|
+
label {
|
|
125
|
+
color: $white-100;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.is-disabled {
|
|
130
|
+
opacity: 0.6;
|
|
131
|
+
cursor: not-allowed;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&.is-success {
|
|
45
|
-
|
|
46
45
|
input,
|
|
47
46
|
.ac-card,
|
|
48
47
|
textarea,
|
|
@@ -56,7 +55,6 @@
|
|
|
56
55
|
}
|
|
57
56
|
|
|
58
57
|
&.is-danger {
|
|
59
|
-
|
|
60
58
|
input,
|
|
61
59
|
.ac-card,
|
|
62
60
|
textarea,
|
|
@@ -70,7 +68,6 @@
|
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
&.is-loading {
|
|
73
|
-
|
|
74
71
|
input,
|
|
75
72
|
.ac-card,
|
|
76
73
|
textarea {
|
|
@@ -112,7 +109,6 @@
|
|
|
112
109
|
}
|
|
113
110
|
|
|
114
111
|
&.is-normal {
|
|
115
|
-
|
|
116
112
|
input,
|
|
117
113
|
select {
|
|
118
114
|
height: 45px;
|
|
@@ -161,7 +157,6 @@
|
|
|
161
157
|
}
|
|
162
158
|
|
|
163
159
|
&.is-small {
|
|
164
|
-
|
|
165
160
|
input,
|
|
166
161
|
select {
|
|
167
162
|
height: 36px;
|
|
@@ -220,7 +215,6 @@
|
|
|
220
215
|
}
|
|
221
216
|
|
|
222
217
|
&.is-extra-small {
|
|
223
|
-
|
|
224
218
|
input,
|
|
225
219
|
select {
|
|
226
220
|
height: 32px;
|
|
@@ -505,7 +499,7 @@
|
|
|
505
499
|
// check radio
|
|
506
500
|
|
|
507
501
|
.ac-single-radio {
|
|
508
|
-
.is-checkradio[type="radio"]+label {
|
|
502
|
+
.is-checkradio[type="radio"] + label {
|
|
509
503
|
padding-left: 25px;
|
|
510
504
|
|
|
511
505
|
&:before {
|
|
@@ -575,7 +569,6 @@
|
|
|
575
569
|
}
|
|
576
570
|
|
|
577
571
|
&:hover {
|
|
578
|
-
|
|
579
572
|
.file-cta,
|
|
580
573
|
.file-name {
|
|
581
574
|
border-color: $ac-primary;
|
|
@@ -632,4 +625,4 @@
|
|
|
632
625
|
}
|
|
633
626
|
}
|
|
634
627
|
}
|
|
635
|
-
}
|
|
628
|
+
}
|
|
@@ -4,23 +4,30 @@ withDefaults(defineProps<{ isActive?: boolean; bodyInside?: boolean }>(), {
|
|
|
4
4
|
bodyInside: false,
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
defineEmits([
|
|
8
|
-
|
|
7
|
+
defineEmits(["onClick"]);
|
|
9
8
|
</script>
|
|
10
9
|
|
|
11
|
-
|
|
12
10
|
<template>
|
|
13
11
|
<div class="single-accordion-item">
|
|
14
12
|
<div @click.prevent="$emit('onClick')" class="accordion-heading is-clickable">
|
|
15
13
|
<slot name="title" />
|
|
16
14
|
<div class="accordion-right is-flex is-align-items-center">
|
|
17
|
-
<div
|
|
18
|
-
|
|
15
|
+
<div
|
|
16
|
+
v-show="!isActive"
|
|
17
|
+
class="accordion-description is-justify-content-flex-end has-text-right is-flex-direction-column"
|
|
18
|
+
>
|
|
19
19
|
<slot name="description" />
|
|
20
20
|
</div>
|
|
21
21
|
<button class="icon">
|
|
22
|
-
<svg
|
|
23
|
-
|
|
22
|
+
<svg
|
|
23
|
+
:style="{ transform: isActive ? 'rotate(-180deg)' : 'rotate(0deg)' }"
|
|
24
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
25
|
+
fill="none"
|
|
26
|
+
viewBox="0 0 24 24"
|
|
27
|
+
stroke-width="1.5"
|
|
28
|
+
stroke="currentColor"
|
|
29
|
+
class="size-6"
|
|
30
|
+
>
|
|
24
31
|
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
|
25
32
|
</svg>
|
|
26
33
|
</button>
|