nuxt-glorious 1.3.3 → 1.9.0-dev
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 +5 -23
- package/dist/runtime/components/G/Alert.vue +2 -3
- package/dist/runtime/components/G/Avatar.vue +9 -4
- package/dist/runtime/components/G/Breadcrumb.vue +4 -3
- package/dist/runtime/components/G/Button.vue +10 -11
- package/dist/runtime/components/G/Checkbox.vue +7 -5
- package/dist/runtime/components/G/Drawer.vue +6 -3
- package/dist/runtime/components/G/File.vue +11 -8
- package/dist/runtime/components/G/Icon.vue +37 -70
- package/dist/runtime/components/G/Input.vue +43 -25
- package/dist/runtime/components/G/Loading.vue +8 -4
- package/dist/runtime/components/G/Modal.vue +7 -6
- package/dist/runtime/components/G/Paginate.vue +41 -13
- package/dist/runtime/components/G/Radio.vue +8 -5
- package/dist/runtime/components/G/Rating.vue +0 -2
- package/dist/runtime/components/G/Select.vue +9 -9
- package/dist/runtime/components/G/Switch.vue +0 -2
- package/dist/runtime/components/G/Tab.vue +1 -2
- package/dist/runtime/components/G/Table.vue +0 -2
- package/dist/runtime/components/G/Tooltip.vue +17 -0
- package/dist/runtime/components/G/Wizard.vue +71 -25
- package/dist/runtime/components/G/textarea.vue +10 -9
- package/dist/runtime/components/G/timeline.vue +0 -2
- package/dist/runtime/components/helper.d.ts +1 -0
- package/dist/runtime/components/helper.mjs +13 -2
- package/dist/runtime/components/props/Alert.d.ts +1 -1
- package/dist/runtime/components/props/Avatar.d.ts +9 -0
- package/dist/runtime/components/props/Avatar.mjs +4 -6
- package/dist/runtime/components/props/Button.d.ts +1 -1
- package/dist/runtime/components/props/CheckBox.d.ts +1 -1
- package/dist/runtime/components/props/File.d.ts +1 -1
- package/dist/runtime/components/props/Icon.d.ts +4 -0
- package/dist/runtime/components/props/Icon.mjs +5 -1
- package/dist/runtime/components/props/Input.d.ts +1 -1
- package/dist/runtime/components/props/Loading.d.ts +1 -1
- package/dist/runtime/components/props/Modal.d.ts +1 -1
- package/dist/runtime/components/props/Paginate.d.ts +5 -0
- package/dist/runtime/components/props/Paginate.mjs +2 -0
- package/dist/runtime/components/props/Radio.d.ts +1 -1
- package/dist/runtime/components/props/Select.d.ts +1 -1
- package/dist/runtime/components/props/Switch.d.ts +1 -1
- package/dist/runtime/components/props/Table.d.ts +1 -1
- package/dist/runtime/components/props/Textarea.d.ts +1 -6
- package/dist/runtime/components/props/Textarea.mjs +0 -2
- package/dist/runtime/components/props/Timeline.d.ts +1 -1
- package/dist/runtime/components/props/common/index.d.ts +14 -2
- package/dist/runtime/components/props/common/index.mjs +13 -1
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeAuth.d.ts +2 -0
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeAuth.mjs +8 -0
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeFormData.d.ts +3 -0
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeFormData.mjs +14 -0
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeGKey.d.ts +2 -0
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeGKey.mjs +3 -0
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeHeaderFetch.d.ts +2 -0
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeHeaderFetch.mjs +9 -0
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeParams.d.ts +2 -0
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeParams.mjs +7 -0
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeValidation.d.ts +2 -0
- package/dist/runtime/composables/helper/useGloriousFetch/functionComputeValidation.mjs +30 -0
- package/dist/runtime/composables/helper/useGloriousFetch/gloriousFetchDefaultOptions.d.ts +3 -0
- package/dist/runtime/composables/helper/useGloriousFetch/gloriousFetchDefaultOptions.mjs +15 -0
- package/dist/runtime/composables/helper/useGloriousFetch/gloriousFetchOptionsInterface.d.ts +15 -0
- package/dist/runtime/composables/useGloriousCore.d.ts +0 -1
- package/dist/runtime/composables/useGloriousCore.mjs +1 -3
- package/dist/runtime/composables/useGloriousFetch.d.ts +1 -15
- package/dist/runtime/composables/useGloriousFetch.mjs +11 -57
- package/dist/runtime/composables/useGloriousHead.mjs +1 -1
- package/dist/runtime/middlewares/AuthStrategy.mjs +1 -9
- package/dist/runtime/plugins/InputComponent.mjs +0 -2
- package/dist/runtime/style/components/drawer.css +4 -35
- package/dist/runtime/style/components/dropdown.css +17 -15
- package/dist/{runtime/style/components → scss}/alert.scss +7 -7
- package/dist/scss/avatar.scss +13 -0
- package/dist/scss/breadcrumb.scss +6 -0
- package/dist/{runtime/style/components → scss}/button.scss +30 -30
- package/dist/{runtime/style/components → scss}/checkbox.scss +1 -1
- package/dist/scss/drawer.scss +64 -0
- package/dist/{runtime/style/components → scss}/file.scss +2 -2
- package/dist/scss/glorious.scss +22 -0
- package/dist/{runtime/style/components → scss}/input.scss +9 -3
- package/dist/{runtime/style → scss}/mixin.scss +1 -1
- package/dist/scss/modal.scss +76 -0
- package/dist/scss/paginate.scss +28 -0
- package/dist/{runtime/style/components → scss}/radio.scss +1 -1
- package/dist/{runtime/style/components → scss}/select.scss +2 -2
- package/dist/{runtime/style/components → scss}/switch.scss +1 -1
- package/dist/{runtime/style/components → scss}/tab.scss +1 -1
- package/dist/{runtime/style/components → scss}/table.scss +1 -1
- package/dist/{runtime/style/components → scss}/textarea.scss +2 -2
- package/dist/{runtime/style/components → scss}/timeline.scss +2 -2
- package/dist/scss/tooltip.scss +14 -0
- package/package.json +9 -7
- package/dist/runtime/style/components/alert.css +0 -33
- package/dist/runtime/style/components/avatar.css +0 -57
- package/dist/runtime/style/components/avatar.scss +0 -13
- package/dist/runtime/style/components/breadcrumb.css +0 -6
- package/dist/runtime/style/components/breadcrumb.scss +0 -6
- package/dist/runtime/style/components/drawer.scss +0 -57
- package/dist/runtime/style/components/dropdown.scss +0 -19
- package/dist/runtime/style/components/editor.scss +0 -4
- package/dist/runtime/style/components/input.css +0 -184
- package/dist/runtime/style/components/loading.css +0 -43
- package/dist/runtime/style/components/modal.css +0 -66
- package/dist/runtime/style/components/modal.scss +0 -76
- package/dist/runtime/style/components/paginate.css +0 -17
- package/dist/runtime/style/components/paginate.scss +0 -18
- package/dist/runtime/style/components/radio.css +0 -121
- package/dist/runtime/style/components/rating.css +0 -30
- package/dist/runtime/style/components/select.css +0 -49
- package/dist/runtime/style/components/switch.css +0 -61
- package/dist/runtime/style/components/table.css +0 -99
- package/dist/runtime/style/components/textarea.css +0 -67
- /package/dist/{runtime/style/components → scss}/loading.scss +0 -0
- /package/dist/{runtime/style/components → scss}/rating.scss +0 -0
- /package/dist/{runtime/style → scss}/variable.scss +0 -0
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
.glorious-input-orange {
|
|
2
|
-
@apply ring-orange-500;
|
|
3
|
-
@apply rounded-md ring-1;
|
|
4
|
-
}
|
|
5
|
-
.glorious-input-orange.size-xl {
|
|
6
|
-
@apply py-2.5;
|
|
7
|
-
}
|
|
8
|
-
.glorious-input-orange.size-lg {
|
|
9
|
-
@apply py-2;
|
|
10
|
-
}
|
|
11
|
-
.glorious-input-orange.size-md {
|
|
12
|
-
@apply py-1.5;
|
|
13
|
-
}
|
|
14
|
-
.glorious-input-orange.size-sm {
|
|
15
|
-
@apply py-1;
|
|
16
|
-
}
|
|
17
|
-
.glorious-input-orange.size-xs {
|
|
18
|
-
@apply py-0.5;
|
|
19
|
-
}
|
|
20
|
-
.glorious-input-orange:focus-visible {
|
|
21
|
-
@apply outline-none ring-2;
|
|
22
|
-
}
|
|
23
|
-
.glorious-input-orange:disabled {
|
|
24
|
-
@apply bg-orange-100;
|
|
25
|
-
@apply cursor-not-allowed;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.glorious-input-blue {
|
|
29
|
-
@apply ring-blue-500;
|
|
30
|
-
@apply rounded-md ring-1;
|
|
31
|
-
}
|
|
32
|
-
.glorious-input-blue.size-xl {
|
|
33
|
-
@apply py-2.5;
|
|
34
|
-
}
|
|
35
|
-
.glorious-input-blue.size-lg {
|
|
36
|
-
@apply py-2;
|
|
37
|
-
}
|
|
38
|
-
.glorious-input-blue.size-md {
|
|
39
|
-
@apply py-1.5;
|
|
40
|
-
}
|
|
41
|
-
.glorious-input-blue.size-sm {
|
|
42
|
-
@apply py-1;
|
|
43
|
-
}
|
|
44
|
-
.glorious-input-blue.size-xs {
|
|
45
|
-
@apply py-0.5;
|
|
46
|
-
}
|
|
47
|
-
.glorious-input-blue:focus-visible {
|
|
48
|
-
@apply outline-none ring-2;
|
|
49
|
-
}
|
|
50
|
-
.glorious-input-blue:disabled {
|
|
51
|
-
@apply bg-blue-100;
|
|
52
|
-
@apply cursor-not-allowed;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.glorious-input-gray {
|
|
56
|
-
@apply ring-gray-500;
|
|
57
|
-
@apply rounded-md ring-1;
|
|
58
|
-
}
|
|
59
|
-
.glorious-input-gray.size-xl {
|
|
60
|
-
@apply py-2.5;
|
|
61
|
-
}
|
|
62
|
-
.glorious-input-gray.size-lg {
|
|
63
|
-
@apply py-2;
|
|
64
|
-
}
|
|
65
|
-
.glorious-input-gray.size-md {
|
|
66
|
-
@apply py-1.5;
|
|
67
|
-
}
|
|
68
|
-
.glorious-input-gray.size-sm {
|
|
69
|
-
@apply py-1;
|
|
70
|
-
}
|
|
71
|
-
.glorious-input-gray.size-xs {
|
|
72
|
-
@apply py-0.5;
|
|
73
|
-
}
|
|
74
|
-
.glorious-input-gray:focus-visible {
|
|
75
|
-
@apply outline-none ring-2;
|
|
76
|
-
}
|
|
77
|
-
.glorious-input-gray:disabled {
|
|
78
|
-
@apply bg-gray-100;
|
|
79
|
-
@apply cursor-not-allowed;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.glorious-input-red {
|
|
83
|
-
@apply ring-red-500;
|
|
84
|
-
@apply rounded-md ring-1;
|
|
85
|
-
}
|
|
86
|
-
.glorious-input-red.size-xl {
|
|
87
|
-
@apply py-2.5;
|
|
88
|
-
}
|
|
89
|
-
.glorious-input-red.size-lg {
|
|
90
|
-
@apply py-2;
|
|
91
|
-
}
|
|
92
|
-
.glorious-input-red.size-md {
|
|
93
|
-
@apply py-1.5;
|
|
94
|
-
}
|
|
95
|
-
.glorious-input-red.size-sm {
|
|
96
|
-
@apply py-1;
|
|
97
|
-
}
|
|
98
|
-
.glorious-input-red.size-xs {
|
|
99
|
-
@apply py-0.5;
|
|
100
|
-
}
|
|
101
|
-
.glorious-input-red:focus-visible {
|
|
102
|
-
@apply outline-none ring-2;
|
|
103
|
-
}
|
|
104
|
-
.glorious-input-red:disabled {
|
|
105
|
-
@apply bg-red-100;
|
|
106
|
-
@apply cursor-not-allowed;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.glorious-input-green {
|
|
110
|
-
@apply ring-green-500;
|
|
111
|
-
@apply rounded-md ring-1;
|
|
112
|
-
}
|
|
113
|
-
.glorious-input-green.size-xl {
|
|
114
|
-
@apply py-2.5;
|
|
115
|
-
}
|
|
116
|
-
.glorious-input-green.size-lg {
|
|
117
|
-
@apply py-2;
|
|
118
|
-
}
|
|
119
|
-
.glorious-input-green.size-md {
|
|
120
|
-
@apply py-1.5;
|
|
121
|
-
}
|
|
122
|
-
.glorious-input-green.size-sm {
|
|
123
|
-
@apply py-1;
|
|
124
|
-
}
|
|
125
|
-
.glorious-input-green.size-xs {
|
|
126
|
-
@apply py-0.5;
|
|
127
|
-
}
|
|
128
|
-
.glorious-input-green:focus-visible {
|
|
129
|
-
@apply outline-none ring-2;
|
|
130
|
-
}
|
|
131
|
-
.glorious-input-green:disabled {
|
|
132
|
-
@apply bg-green-100;
|
|
133
|
-
@apply cursor-not-allowed;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.glorious-input {
|
|
137
|
-
@apply relative w-full;
|
|
138
|
-
}
|
|
139
|
-
.glorious-input.validation-error > div > input {
|
|
140
|
-
@apply ring-red-500 bg-red-50;
|
|
141
|
-
}
|
|
142
|
-
.glorious-input > input {
|
|
143
|
-
@apply w-full;
|
|
144
|
-
}
|
|
145
|
-
.glorious-input > input::placeholder {
|
|
146
|
-
@apply text-sm;
|
|
147
|
-
}
|
|
148
|
-
.glorious-input.icon-xl > input {
|
|
149
|
-
@apply rtl:pr-9 ltr:pl-9;
|
|
150
|
-
}
|
|
151
|
-
.glorious-input.icon-lg > input {
|
|
152
|
-
@apply rtl:pr-9 ltr:pl-8;
|
|
153
|
-
}
|
|
154
|
-
.glorious-input.icon-md > input {
|
|
155
|
-
@apply rtl:pr-9 ltr:pl-8;
|
|
156
|
-
}
|
|
157
|
-
.glorious-input.icon-sm > input {
|
|
158
|
-
@apply rtl:pr-8 ltr:pl-8;
|
|
159
|
-
}
|
|
160
|
-
.glorious-input.icon-xsm > input {
|
|
161
|
-
@apply rtl:pr-8 ltr:pl-7;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.glorious-input-icon {
|
|
165
|
-
@apply absolute h-max top-0 bottom-0 my-auto rtl:right-1 ltr:left-1;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/* ----------------------------------------------- TAG */
|
|
169
|
-
.glorious-input-tag {
|
|
170
|
-
@apply mt-3 gap-2 flex flex-wrap;
|
|
171
|
-
}
|
|
172
|
-
.glorious-input-tag > div {
|
|
173
|
-
@apply bg-green-500 px-1 rounded text-white flex items-center gap-2 cursor-pointer;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.glorious-input-options {
|
|
177
|
-
@apply p-1 shadow-lg fixed w-full bg-white rounded border-gray-200 border max-h-[200px] overflow-y-auto z-40;
|
|
178
|
-
}
|
|
179
|
-
.glorious-input-options > div > div {
|
|
180
|
-
@apply p-2 hover:bg-gray-100 cursor-pointer rounded;
|
|
181
|
-
}
|
|
182
|
-
.glorious-input div > input::placeholder {
|
|
183
|
-
@apply text-gray-500;
|
|
184
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
.glorious-loading {
|
|
2
|
-
aspect-ratio: 1;
|
|
3
|
-
border-radius: 50%;
|
|
4
|
-
animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
@keyframes l20-1 {
|
|
8
|
-
0% {
|
|
9
|
-
clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
|
|
10
|
-
}
|
|
11
|
-
12.5% {
|
|
12
|
-
clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
|
|
13
|
-
}
|
|
14
|
-
25% {
|
|
15
|
-
clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
|
|
16
|
-
}
|
|
17
|
-
50% {
|
|
18
|
-
clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
|
|
19
|
-
}
|
|
20
|
-
62.5% {
|
|
21
|
-
clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
|
|
22
|
-
}
|
|
23
|
-
75% {
|
|
24
|
-
clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%);
|
|
25
|
-
}
|
|
26
|
-
100% {
|
|
27
|
-
clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
@keyframes l20-2 {
|
|
31
|
-
0% {
|
|
32
|
-
transform: scaleY(1) rotate(0deg);
|
|
33
|
-
}
|
|
34
|
-
49.99% {
|
|
35
|
-
transform: scaleY(1) rotate(135deg);
|
|
36
|
-
}
|
|
37
|
-
50% {
|
|
38
|
-
transform: scaleY(-1) rotate(0deg);
|
|
39
|
-
}
|
|
40
|
-
100% {
|
|
41
|
-
transform: scaleY(-1) rotate(-135deg);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
.glorious-scaffold-modal {
|
|
2
|
-
@apply fixed bg-white md:top-[15%] z-50 right-0 left-0 mx-auto p-3 md:rounded-md rounded-t-md md:bottom-0 bottom-0 overflow-y-auto;
|
|
3
|
-
}
|
|
4
|
-
.glorious-scaffold-modal-header {
|
|
5
|
-
@apply flex justify-between items-center;
|
|
6
|
-
}
|
|
7
|
-
.glorious-scaffold-modal-footer {
|
|
8
|
-
@apply flex justify-center gap-3 mt-3;
|
|
9
|
-
}
|
|
10
|
-
.glorious-scaffold-modal-footer > button {
|
|
11
|
-
@apply min-w-24;
|
|
12
|
-
}
|
|
13
|
-
.glorious-scaffold-modal-bg-blur {
|
|
14
|
-
@apply fixed top-0 right-0 backdrop-blur-sm bg-gray-500 bg-opacity-50 h-full w-full z-[40];
|
|
15
|
-
}
|
|
16
|
-
.glorious-scaffold-modal.size-full {
|
|
17
|
-
@apply w-full h-full top-0 rounded-none;
|
|
18
|
-
}
|
|
19
|
-
.glorious-scaffold-modal.size-xl {
|
|
20
|
-
@apply md:w-[70%] w-full md:h-max max-h-[calc(100%-15%)];
|
|
21
|
-
}
|
|
22
|
-
.glorious-scaffold-modal.size-lg {
|
|
23
|
-
@apply md:w-[60%] w-full md:h-max max-h-[calc(100%-15%)];
|
|
24
|
-
}
|
|
25
|
-
.glorious-scaffold-modal.size-md {
|
|
26
|
-
@apply md:w-[50%] w-full md:h-max max-h-[calc(100%-15%)];
|
|
27
|
-
}
|
|
28
|
-
.glorious-scaffold-modal.size-sm {
|
|
29
|
-
@apply lg:w-[25%] md:w-[35%] w-full md:h-max max-h-[calc(100%-15%)];
|
|
30
|
-
}
|
|
31
|
-
.glorious-scaffold-modal.close {
|
|
32
|
-
@apply hidden;
|
|
33
|
-
}
|
|
34
|
-
.glorious-scaffold-modal.open.animation {
|
|
35
|
-
animation: animationMobile 0.3s normal forwards;
|
|
36
|
-
}
|
|
37
|
-
@screen md {
|
|
38
|
-
.glorious-scaffold-modal.open.animation {
|
|
39
|
-
animation: animationOpacity 0.3s normal forwards;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
@keyframes animationOpacity {
|
|
43
|
-
0% {
|
|
44
|
-
transform: scale(0.1);
|
|
45
|
-
opacity: 0;
|
|
46
|
-
}
|
|
47
|
-
99% {
|
|
48
|
-
transform: scale(1);
|
|
49
|
-
opacity: 1;
|
|
50
|
-
}
|
|
51
|
-
100% {
|
|
52
|
-
transform: unset;
|
|
53
|
-
opacity: 1;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
@keyframes animationMobile {
|
|
57
|
-
0% {
|
|
58
|
-
transform: translateY(100%);
|
|
59
|
-
}
|
|
60
|
-
99% {
|
|
61
|
-
transform: translateY(0);
|
|
62
|
-
}
|
|
63
|
-
100% {
|
|
64
|
-
transform: translateY(0);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
.glorious-scaffold-modal {
|
|
2
|
-
@apply fixed bg-white md:top-[15%] z-50 right-0 left-0 mx-auto p-3 md:rounded-md rounded-t-md md:bottom-0 bottom-0 overflow-y-auto;
|
|
3
|
-
|
|
4
|
-
&-header {
|
|
5
|
-
@apply flex justify-between items-center;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
&-footer {
|
|
9
|
-
@apply flex justify-center gap-3 mt-3;
|
|
10
|
-
> button {
|
|
11
|
-
@apply min-w-24;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&-bg-blur {
|
|
16
|
-
@apply fixed top-0 right-0 backdrop-blur-sm bg-gray-500 bg-opacity-50 h-full w-full z-[40];
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&.size-full {
|
|
20
|
-
@apply w-full h-full top-0 rounded-none;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&.size-xl {
|
|
24
|
-
@apply md:w-[70%] w-full md:h-max max-h-[calc(100%-15%)];
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.size-lg {
|
|
28
|
-
@apply md:w-[60%] w-full md:h-max max-h-[calc(100%-15%)];
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.size-md {
|
|
32
|
-
@apply md:w-[50%] w-full md:h-max max-h-[calc(100%-15%)];
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.size-sm {
|
|
36
|
-
@apply lg:w-[25%] md:w-[35%] w-full md:h-max max-h-[calc(100%-15%)];
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.close {
|
|
40
|
-
@apply hidden;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&.open.animation {
|
|
44
|
-
animation: animationMobile 0.3s normal forwards;
|
|
45
|
-
@screen md {
|
|
46
|
-
animation: animationOpacity 0.3s normal forwards;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@keyframes animationOpacity {
|
|
51
|
-
0% {
|
|
52
|
-
transform: scale(0.1);
|
|
53
|
-
opacity: 0;
|
|
54
|
-
}
|
|
55
|
-
99% {
|
|
56
|
-
transform: scale(1);
|
|
57
|
-
opacity: 1;
|
|
58
|
-
}
|
|
59
|
-
100% {
|
|
60
|
-
transform: unset;
|
|
61
|
-
opacity: 1;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
@keyframes animationMobile {
|
|
65
|
-
0% {
|
|
66
|
-
transform: translateY(100%);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
99% {
|
|
70
|
-
transform: translateY(0);
|
|
71
|
-
}
|
|
72
|
-
100% {
|
|
73
|
-
transform: translateY(0);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
.glorious-paginate > div {
|
|
2
|
-
@apply border border-gray-50 rounded-xl h-8 flex items-center px-1 bg-white shadow-md gap-1 w-max;
|
|
3
|
-
direction: rtl;
|
|
4
|
-
}
|
|
5
|
-
.glorious-paginate > div > div {
|
|
6
|
-
@apply px-2;
|
|
7
|
-
}
|
|
8
|
-
.glorious-paginate > div > div:last-child {
|
|
9
|
-
@apply rotate-[180deg];
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.paginate {
|
|
13
|
-
@apply text-[13px];
|
|
14
|
-
}
|
|
15
|
-
.paginate.active {
|
|
16
|
-
@apply bg-green-500 rounded-lg text-white font-bold text-[13px];
|
|
17
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
.glorious-paginate {
|
|
2
|
-
> div {
|
|
3
|
-
@apply border border-gray-50 rounded-xl h-8 flex items-center px-1 bg-white shadow-md gap-1 w-max;
|
|
4
|
-
direction: rtl;
|
|
5
|
-
> div {
|
|
6
|
-
@apply px-2;
|
|
7
|
-
&:last-child {
|
|
8
|
-
@apply rotate-[180deg];
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
.paginate {
|
|
14
|
-
@apply text-[13px];
|
|
15
|
-
&.active {
|
|
16
|
-
@apply bg-green-500 rounded-lg text-white font-bold text-[13px];
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
.glorious-radio {
|
|
2
|
-
@apply block relative cursor-pointer;
|
|
3
|
-
}
|
|
4
|
-
.glorious-radio > input {
|
|
5
|
-
@apply hidden;
|
|
6
|
-
}
|
|
7
|
-
.glorious-radio > input:checked ~ div {
|
|
8
|
-
@apply border-none;
|
|
9
|
-
}
|
|
10
|
-
.glorious-radio > input:checked ~ div:after {
|
|
11
|
-
content: "";
|
|
12
|
-
@apply block w-1 h-1 bg-white rounded-full;
|
|
13
|
-
}
|
|
14
|
-
.glorious-radio > input:disabled ~ div {
|
|
15
|
-
@apply cursor-not-allowed;
|
|
16
|
-
}
|
|
17
|
-
.glorious-radio > div:last-child {
|
|
18
|
-
@apply border border-gray-500 rounded-full bg-white left-0 top-0 absolute hover:shadow-lg;
|
|
19
|
-
}
|
|
20
|
-
.glorious-radio > div:last-child > div:first-child {
|
|
21
|
-
@apply hidden;
|
|
22
|
-
}
|
|
23
|
-
.glorious-radio > div:last-child:after {
|
|
24
|
-
@apply absolute hidden right-0 top-0 left-0 bottom-0 m-auto w-10 h-10 bg-white rounded-full;
|
|
25
|
-
}
|
|
26
|
-
.glorious-radio.orange > input:checked ~ div {
|
|
27
|
-
@apply bg-orange-500;
|
|
28
|
-
}
|
|
29
|
-
.glorious-radio.blue > input:checked ~ div {
|
|
30
|
-
@apply bg-blue-500;
|
|
31
|
-
}
|
|
32
|
-
.glorious-radio.gray > input:checked ~ div {
|
|
33
|
-
@apply bg-gray-500;
|
|
34
|
-
}
|
|
35
|
-
.glorious-radio.red > input:checked ~ div {
|
|
36
|
-
@apply bg-red-500;
|
|
37
|
-
}
|
|
38
|
-
.glorious-radio.green > input:checked ~ div {
|
|
39
|
-
@apply bg-green-500;
|
|
40
|
-
}
|
|
41
|
-
.glorious-radio.size-5xl {
|
|
42
|
-
@apply w-[40px] h-[40px];
|
|
43
|
-
}
|
|
44
|
-
.glorious-radio.size-5xl > div:last-child {
|
|
45
|
-
@apply w-[40px] h-[40px];
|
|
46
|
-
}
|
|
47
|
-
.glorious-radio.size-5xl > input:checked ~ div:after {
|
|
48
|
-
@apply w-[30px] h-[30px];
|
|
49
|
-
}
|
|
50
|
-
.glorious-radio.size-4xl {
|
|
51
|
-
@apply w-[36px] h-[36px];
|
|
52
|
-
}
|
|
53
|
-
.glorious-radio.size-4xl > div:last-child {
|
|
54
|
-
@apply w-[36px] h-[36px];
|
|
55
|
-
}
|
|
56
|
-
.glorious-radio.size-4xl > input:checked ~ div:after {
|
|
57
|
-
@apply w-[26px] h-[26px];
|
|
58
|
-
}
|
|
59
|
-
.glorious-radio.size-3xl {
|
|
60
|
-
@apply w-[32px] h-[32px];
|
|
61
|
-
}
|
|
62
|
-
.glorious-radio.size-3xl > div:last-child {
|
|
63
|
-
@apply w-[32px] h-[32px];
|
|
64
|
-
}
|
|
65
|
-
.glorious-radio.size-3xl > input:checked ~ div:after {
|
|
66
|
-
@apply w-[22px] h-[22px];
|
|
67
|
-
}
|
|
68
|
-
.glorious-radio.size-2xl {
|
|
69
|
-
@apply w-[28px] h-[28px];
|
|
70
|
-
}
|
|
71
|
-
.glorious-radio.size-2xl > div:last-child {
|
|
72
|
-
@apply w-[28px] h-[28px];
|
|
73
|
-
}
|
|
74
|
-
.glorious-radio.size-2xl > input:checked ~ div:after {
|
|
75
|
-
@apply w-[18px] h-[18px];
|
|
76
|
-
}
|
|
77
|
-
.glorious-radio.size-xl {
|
|
78
|
-
@apply w-[24px] h-[24px];
|
|
79
|
-
}
|
|
80
|
-
.glorious-radio.size-xl > div:last-child {
|
|
81
|
-
@apply w-[24px] h-[24px];
|
|
82
|
-
}
|
|
83
|
-
.glorious-radio.size-xl > input:checked ~ div:after {
|
|
84
|
-
@apply w-[14px] h-[14px];
|
|
85
|
-
}
|
|
86
|
-
.glorious-radio.size-lg {
|
|
87
|
-
@apply w-[18px] h-[18px];
|
|
88
|
-
}
|
|
89
|
-
.glorious-radio.size-lg > div:last-child {
|
|
90
|
-
@apply w-[18px] h-[18px];
|
|
91
|
-
}
|
|
92
|
-
.glorious-radio.size-lg > input:checked ~ div:after {
|
|
93
|
-
@apply w-[8px] h-[8px];
|
|
94
|
-
}
|
|
95
|
-
.glorious-radio.size-md {
|
|
96
|
-
@apply w-[14px] h-[14px];
|
|
97
|
-
}
|
|
98
|
-
.glorious-radio.size-md > div:last-child {
|
|
99
|
-
@apply w-[14px] h-[14px];
|
|
100
|
-
}
|
|
101
|
-
.glorious-radio.size-md > input:checked ~ div:after {
|
|
102
|
-
@apply w-[4px] h-[4px];
|
|
103
|
-
}
|
|
104
|
-
.glorious-radio.size-sm {
|
|
105
|
-
@apply w-[10px] h-[10px];
|
|
106
|
-
}
|
|
107
|
-
.glorious-radio.size-sm > div:last-child {
|
|
108
|
-
@apply w-[10px] h-[10px];
|
|
109
|
-
}
|
|
110
|
-
.glorious-radio.size-sm > input:checked ~ div:after {
|
|
111
|
-
@apply w-[0px] h-[0px];
|
|
112
|
-
}
|
|
113
|
-
.glorious-radio.size-xs {
|
|
114
|
-
@apply w-[6px] h-[6px];
|
|
115
|
-
}
|
|
116
|
-
.glorious-radio.size-xs > div:last-child {
|
|
117
|
-
@apply w-[6px] h-[6px];
|
|
118
|
-
}
|
|
119
|
-
.glorious-radio.size-xs > input:checked ~ div:after {
|
|
120
|
-
@apply w-[-4px] h-[-4px];
|
|
121
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
.rating {
|
|
3
|
-
display: inline-block;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.rating input {
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.rating label {
|
|
11
|
-
float: right;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
transition: color 0.3s;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.rating label:before {
|
|
17
|
-
content: "★";
|
|
18
|
-
font-size: 30px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.rating input:checked ~ label,
|
|
22
|
-
.rating label:hover,
|
|
23
|
-
.rating label:hover ~ label {
|
|
24
|
-
color: #ffd700 !important;
|
|
25
|
-
transition: color 0.3s;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
label.checked {
|
|
29
|
-
color: #ffd700;
|
|
30
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
.xl.glorious-select {
|
|
2
|
-
@apply py-[0.657rem];
|
|
3
|
-
}
|
|
4
|
-
.lg.glorious-select {
|
|
5
|
-
@apply py-[0.532rem];
|
|
6
|
-
}
|
|
7
|
-
.md.glorious-select {
|
|
8
|
-
@apply py-[0.407rem];
|
|
9
|
-
}
|
|
10
|
-
.sm.glorious-select {
|
|
11
|
-
@apply py-[0.282rem];
|
|
12
|
-
}
|
|
13
|
-
.xsm.glorious-select {
|
|
14
|
-
@apply py-[0.157rem];
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.glorious-select:focus-visible {
|
|
18
|
-
@apply outline-none ring-2;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.color-orange {
|
|
22
|
-
@apply ring-orange-500;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.color-blue {
|
|
26
|
-
@apply ring-blue-500;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.color-gray {
|
|
30
|
-
@apply ring-gray-500;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.color-red {
|
|
34
|
-
@apply ring-red-500;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.color-green {
|
|
38
|
-
@apply ring-green-500;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.glorious-select {
|
|
42
|
-
@apply rounded-md ring-1 px-3 text-gray-500 text-sm h-max;
|
|
43
|
-
}
|
|
44
|
-
.glorious-select:disabled {
|
|
45
|
-
@apply cursor-not-allowed;
|
|
46
|
-
}
|
|
47
|
-
.glorious-select.validation-error {
|
|
48
|
-
@apply ring-red-500 bg-red-50 !important;
|
|
49
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
.switch {
|
|
2
|
-
direction: ltr;
|
|
3
|
-
--button-width: 3em;
|
|
4
|
-
--button-height: 1.5em;
|
|
5
|
-
--toggle-diameter: 1em;
|
|
6
|
-
--button-toggle-offset: calc(
|
|
7
|
-
(var(--button-height) - var(--toggle-diameter)) / 2
|
|
8
|
-
);
|
|
9
|
-
--toggle-shadow-offset: 10px;
|
|
10
|
-
--toggle-wider: 3em;
|
|
11
|
-
}
|
|
12
|
-
.switch-slider {
|
|
13
|
-
@apply bg-gray-300;
|
|
14
|
-
display: inline-block;
|
|
15
|
-
width: var(--button-width);
|
|
16
|
-
height: var(--button-height);
|
|
17
|
-
border-radius: calc(var(--button-height) / 2);
|
|
18
|
-
position: relative;
|
|
19
|
-
transition: 0.3s all ease-in-out;
|
|
20
|
-
}
|
|
21
|
-
.switch-slider::after {
|
|
22
|
-
content: "";
|
|
23
|
-
display: inline-block;
|
|
24
|
-
width: var(--toggle-diameter);
|
|
25
|
-
height: var(--toggle-diameter);
|
|
26
|
-
background-color: #fff;
|
|
27
|
-
border-radius: calc(var(--toggle-diameter) / 2);
|
|
28
|
-
position: absolute;
|
|
29
|
-
top: var(--button-toggle-offset);
|
|
30
|
-
transform: translateX(var(--button-toggle-offset));
|
|
31
|
-
box-shadow: var(--toggle-shadow-offset) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
|
|
32
|
-
transition: 0.3s all ease-in-out;
|
|
33
|
-
}
|
|
34
|
-
.switch.color-orange input[type=checkbox]:checked + .switch-slider {
|
|
35
|
-
background-color: theme("colors.orange.500");
|
|
36
|
-
}
|
|
37
|
-
.switch.color-blue input[type=checkbox]:checked + .switch-slider {
|
|
38
|
-
background-color: theme("colors.blue.500");
|
|
39
|
-
}
|
|
40
|
-
.switch.color-gray input[type=checkbox]:checked + .switch-slider {
|
|
41
|
-
background-color: theme("colors.gray.500");
|
|
42
|
-
}
|
|
43
|
-
.switch.color-red input[type=checkbox]:checked + .switch-slider {
|
|
44
|
-
background-color: theme("colors.red.500");
|
|
45
|
-
}
|
|
46
|
-
.switch.color-green input[type=checkbox]:checked + .switch-slider {
|
|
47
|
-
background-color: theme("colors.green.500");
|
|
48
|
-
}
|
|
49
|
-
.switch input[type=checkbox]:checked + .switch-slider::after {
|
|
50
|
-
transform: translateX(calc(var(--button-width) - var(--toggle-diameter) - var(--button-toggle-offset)));
|
|
51
|
-
box-shadow: calc(var(--toggle-shadow-offset) * -1) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
|
|
52
|
-
}
|
|
53
|
-
.switch input[type=checkbox] {
|
|
54
|
-
display: none;
|
|
55
|
-
}
|
|
56
|
-
.switch input[type=checkbox]:active + .switch-slider::after {
|
|
57
|
-
width: var(--toggle-wider);
|
|
58
|
-
}
|
|
59
|
-
.switch input[type=checkbox]:checked:active + .switch-slider::after {
|
|
60
|
-
transform: translateX(calc(var(--button-width) - var(--toggle-wider) - var(--button-toggle-offset)));
|
|
61
|
-
}
|