@appscode/design-system 2.0.59 → 2.0.60
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/package.json +1 -1
- package/plugins/theme.js +2 -5
- package/plugins/time-convert.js +5 -9
- package/plugins/vue-toaster.js +2 -1
- package/vue-components/plugins/time-convert.js +2 -6
- package/vue-components/styles/base/utilities/_colors.scss +20 -26
- package/vue-components/styles/base/utilities/_generate-color-classes.scss +41 -233
- package/vue-components/styles/base/utilities/_global.scss +13 -14
- package/vue-components/styles/base/utilities/_layouts.scss +1 -2
- package/vue-components/styles/base/utilities/_mixin.scss +8 -46
- package/vue-components/styles/base/utilities/_root-variables.scss +1 -1
- package/vue-components/styles/base/utilities/_spacing.scss +1 -1
- package/vue-components/styles/base/utilities/_typography.scss +1 -1
- package/vue-components/styles/components/_ac-drag.scss +1 -1
- package/vue-components/styles/components/_badge-tags.scss +75 -0
- package/vue-components/styles/components/_card-body-wrapper.scss +1 -1
- package/vue-components/styles/components/_pagination.scss +2 -2
- package/vue-components/styles/components/_preview-modal.scss +3 -3
- package/vue-components/styles/components/_progress-bar.scss +3 -3
- package/vue-components/styles/components/_table.scss +3 -3
- package/vue-components/styles/components/_tabs.scss +2 -2
- package/vue-components/styles/components/_terminal.scss +4 -4
- package/vue-components/styles/components/_wizard.scss +3 -3
- package/vue-components/styles/components/ac-toaster/_ac-toasted.scss +10 -5
- package/vue-components/styles/components/alert/_alert.scss +2 -12
- package/vue-components/styles/components/alert/_toast.scss +1 -1
- package/vue-components/styles/components/bbum/_all.scss +1 -1
- package/vue-components/styles/components/bbum/_card-team.scss +1 -6
- package/vue-components/styles/components/bbum/_information-center.scss +4 -4
- package/vue-components/styles/components/bbum/_mobile-desktop.scss +10 -5
- package/vue-components/styles/components/bbum/_user-profile.scss +1 -1
- package/vue-components/styles/components/cards/_info.scss +1 -7
- package/vue-components/styles/components/editor/_filtered-file-editor.scss +3 -3
- package/vue-components/styles/components/editor/_monaco-editor.scss +1 -1
- package/vue-components/styles/components/form-fields/_input-card.scss +2 -2
- package/vue-components/styles/components/form-fields/_input.scss +3 -3
- package/vue-components/styles/components/navbar/_menu-content.scss +1 -2
- package/vue-components/styles/components/select-box/_ac-select-box.scss +2 -2
- package/vue-components/styles/components/select-box/_multi-select.scss +4 -9
- package/vue-components/styles/components/sidebar/_left-sidebar.scss +2 -2
- package/vue-components/styles/components/ui-builder/_ui-builder.scss +1 -1
- package/vue-components/styles/components/ui-builder/_vue-open-api.scss +5 -10
- package/vue-components/styles/layouts/_code-preview.scss +2 -2
- package/vue-components/styles/theme/_dark.scss +1 -1
- package/vue-components/v2/breadcrumbs/Breadcrumb.vue +14 -27
- package/vue-components/v2/button/Button.vue +2 -7
- package/vue-components/v2/button/DownloadBtn.vue +9 -9
- package/vue-components/v2/card/CardContent.vue +1 -1
- package/vue-components/v2/card/CardHeader.vue +2 -4
- package/vue-components/v2/card/PaymentCard.vue +1 -1
- package/vue-components/v2/card/PaymentCardOptionButtons.vue +1 -1
- package/vue-components/v2/card/PaymentCards.vue +15 -11
- package/vue-components/v2/content/ContentHeader.vue +6 -6
- package/vue-components/v2/editor/Editor.vue +2 -11
- package/vue-components/v2/editor/FilteredFileEditor.vue +5 -17
- package/vue-components/v2/editor/MonacoEditor.vue +5 -12
- package/vue-components/v2/editor/ResourceKeyValueEditor.vue +4 -14
- package/vue-components/v2/form/Form.vue +9 -12
- package/vue-components/v2/header/Header.vue +1 -4
- package/vue-components/v2/loaders/ResourceLoader.vue +5 -5
- package/vue-components/v2/loaders/SidebarLoader.vue +5 -5
- package/vue-components/v2/modal/Modal.vue +2 -7
- package/vue-components/v2/modals/DeleteConfirmationModal.vue +1 -6
- package/vue-components/v2/modals/JsonShowModal.vue +3 -15
- package/vue-components/v2/navbar/Appdrawer.vue +2 -10
- package/vue-components/v2/navbar/ThemeMode.vue +12 -18
- package/vue-components/v2/navbar/User.vue +19 -82
- package/vue-components/v2/notification/Notification.vue +3 -12
- package/vue-components/v2/notification/NotificationItem.vue +1 -3
- package/vue-components/v2/pagination/Pagination.vue +5 -26
- package/vue-components/v2/preloader/Preloader.vue +5 -5
- package/vue-components/v2/searchbars/SearchBar.vue +1 -7
- package/vue-components/v2/sidebar/ClusterSwitcher.vue +2 -2
- package/vue-components/v2/sidebar/SidebarItem.vue +2 -10
- package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +1 -2
- package/vue-components/v2/table/FakeTableCell.vue +1 -2
- package/vue-components/v2/table/InfoTable.vue +4 -10
- package/vue-components/v2/table/Table.vue +16 -64
- package/vue-components/v2/table/TableRow.vue +3 -15
- package/vue-components/v2/table/table-cell/ArrayCell.vue +3 -9
- package/vue-components/v2/table/table-cell/CellValue.vue +1 -2
- package/vue-components/v2/table/table-cell/GenericCell.vue +8 -8
- package/vue-components/v2/table/table-cell/ObjectCell.vue +2 -6
- package/vue-components/v2/table/table-cell/ValueWithModal.vue +1 -6
- package/vue-components/v3/alert/AlertMessage.vue +1 -5
- package/vue-components/v3/alert/Toast.vue +1 -4
- package/vue-components/v3/badge-tags/Badge.vue +24 -0
- package/vue-components/v3/badge-tags/Tag.vue +26 -0
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +6 -24
- package/vue-components/v3/button/Button.vue +2 -11
- package/vue-components/v3/cards/CardHeader.vue +1 -3
- package/vue-components/v3/cards/Cluster.vue +3 -9
- package/vue-components/v3/cards/Counter.vue +1 -4
- package/vue-components/v3/cards/FeatureCard.vue +1 -6
- package/vue-components/v3/cards/FeatureCards.vue +1 -5
- package/vue-components/v3/cards/InfoCard.vue +10 -30
- package/vue-components/v3/cards/Monitoring.vue +3 -15
- package/vue-components/v3/cards/OrgCard.vue +7 -26
- package/vue-components/v3/cards/OverviewCards.vue +1 -3
- package/vue-components/v3/cards/Payment.vue +1 -4
- package/vue-components/v3/content/ContentHeader.vue +1 -3
- package/vue-components/v3/content/ContentTable.vue +4 -16
- package/vue-components/v3/dropdown/DropdownAction.vue +1 -5
- package/vue-components/v3/editor/Editor.vue +33 -19
- package/vue-components/v3/editor/FilteredFileEditor.vue +29 -27
- package/vue-components/v3/editor/MonacoEditor.vue +7 -17
- package/vue-components/v3/editor/ResourceKeyValueEditor.vue +5 -17
- package/vue-components/v3/footer/Status.vue +5 -18
- package/vue-components/v3/footer/Usage.vue +1 -5
- package/vue-components/v3/form/Form.vue +1 -3
- package/vue-components/v3/form-fields/FileUpload.vue +3 -11
- package/vue-components/v3/form-fields/FileUploadSmall.vue +1 -3
- package/vue-components/v3/form-fields/Searchbar.vue +5 -21
- package/vue-components/v3/header/Header.vue +1 -4
- package/vue-components/v3/loaders/ClusterSwitcherLoader.vue +1 -6
- package/vue-components/v3/loaders/InfoCardLoader.vue +1 -6
- package/vue-components/v3/loaders/SingleInfoCardLoader.vue +1 -6
- package/vue-components/v3/modal/Modal.vue +5 -19
- package/vue-components/v3/modals/DeleteConfirmationModal.vue +1 -6
- package/vue-components/v3/modals/JsonShowModal.vue +5 -17
- package/vue-components/v3/navbar/Appdrawer.vue +2 -10
- package/vue-components/v3/navbar/Navbar.vue +2 -10
- package/vue-components/v3/navbar/NavbarItem.vue +1 -5
- package/vue-components/v3/navbar/Notification.vue +7 -31
- package/vue-components/v3/navbar/ThemeMode.vue +5 -17
- package/vue-components/v3/navbar/User.vue +64 -67
- package/vue-components/v3/notification/AlertBox.vue +6 -20
- package/vue-components/v3/notification/Notification.vue +6 -25
- package/vue-components/v3/notification/NotificationItem.vue +3 -9
- package/vue-components/v3/pagination/Pagination.vue +7 -25
- package/vue-components/v3/searchbars/SearchBar.vue +3 -17
- package/vue-components/v3/sidebar/AccentColorPicker.vue +3 -12
- package/vue-components/v3/sidebar/SidebarFooter.vue +3 -17
- package/vue-components/v3/sidebar/SidebarHeader.vue +4 -28
- package/vue-components/v3/sidebar/SidebarItem.vue +3 -11
- package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +3 -7
- package/vue-components/v3/sidebar/Steps.vue +1 -2
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +1 -4
- package/vue-components/v3/sidebar/sidebar-tabs/TabsContent.vue +34 -52
- package/vue-components/v3/steps/ColoredSteps.vue +75 -0
- package/vue-components/v3/table/InfoTable.vue +5 -17
- package/vue-components/v3/table/MultiInfoTable.vue +6 -20
- package/vue-components/v3/table/Table.vue +15 -63
- package/vue-components/v3/table/TableContainer.vue +1 -4
- package/vue-components/v3/table/TableRow.vue +5 -24
- package/vue-components/v3/table/table-cell/ArrayCell.vue +6 -20
- package/vue-components/v3/table/table-cell/CellValue.vue +3 -9
- package/vue-components/v3/table/table-cell/GenericCell.vue +2 -5
- package/vue-components/v3/table/table-cell/ObjectCell.vue +5 -17
- package/vue-components/v3/table/table-cell/ValueWithModal.vue +2 -9
- package/vue-components/styles/components/_ac-tags.scss +0 -116
- package/vue-components/v3/badge/Badge.vue +0 -3
|
@@ -39,9 +39,7 @@ const collapsibleRow = ref(null as HTMLElement | null);
|
|
|
39
39
|
|
|
40
40
|
const TableCell = defineAsyncComponent(() => import("./TableCell.vue"));
|
|
41
41
|
const FakeTableCell = defineAsyncComponent(() => import("./FakeTableCell.vue"));
|
|
42
|
-
const CollapsibleButton = defineAsyncComponent(
|
|
43
|
-
() => import("../button/Button.vue")
|
|
44
|
-
);
|
|
42
|
+
const CollapsibleButton = defineAsyncComponent(() => import("../button/Button.vue"));
|
|
45
43
|
|
|
46
44
|
const isCollapsed = ref(true);
|
|
47
45
|
const collapsibleRowMaxHeight = ref("0vh");
|
|
@@ -81,19 +79,8 @@ const toggleCollapse = () => {
|
|
|
81
79
|
</script>
|
|
82
80
|
|
|
83
81
|
<template>
|
|
84
|
-
<router-link
|
|
85
|
-
v-
|
|
86
|
-
v-slot="{ navigate }"
|
|
87
|
-
event="click"
|
|
88
|
-
:to="link"
|
|
89
|
-
custom
|
|
90
|
-
>
|
|
91
|
-
<tr
|
|
92
|
-
class="is-link"
|
|
93
|
-
v-bind="$attrs"
|
|
94
|
-
data-testid="ac-table-row"
|
|
95
|
-
@click="navigate"
|
|
96
|
-
>
|
|
82
|
+
<router-link v-if="link" v-slot="{ navigate }" event="click" :to="link" custom>
|
|
83
|
+
<tr class="is-link" v-bind="$attrs" data-testid="ac-table-row" @click="navigate">
|
|
97
84
|
<table-cell v-if="collapsible">
|
|
98
85
|
<collapsible-button
|
|
99
86
|
modifier-classes="is-square is-light height-20 width-20 is-rounded is-size-7 p-0"
|
|
@@ -102,10 +89,7 @@ const toggleCollapse = () => {
|
|
|
102
89
|
/>
|
|
103
90
|
</table-cell>
|
|
104
91
|
<slot />
|
|
105
|
-
<fake-table-cell
|
|
106
|
-
v-if="fakeCellWidth > 0"
|
|
107
|
-
:fake-cell-width="fakeCellWidth"
|
|
108
|
-
/>
|
|
92
|
+
<fake-table-cell v-if="fakeCellWidth > 0" :fake-cell-width="fakeCellWidth" />
|
|
109
93
|
</tr>
|
|
110
94
|
</router-link>
|
|
111
95
|
<tr
|
|
@@ -127,10 +111,7 @@ const toggleCollapse = () => {
|
|
|
127
111
|
/>
|
|
128
112
|
</table-cell>
|
|
129
113
|
<slot />
|
|
130
|
-
<fake-table-cell
|
|
131
|
-
v-if="fakeCellWidth > 0"
|
|
132
|
-
:fake-cell-width="fakeCellWidth"
|
|
133
|
-
/>
|
|
114
|
+
<fake-table-cell v-if="fakeCellWidth > 0" :fake-cell-width="fakeCellWidth" />
|
|
134
115
|
</tr>
|
|
135
116
|
<transition name="slide-down" mode="out-in" appear>
|
|
136
117
|
<tr v-if="collapsible && !isCollapsed" v-bind="$attrs">
|
|
@@ -15,15 +15,9 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
15
15
|
|
|
16
16
|
const Tags = defineAsyncComponent(() => import("../../tag/Tags.vue"));
|
|
17
17
|
const Tag = defineAsyncComponent(() => import("../../tag/Tag.vue"));
|
|
18
|
-
const EllipsisIcon = defineAsyncComponent(
|
|
19
|
-
|
|
20
|
-
);
|
|
21
|
-
const JsonShowModal = defineAsyncComponent(
|
|
22
|
-
() => import("../../modals/JsonShowModal.vue")
|
|
23
|
-
);
|
|
24
|
-
const ValueWithModal = defineAsyncComponent(
|
|
25
|
-
() => import("../../table/table-cell/ValueWithModal.vue")
|
|
26
|
-
);
|
|
18
|
+
const EllipsisIcon = defineAsyncComponent(() => import("../../icons/Ellipsis.vue"));
|
|
19
|
+
const JsonShowModal = defineAsyncComponent(() => import("../../modals/JsonShowModal.vue"));
|
|
20
|
+
const ValueWithModal = defineAsyncComponent(() => import("../../table/table-cell/ValueWithModal.vue"));
|
|
27
21
|
|
|
28
22
|
const showFullData = ref(false);
|
|
29
23
|
|
|
@@ -34,16 +28,11 @@ const printableStringObjs = computed(() => {
|
|
|
34
28
|
let print: string | Record<string, unknown> = item;
|
|
35
29
|
if (typeof item === "object") {
|
|
36
30
|
exceededLength = true;
|
|
37
|
-
print =
|
|
38
|
-
(item["Name"] as string) ||
|
|
39
|
-
(item["name"] as string) ||
|
|
40
|
-
(item[Object.keys(item)[0]] as string);
|
|
31
|
+
print = (item["Name"] as string) || (item["name"] as string) || (item[Object.keys(item)[0]] as string);
|
|
41
32
|
} else {
|
|
42
33
|
const stringifiedValue = JSON.stringify(item);
|
|
43
34
|
exceededLength = stringifiedValue.length > 27;
|
|
44
|
-
print = exceededLength
|
|
45
|
-
? `${stringifiedValue.slice(0, 27)}...`
|
|
46
|
-
: stringifiedValue;
|
|
35
|
+
print = exceededLength ? `${stringifiedValue.slice(0, 27)}...` : stringifiedValue;
|
|
47
36
|
}
|
|
48
37
|
return { value, exceededLength, print };
|
|
49
38
|
});
|
|
@@ -69,10 +58,7 @@ const indexOfCharacterLengthExceed = computed(() => {
|
|
|
69
58
|
<span>
|
|
70
59
|
<tags v-if="printableStringObjs.length">
|
|
71
60
|
<tag
|
|
72
|
-
v-for="(printableStringOb, idx) in printableStringObjs.slice(
|
|
73
|
-
0,
|
|
74
|
-
indexOfCharacterLengthExceed
|
|
75
|
-
)"
|
|
61
|
+
v-for="(printableStringOb, idx) in printableStringObjs.slice(0, indexOfCharacterLengthExceed)"
|
|
76
62
|
:key="`${printableStringOb.print}-${idx}`"
|
|
77
63
|
modifierClasses="is-primary is-light"
|
|
78
64
|
>
|
|
@@ -19,12 +19,8 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
19
19
|
const ContentLoader = defineAsyncComponent(() =>
|
|
20
20
|
import("vue-content-loader").then(({ ContentLoader }) => ContentLoader)
|
|
21
21
|
);
|
|
22
|
-
const ObjectCell = defineAsyncComponent(
|
|
23
|
-
|
|
24
|
-
);
|
|
25
|
-
const ArrayCell = defineAsyncComponent(
|
|
26
|
-
() => import("../../table/table-cell/ArrayCell.vue")
|
|
27
|
-
);
|
|
22
|
+
const ObjectCell = defineAsyncComponent(() => import("../../table/table-cell/ObjectCell.vue"));
|
|
23
|
+
const ArrayCell = defineAsyncComponent(() => import("../../table/table-cell/ArrayCell.vue"));
|
|
28
24
|
|
|
29
25
|
const loaderLightThemePrimaryColor = "#f5f7f9";
|
|
30
26
|
const loaderDarkThemePrimaryColor = "#2e323c";
|
|
@@ -93,9 +89,7 @@ const secondaryColor = computed(() => {
|
|
|
93
89
|
data-testid="array-cell-value"
|
|
94
90
|
/>
|
|
95
91
|
<template v-else>
|
|
96
|
-
<span :title="tooltip" data-testid="cell-value">{{
|
|
97
|
-
value || (value === 0 ? 0 : "-")
|
|
98
|
-
}}</span>
|
|
92
|
+
<span :title="tooltip" data-testid="cell-value">{{ value || (value === 0 ? 0 : "-") }}</span>
|
|
99
93
|
</template>
|
|
100
94
|
</div>
|
|
101
95
|
</template>
|
|
@@ -19,14 +19,11 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
const Tag = defineAsyncComponent(() => import("../../tag/Tag.vue"));
|
|
22
|
-
const CellValue = defineAsyncComponent(
|
|
23
|
-
() => import("../../table/table-cell/CellValue.vue")
|
|
24
|
-
);
|
|
22
|
+
const CellValue = defineAsyncComponent(() => import("../../table/table-cell/CellValue.vue"));
|
|
25
23
|
|
|
26
24
|
const route = useRoute();
|
|
27
25
|
function getCellLink(cell: AcTableCell) {
|
|
28
|
-
const inject = (str: string, obj: Record<string, string>) =>
|
|
29
|
-
str.replace(/\${(.*?)}/g, (x, g) => obj[g]);
|
|
26
|
+
const inject = (str: string, obj: Record<string, string>) => str.replace(/\${(.*?)}/g, (x, g) => obj[g]);
|
|
30
27
|
const { user, cluster } = route.params;
|
|
31
28
|
const link = inject(cell.link || "", {
|
|
32
29
|
username: user as string,
|
|
@@ -15,15 +15,9 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
15
15
|
|
|
16
16
|
const Tags = defineAsyncComponent(() => import("../../tag/Tags.vue"));
|
|
17
17
|
const Tag = defineAsyncComponent(() => import("../../tag/Tag.vue"));
|
|
18
|
-
const EllipsisIcon = defineAsyncComponent(
|
|
19
|
-
|
|
20
|
-
);
|
|
21
|
-
const JsonShowModal = defineAsyncComponent(
|
|
22
|
-
() => import("../../modals/JsonShowModal.vue")
|
|
23
|
-
);
|
|
24
|
-
const ValueWithModal = defineAsyncComponent(
|
|
25
|
-
() => import("../../table/table-cell/ValueWithModal.vue")
|
|
26
|
-
);
|
|
18
|
+
const EllipsisIcon = defineAsyncComponent(() => import("../../icons/Ellipsis.vue"));
|
|
19
|
+
const JsonShowModal = defineAsyncComponent(() => import("../../modals/JsonShowModal.vue"));
|
|
20
|
+
const ValueWithModal = defineAsyncComponent(() => import("../../table/table-cell/ValueWithModal.vue"));
|
|
27
21
|
|
|
28
22
|
const showFullData = ref(false);
|
|
29
23
|
|
|
@@ -64,10 +58,7 @@ const indexOfCharacterLengthExceed = computed(() => {
|
|
|
64
58
|
<span>
|
|
65
59
|
<tags v-if="printableStringObjs.length">
|
|
66
60
|
<tag
|
|
67
|
-
v-for="printableStringOb in printableStringObjs.slice(
|
|
68
|
-
0,
|
|
69
|
-
indexOfCharacterLengthExceed
|
|
70
|
-
)"
|
|
61
|
+
v-for="printableStringOb in printableStringObjs.slice(0, indexOfCharacterLengthExceed)"
|
|
71
62
|
:key="printableStringOb.key"
|
|
72
63
|
modifierClasses="is-secondary is-light"
|
|
73
64
|
>
|
|
@@ -80,10 +71,7 @@ const indexOfCharacterLengthExceed = computed(() => {
|
|
|
80
71
|
<template v-else> {{ printableStringOb.print }} </template>
|
|
81
72
|
</tag>
|
|
82
73
|
|
|
83
|
-
<tag
|
|
84
|
-
modifierClasses="is-secondary is-light"
|
|
85
|
-
v-if="indexOfCharacterLengthExceed !== printableStringObjs.length"
|
|
86
|
-
>
|
|
74
|
+
<tag modifierClasses="is-secondary is-light" v-if="indexOfCharacterLengthExceed !== printableStringObjs.length">
|
|
87
75
|
<a @click.prevent.stop="showFullData = true">
|
|
88
76
|
<ellipsis-icon />
|
|
89
77
|
<json-show-modal
|
|
@@ -13,9 +13,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
13
13
|
print: "",
|
|
14
14
|
});
|
|
15
15
|
|
|
16
|
-
const JsonShowModal = defineAsyncComponent(
|
|
17
|
-
() => import("../../modals/JsonShowModal.vue")
|
|
18
|
-
);
|
|
16
|
+
const JsonShowModal = defineAsyncComponent(() => import("../../modals/JsonShowModal.vue"));
|
|
19
17
|
|
|
20
18
|
const showModal = ref(false);
|
|
21
19
|
</script>
|
|
@@ -24,11 +22,6 @@ const showModal = ref(false);
|
|
|
24
22
|
<a @click.prevent.stop="showModal = true">
|
|
25
23
|
{{ print }}
|
|
26
24
|
|
|
27
|
-
<json-show-modal
|
|
28
|
-
:open="showModal"
|
|
29
|
-
@closemodal="showModal = false"
|
|
30
|
-
:editor-title="title"
|
|
31
|
-
:editor-content="value"
|
|
32
|
-
/>
|
|
25
|
+
<json-show-modal :open="showModal" @closemodal="showModal = false" :editor-title="title" :editor-content="value" />
|
|
33
26
|
</a>
|
|
34
27
|
</template>
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
// .tag:not(body) {
|
|
2
|
-
// background-color: $color-border;
|
|
3
|
-
// font-size: 10px;
|
|
4
|
-
// height: 18px;
|
|
5
|
-
// font-weight: 500;
|
|
6
|
-
// line-height: 1;
|
|
7
|
-
// letter-spacing: 0px;
|
|
8
|
-
// color: $color-heading;
|
|
9
|
-
// &.is-outlined {
|
|
10
|
-
// border: 1px solid;
|
|
11
|
-
// background-color: transparent;
|
|
12
|
-
// }
|
|
13
|
-
|
|
14
|
-
// a {
|
|
15
|
-
// &:hover {
|
|
16
|
-
// color: $color-heading;
|
|
17
|
-
// }
|
|
18
|
-
// }
|
|
19
|
-
|
|
20
|
-
// &.is-available {
|
|
21
|
-
// background-color: #27b064;
|
|
22
|
-
// color: $white-100;
|
|
23
|
-
// }
|
|
24
|
-
|
|
25
|
-
// &.is-success {
|
|
26
|
-
// background-color: $success;
|
|
27
|
-
// color: $white-100;
|
|
28
|
-
|
|
29
|
-
// &.is-light {
|
|
30
|
-
// background-color: rgba(39, 176, 100, 0.2);
|
|
31
|
-
// color: $success;
|
|
32
|
-
// }
|
|
33
|
-
// }
|
|
34
|
-
|
|
35
|
-
// &.is-primary {
|
|
36
|
-
// background-color: $ac-primary;
|
|
37
|
-
// color: $white-100;
|
|
38
|
-
|
|
39
|
-
// &.is-light {
|
|
40
|
-
// background-color: rgba(25, 113, 189, 0.2);
|
|
41
|
-
// color: $ac-primary;
|
|
42
|
-
// }
|
|
43
|
-
// }
|
|
44
|
-
|
|
45
|
-
// &.is-gray {
|
|
46
|
-
// background-color: #e5e9f2;
|
|
47
|
-
// color: $black-40;
|
|
48
|
-
// }
|
|
49
|
-
|
|
50
|
-
// &.is-warning {
|
|
51
|
-
// background-color: $warning;
|
|
52
|
-
// color: $white-100;
|
|
53
|
-
|
|
54
|
-
// &.is-light {
|
|
55
|
-
// background-color: #ffd58b42;
|
|
56
|
-
// color: #c88b21;
|
|
57
|
-
// }
|
|
58
|
-
// }
|
|
59
|
-
|
|
60
|
-
// &.is-danger {
|
|
61
|
-
// background-color: $danger;
|
|
62
|
-
// color: $white-100 !important;
|
|
63
|
-
|
|
64
|
-
// &.is-light {
|
|
65
|
-
// background-color: rgba(234, 61, 47, 0.2);
|
|
66
|
-
// color: $danger !important;
|
|
67
|
-
// }
|
|
68
|
-
// }
|
|
69
|
-
// }
|
|
70
|
-
|
|
71
|
-
// .tags {
|
|
72
|
-
// .icon {
|
|
73
|
-
// margin-bottom: 0.5rem;
|
|
74
|
-
// }
|
|
75
|
-
|
|
76
|
-
// .tag {
|
|
77
|
-
// a {
|
|
78
|
-
// font-weight: 500;
|
|
79
|
-
// }
|
|
80
|
-
// }
|
|
81
|
-
// }
|
|
82
|
-
|
|
83
|
-
// .has-tags {
|
|
84
|
-
// display: flex;
|
|
85
|
-
// align-items: center;
|
|
86
|
-
|
|
87
|
-
// li {
|
|
88
|
-
// background-color: $black-80;
|
|
89
|
-
// list-style: none;
|
|
90
|
-
// padding: 2px 10px;
|
|
91
|
-
// border-radius: 4px;
|
|
92
|
-
// font-size: 12px;
|
|
93
|
-
// line-height: 1;
|
|
94
|
-
// border: 1px solid $primary-20;
|
|
95
|
-
// margin-right: 5px;
|
|
96
|
-
|
|
97
|
-
// &:last-child {
|
|
98
|
-
// margin-right: 0;
|
|
99
|
-
// }
|
|
100
|
-
|
|
101
|
-
// &.is-warning {
|
|
102
|
-
// @include ac-tags($warning);
|
|
103
|
-
// }
|
|
104
|
-
|
|
105
|
-
// &.is-primary {
|
|
106
|
-
// @include ac-tags($primary);
|
|
107
|
-
// }
|
|
108
|
-
|
|
109
|
-
// &.is-danger {
|
|
110
|
-
// @include ac-tags($danger);
|
|
111
|
-
// }
|
|
112
|
-
// &.is-dark {
|
|
113
|
-
// @include ac-tags($black-30);
|
|
114
|
-
// }
|
|
115
|
-
// }
|
|
116
|
-
// }
|