nuxt-glorious 2.0.0-develop-4 → 2.0.0-develop-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/dist/module.json +1 -1
- package/package.json +4 -4
- package/dist/runtime/scss/alert.css +0 -33
- package/dist/runtime/scss/avatar.css +0 -57
- package/dist/runtime/scss/breadcrumb.css +0 -6
- package/dist/runtime/scss/button.css +0 -113
- package/dist/runtime/scss/drawer.css +0 -56
- package/dist/runtime/scss/glorious/alert.css +0 -33
- package/dist/runtime/scss/glorious/avatar.css +0 -57
- package/dist/runtime/scss/glorious/breadcrumb.css +0 -6
- package/dist/runtime/scss/glorious/button.css +0 -113
- package/dist/runtime/scss/glorious/checkbox.css +0 -94
- package/dist/runtime/scss/glorious/drawer.css +0 -56
- package/dist/runtime/scss/glorious/file.css +0 -134
- package/dist/runtime/scss/glorious/input.css +0 -184
- package/dist/runtime/scss/glorious/loading.css +0 -43
- package/dist/runtime/scss/glorious/modal.css +0 -72
- package/dist/runtime/scss/glorious/paginate.css +0 -32
- package/dist/runtime/scss/glorious/radio.css +0 -121
- package/dist/runtime/scss/glorious/rating.css +0 -30
- package/dist/runtime/scss/glorious/select.css +0 -49
- package/dist/runtime/scss/glorious/switch.css +0 -61
- package/dist/runtime/scss/glorious/tab.css +0 -9
- package/dist/runtime/scss/glorious/table.css +0 -99
- package/dist/runtime/scss/glorious/textarea.css +0 -67
- package/dist/runtime/scss/glorious/timeline.css +0 -47
- package/dist/runtime/scss/glorious/tooltip.css +0 -9
- package/dist/runtime/scss/glorious.css +0 -1334
- package/dist/runtime/scss/input.css +0 -184
- package/dist/runtime/scss/loading.css +0 -43
- package/dist/runtime/scss/mixin.css +0 -0
- package/dist/runtime/scss/modal.css +0 -69
- package/dist/runtime/scss/paginate.css +0 -32
- package/dist/runtime/scss/radio.css +0 -121
- package/dist/runtime/scss/rating.css +0 -30
- package/dist/runtime/scss/select.css +0 -49
- package/dist/runtime/scss/switch.css +0 -61
- package/dist/runtime/scss/tab.css +0 -9
- package/dist/runtime/scss/table.css +0 -99
- package/dist/runtime/scss/textarea.css +0 -67
- package/dist/runtime/scss/timeline.css +0 -47
- package/dist/runtime/scss/tooltip.css +0 -9
- package/dist/runtime/scss/variable.css +0 -0
- package/dist/runtime/style/components/checkbox.css +0 -94
- package/dist/runtime/style/components/file.css +0 -134
- package/dist/runtime/style/mixin.css +0 -0
- package/dist/runtime/style/variable.css +0 -0
- /package/dist/runtime/{style → stol}/components/button.css +0 -0
- /package/dist/runtime/{scss → stol/components}/checkbox.css +0 -0
- /package/dist/runtime/{style → stol}/components/drawer.css +0 -0
- /package/dist/runtime/{style → stol}/components/dropdown.css +0 -0
- /package/dist/runtime/{style → stol}/components/editor.css +0 -0
- /package/dist/runtime/{scss → stol/components}/file.css +0 -0
- /package/dist/runtime/{style → stol}/components/tab.css +0 -0
- /package/dist/runtime/{style → stol}/components/timeline.css +0 -0
- /package/dist/runtime/{scss/glorious → stol}/mixin.css +0 -0
- /package/dist/runtime/{scss/glorious → stol}/variable.css +0 -0
- /package/dist/runtime/{scss/glorious/glorious.css → style/style.css} +0 -0
package/dist/module.json
CHANGED
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "2.0.0-develop-
|
2
|
+
"version": "2.0.0-develop-5",
|
3
3
|
"name": "nuxt-glorious",
|
4
4
|
"description": "This package provides many things needed by a project, including server requests and authentication, SEO and other requirements of a project.",
|
5
5
|
"repository": "sajadhzj/nuxt-glorious",
|
@@ -11,17 +11,17 @@
|
|
11
11
|
"types": "./dist/types.d.ts",
|
12
12
|
"import": "./dist/module.mjs",
|
13
13
|
"require": "./dist/module.cjs",
|
14
|
-
"style": "./dist/runtime/
|
14
|
+
"style": "./dist/runtime/style/style.css"
|
15
15
|
}
|
16
16
|
},
|
17
|
-
"style": "./dist/runtime/
|
17
|
+
"style": "./dist/runtime/style/style.css",
|
18
18
|
"main": "./dist/module.cjs",
|
19
19
|
"types": "./dist/types.d.ts",
|
20
20
|
"files": [
|
21
21
|
"dist"
|
22
22
|
],
|
23
23
|
"scripts": {
|
24
|
-
"prepack": "
|
24
|
+
"prepack": "bash load-style.sh && nuxt-module-build build",
|
25
25
|
"dev": "nuxi dev --port=3001 playground",
|
26
26
|
"dev:build": "nuxi build playground",
|
27
27
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
@@ -1,33 +0,0 @@
|
|
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
|
-
}
|
@@ -1,57 +0,0 @@
|
|
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
|
-
}
|
@@ -1,113 +0,0 @@
|
|
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
|
-
}
|
@@ -1,56 +0,0 @@
|
|
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
|
-
}
|
@@ -1,33 +0,0 @@
|
|
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
|
-
}
|
@@ -1,57 +0,0 @@
|
|
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
|
-
}
|
@@ -1,113 +0,0 @@
|
|
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
|
-
}
|
@@ -1,94 +0,0 @@
|
|
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
|
-
}
|
@@ -1,56 +0,0 @@
|
|
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
|
-
}
|