@skeletonlabs/skeleton 0.92.2 → 0.99.5
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/components/Accordion/AccordionGroup.svelte +22 -35
- package/components/Accordion/AccordionItem.svelte +24 -40
- package/components/AppBar/AppBar.svelte +22 -38
- package/components/AppRail/AppRail.svelte +18 -39
- package/components/AppRail/AppRailTile.svelte +23 -37
- package/components/AppShell/AppShell.svelte +28 -38
- package/components/Avatar/Avatar.svelte +16 -33
- package/components/ConicGradient/ConicGradient.svelte +28 -44
- package/components/FileButton/FileButton.svelte +14 -11
- package/components/FileDropzone/FileDropzone.svelte +26 -46
- package/components/InputChip/InputChip.svelte +39 -69
- package/components/InputChip/InputChip.svelte.d.ts +0 -1
- package/components/ListBox/ListBox.svelte +27 -47
- package/components/ListBox/ListBoxItem.svelte +36 -52
- package/components/Paginator/Paginator.svelte +25 -41
- package/components/ProgressBar/ProgressBar.svelte +18 -30
- package/components/ProgressRadial/ProgressRadial.svelte +18 -36
- package/components/Radio/RadioGroup.svelte +23 -42
- package/components/Radio/RadioItem.svelte +24 -36
- package/components/RangeSlider/RangeSlider.svelte +17 -40
- package/components/SlideToggle/SlideToggle.svelte +42 -54
- package/components/Stepper/Step.svelte +57 -65
- package/components/Stepper/Stepper.svelte +30 -51
- package/components/SvgIcon/SvgIcon.svelte +11 -23
- package/components/Tab/Tab.svelte +30 -45
- package/components/Tab/TabGroup.svelte +30 -48
- package/components/Table/Table.svelte +20 -36
- package/components/TableOfContents/TableOfContents.svelte +62 -94
- package/index.d.ts +0 -5
- package/index.js +0 -5
- package/package.json +26 -25
- package/styles/all.css +3 -0
- package/styles/core.css +11 -2
- package/styles/elements/alerts.css +2 -28
- package/styles/elements/badges.css +0 -25
- package/styles/elements/breadcrumbs.css +3 -3
- package/styles/elements/buttons.css +32 -117
- package/styles/elements/cards.css +2 -29
- package/styles/elements/chips.css +9 -58
- package/styles/elements/lists.css +4 -3
- package/styles/elements/logo-clouds.css +2 -4
- package/styles/elements/tables.css +14 -10
- package/styles/forms.css +130 -113
- package/styles/tailwind.css +7 -3
- package/styles/typography.css +46 -62
- package/styles/variants.css +154 -0
- package/tailwind/core.cjs +37 -0
- package/tailwind/core.d.cts +5 -0
- package/tailwind/generated/intellisense-classes.cjs +1 -0
- package/tailwind/generated/{allComponents.d.cts → intellisense-classes.d.cts} +731 -931
- package/tailwind/intellisense.cjs +21 -0
- package/tailwind/intellisense.d.cts +5 -0
- package/tailwind/settings.cjs +16 -16
- package/tailwind/skeleton.cjs +13 -44
- package/tailwind/skeleton.d.cts +4 -2
- package/tailwind/theme/colors.cjs +7 -7
- package/tailwind/tokens/backgrounds.cjs +28 -30
- package/tailwind/tokens/border-radius.cjs +15 -15
- package/tailwind/tokens/borders.cjs +14 -14
- package/tailwind/tokens/fills.cjs +14 -14
- package/tailwind/tokens/rings.cjs +40 -32
- package/tailwind/tokens/rings.d.cts +5 -0
- package/tailwind/tokens/text.cjs +24 -26
- package/themes/theme-skeleton.css +6 -6
- package/utilities/CodeBlock/CodeBlock.svelte +26 -40
- package/utilities/DataTable/DataTable.js +1 -1
- package/utilities/Drawer/Drawer.svelte +82 -105
- package/utilities/LightSwitch/LightSwitch.svelte +32 -50
- package/utilities/LightSwitch/LightSwitch.svelte.d.ts +1 -1
- package/utilities/Modal/Modal.svelte +57 -92
- package/utilities/Modal/examples/ModalExampleEmbed.svelte +3 -6
- package/utilities/Modal/examples/ModalExampleForm.svelte +13 -19
- package/utilities/Modal/examples/ModalExampleImage.svelte +19 -0
- package/utilities/Modal/examples/ModalExampleImage.svelte.d.ts +16 -0
- package/utilities/Modal/examples/ModalExampleList.svelte +7 -10
- package/utilities/Toast/Toast.svelte +64 -86
- package/utilities/Toast/stores.js +13 -4
- package/components/Alert/Alert.svelte +0 -65
- package/components/Alert/Alert.svelte.d.ts +0 -30
- package/components/Breadcrumb/Breadcrumb.svelte +0 -24
- package/components/Breadcrumb/Breadcrumb.svelte.d.ts +0 -21
- package/components/Breadcrumb/Crumb.svelte +0 -37
- package/components/Breadcrumb/Crumb.svelte.d.ts +0 -26
- package/components/Divider/Divider.svelte +0 -21
- package/components/Divider/Divider.svelte.d.ts +0 -22
- package/components/GradientHeading/GradientHeading.svelte +0 -21
- package/components/GradientHeading/GradientHeading.svelte.d.ts +0 -22
- package/tailwind/generated/allComponents.cjs +0 -1
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
@layer components {
|
|
4
4
|
.alert {
|
|
5
5
|
@apply flex flex-col items-start lg:items-center lg:flex-row p-4 space-y-4 lg:space-y-0 lg:space-x-4;
|
|
6
|
-
/*
|
|
7
|
-
@apply
|
|
8
|
-
/* Border */
|
|
9
|
-
@apply border border-warning-500;
|
|
6
|
+
/* Text */
|
|
7
|
+
@apply text-surface-900-50-token;
|
|
10
8
|
/* Rounded */
|
|
11
9
|
@apply rounded-container-token;
|
|
12
10
|
}
|
|
@@ -16,28 +14,4 @@
|
|
|
16
14
|
.alert-actions {
|
|
17
15
|
@apply flex items-center space-x-2;
|
|
18
16
|
}
|
|
19
|
-
|
|
20
|
-
/* === Variants === */
|
|
21
|
-
|
|
22
|
-
.alert-primary {
|
|
23
|
-
@apply bg-primary-500/20 border-primary-500;
|
|
24
|
-
}
|
|
25
|
-
.alert-secondary {
|
|
26
|
-
@apply bg-secondary-500/20 border-secondary-500;
|
|
27
|
-
}
|
|
28
|
-
.alert-tertiary {
|
|
29
|
-
@apply bg-tertiary-500/20 border-tertiary-500;
|
|
30
|
-
}
|
|
31
|
-
.alert-success {
|
|
32
|
-
@apply bg-success-500/20 border-success-500;
|
|
33
|
-
}
|
|
34
|
-
.alert-warning {
|
|
35
|
-
@apply bg-warning-500/20 border-warning-500;
|
|
36
|
-
}
|
|
37
|
-
.alert-error {
|
|
38
|
-
@apply bg-error-500/20 border-error-500;
|
|
39
|
-
}
|
|
40
|
-
.alert-surface {
|
|
41
|
-
@apply bg-surface-500/20 border-surface-500;
|
|
42
|
-
}
|
|
43
17
|
}
|
|
@@ -23,34 +23,9 @@
|
|
|
23
23
|
|
|
24
24
|
/* === Variants === */
|
|
25
25
|
|
|
26
|
-
/* Filled */
|
|
27
|
-
.badge-filled,
|
|
28
|
-
.badge-filled-surface {
|
|
29
|
-
@apply bg-surface-400-500-token text-on-surface-token;
|
|
30
|
-
}
|
|
31
|
-
.badge-filled-primary {
|
|
32
|
-
@apply bg-primary-500 text-on-primary-token;
|
|
33
|
-
}
|
|
34
|
-
.badge-filled-secondary {
|
|
35
|
-
@apply bg-secondary-500 text-on-secondary-token;
|
|
36
|
-
}
|
|
37
|
-
.badge-filled-tertiary {
|
|
38
|
-
@apply bg-tertiary-500 text-on-tertiary-token;
|
|
39
|
-
}
|
|
40
|
-
.badge-filled-success {
|
|
41
|
-
@apply bg-success-500 text-on-success-token;
|
|
42
|
-
}
|
|
43
|
-
.badge-filled-warning {
|
|
44
|
-
@apply bg-warning-500 text-on-warning-token;
|
|
45
|
-
}
|
|
46
|
-
.badge-filled-error {
|
|
47
|
-
@apply bg-error-500 text-on-error-token;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
26
|
/* Glass */
|
|
51
27
|
.badge-glass {
|
|
52
28
|
@apply bg-surface-500/20 dark:bg-surface-500/20 backdrop-blur-lg;
|
|
53
|
-
/* Ring */
|
|
54
29
|
@apply ring-[1px] ring-neutral-900/5 dark:ring-neutral-50/5 ring-inset;
|
|
55
30
|
}
|
|
56
31
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* Tailwind Elements: breadcrumbs.css */
|
|
2
2
|
|
|
3
3
|
@layer components {
|
|
4
|
-
.breadcrumb
|
|
4
|
+
.breadcrumb {
|
|
5
5
|
@apply flex items-center space-x-4 w-full hide-scrollbar overflow-x-auto;
|
|
6
6
|
}
|
|
7
|
-
.breadcrumb {
|
|
8
|
-
@apply breadcrumb
|
|
7
|
+
.breadcrumb-nonresponsive {
|
|
8
|
+
@apply breadcrumb;
|
|
9
9
|
}
|
|
10
10
|
.crumb {
|
|
11
11
|
@apply flex justify-center items-center space-x-2;
|
|
@@ -7,22 +7,24 @@
|
|
|
7
7
|
@apply !opacity-50 !cursor-not-allowed active:scale-100 hover:brightness-100;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
/* Standard button/anchor tag elements. */
|
|
12
|
-
|
|
13
|
-
.btn {
|
|
10
|
+
.button-base-styles {
|
|
14
11
|
/* Size (match base) */
|
|
15
12
|
@apply text-base px-5 py-[9px];
|
|
16
13
|
/* Core */
|
|
17
14
|
@apply text-center whitespace-nowrap;
|
|
18
15
|
/* Flex Columns */
|
|
19
16
|
@apply inline-flex justify-center items-center space-x-2;
|
|
20
|
-
/*
|
|
21
|
-
@apply hover:brightness-
|
|
17
|
+
/* States */
|
|
18
|
+
@apply hover:brightness-[1.15];
|
|
22
19
|
/* Transitions */
|
|
23
|
-
@apply transition-all
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
@apply transition-all;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* === Button === */
|
|
24
|
+
/* Standard button/anchor tag elements. */
|
|
25
|
+
|
|
26
|
+
.btn {
|
|
27
|
+
@apply button-base-styles rounded-token active:scale-[95%] active:brightness-90;
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
/* Button: Sizes */
|
|
@@ -65,122 +67,35 @@
|
|
|
65
67
|
@apply text-xl aspect-square w-[63px];
|
|
66
68
|
}
|
|
67
69
|
|
|
68
|
-
/*
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
/* Outline */
|
|
72
|
-
.btn-outline {
|
|
73
|
-
@apply ring-2 ring-surface-900 dark:ring-surface-50 ring-inset;
|
|
74
|
-
}
|
|
75
|
-
.btn-outline-primary {
|
|
76
|
-
@apply ring-2 ring-primary-500 ring-inset;
|
|
77
|
-
}
|
|
78
|
-
.btn-outline-secondary {
|
|
79
|
-
@apply ring-2 ring-secondary-500 ring-inset;
|
|
80
|
-
}
|
|
81
|
-
.btn-outline-tertiary {
|
|
82
|
-
@apply ring-2 ring-tertiary-500 ring-inset;
|
|
83
|
-
}
|
|
84
|
-
.btn-outline-success {
|
|
85
|
-
@apply ring-2 ring-success-500 ring-inset;
|
|
86
|
-
}
|
|
87
|
-
.btn-outline-warning {
|
|
88
|
-
@apply ring-2 ring-warning-500 ring-inset;
|
|
89
|
-
}
|
|
90
|
-
.btn-outline-error {
|
|
91
|
-
@apply ring-2 ring-error-500 ring-inset;
|
|
92
|
-
}
|
|
93
|
-
.btn-outline-surface {
|
|
94
|
-
@apply ring-2 ring-surface-400-500-token ring-inset;
|
|
70
|
+
/* File Input Button */
|
|
71
|
+
input[type='file']:not(.file-dropzone-input)::file-selector-button {
|
|
72
|
+
@apply border-0 btn variant-filled-secondary text-on-secondary-token btn-sm mr-2;
|
|
95
73
|
}
|
|
96
74
|
|
|
97
|
-
/* ===
|
|
98
|
-
/* A canned set of preset styles. */
|
|
75
|
+
/* === Button Groups === */
|
|
99
76
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
@apply bg-surface-900 dark:bg-surface-50 text-white dark:text-black;
|
|
103
|
-
}
|
|
104
|
-
.btn-filled-primary {
|
|
105
|
-
@apply bg-primary-500 text-on-primary-token;
|
|
106
|
-
}
|
|
107
|
-
.btn-filled-secondary {
|
|
108
|
-
@apply bg-secondary-500 text-on-secondary-token;
|
|
77
|
+
.btn-group {
|
|
78
|
+
@apply inline-flex flex-row space-x-0 overflow-hidden rounded-token;
|
|
109
79
|
}
|
|
110
|
-
.btn-
|
|
111
|
-
@apply
|
|
112
|
-
}
|
|
113
|
-
.btn-filled-success {
|
|
114
|
-
@apply bg-success-500 text-on-success-token;
|
|
115
|
-
}
|
|
116
|
-
.btn-filled-warning {
|
|
117
|
-
@apply bg-warning-500 text-on-warning-token;
|
|
118
|
-
}
|
|
119
|
-
.btn-filled-error {
|
|
120
|
-
@apply bg-error-500 text-on-error-token;
|
|
121
|
-
}
|
|
122
|
-
.btn-filled-surface {
|
|
123
|
-
@apply bg-surface-400-500-token;
|
|
80
|
+
.btn-group-vertical {
|
|
81
|
+
@apply btn-group flex-col space-y-0 rounded-container-token;
|
|
124
82
|
}
|
|
125
83
|
|
|
126
|
-
/*
|
|
127
|
-
.btn-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
.btn-
|
|
131
|
-
@apply
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
@apply btn-outline-secondary;
|
|
135
|
-
}
|
|
136
|
-
.btn-ringed-tertiary {
|
|
137
|
-
@apply btn-outline-tertiary;
|
|
138
|
-
}
|
|
139
|
-
.btn-ringed-success {
|
|
140
|
-
@apply btn-outline-success;
|
|
141
|
-
}
|
|
142
|
-
.btn-ringed-warning {
|
|
143
|
-
@apply btn-outline-warning;
|
|
144
|
-
}
|
|
145
|
-
.btn-ringed-error {
|
|
146
|
-
@apply btn-outline-error;
|
|
147
|
-
}
|
|
148
|
-
.btn-ringed-surface {
|
|
149
|
-
@apply btn-outline-surface;
|
|
84
|
+
/* Button / Anchors */
|
|
85
|
+
.btn-group button,
|
|
86
|
+
.btn-group a,
|
|
87
|
+
.btn-group-vertical button,
|
|
88
|
+
.btn-group-vertical a {
|
|
89
|
+
@apply button-base-styles hover:bg-surface-50/[3%] active:bg-surface-900/[3%];
|
|
90
|
+
/* Reset Anchor Styles */
|
|
91
|
+
@apply !no-underline !text-inherit;
|
|
150
92
|
}
|
|
151
93
|
|
|
152
|
-
/*
|
|
153
|
-
.btn-
|
|
154
|
-
@apply
|
|
155
|
-
/* Background */
|
|
156
|
-
@apply bg-surface-900/20 dark:bg-surface-50/20;
|
|
157
|
-
/* Hover */
|
|
158
|
-
@apply hover:bg-surface-900/10 hover:dark:bg-surface-50/30;
|
|
94
|
+
/* Set Neutral Divider */
|
|
95
|
+
.btn-group * + * {
|
|
96
|
+
@apply border-t-0 border-l border-surface-500/20;
|
|
159
97
|
}
|
|
160
|
-
.btn-
|
|
161
|
-
@apply
|
|
162
|
-
}
|
|
163
|
-
.btn-ghost-secondary {
|
|
164
|
-
@apply btn-outline-secondary bg-secondary-500/20 hover:bg-secondary-500/30;
|
|
165
|
-
}
|
|
166
|
-
.btn-ghost-tertiary {
|
|
167
|
-
@apply btn-outline-tertiary bg-tertiary-500/20 hover:bg-tertiary-500/30;
|
|
168
|
-
}
|
|
169
|
-
.btn-ghost-success {
|
|
170
|
-
@apply btn-outline-success bg-success-500/20 hover:bg-success-500/30;
|
|
171
|
-
}
|
|
172
|
-
.btn-ghost-warning {
|
|
173
|
-
@apply btn-outline-warning bg-warning-500/20 hover:bg-warning-500/30;
|
|
174
|
-
}
|
|
175
|
-
.btn-ghost-error {
|
|
176
|
-
@apply btn-outline-error bg-error-500/20 hover:bg-error-500/30;
|
|
177
|
-
}
|
|
178
|
-
.btn-ghost-surface {
|
|
179
|
-
@apply btn-outline-surface bg-surface-400/20 hover:bg-surface-500/30;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
/* File Input Button */
|
|
183
|
-
input[type='file']:not(.file-dropzone-input)::file-selector-button {
|
|
184
|
-
@apply border-0 btn btn-filled-secondary btn-sm mr-2 text-token;
|
|
98
|
+
.btn-group-vertical * + * {
|
|
99
|
+
@apply border-t border-l-0 border-surface-500/20;
|
|
185
100
|
}
|
|
186
101
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/* Tailwind Elements: cards.css */
|
|
2
2
|
|
|
3
3
|
@layer components {
|
|
4
|
-
/* === Card (parent) === */
|
|
5
|
-
|
|
6
4
|
.card {
|
|
7
5
|
/* background */
|
|
8
6
|
@apply bg-surface-100-800-token;
|
|
@@ -12,7 +10,7 @@
|
|
|
12
10
|
@apply rounded-container-token;
|
|
13
11
|
}
|
|
14
12
|
|
|
15
|
-
/* ===
|
|
13
|
+
/* === Regions === */
|
|
16
14
|
|
|
17
15
|
.card-header {
|
|
18
16
|
@apply p-4 pb-0;
|
|
@@ -25,35 +23,10 @@
|
|
|
25
23
|
/* === States === */
|
|
26
24
|
|
|
27
25
|
a.card {
|
|
28
|
-
@apply transition-all hover:brightness-
|
|
26
|
+
@apply transition-all hover:brightness-105;
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
.card-hover {
|
|
32
30
|
@apply transition-all hover:scale-[101%] hover:shadow-xl;
|
|
33
31
|
}
|
|
34
|
-
|
|
35
|
-
/* === Variants === */
|
|
36
|
-
|
|
37
|
-
.card-glass-primary {
|
|
38
|
-
@apply bg-primary-500/10 dark:bg-primary-500/10 backdrop-blur-lg;
|
|
39
|
-
}
|
|
40
|
-
.card-glass-secondary {
|
|
41
|
-
@apply bg-secondary-500/10 dark:bg-secondary-500/10 backdrop-blur-lg;
|
|
42
|
-
}
|
|
43
|
-
.card-glass-tertiary {
|
|
44
|
-
@apply bg-tertiary-500/10 dark:bg-tertiary-500/10 backdrop-blur-lg;
|
|
45
|
-
}
|
|
46
|
-
.card-glass-success {
|
|
47
|
-
@apply bg-success-500/10 dark:bg-success-500/10 backdrop-blur-lg;
|
|
48
|
-
}
|
|
49
|
-
.card-glass-warning {
|
|
50
|
-
@apply bg-warning-500/10 dark:bg-warning-500/10 backdrop-blur-lg;
|
|
51
|
-
}
|
|
52
|
-
.card-glass-error {
|
|
53
|
-
@apply bg-error-500/10 dark:bg-error-500/10 backdrop-blur-lg;
|
|
54
|
-
}
|
|
55
|
-
.card-glass,
|
|
56
|
-
.card-glass-surface {
|
|
57
|
-
@apply bg-surface-500/10 dark:bg-surface-500/10 backdrop-blur-lg;
|
|
58
|
-
}
|
|
59
32
|
}
|
|
@@ -1,71 +1,22 @@
|
|
|
1
1
|
/* Tailwind Elements: chips.css */
|
|
2
2
|
|
|
3
|
-
/* NOTE: these are a work in progress; best not to use them yet! */
|
|
4
|
-
|
|
5
3
|
@layer components {
|
|
6
4
|
.chip {
|
|
7
|
-
|
|
8
|
-
@apply inline-flex items-center space-x-2 whitespace-nowrap cursor-pointer;
|
|
5
|
+
@apply px-3 py-1.5 whitespace-nowrap cursor-pointer;
|
|
9
6
|
/* Text */
|
|
10
|
-
@apply text-xs text-
|
|
11
|
-
/*
|
|
12
|
-
@apply px-3 py-1.5;
|
|
13
|
-
/* Theme: Rounded */
|
|
7
|
+
@apply text-xs text-center;
|
|
8
|
+
/* Rounded */
|
|
14
9
|
@apply rounded;
|
|
15
|
-
/*
|
|
16
|
-
@apply
|
|
17
|
-
/*
|
|
18
|
-
@apply hover:
|
|
10
|
+
/* Flex Columns */
|
|
11
|
+
@apply inline-flex justify-center items-center space-x-2;
|
|
12
|
+
/* States */
|
|
13
|
+
@apply hover:brightness-[1.15];
|
|
14
|
+
/* Transitions */
|
|
15
|
+
@apply transition-all;
|
|
19
16
|
}
|
|
20
17
|
|
|
21
18
|
.chip-disabled,
|
|
22
19
|
.chip:disabled {
|
|
23
20
|
@apply !opacity-50 !cursor-not-allowed active:scale-100;
|
|
24
21
|
}
|
|
25
|
-
|
|
26
|
-
/* === Variations === */
|
|
27
|
-
|
|
28
|
-
.chip-primary {
|
|
29
|
-
@apply ring-primary-500-400-token hover:bg-primary-hover-token;
|
|
30
|
-
}
|
|
31
|
-
.chip-secondary {
|
|
32
|
-
@apply ring-secondary-500-400-token hover:bg-secondary-hover-token;
|
|
33
|
-
}
|
|
34
|
-
.chip-tertiary {
|
|
35
|
-
@apply ring-tertiary-500-400-token hover:bg-tertiary-hover-token;
|
|
36
|
-
}
|
|
37
|
-
.chip-success {
|
|
38
|
-
@apply ring-success-500-400-token hover:bg-success-hover-token;
|
|
39
|
-
}
|
|
40
|
-
.chip-warning {
|
|
41
|
-
@apply ring-warning-500-400-token hover:bg-warning-hover-token;
|
|
42
|
-
}
|
|
43
|
-
.chip-error {
|
|
44
|
-
@apply ring-error-500-400-token hover:bg-error-hover-token;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* === States === */
|
|
48
|
-
|
|
49
|
-
.chip-active,
|
|
50
|
-
.chip-primary-active {
|
|
51
|
-
@apply !bg-primary-500 !text-on-primary-token ring-0;
|
|
52
|
-
}
|
|
53
|
-
.chip-secondary-active {
|
|
54
|
-
@apply !bg-secondary-500 !text-on-secondary-token ring-0;
|
|
55
|
-
}
|
|
56
|
-
.chip-tertiary-active {
|
|
57
|
-
@apply !bg-tertiary-500 !text-on-tertiary-token ring-0;
|
|
58
|
-
}
|
|
59
|
-
.chip-success-active {
|
|
60
|
-
@apply !bg-success-500 !text-on-success-token ring-0;
|
|
61
|
-
}
|
|
62
|
-
.chip-warning-active {
|
|
63
|
-
@apply !bg-warning-500 !text-on-warning-token ring-0;
|
|
64
|
-
}
|
|
65
|
-
.chip-error-active {
|
|
66
|
-
@apply !bg-error-500 !text-on-error-token ring-0;
|
|
67
|
-
}
|
|
68
|
-
.chip-surface-active {
|
|
69
|
-
@apply !bg-surface-500 !text-on-surface-token ring-0;
|
|
70
|
-
}
|
|
71
22
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/* @apply bg-red-500; */
|
|
19
19
|
@apply flex items-center space-x-4 whitespace-nowrap;
|
|
20
20
|
/* Padding */
|
|
21
|
-
@apply
|
|
21
|
+
@apply p-2;
|
|
22
22
|
/* Theme: Rounded */
|
|
23
23
|
@apply rounded-token;
|
|
24
24
|
}
|
|
@@ -27,13 +27,14 @@
|
|
|
27
27
|
/* @apply bg-blue-500; */
|
|
28
28
|
@apply flex items-center space-x-4 whitespace-nowrap;
|
|
29
29
|
/* Padding */
|
|
30
|
-
@apply
|
|
30
|
+
@apply p-2;
|
|
31
31
|
/* Theme: Rounded */
|
|
32
32
|
@apply rounded-token;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.list-nav a,
|
|
36
|
-
.list-nav
|
|
36
|
+
.list-nav button,
|
|
37
|
+
.list-option {
|
|
37
38
|
@apply flex items-center space-x-4 whitespace-nowrap;
|
|
38
39
|
/* Padding */
|
|
39
40
|
@apply px-4 py-3;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/* Tailwind Elements: logo-clouds.css */
|
|
2
2
|
|
|
3
3
|
@layer components {
|
|
4
|
-
/* === Logo Cloud (Parent) === */
|
|
5
|
-
|
|
6
4
|
.logo-cloud {
|
|
7
5
|
@apply grid overflow-hidden;
|
|
8
6
|
/* Theme: Rounded */
|
|
@@ -16,11 +14,11 @@
|
|
|
16
14
|
/* Center Contents */
|
|
17
15
|
@apply flex justify-center items-center space-x-4;
|
|
18
16
|
/* Background */
|
|
19
|
-
@apply bg-surface-
|
|
17
|
+
@apply bg-surface-500/10 dark:bg-surface-500/20;
|
|
20
18
|
/* Text */
|
|
21
19
|
@apply text-base font-bold text-black dark:text-white;
|
|
22
20
|
/* Padding */
|
|
23
|
-
@apply py-4 md:py-
|
|
21
|
+
@apply py-4 md:py-8;
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
/* === States === */
|
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
@apply w-full overflow-hidden table-auto;
|
|
10
10
|
/* background */
|
|
11
11
|
@apply bg-surface-100-800-token;
|
|
12
|
-
/* Ring */
|
|
13
|
-
@apply ring-[1px] ring-neutral-900/5 dark:ring-neutral-50/5 ring-inset;
|
|
14
12
|
/* Theme: Rounded */
|
|
15
13
|
@apply rounded-container-token;
|
|
16
14
|
}
|
|
@@ -29,20 +27,22 @@
|
|
|
29
27
|
|
|
30
28
|
[data-sort] {
|
|
31
29
|
@apply hover:bg-primary-hover-token cursor-pointer;
|
|
30
|
+
/* Sort Icon - invisible by default */
|
|
31
|
+
@apply after:opacity-0 after:!ml-2 after:!content-['↓'];
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.table-sort-asc {
|
|
35
|
-
@apply after:opacity-50 after
|
|
35
|
+
@apply after:opacity-50 after:!content-['↓'];
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.table-sort-dsc {
|
|
39
|
-
@apply after:opacity-50 after
|
|
39
|
+
@apply after:opacity-50 after:!content-['↑'];
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/* === Table Head === */
|
|
43
43
|
|
|
44
44
|
.table thead {
|
|
45
|
-
@apply bg-surface-200-700-token;
|
|
45
|
+
@apply bg-surface-200-700-token border-b border-surface-500/20;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.table thead tr {
|
|
@@ -56,15 +56,19 @@
|
|
|
56
56
|
/* === Table Body === */
|
|
57
57
|
|
|
58
58
|
.table tbody tr {
|
|
59
|
-
@apply border-b border-surface-500/
|
|
59
|
+
@apply border-b border-surface-500/20 even:bg-surface-500/5;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.table tbody td {
|
|
63
|
-
@apply text-sm
|
|
63
|
+
@apply text-sm px-4 py-2 md:py-3 xl:py-4 whitespace-nowrap;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.table tbody td
|
|
67
|
-
@apply
|
|
66
|
+
.table-compact tbody td {
|
|
67
|
+
@apply py-1 md:py-2 xl:py-3;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.table-comfortable tbody td {
|
|
71
|
+
@apply py-3 md:py-4 xl:py-8;
|
|
68
72
|
}
|
|
69
73
|
|
|
70
74
|
/* === Table Foot === */
|
|
@@ -85,7 +89,7 @@
|
|
|
85
89
|
/* === Rows Specific === */
|
|
86
90
|
|
|
87
91
|
.table-row-checked {
|
|
88
|
-
@apply !bg-secondary-500/
|
|
92
|
+
@apply !bg-secondary-500/20;
|
|
89
93
|
}
|
|
90
94
|
|
|
91
95
|
/* === Cells Specific === */
|