@appscode/design-system 1.1.0-beta.2 → 1.1.0-beta.20
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/base/_video-player.scss +65 -0
- package/base/utilities/_all.scss +5 -4
- package/base/utilities/_colors.scss +408 -0
- package/base/utilities/_customize-bulma.scss +23 -27
- package/base/utilities/_extended.scss +3 -2
- package/base/utilities/{_default.scss → _global.scss} +165 -311
- package/base/utilities/_layouts.scss +157 -0
- package/base/utilities/_spacing.scss +96 -0
- package/base/utilities/_typography.scss +34 -2
- package/components/_ac-alert-box.scss +205 -262
- package/components/_ac-modal.scss +212 -212
- package/components/_ac-multi-select.scss +84 -55
- package/components/_ac-options.scss +122 -122
- package/components/_ac-table.scss +503 -502
- package/components/_ac-tabs.scss +4 -3
- package/components/_ac-tags.scss +116 -116
- package/components/_accordion.scss +117 -0
- package/components/_all.scss +34 -29
- package/components/_app-drawer.scss +0 -134
- package/components/_breadcumb.scss +0 -71
- package/components/_buttons.scss +779 -779
- package/components/_dashboard-header.scss +0 -115
- package/components/_image-upload.scss +2 -2
- package/components/_input-card.scss +232 -0
- package/components/_input.scss +947 -0
- package/components/_left-sidebar-menu.scss +346 -475
- package/components/_navbar.scss +786 -752
- package/components/_pagination.scss +9 -27
- package/components/_payment-card.scss +1 -1
- package/components/_terminal.scss +331 -0
- package/components/_widget-menu.scss +247 -247
- package/components/_wizard.scss +522 -801
- package/components/ac-toaster/_ac-toasted.scss +6 -11
- package/components/ui-builder/_ui-builder.scss +17 -21
- package/components/ui-builder/_vue-open-api.scss +513 -0
- package/main.scss +26 -10
- package/package.json +1 -1
- package/plugins/theme.js +11 -9
- package/plugins/vue-toaster.js +1 -1
- package/vue-components/types/importFlow.ts +16 -0
- package/vue-components/v2/banner/Banner.vue +1 -1
- package/vue-components/v2/card/Card.vue +1 -1
- package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
- package/vue-components/v2/modal/Modal.vue +1 -1
- package/vue-components/v2/pagination/Pagination.vue +1 -0
- package/vue-components/v3/alert/Alert.vue +6 -6
- package/vue-components/v3/banner/Banner.vue +2 -2
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +4 -2
- package/vue-components/v3/button/Button.vue +12 -0
- package/vue-components/v3/cards/Card.vue +1 -1
- package/vue-components/v3/cards/Cluster.vue +3 -4
- package/vue-components/v3/cards/Counter.vue +12 -0
- package/vue-components/v3/cards/FeatureCard.vue +31 -0
- package/vue-components/v3/cards/InfoCard.vue +4 -9
- package/vue-components/v3/cards/Monitoring.vue +1 -1
- package/vue-components/v3/cards/Vendor.vue +67 -5
- package/vue-components/v3/content/ContentTable.vue +7 -2
- package/vue-components/v3/editor/FilteredFileEditor.vue +200 -3
- package/vue-components/v3/footer/FooterItem.vue +4 -1
- package/vue-components/v3/footer/Info.vue +10 -8
- package/vue-components/v3/footer/Status.vue +27 -23
- package/vue-components/v3/footer/Usage.vue +20 -30
- package/vue-components/v3/form/Form.vue +0 -3
- package/vue-components/v3/form-fields/AcSingleInput.vue +9 -1
- package/vue-components/v3/header/Header.vue +4 -3
- package/vue-components/v3/loaders/InfoCardLoader.vue +65 -0
- package/vue-components/v3/modal/Modal.vue +1 -1
- package/vue-components/v3/navbar/Navbar.vue +3 -1
- package/vue-components/v3/navbar/User.vue +4 -4
- package/vue-components/v3/notification/AlertBox.vue +233 -4
- package/vue-components/v3/option-dots/Options.vue +2 -1
- package/vue-components/v3/pagination/Pagination.vue +2 -1
- package/vue-components/v3/preloader/Preloader.vue +1 -1
- package/vue-components/v3/searchbars/SearchBar.vue +10 -2
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +18 -14
- package/vue-components/v3/sidebar/Sidebar.vue +5 -9
- package/vue-components/v3/sidebar/SidebarFooter.vue +3 -3
- package/vue-components/v3/sidebar/SidebarHeader.vue +3 -3
- package/vue-components/v3/sidebar/Steps.vue +152 -0
- package/vue-components/v3/table/InfoTable.vue +6 -4
- package/vue-components/v3/table/Table.vue +32 -25
- package/vue-components/v3/table/TableRow.vue +2 -2
- package/base/utilities/_derived-variables.scss +0 -24
- package/base/utilities/_initial-variables.scss +0 -217
- package/components/_ac-accordion.scss +0 -117
- package/components/_ac-card.scss +0 -597
- package/components/_ac-input.scss +0 -876
- package/components/_ac-terminal.scss +0 -270
- package/components/_basic-card.scss +0 -118
- /package/components/{_ac-report.scss → _report.scss} +0 -0
|
@@ -12,7 +12,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
12
12
|
|
|
13
13
|
<template>
|
|
14
14
|
<div
|
|
15
|
-
class="is-flex is-justify-content-center is-align-items-center is-flex-direction-column ac-preloader"
|
|
15
|
+
class="is-flex is-justify-content-center is-align-items-center is-flex-direction-column ac-preloader page-loader"
|
|
16
16
|
style="height: calc(100vh - 200px)"
|
|
17
17
|
>
|
|
18
18
|
<span v-if="showSpinner" class="spinner"></span>
|
|
@@ -7,6 +7,14 @@ const AcSingleInput = defineAsyncComponent(
|
|
|
7
7
|
|
|
8
8
|
const AcInput = defineAsyncComponent(() => import("../form-fields/Input.vue"));
|
|
9
9
|
|
|
10
|
+
interface Props {
|
|
11
|
+
acInputId?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
withDefaults(defineProps<Props>(), {
|
|
15
|
+
acInputId: "search",
|
|
16
|
+
});
|
|
17
|
+
|
|
10
18
|
const emit = defineEmits(["search"]);
|
|
11
19
|
|
|
12
20
|
const searchText = ref("");
|
|
@@ -19,7 +27,7 @@ watch(searchText, (n) => {
|
|
|
19
27
|
<template>
|
|
20
28
|
<ac-single-input modifier-classes="is-extra-small width-auto">
|
|
21
29
|
<template #button>
|
|
22
|
-
<label class="ac-search-button" for="
|
|
30
|
+
<label class="ac-search-button" :for="acInputId">
|
|
23
31
|
<svg
|
|
24
32
|
xmlns="http://www.w3.org/2000/svg"
|
|
25
33
|
viewBox="0 0 20 20"
|
|
@@ -39,7 +47,7 @@ watch(searchText, (n) => {
|
|
|
39
47
|
placeholder="Search"
|
|
40
48
|
type="search"
|
|
41
49
|
class="ac-search"
|
|
42
|
-
id="
|
|
50
|
+
:id="acInputId"
|
|
43
51
|
v-model="searchText"
|
|
44
52
|
/>
|
|
45
53
|
</ac-single-input>
|
|
@@ -120,10 +120,10 @@ watch(
|
|
|
120
120
|
</template>
|
|
121
121
|
<style lang="scss">
|
|
122
122
|
.multiselect {
|
|
123
|
-
margin-top: 3px;
|
|
123
|
+
// margin-top: 3px;
|
|
124
124
|
// display: flex;
|
|
125
125
|
// align-items: center;
|
|
126
|
-
max-width: 350px;
|
|
126
|
+
// max-width: 350px;
|
|
127
127
|
// &.cluster-select {
|
|
128
128
|
// .multiselect__tags {
|
|
129
129
|
// border: 1px solid $primary-90;
|
|
@@ -136,13 +136,13 @@ watch(
|
|
|
136
136
|
// }
|
|
137
137
|
|
|
138
138
|
.multiselect__tags {
|
|
139
|
-
background-color:
|
|
139
|
+
background-color: $white-100;
|
|
140
140
|
min-height: 36px;
|
|
141
141
|
// max-height: 36px;
|
|
142
142
|
font-weight: 500;
|
|
143
143
|
width: 100%;
|
|
144
144
|
border-radius: 4px;
|
|
145
|
-
border: 1px solid $primary-
|
|
145
|
+
border: 1px solid $primary-80;
|
|
146
146
|
padding: 6px 30px 8px 20px;
|
|
147
147
|
font-size: 13px;
|
|
148
148
|
border-radius: 4px;
|
|
@@ -185,7 +185,7 @@ watch(
|
|
|
185
185
|
|
|
186
186
|
.multiselect__input,
|
|
187
187
|
.multiselect__single {
|
|
188
|
-
background-color:
|
|
188
|
+
background-color: $white-100;
|
|
189
189
|
margin-bottom: 0;
|
|
190
190
|
margin: 0 !important;
|
|
191
191
|
padding-left: 0;
|
|
@@ -211,6 +211,8 @@ watch(
|
|
|
211
211
|
padding: 4px 16px;
|
|
212
212
|
min-height: 32px;
|
|
213
213
|
font-size: 13px;
|
|
214
|
+
display: flex;
|
|
215
|
+
align-items: center;
|
|
214
216
|
img {
|
|
215
217
|
width: 30px;
|
|
216
218
|
}
|
|
@@ -241,13 +243,11 @@ watch(
|
|
|
241
243
|
}
|
|
242
244
|
|
|
243
245
|
&.multiselect__option--highlight {
|
|
244
|
-
background-color:
|
|
245
|
-
var(--hsl-hue),
|
|
246
|
-
var(--hsl-saturation),
|
|
247
|
-
var(--hsl-lightness),
|
|
248
|
-
0.2
|
|
249
|
-
);
|
|
246
|
+
background-color: $white-100;
|
|
250
247
|
color: $primary;
|
|
248
|
+
&:hover {
|
|
249
|
+
background-color: $primary-97;
|
|
250
|
+
}
|
|
251
251
|
|
|
252
252
|
&:after {
|
|
253
253
|
background-color: hsla(
|
|
@@ -401,7 +401,9 @@ watch(
|
|
|
401
401
|
font-size: 13px !important;
|
|
402
402
|
font-weight: 500;
|
|
403
403
|
line-height: 1.5;
|
|
404
|
-
padding-bottom: 4px;
|
|
404
|
+
// padding-bottom: 4px;
|
|
405
|
+
display: flex;
|
|
406
|
+
align-items: center;
|
|
405
407
|
|
|
406
408
|
&::placeholder {
|
|
407
409
|
font-weight: 500;
|
|
@@ -469,7 +471,9 @@ watch(
|
|
|
469
471
|
font-size: 13px !important;
|
|
470
472
|
font-weight: 500;
|
|
471
473
|
line-height: 1.5;
|
|
472
|
-
padding-bottom: 4px;
|
|
474
|
+
// padding-bottom: 4px;
|
|
475
|
+
display: flex;
|
|
476
|
+
align-items: center;
|
|
473
477
|
|
|
474
478
|
&::placeholder {
|
|
475
479
|
font-weight: 500;
|
|
@@ -505,7 +509,7 @@ watch(
|
|
|
505
509
|
}
|
|
506
510
|
}
|
|
507
511
|
|
|
508
|
-
.is-
|
|
512
|
+
.is-danger {
|
|
509
513
|
font-size: 12px;
|
|
510
514
|
line-height: 22px;
|
|
511
515
|
color: $danger;
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
interface Props {
|
|
3
|
-
type
|
|
4
|
-
isCollapsible
|
|
3
|
+
type?: string;
|
|
4
|
+
isCollapsible?: boolean;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
withDefaults(defineProps<Props>(), {
|
|
8
8
|
type: "cluster-main",
|
|
9
|
-
isCollapsible: false,
|
|
10
9
|
});
|
|
11
10
|
</script>
|
|
12
11
|
|
|
13
12
|
<template>
|
|
14
13
|
<div class="ac-system-left-sidebar">
|
|
15
14
|
<!-- is-collapsed -->
|
|
16
|
-
<div
|
|
17
|
-
class="ac-left-sidebar-wrapper is-collapsed"
|
|
18
|
-
:class="{ 'style-2': isCollapsible }"
|
|
19
|
-
>
|
|
15
|
+
<div class="ac-left-sidebar-wrapper">
|
|
20
16
|
<div class="ac-left-sidebar-inner">
|
|
21
17
|
<aside class="ac-left-sidebar">
|
|
22
18
|
<!-- sidebar header start -->
|
|
@@ -107,7 +103,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
107
103
|
top: 0;
|
|
108
104
|
width: calc(100% - 20px);
|
|
109
105
|
height: 100%;
|
|
110
|
-
background:
|
|
106
|
+
background: $primary;
|
|
111
107
|
border-radius: 4px;
|
|
112
108
|
z-index: -1;
|
|
113
109
|
transition: 0.3s ease-in-out;
|
|
@@ -144,7 +140,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
144
140
|
|
|
145
141
|
&:after {
|
|
146
142
|
color: $primary;
|
|
147
|
-
opacity: 0.
|
|
143
|
+
opacity: 0.2;
|
|
148
144
|
visibility: visible;
|
|
149
145
|
}
|
|
150
146
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { defineAsyncComponent } from "vue";
|
|
3
3
|
interface Props {
|
|
4
|
-
isColorpickerEnabled
|
|
4
|
+
isColorpickerEnabled?: boolean;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
withDefaults(defineProps<Props>(), {
|
|
8
8
|
isColorpickerEnabled: false,
|
|
9
9
|
});
|
|
10
|
-
|
|
10
|
+
defineEmits(["toggleSidebar"]);
|
|
11
11
|
const AccentColorPicker = defineAsyncComponent(
|
|
12
12
|
() => import("./AccentColorPicker.vue")
|
|
13
13
|
);
|
|
@@ -16,7 +16,7 @@ const AccentColorPicker = defineAsyncComponent(
|
|
|
16
16
|
<template>
|
|
17
17
|
<div class="sidebar-footer">
|
|
18
18
|
<!-- back button -->
|
|
19
|
-
<button class="back-button is-transparent">
|
|
19
|
+
<button class="back-button is-transparent" @click="$emit('toggleSidebar')">
|
|
20
20
|
<svg
|
|
21
21
|
width="18"
|
|
22
22
|
height="18"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
defineEmits(["toggleSidebar"]);
|
|
3
3
|
|
|
4
4
|
interface Props {
|
|
5
|
-
brandLogo
|
|
5
|
+
brandLogo?: string;
|
|
6
6
|
brandLogoAlt?: string;
|
|
7
7
|
url?: string;
|
|
8
8
|
modifierClasses?: string;
|
|
@@ -16,9 +16,9 @@ withDefaults(defineProps<Props>(), {
|
|
|
16
16
|
});
|
|
17
17
|
</script>
|
|
18
18
|
<template>
|
|
19
|
-
<div class="sidebar-header"
|
|
19
|
+
<div class="sidebar-header">
|
|
20
20
|
<!-- hamburger icon -->
|
|
21
|
-
<div class="icon hamburger-icon mr-16">
|
|
21
|
+
<div class="icon hamburger-icon mr-16" @click="$emit('toggleSidebar')">
|
|
22
22
|
<svg
|
|
23
23
|
width="18"
|
|
24
24
|
height="18"
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import FeCheck from "~icons/fe/check";
|
|
3
|
+
import type { Step } from "../../types/importFlow";
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
steps?: Step[];
|
|
7
|
+
activeStepIdentifier?: number;
|
|
8
|
+
activeSubStepIdentifier?: number;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
withDefaults(defineProps<Props>(), {
|
|
12
|
+
steps: () => [],
|
|
13
|
+
activeStepIdentifier: 1,
|
|
14
|
+
activeSubStepIdentifier: 1,
|
|
15
|
+
});
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<li
|
|
20
|
+
v-for="step in steps"
|
|
21
|
+
:key="step.identifier"
|
|
22
|
+
:class="{
|
|
23
|
+
'is-hidden': !step.isVisible,
|
|
24
|
+
}"
|
|
25
|
+
>
|
|
26
|
+
<strong
|
|
27
|
+
:class="{
|
|
28
|
+
'is-active': step.identifier < activeStepIdentifier,
|
|
29
|
+
}"
|
|
30
|
+
>
|
|
31
|
+
<span
|
|
32
|
+
:class="{
|
|
33
|
+
'step-count': true,
|
|
34
|
+
'is-active': step.identifier < activeStepIdentifier,
|
|
35
|
+
}"
|
|
36
|
+
>{{ step.identifier }}</span
|
|
37
|
+
>
|
|
38
|
+
<span class="label-text">{{ step.title }}</span>
|
|
39
|
+
</strong>
|
|
40
|
+
<ul
|
|
41
|
+
:class="{
|
|
42
|
+
'is-hidden': step.identifier !== activeStepIdentifier,
|
|
43
|
+
}"
|
|
44
|
+
>
|
|
45
|
+
<li
|
|
46
|
+
v-for="substep in step.substeps"
|
|
47
|
+
:key="substep?.identifier"
|
|
48
|
+
:class="{
|
|
49
|
+
'is-hidden': !substep.isVisible,
|
|
50
|
+
'is-active': substep.identifier < activeSubStepIdentifier,
|
|
51
|
+
}"
|
|
52
|
+
>
|
|
53
|
+
<strong>
|
|
54
|
+
<span class="step-count"><FeCheck /></span>
|
|
55
|
+
<span
|
|
56
|
+
:class="{
|
|
57
|
+
'label-text': true,
|
|
58
|
+
'has-text-weight-semibold':
|
|
59
|
+
substep.identifier <= activeSubStepIdentifier,
|
|
60
|
+
}"
|
|
61
|
+
>{{ substep.title }}</span
|
|
62
|
+
>
|
|
63
|
+
</strong>
|
|
64
|
+
</li>
|
|
65
|
+
</ul>
|
|
66
|
+
</li>
|
|
67
|
+
</template>
|
|
68
|
+
|
|
69
|
+
<style lang="scss" scoped>
|
|
70
|
+
ul {
|
|
71
|
+
padding-left: 4px !important;
|
|
72
|
+
position: relative;
|
|
73
|
+
z-index: 1;
|
|
74
|
+
&::after {
|
|
75
|
+
position: absolute;
|
|
76
|
+
content: "";
|
|
77
|
+
left: 15px;
|
|
78
|
+
top: -16px;
|
|
79
|
+
width: 1px;
|
|
80
|
+
height: 100%;
|
|
81
|
+
/* colors/primary/40-primary */
|
|
82
|
+
border: 1px dashed #186cb4;
|
|
83
|
+
z-index: -1;
|
|
84
|
+
}
|
|
85
|
+
li {
|
|
86
|
+
display: block;
|
|
87
|
+
padding: 6px 0;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
strong {
|
|
90
|
+
/* colors/white */
|
|
91
|
+
color: #ffffff;
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
|
|
95
|
+
.step-count {
|
|
96
|
+
width: 32px;
|
|
97
|
+
height: 32px;
|
|
98
|
+
margin-right: 8px;
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
border-radius: 50%;
|
|
103
|
+
background-color: $primary-20;
|
|
104
|
+
border: 1px solid $primary-40;
|
|
105
|
+
color: $primary-80;
|
|
106
|
+
font-size: 16px;
|
|
107
|
+
&.is-active {
|
|
108
|
+
background-color: $primary;
|
|
109
|
+
color: $white-100;
|
|
110
|
+
border: 1px solid $primary-90;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
ul {
|
|
116
|
+
max-height: 100% !important;
|
|
117
|
+
|
|
118
|
+
li {
|
|
119
|
+
&.is-active {
|
|
120
|
+
strong {
|
|
121
|
+
.step-count {
|
|
122
|
+
background-color: $primary;
|
|
123
|
+
color: $white-100;
|
|
124
|
+
border: 1px solid $primary-90;
|
|
125
|
+
}
|
|
126
|
+
.label-text {
|
|
127
|
+
color: $white-100;
|
|
128
|
+
font-weight: 500;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
strong {
|
|
133
|
+
.step-count {
|
|
134
|
+
width: 22px;
|
|
135
|
+
height: 22px;
|
|
136
|
+
margin-right: 16px;
|
|
137
|
+
background: $primary-20;
|
|
138
|
+
color: $primary-80;
|
|
139
|
+
border: 1px solid $primary-40;
|
|
140
|
+
font-size: 14px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.label-text {
|
|
144
|
+
color: $primary-95;
|
|
145
|
+
font-weight: 400;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { defineAsyncComponent, ref
|
|
2
|
+
import { computed, defineAsyncComponent, ref } from "vue";
|
|
3
3
|
|
|
4
4
|
interface Props {
|
|
5
5
|
isLoaderActive?: boolean;
|
|
@@ -67,8 +67,10 @@ const isFullTableLoaderActive = computed(() => {
|
|
|
67
67
|
:key="(tableHeader as string)"
|
|
68
68
|
>
|
|
69
69
|
<table-cell>
|
|
70
|
-
<
|
|
71
|
-
|
|
70
|
+
<span class="is-flex is-align-items-center">
|
|
71
|
+
<slot :name="`table-cell-icon-${idx}`" />
|
|
72
|
+
{{ tableHeader }}
|
|
73
|
+
</span>
|
|
72
74
|
</table-cell>
|
|
73
75
|
<table-cell v-if="isLoaderActive">
|
|
74
76
|
<cell-value :is-loader-active="true" />
|
|
@@ -89,7 +91,7 @@ const isFullTableLoaderActive = computed(() => {
|
|
|
89
91
|
// INFO TABLE START
|
|
90
92
|
.table.ac-info-table {
|
|
91
93
|
background-color: transparent;
|
|
92
|
-
border-top: 1px solid $primary-
|
|
94
|
+
border-top: 1px solid $primary-93;
|
|
93
95
|
|
|
94
96
|
&.is-fullwidth {
|
|
95
97
|
tbody {
|
|
@@ -145,7 +145,7 @@ onUpdated(() => {
|
|
|
145
145
|
<table-container ref="ac_table_container" @scroller="handleScroller">
|
|
146
146
|
<table
|
|
147
147
|
ref="ac_table"
|
|
148
|
-
class="table ac-table
|
|
148
|
+
class="table ac-table is-bordered"
|
|
149
149
|
:class="{
|
|
150
150
|
'is-fullwidth':
|
|
151
151
|
!isDynamicWidthTable ||
|
|
@@ -153,7 +153,7 @@ onUpdated(() => {
|
|
|
153
153
|
isTableEmpty ||
|
|
154
154
|
isLoaderActive,
|
|
155
155
|
// 'ac-striped': !columnStriped,
|
|
156
|
-
// '
|
|
156
|
+
// 'is-bordered': columnStriped,
|
|
157
157
|
}"
|
|
158
158
|
>
|
|
159
159
|
<thead>
|
|
@@ -338,11 +338,33 @@ onUpdated(() => {
|
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
tr {
|
|
341
|
+
border-bottom: 1px solid var(--ac-white-light);
|
|
341
342
|
&.is-link {
|
|
342
343
|
cursor: pointer;
|
|
343
344
|
}
|
|
344
|
-
|
|
345
|
+
&.is-selected {
|
|
346
|
+
background-color: $primary-97 !important;
|
|
347
|
+
transform: matrix(1, 0, 0, 1, 0, 0) !important;
|
|
348
|
+
box-shadow: inset 0 0 0 1.2px $primary;
|
|
349
|
+
border-radius: 4px;
|
|
350
|
+
border-bottom: none;
|
|
351
|
+
color: $ac-black;
|
|
352
|
+
transition: 0.3s ease-in-out;
|
|
353
|
+
.tag {
|
|
354
|
+
background-color: $primary;
|
|
355
|
+
}
|
|
356
|
+
&:hover {
|
|
357
|
+
background-color: $primary-95 !important;
|
|
358
|
+
transform: matrix(1, 0, 0, 1, 0, 0) !important;
|
|
359
|
+
box-shadow: inset 0 0 0 1.2px $primary !important;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
345
362
|
|
|
363
|
+
&.is-hoverless {
|
|
364
|
+
box-shadow: none !important;
|
|
365
|
+
transform: none !important;
|
|
366
|
+
background-color: $white-100 !important;
|
|
367
|
+
}
|
|
346
368
|
td {
|
|
347
369
|
font-size: 13px;
|
|
348
370
|
padding: 5px 20px;
|
|
@@ -369,7 +391,7 @@ onUpdated(() => {
|
|
|
369
391
|
}
|
|
370
392
|
}
|
|
371
393
|
|
|
372
|
-
&.is-
|
|
394
|
+
&.is-danger {
|
|
373
395
|
color: $danger;
|
|
374
396
|
}
|
|
375
397
|
|
|
@@ -434,21 +456,6 @@ onUpdated(() => {
|
|
|
434
456
|
}
|
|
435
457
|
}
|
|
436
458
|
|
|
437
|
-
&.is-selected {
|
|
438
|
-
background-color: $white-100 !important;
|
|
439
|
-
transform: matrix(1, 0, 0, 1, 0, 0) !important;
|
|
440
|
-
box-shadow: inset 0 0 0 1px $primary;
|
|
441
|
-
border-radius: 4px;
|
|
442
|
-
border-bottom: none;
|
|
443
|
-
color: $ac-black;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
&.is-hoverless {
|
|
447
|
-
box-shadow: none !important;
|
|
448
|
-
transform: none !important;
|
|
449
|
-
background-color: $white-100 !important;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
459
|
transition: 0.3s ease-in-out;
|
|
453
460
|
}
|
|
454
461
|
}
|
|
@@ -479,13 +486,13 @@ onUpdated(() => {
|
|
|
479
486
|
}
|
|
480
487
|
}
|
|
481
488
|
|
|
482
|
-
&.
|
|
489
|
+
&.is-bordered {
|
|
483
490
|
thead {
|
|
484
491
|
tr {
|
|
485
492
|
th {
|
|
486
|
-
border-top: 1px solid $primary-
|
|
487
|
-
border-bottom: 1px solid $primary-
|
|
488
|
-
border-right: 1px solid $primary-
|
|
493
|
+
border-top: 1px solid $primary-93;
|
|
494
|
+
border-bottom: 1px solid $primary-93;
|
|
495
|
+
border-right: 1px solid $primary-93;
|
|
489
496
|
background-color: $primary-97;
|
|
490
497
|
|
|
491
498
|
&:first-child {
|
|
@@ -508,8 +515,8 @@ onUpdated(() => {
|
|
|
508
515
|
font-size: 13px;
|
|
509
516
|
color: $primary-20;
|
|
510
517
|
background-color: transparent;
|
|
511
|
-
border-bottom: 1px solid $primary-
|
|
512
|
-
border-right: 1px solid $primary-
|
|
518
|
+
border-bottom: 1px solid $primary-93;
|
|
519
|
+
border-right: 1px solid $primary-93;
|
|
513
520
|
&:last-child {
|
|
514
521
|
border-right: 1px solid transparent;
|
|
515
522
|
}
|
|
@@ -77,7 +77,7 @@ const toggleCollapse = () => {
|
|
|
77
77
|
>
|
|
78
78
|
<table-cell v-if="collapsible">
|
|
79
79
|
<collapsible-button
|
|
80
|
-
modifier-classes="is-square is-light height-20 width-20 is-rounded is-size-7"
|
|
80
|
+
modifier-classes="is-square is-light height-20 width-20 is-rounded is-size-7 p-0"
|
|
81
81
|
:icon-class="isCollapsed ? 'chevron-right' : 'chevron-down'"
|
|
82
82
|
@click.stop="toggleCollapse"
|
|
83
83
|
/>
|
|
@@ -102,7 +102,7 @@ const toggleCollapse = () => {
|
|
|
102
102
|
>
|
|
103
103
|
<table-cell v-if="collapsible">
|
|
104
104
|
<collapsible-button
|
|
105
|
-
modifier-classes="is-square is-light height-20 width-20 is-rounded is-size-7"
|
|
105
|
+
modifier-classes="is-square is-light height-20 width-20 is-rounded is-size-7 p-0"
|
|
106
106
|
:icon-class="isCollapsed ? 'chevron-right' : 'chevron-down'"
|
|
107
107
|
@click.stop="toggleCollapse"
|
|
108
108
|
/>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// color
|
|
2
|
-
$info: $blue;
|
|
3
|
-
$success: $primary;
|
|
4
|
-
$warning: $yellow;
|
|
5
|
-
$danger: $danger
|
|
6
|
-
|
|
7
|
-
// Text colors
|
|
8
|
-
$primary-10: var(--ac-text);
|
|
9
|
-
$primary-5: var(--ac-text-heading);
|
|
10
|
-
|
|
11
|
-
// Link colors
|
|
12
|
-
$ac-link: $blue;
|
|
13
|
-
$ac-link-visited: $purple;
|
|
14
|
-
|
|
15
|
-
// Box Shadow
|
|
16
|
-
$ac-shadow-1: 0 1px 4px rgba(26, 80, 151, 0.16);
|
|
17
|
-
$ac-shadow-2: 0px 8px 57px rgba(0, 0, 0, 0.16);
|
|
18
|
-
$ac-shadow-3: 0 3px 4px 0 rgba(0, 0, 0, 0.18),
|
|
19
|
-
0 3px 3px -2px rgba(0, 0, 0, 0.16), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
|
|
20
|
-
|
|
21
|
-
$ac-shadow-sm: 0 1px 4px rgba(26, 80, 151, 0.16);
|
|
22
|
-
$ac-shadow-xl: 0px 8px 57px rgba(0, 0, 0, 0.16);
|
|
23
|
-
$ac-shadow-lg: 0 3px 4px 0 rgba(0, 0, 0, 0.18),
|
|
24
|
-
0 3px 3px -2px rgba(0, 0, 0, 0.16), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
|