nuxt-glorious 2.0.0-develop-1 → 2.0.0-develop-3
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/module.json +1 -1
- package/dist/module.mjs +1 -0
- package/dist/runtime/components/G/Modal.vue +1 -9
- package/dist/runtime/plugins/modalClose.d.ts +2 -0
- package/dist/runtime/plugins/modalClose.mjs +17 -0
- package/dist/runtime/scss/alert.css +33 -0
- package/dist/runtime/scss/avatar.css +57 -0
- package/dist/runtime/scss/breadcrumb.css +6 -0
- package/dist/runtime/scss/button.css +113 -0
- package/dist/runtime/scss/checkbox.css +94 -0
- package/dist/runtime/scss/drawer.css +56 -0
- package/dist/runtime/scss/file.css +134 -0
- package/dist/runtime/scss/glorious/alert.css +33 -0
- package/dist/runtime/scss/glorious/avatar.css +57 -0
- package/dist/runtime/scss/glorious/breadcrumb.css +6 -0
- package/dist/runtime/scss/glorious/button.css +113 -0
- package/dist/runtime/scss/glorious/checkbox.css +94 -0
- package/dist/runtime/scss/glorious/drawer.css +56 -0
- package/dist/runtime/scss/glorious/file.css +134 -0
- package/dist/runtime/scss/glorious/glorious.css +1334 -0
- package/dist/runtime/scss/glorious/input.css +184 -0
- package/dist/runtime/scss/glorious/loading.css +43 -0
- package/dist/runtime/scss/glorious/mixin.css +0 -0
- package/dist/runtime/scss/glorious/modal.css +69 -0
- package/dist/runtime/scss/glorious/paginate.css +32 -0
- package/dist/runtime/scss/glorious/radio.css +121 -0
- package/dist/{scss/rating.scss → runtime/scss/glorious/rating.css} +30 -29
- package/dist/runtime/scss/glorious/select.css +49 -0
- package/dist/runtime/scss/glorious/switch.css +61 -0
- package/dist/runtime/scss/glorious/tab.css +9 -0
- package/dist/runtime/scss/glorious/table.css +99 -0
- package/dist/runtime/scss/glorious/textarea.css +67 -0
- package/dist/runtime/scss/glorious/timeline.css +47 -0
- package/dist/runtime/scss/glorious/tooltip.css +9 -0
- package/dist/runtime/scss/glorious/variable.css +0 -0
- package/dist/runtime/scss/glorious.css +1334 -0
- package/dist/runtime/scss/input.css +184 -0
- package/dist/runtime/scss/loading.css +43 -0
- package/dist/runtime/scss/mixin.css +0 -0
- package/dist/runtime/scss/modal.css +69 -0
- package/dist/runtime/scss/paginate.css +32 -0
- package/dist/runtime/scss/radio.css +121 -0
- package/dist/runtime/scss/rating.css +30 -0
- package/dist/runtime/scss/select.css +49 -0
- package/dist/runtime/scss/switch.css +61 -0
- package/dist/runtime/scss/tab.css +9 -0
- package/dist/runtime/scss/table.css +99 -0
- package/dist/runtime/scss/textarea.css +67 -0
- package/dist/runtime/scss/timeline.css +47 -0
- package/dist/runtime/scss/tooltip.css +9 -0
- package/dist/runtime/scss/variable.css +0 -0
- package/dist/runtime/stores/GloriousStore.mjs +1 -0
- package/package.json +5 -3
- package/dist/runtime/plugins/module.d.ts +0 -4
- package/dist/runtime/plugins/module.mjs +0 -94
- package/dist/scss/alert.scss +0 -7
- package/dist/scss/avatar.scss +0 -13
- package/dist/scss/breadcrumb.scss +0 -6
- package/dist/scss/button.scss +0 -30
- package/dist/scss/checkbox.scss +0 -52
- package/dist/scss/drawer.scss +0 -64
- package/dist/scss/file.scss +0 -19
- package/dist/scss/glorious.scss +0 -26
- package/dist/scss/input.scss +0 -93
- package/dist/scss/loading.scss +0 -92
- package/dist/scss/mixin.scss +0 -40
- package/dist/scss/modal.scss +0 -76
- package/dist/scss/paginate.scss +0 -28
- package/dist/scss/radio.scss +0 -59
- package/dist/scss/select.scss +0 -44
- package/dist/scss/switch.scss +0 -74
- package/dist/scss/tab.scss +0 -11
- package/dist/scss/table.scss +0 -41
- package/dist/scss/textarea.scss +0 -47
- package/dist/scss/timeline.scss +0 -40
- package/dist/scss/tooltip.scss +0 -14
- package/dist/scss/variable.scss +0 -19
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
@@ -57,6 +57,7 @@ const module = defineNuxtModule({
|
|
57
57
|
dir: resolver.resolve("./runtime/assets")
|
58
58
|
});
|
59
59
|
});
|
60
|
+
addPlugin(resolver.resolve("./runtime/plugins/modalClose"));
|
60
61
|
addPlugin(resolver.resolve("./runtime/plugins/InputComponent"));
|
61
62
|
addRouteMiddleware({
|
62
63
|
name: "g-auth-strategy",
|
@@ -26,14 +26,6 @@ watch(
|
|
26
26
|
}
|
27
27
|
}
|
28
28
|
)
|
29
|
-
|
30
|
-
onMounted(() => {
|
31
|
-
document.onkeydown = (e) => {
|
32
|
-
if (e.code === 'Escape') {
|
33
|
-
modelValue.value = false
|
34
|
-
}
|
35
|
-
}
|
36
|
-
})
|
37
29
|
</script>
|
38
30
|
|
39
31
|
<template>
|
@@ -51,7 +43,7 @@ onMounted(() => {
|
|
51
43
|
>
|
52
44
|
<span class="font-medium">{{ props.title }}</span>
|
53
45
|
<GButton
|
54
|
-
class="
|
46
|
+
class="close-modal-btn"
|
55
47
|
size="sm"
|
56
48
|
color="red"
|
57
49
|
@click="modelValue = false"
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { defineNuxtPlugin } from "#imports";
|
2
|
+
import { GloriousStore } from "../stores/GloriousStore.mjs";
|
3
|
+
export default defineNuxtPlugin((nuxtApp) => {
|
4
|
+
const gs = GloriousStore();
|
5
|
+
nuxtApp.hook("app:beforeMount", () => {
|
6
|
+
document.onkeydown = (e) => {
|
7
|
+
if (e.code === "Escape") {
|
8
|
+
Object.entries(gs.modals).map((item, index) => {
|
9
|
+
const [key, value] = item;
|
10
|
+
if (value) {
|
11
|
+
gs.modals[key] = false;
|
12
|
+
}
|
13
|
+
});
|
14
|
+
}
|
15
|
+
};
|
16
|
+
});
|
17
|
+
});
|
@@ -0,0 +1,33 @@
|
|
1
|
+
.glorious-alert {
|
2
|
+
@apply p-3 rounded-md shadow-md;
|
3
|
+
}
|
4
|
+
.glorious-alert.color-orange {
|
5
|
+
@apply bg-orange-100;
|
6
|
+
}
|
7
|
+
.glorious-alert.color-blue {
|
8
|
+
@apply bg-blue-100;
|
9
|
+
}
|
10
|
+
.glorious-alert.color-gray {
|
11
|
+
@apply bg-gray-100;
|
12
|
+
}
|
13
|
+
.glorious-alert.color-red {
|
14
|
+
@apply bg-red-100;
|
15
|
+
}
|
16
|
+
.glorious-alert.color-green {
|
17
|
+
@apply bg-green-100;
|
18
|
+
}
|
19
|
+
.glorious-alert.color-orange {
|
20
|
+
@apply border border-orange-300;
|
21
|
+
}
|
22
|
+
.glorious-alert.color-blue {
|
23
|
+
@apply border border-blue-300;
|
24
|
+
}
|
25
|
+
.glorious-alert.color-gray {
|
26
|
+
@apply border border-gray-300;
|
27
|
+
}
|
28
|
+
.glorious-alert.color-red {
|
29
|
+
@apply border border-red-300;
|
30
|
+
}
|
31
|
+
.glorious-alert.color-green {
|
32
|
+
@apply border border-green-300;
|
33
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
.glorious-avatar {
|
2
|
+
@apply overflow-hidden;
|
3
|
+
}
|
4
|
+
.glorious-avatar.size-5xl {
|
5
|
+
@apply w-[58px] h-[58px];
|
6
|
+
}
|
7
|
+
.glorious-avatar.size-5xl > img {
|
8
|
+
@apply w-[58px] h-[58px];
|
9
|
+
}
|
10
|
+
.glorious-avatar.size-4xl {
|
11
|
+
@apply w-[54px] h-[54px];
|
12
|
+
}
|
13
|
+
.glorious-avatar.size-4xl > img {
|
14
|
+
@apply w-[54px] h-[54px];
|
15
|
+
}
|
16
|
+
.glorious-avatar.size-3xl {
|
17
|
+
@apply w-[50px] h-[50px];
|
18
|
+
}
|
19
|
+
.glorious-avatar.size-3xl > img {
|
20
|
+
@apply w-[50px] h-[50px];
|
21
|
+
}
|
22
|
+
.glorious-avatar.size-2xl {
|
23
|
+
@apply w-[46px] h-[46px];
|
24
|
+
}
|
25
|
+
.glorious-avatar.size-2xl > img {
|
26
|
+
@apply w-[46px] h-[46px];
|
27
|
+
}
|
28
|
+
.glorious-avatar.size-xl {
|
29
|
+
@apply w-[42px] h-[42px];
|
30
|
+
}
|
31
|
+
.glorious-avatar.size-xl > img {
|
32
|
+
@apply w-[42px] h-[42px];
|
33
|
+
}
|
34
|
+
.glorious-avatar.size-lg {
|
35
|
+
@apply w-[36px] h-[36px];
|
36
|
+
}
|
37
|
+
.glorious-avatar.size-lg > img {
|
38
|
+
@apply w-[36px] h-[36px];
|
39
|
+
}
|
40
|
+
.glorious-avatar.size-md {
|
41
|
+
@apply w-[32px] h-[32px];
|
42
|
+
}
|
43
|
+
.glorious-avatar.size-md > img {
|
44
|
+
@apply w-[32px] h-[32px];
|
45
|
+
}
|
46
|
+
.glorious-avatar.size-sm {
|
47
|
+
@apply w-[28px] h-[28px];
|
48
|
+
}
|
49
|
+
.glorious-avatar.size-sm > img {
|
50
|
+
@apply w-[28px] h-[28px];
|
51
|
+
}
|
52
|
+
.glorious-avatar.size-xs {
|
53
|
+
@apply w-[24px] h-[24px];
|
54
|
+
}
|
55
|
+
.glorious-avatar.size-xs > img {
|
56
|
+
@apply w-[24px] h-[24px];
|
57
|
+
}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
button:focus-visible {
|
2
|
+
@apply outline-none;
|
3
|
+
}
|
4
|
+
|
5
|
+
.glorious-button {
|
6
|
+
@apply rounded-md text-white px-3 relative;
|
7
|
+
}
|
8
|
+
.glorious-button div > loading {
|
9
|
+
@apply flex justify-center items-center;
|
10
|
+
}
|
11
|
+
.glorious-button div.loading > div > div {
|
12
|
+
@apply w-6;
|
13
|
+
}
|
14
|
+
.glorious-button.size-xl {
|
15
|
+
@apply py-2.5;
|
16
|
+
}
|
17
|
+
.glorious-button.size-lg {
|
18
|
+
@apply py-2;
|
19
|
+
}
|
20
|
+
.glorious-button.size-md {
|
21
|
+
@apply py-1.5;
|
22
|
+
}
|
23
|
+
.glorious-button.size-sm {
|
24
|
+
@apply py-1;
|
25
|
+
}
|
26
|
+
.glorious-button.size-xs {
|
27
|
+
@apply py-0.5;
|
28
|
+
}
|
29
|
+
|
30
|
+
.button-color-orange {
|
31
|
+
@apply bg-orange-600 border-orange-700 hover:bg-orange-700;
|
32
|
+
}
|
33
|
+
.button-color-orange.outline {
|
34
|
+
@apply bg-transparent border outline-none;
|
35
|
+
@apply text-orange-500 hover:bg-orange-100;
|
36
|
+
}
|
37
|
+
.button-color-orange.outline div.loading > div > div {
|
38
|
+
border-color: theme("colors.orange.700") !important;
|
39
|
+
}
|
40
|
+
.button-color-orange:disabled {
|
41
|
+
@apply cursor-not-allowed;
|
42
|
+
}
|
43
|
+
.button-color-orange:disabled:not(:disabled) {
|
44
|
+
@apply bg-orange-300;
|
45
|
+
}
|
46
|
+
|
47
|
+
.button-color-blue {
|
48
|
+
@apply bg-blue-600 border-blue-700 hover:bg-blue-700;
|
49
|
+
}
|
50
|
+
.button-color-blue.outline {
|
51
|
+
@apply bg-transparent border outline-none;
|
52
|
+
@apply text-blue-500 hover:bg-blue-100;
|
53
|
+
}
|
54
|
+
.button-color-blue.outline div.loading > div > div {
|
55
|
+
border-color: theme("colors.blue.700") !important;
|
56
|
+
}
|
57
|
+
.button-color-blue:disabled {
|
58
|
+
@apply cursor-not-allowed;
|
59
|
+
}
|
60
|
+
.button-color-blue:disabled:not(:disabled) {
|
61
|
+
@apply bg-blue-300;
|
62
|
+
}
|
63
|
+
|
64
|
+
.button-color-gray {
|
65
|
+
@apply bg-gray-600 border-gray-700 hover:bg-gray-700;
|
66
|
+
}
|
67
|
+
.button-color-gray.outline {
|
68
|
+
@apply bg-transparent border outline-none;
|
69
|
+
@apply text-gray-500 hover:bg-gray-100;
|
70
|
+
}
|
71
|
+
.button-color-gray.outline div.loading > div > div {
|
72
|
+
border-color: theme("colors.gray.700") !important;
|
73
|
+
}
|
74
|
+
.button-color-gray:disabled {
|
75
|
+
@apply cursor-not-allowed;
|
76
|
+
}
|
77
|
+
.button-color-gray:disabled:not(:disabled) {
|
78
|
+
@apply bg-gray-300;
|
79
|
+
}
|
80
|
+
|
81
|
+
.button-color-red {
|
82
|
+
@apply bg-red-600 border-red-700 hover:bg-red-700;
|
83
|
+
}
|
84
|
+
.button-color-red.outline {
|
85
|
+
@apply bg-transparent border outline-none;
|
86
|
+
@apply text-red-500 hover:bg-red-100;
|
87
|
+
}
|
88
|
+
.button-color-red.outline div.loading > div > div {
|
89
|
+
border-color: theme("colors.red.700") !important;
|
90
|
+
}
|
91
|
+
.button-color-red:disabled {
|
92
|
+
@apply cursor-not-allowed;
|
93
|
+
}
|
94
|
+
.button-color-red:disabled:not(:disabled) {
|
95
|
+
@apply bg-red-300;
|
96
|
+
}
|
97
|
+
|
98
|
+
.button-color-green {
|
99
|
+
@apply bg-green-600 border-green-700 hover:bg-green-700;
|
100
|
+
}
|
101
|
+
.button-color-green.outline {
|
102
|
+
@apply bg-transparent border outline-none;
|
103
|
+
@apply text-green-500 hover:bg-green-100;
|
104
|
+
}
|
105
|
+
.button-color-green.outline div.loading > div > div {
|
106
|
+
border-color: theme("colors.green.700") !important;
|
107
|
+
}
|
108
|
+
.button-color-green:disabled {
|
109
|
+
@apply cursor-not-allowed;
|
110
|
+
}
|
111
|
+
.button-color-green:disabled:not(:disabled) {
|
112
|
+
@apply bg-green-300;
|
113
|
+
}
|
@@ -0,0 +1,94 @@
|
|
1
|
+
.glorious-checkbox {
|
2
|
+
@apply block relative cursor-pointer;
|
3
|
+
}
|
4
|
+
.glorious-checkbox > input {
|
5
|
+
@apply hidden;
|
6
|
+
}
|
7
|
+
.glorious-checkbox > input:checked ~ div {
|
8
|
+
@apply border-none;
|
9
|
+
}
|
10
|
+
.glorious-checkbox > input:checked ~ div:after {
|
11
|
+
@apply block h-max w-max;
|
12
|
+
}
|
13
|
+
.glorious-checkbox > input:disabled ~ div {
|
14
|
+
@apply cursor-not-allowed;
|
15
|
+
}
|
16
|
+
.glorious-checkbox > div:last-child {
|
17
|
+
@apply border border-gray-500 rounded bg-white left-0 top-0 absolute hover:shadow-lg;
|
18
|
+
}
|
19
|
+
.glorious-checkbox > div:last-child > div:first-child {
|
20
|
+
@apply hidden;
|
21
|
+
}
|
22
|
+
.glorious-checkbox > div:last-child:after {
|
23
|
+
content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSIwIDAgMzIgMzIiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNIDI4LjI4MTI1IDYuMjgxMjUgTCAxMSAyMy41NjI1IEwgMy43MTg3NSAxNi4yODEyNSBMIDIuMjgxMjUgMTcuNzE4NzUgTCAxMC4yODEyNSAyNS43MTg3NSBMIDExIDI2LjQwNjI1IEwgMTEuNzE4NzUgMjUuNzE4NzUgTCAyOS43MTg3NSA3LjcxODc1IFoiLz48L3N2Zz4K);
|
24
|
+
@apply absolute hidden top-1 right-0 left-0 bottom-0 m-auto;
|
25
|
+
}
|
26
|
+
.glorious-checkbox.color-orange > input:checked ~ div {
|
27
|
+
@apply bg-orange-500;
|
28
|
+
}
|
29
|
+
.glorious-checkbox.color-blue > input:checked ~ div {
|
30
|
+
@apply bg-blue-500;
|
31
|
+
}
|
32
|
+
.glorious-checkbox.color-gray > input:checked ~ div {
|
33
|
+
@apply bg-gray-500;
|
34
|
+
}
|
35
|
+
.glorious-checkbox.color-red > input:checked ~ div {
|
36
|
+
@apply bg-red-500;
|
37
|
+
}
|
38
|
+
.glorious-checkbox.color-green > input:checked ~ div {
|
39
|
+
@apply bg-green-500;
|
40
|
+
}
|
41
|
+
.glorious-checkbox.size-5xl {
|
42
|
+
@apply w-[54px] h-[54px];
|
43
|
+
}
|
44
|
+
.glorious-checkbox.size-5xl > div:last-child {
|
45
|
+
@apply w-[54px] h-[54px];
|
46
|
+
}
|
47
|
+
.glorious-checkbox.size-4xl {
|
48
|
+
@apply w-[50px] h-[50px];
|
49
|
+
}
|
50
|
+
.glorious-checkbox.size-4xl > div:last-child {
|
51
|
+
@apply w-[50px] h-[50px];
|
52
|
+
}
|
53
|
+
.glorious-checkbox.size-3xl {
|
54
|
+
@apply w-[46px] h-[46px];
|
55
|
+
}
|
56
|
+
.glorious-checkbox.size-3xl > div:last-child {
|
57
|
+
@apply w-[46px] h-[46px];
|
58
|
+
}
|
59
|
+
.glorious-checkbox.size-2xl {
|
60
|
+
@apply w-[42px] h-[42px];
|
61
|
+
}
|
62
|
+
.glorious-checkbox.size-2xl > div:last-child {
|
63
|
+
@apply w-[42px] h-[42px];
|
64
|
+
}
|
65
|
+
.glorious-checkbox.size-xl {
|
66
|
+
@apply w-[38px] h-[38px];
|
67
|
+
}
|
68
|
+
.glorious-checkbox.size-xl > div:last-child {
|
69
|
+
@apply w-[38px] h-[38px];
|
70
|
+
}
|
71
|
+
.glorious-checkbox.size-lg {
|
72
|
+
@apply w-[32px] h-[32px];
|
73
|
+
}
|
74
|
+
.glorious-checkbox.size-lg > div:last-child {
|
75
|
+
@apply w-[32px] h-[32px];
|
76
|
+
}
|
77
|
+
.glorious-checkbox.size-md {
|
78
|
+
@apply w-[28px] h-[28px];
|
79
|
+
}
|
80
|
+
.glorious-checkbox.size-md > div:last-child {
|
81
|
+
@apply w-[28px] h-[28px];
|
82
|
+
}
|
83
|
+
.glorious-checkbox.size-sm {
|
84
|
+
@apply w-[24px] h-[24px];
|
85
|
+
}
|
86
|
+
.glorious-checkbox.size-sm > div:last-child {
|
87
|
+
@apply w-[24px] h-[24px];
|
88
|
+
}
|
89
|
+
.glorious-checkbox.size-xs {
|
90
|
+
@apply w-[20px] h-[20px];
|
91
|
+
}
|
92
|
+
.glorious-checkbox.size-xs > div:last-child {
|
93
|
+
@apply w-[20px] h-[20px];
|
94
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
.glorious-drawer {
|
2
|
+
@apply fixed top-0 bg-white h-full w-[300px] z-[50];
|
3
|
+
}
|
4
|
+
.glorious-drawer > div {
|
5
|
+
@apply bg-white min-h-screen;
|
6
|
+
}
|
7
|
+
.glorious-drawer.close.right {
|
8
|
+
animation: drawer-close-right 250ms normal forwards;
|
9
|
+
}
|
10
|
+
.glorious-drawer.close.left {
|
11
|
+
animation: drawer-close-left 250ms normal forwards;
|
12
|
+
}
|
13
|
+
.glorious-drawer.open {
|
14
|
+
@apply flex;
|
15
|
+
}
|
16
|
+
.glorious-drawer.open.right {
|
17
|
+
animation: drawer-open-right 100ms normal forwards;
|
18
|
+
}
|
19
|
+
.glorious-drawer.open.left {
|
20
|
+
animation: drawer-open-left 100ms normal forwards;
|
21
|
+
}
|
22
|
+
|
23
|
+
@keyframes drawer-open-right {
|
24
|
+
from {
|
25
|
+
right: -300px;
|
26
|
+
}
|
27
|
+
to {
|
28
|
+
right: 0;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
@keyframes drawer-close-right {
|
32
|
+
from {
|
33
|
+
right: 0;
|
34
|
+
}
|
35
|
+
to {
|
36
|
+
right: 300px;
|
37
|
+
display: hidden;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
@keyframes drawer-open-left {
|
41
|
+
from {
|
42
|
+
left: -300px;
|
43
|
+
}
|
44
|
+
to {
|
45
|
+
left: 0;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
@keyframes drawer-close-left {
|
49
|
+
from {
|
50
|
+
left: 0;
|
51
|
+
}
|
52
|
+
to {
|
53
|
+
left: -300px;
|
54
|
+
display: hidden;
|
55
|
+
}
|
56
|
+
}
|
@@ -0,0 +1,134 @@
|
|
1
|
+
.glorious-file-orange {
|
2
|
+
@apply ring-orange-500;
|
3
|
+
@apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
|
4
|
+
}
|
5
|
+
.glorious-file-orange > div.placeholder {
|
6
|
+
@apply bg-orange-500;
|
7
|
+
@apply text-white px-3 w-max;
|
8
|
+
}
|
9
|
+
.glorious-file-orange > div.placeholder.size-xl {
|
10
|
+
@apply py-2.5;
|
11
|
+
}
|
12
|
+
.glorious-file-orange > div.placeholder.size-lg {
|
13
|
+
@apply py-2;
|
14
|
+
}
|
15
|
+
.glorious-file-orange > div.placeholder.size-md {
|
16
|
+
@apply py-1.5;
|
17
|
+
}
|
18
|
+
.glorious-file-orange > div.placeholder.size-sm {
|
19
|
+
@apply py-1;
|
20
|
+
}
|
21
|
+
.glorious-file-orange > div.placeholder.size-xs {
|
22
|
+
@apply py-0.5;
|
23
|
+
}
|
24
|
+
.glorious-file-orange > div:last-child {
|
25
|
+
@apply absolute left-3 hidden;
|
26
|
+
}
|
27
|
+
|
28
|
+
.glorious-file-blue {
|
29
|
+
@apply ring-blue-500;
|
30
|
+
@apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
|
31
|
+
}
|
32
|
+
.glorious-file-blue > div.placeholder {
|
33
|
+
@apply bg-blue-500;
|
34
|
+
@apply text-white px-3 w-max;
|
35
|
+
}
|
36
|
+
.glorious-file-blue > div.placeholder.size-xl {
|
37
|
+
@apply py-2.5;
|
38
|
+
}
|
39
|
+
.glorious-file-blue > div.placeholder.size-lg {
|
40
|
+
@apply py-2;
|
41
|
+
}
|
42
|
+
.glorious-file-blue > div.placeholder.size-md {
|
43
|
+
@apply py-1.5;
|
44
|
+
}
|
45
|
+
.glorious-file-blue > div.placeholder.size-sm {
|
46
|
+
@apply py-1;
|
47
|
+
}
|
48
|
+
.glorious-file-blue > div.placeholder.size-xs {
|
49
|
+
@apply py-0.5;
|
50
|
+
}
|
51
|
+
.glorious-file-blue > div:last-child {
|
52
|
+
@apply absolute left-3 hidden;
|
53
|
+
}
|
54
|
+
|
55
|
+
.glorious-file-gray {
|
56
|
+
@apply ring-gray-500;
|
57
|
+
@apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
|
58
|
+
}
|
59
|
+
.glorious-file-gray > div.placeholder {
|
60
|
+
@apply bg-gray-500;
|
61
|
+
@apply text-white px-3 w-max;
|
62
|
+
}
|
63
|
+
.glorious-file-gray > div.placeholder.size-xl {
|
64
|
+
@apply py-2.5;
|
65
|
+
}
|
66
|
+
.glorious-file-gray > div.placeholder.size-lg {
|
67
|
+
@apply py-2;
|
68
|
+
}
|
69
|
+
.glorious-file-gray > div.placeholder.size-md {
|
70
|
+
@apply py-1.5;
|
71
|
+
}
|
72
|
+
.glorious-file-gray > div.placeholder.size-sm {
|
73
|
+
@apply py-1;
|
74
|
+
}
|
75
|
+
.glorious-file-gray > div.placeholder.size-xs {
|
76
|
+
@apply py-0.5;
|
77
|
+
}
|
78
|
+
.glorious-file-gray > div:last-child {
|
79
|
+
@apply absolute left-3 hidden;
|
80
|
+
}
|
81
|
+
|
82
|
+
.glorious-file-red {
|
83
|
+
@apply ring-red-500;
|
84
|
+
@apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
|
85
|
+
}
|
86
|
+
.glorious-file-red > div.placeholder {
|
87
|
+
@apply bg-red-500;
|
88
|
+
@apply text-white px-3 w-max;
|
89
|
+
}
|
90
|
+
.glorious-file-red > div.placeholder.size-xl {
|
91
|
+
@apply py-2.5;
|
92
|
+
}
|
93
|
+
.glorious-file-red > div.placeholder.size-lg {
|
94
|
+
@apply py-2;
|
95
|
+
}
|
96
|
+
.glorious-file-red > div.placeholder.size-md {
|
97
|
+
@apply py-1.5;
|
98
|
+
}
|
99
|
+
.glorious-file-red > div.placeholder.size-sm {
|
100
|
+
@apply py-1;
|
101
|
+
}
|
102
|
+
.glorious-file-red > div.placeholder.size-xs {
|
103
|
+
@apply py-0.5;
|
104
|
+
}
|
105
|
+
.glorious-file-red > div:last-child {
|
106
|
+
@apply absolute left-3 hidden;
|
107
|
+
}
|
108
|
+
|
109
|
+
.glorious-file-green {
|
110
|
+
@apply ring-green-500;
|
111
|
+
@apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
|
112
|
+
}
|
113
|
+
.glorious-file-green > div.placeholder {
|
114
|
+
@apply bg-green-500;
|
115
|
+
@apply text-white px-3 w-max;
|
116
|
+
}
|
117
|
+
.glorious-file-green > div.placeholder.size-xl {
|
118
|
+
@apply py-2.5;
|
119
|
+
}
|
120
|
+
.glorious-file-green > div.placeholder.size-lg {
|
121
|
+
@apply py-2;
|
122
|
+
}
|
123
|
+
.glorious-file-green > div.placeholder.size-md {
|
124
|
+
@apply py-1.5;
|
125
|
+
}
|
126
|
+
.glorious-file-green > div.placeholder.size-sm {
|
127
|
+
@apply py-1;
|
128
|
+
}
|
129
|
+
.glorious-file-green > div.placeholder.size-xs {
|
130
|
+
@apply py-0.5;
|
131
|
+
}
|
132
|
+
.glorious-file-green > div:last-child {
|
133
|
+
@apply absolute left-3 hidden;
|
134
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
.glorious-alert {
|
2
|
+
@apply p-3 rounded-md shadow-md;
|
3
|
+
}
|
4
|
+
.glorious-alert.color-orange {
|
5
|
+
@apply bg-orange-100;
|
6
|
+
}
|
7
|
+
.glorious-alert.color-blue {
|
8
|
+
@apply bg-blue-100;
|
9
|
+
}
|
10
|
+
.glorious-alert.color-gray {
|
11
|
+
@apply bg-gray-100;
|
12
|
+
}
|
13
|
+
.glorious-alert.color-red {
|
14
|
+
@apply bg-red-100;
|
15
|
+
}
|
16
|
+
.glorious-alert.color-green {
|
17
|
+
@apply bg-green-100;
|
18
|
+
}
|
19
|
+
.glorious-alert.color-orange {
|
20
|
+
@apply border border-orange-300;
|
21
|
+
}
|
22
|
+
.glorious-alert.color-blue {
|
23
|
+
@apply border border-blue-300;
|
24
|
+
}
|
25
|
+
.glorious-alert.color-gray {
|
26
|
+
@apply border border-gray-300;
|
27
|
+
}
|
28
|
+
.glorious-alert.color-red {
|
29
|
+
@apply border border-red-300;
|
30
|
+
}
|
31
|
+
.glorious-alert.color-green {
|
32
|
+
@apply border border-green-300;
|
33
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
.glorious-avatar {
|
2
|
+
@apply overflow-hidden;
|
3
|
+
}
|
4
|
+
.glorious-avatar.size-5xl {
|
5
|
+
@apply w-[58px] h-[58px];
|
6
|
+
}
|
7
|
+
.glorious-avatar.size-5xl > img {
|
8
|
+
@apply w-[58px] h-[58px];
|
9
|
+
}
|
10
|
+
.glorious-avatar.size-4xl {
|
11
|
+
@apply w-[54px] h-[54px];
|
12
|
+
}
|
13
|
+
.glorious-avatar.size-4xl > img {
|
14
|
+
@apply w-[54px] h-[54px];
|
15
|
+
}
|
16
|
+
.glorious-avatar.size-3xl {
|
17
|
+
@apply w-[50px] h-[50px];
|
18
|
+
}
|
19
|
+
.glorious-avatar.size-3xl > img {
|
20
|
+
@apply w-[50px] h-[50px];
|
21
|
+
}
|
22
|
+
.glorious-avatar.size-2xl {
|
23
|
+
@apply w-[46px] h-[46px];
|
24
|
+
}
|
25
|
+
.glorious-avatar.size-2xl > img {
|
26
|
+
@apply w-[46px] h-[46px];
|
27
|
+
}
|
28
|
+
.glorious-avatar.size-xl {
|
29
|
+
@apply w-[42px] h-[42px];
|
30
|
+
}
|
31
|
+
.glorious-avatar.size-xl > img {
|
32
|
+
@apply w-[42px] h-[42px];
|
33
|
+
}
|
34
|
+
.glorious-avatar.size-lg {
|
35
|
+
@apply w-[36px] h-[36px];
|
36
|
+
}
|
37
|
+
.glorious-avatar.size-lg > img {
|
38
|
+
@apply w-[36px] h-[36px];
|
39
|
+
}
|
40
|
+
.glorious-avatar.size-md {
|
41
|
+
@apply w-[32px] h-[32px];
|
42
|
+
}
|
43
|
+
.glorious-avatar.size-md > img {
|
44
|
+
@apply w-[32px] h-[32px];
|
45
|
+
}
|
46
|
+
.glorious-avatar.size-sm {
|
47
|
+
@apply w-[28px] h-[28px];
|
48
|
+
}
|
49
|
+
.glorious-avatar.size-sm > img {
|
50
|
+
@apply w-[28px] h-[28px];
|
51
|
+
}
|
52
|
+
.glorious-avatar.size-xs {
|
53
|
+
@apply w-[24px] h-[24px];
|
54
|
+
}
|
55
|
+
.glorious-avatar.size-xs > img {
|
56
|
+
@apply w-[24px] h-[24px];
|
57
|
+
}
|