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
@@ -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
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
.glorious-tab {
|
2
|
-
@apply flex justify-between bg-green-100 rounded-lg gap-3 w-max max-w-full shadow-md;
|
3
|
-
}
|
4
|
-
.glorious-tab div > div > button {
|
5
|
-
@apply text-gray-700 text-sm hover:bg-green-200 hover:text-gray-800 cursor-pointer px-2 py-1 rounded-lg whitespace-nowrap;
|
6
|
-
}
|
7
|
-
.glorious-tab div > div > button.active {
|
8
|
-
@apply font-bold text-white bg-green-700;
|
9
|
-
}
|
@@ -1,99 +0,0 @@
|
|
1
|
-
.glorious-table {
|
2
|
-
@apply overflow-x-auto;
|
3
|
-
}
|
4
|
-
.glorious-table.color-orange > table > thead {
|
5
|
-
@apply rounded-t-md overflow-hidden;
|
6
|
-
}
|
7
|
-
.glorious-table.color-orange > table > thead > tr > th:first-child {
|
8
|
-
@apply rounded-r-lg bg-orange-400;
|
9
|
-
}
|
10
|
-
.glorious-table.color-orange > table > thead > tr > th {
|
11
|
-
@apply bg-orange-400;
|
12
|
-
}
|
13
|
-
.glorious-table.color-orange > table > thead > tr > th:last-child {
|
14
|
-
@apply rounded-l-lg bg-orange-400;
|
15
|
-
}
|
16
|
-
.glorious-table.color-orange > table > tbody > tr:nth-child(even) {
|
17
|
-
@apply bg-orange-50;
|
18
|
-
}
|
19
|
-
.glorious-table.color-orange > table > tbody > tr > td {
|
20
|
-
@apply px-4 py-2 text-center;
|
21
|
-
}
|
22
|
-
.glorious-table.color-blue > table > thead {
|
23
|
-
@apply rounded-t-md overflow-hidden;
|
24
|
-
}
|
25
|
-
.glorious-table.color-blue > table > thead > tr > th:first-child {
|
26
|
-
@apply rounded-r-lg bg-blue-400;
|
27
|
-
}
|
28
|
-
.glorious-table.color-blue > table > thead > tr > th {
|
29
|
-
@apply bg-blue-400;
|
30
|
-
}
|
31
|
-
.glorious-table.color-blue > table > thead > tr > th:last-child {
|
32
|
-
@apply rounded-l-lg bg-blue-400;
|
33
|
-
}
|
34
|
-
.glorious-table.color-blue > table > tbody > tr:nth-child(even) {
|
35
|
-
@apply bg-blue-50;
|
36
|
-
}
|
37
|
-
.glorious-table.color-blue > table > tbody > tr > td {
|
38
|
-
@apply px-4 py-2 text-center;
|
39
|
-
}
|
40
|
-
.glorious-table.color-gray > table > thead {
|
41
|
-
@apply rounded-t-md overflow-hidden;
|
42
|
-
}
|
43
|
-
.glorious-table.color-gray > table > thead > tr > th:first-child {
|
44
|
-
@apply rounded-r-lg bg-gray-400;
|
45
|
-
}
|
46
|
-
.glorious-table.color-gray > table > thead > tr > th {
|
47
|
-
@apply bg-gray-400;
|
48
|
-
}
|
49
|
-
.glorious-table.color-gray > table > thead > tr > th:last-child {
|
50
|
-
@apply rounded-l-lg bg-gray-400;
|
51
|
-
}
|
52
|
-
.glorious-table.color-gray > table > tbody > tr:nth-child(even) {
|
53
|
-
@apply bg-gray-50;
|
54
|
-
}
|
55
|
-
.glorious-table.color-gray > table > tbody > tr > td {
|
56
|
-
@apply px-4 py-2 text-center;
|
57
|
-
}
|
58
|
-
.glorious-table.color-red > table > thead {
|
59
|
-
@apply rounded-t-md overflow-hidden;
|
60
|
-
}
|
61
|
-
.glorious-table.color-red > table > thead > tr > th:first-child {
|
62
|
-
@apply rounded-r-lg bg-red-400;
|
63
|
-
}
|
64
|
-
.glorious-table.color-red > table > thead > tr > th {
|
65
|
-
@apply bg-red-400;
|
66
|
-
}
|
67
|
-
.glorious-table.color-red > table > thead > tr > th:last-child {
|
68
|
-
@apply rounded-l-lg bg-red-400;
|
69
|
-
}
|
70
|
-
.glorious-table.color-red > table > tbody > tr:nth-child(even) {
|
71
|
-
@apply bg-red-50;
|
72
|
-
}
|
73
|
-
.glorious-table.color-red > table > tbody > tr > td {
|
74
|
-
@apply px-4 py-2 text-center;
|
75
|
-
}
|
76
|
-
.glorious-table.color-green > table > thead {
|
77
|
-
@apply rounded-t-md overflow-hidden;
|
78
|
-
}
|
79
|
-
.glorious-table.color-green > table > thead > tr > th:first-child {
|
80
|
-
@apply rounded-r-lg bg-green-400;
|
81
|
-
}
|
82
|
-
.glorious-table.color-green > table > thead > tr > th {
|
83
|
-
@apply bg-green-400;
|
84
|
-
}
|
85
|
-
.glorious-table.color-green > table > thead > tr > th:last-child {
|
86
|
-
@apply rounded-l-lg bg-green-400;
|
87
|
-
}
|
88
|
-
.glorious-table.color-green > table > tbody > tr:nth-child(even) {
|
89
|
-
@apply bg-green-50;
|
90
|
-
}
|
91
|
-
.glorious-table.color-green > table > tbody > tr > td {
|
92
|
-
@apply px-4 py-2 text-center;
|
93
|
-
}
|
94
|
-
.glorious-table > table {
|
95
|
-
@apply w-full;
|
96
|
-
}
|
97
|
-
.glorious-table > table > thead > tr > th {
|
98
|
-
@apply px-4 py-2 text-center;
|
99
|
-
}
|
@@ -1,67 +0,0 @@
|
|
1
|
-
.glorious-textarea-orange {
|
2
|
-
@apply ring-orange-500;
|
3
|
-
@apply rounded-md ring-1 px-3;
|
4
|
-
}
|
5
|
-
.glorious-textarea-orange:focus-visible {
|
6
|
-
@apply outline-none ring-2;
|
7
|
-
}
|
8
|
-
.glorious-textarea-orange:disabled {
|
9
|
-
@apply bg-green-300 cursor-not-allowed;
|
10
|
-
}
|
11
|
-
|
12
|
-
.glorious-textarea-blue {
|
13
|
-
@apply ring-blue-500;
|
14
|
-
@apply rounded-md ring-1 px-3;
|
15
|
-
}
|
16
|
-
.glorious-textarea-blue:focus-visible {
|
17
|
-
@apply outline-none ring-2;
|
18
|
-
}
|
19
|
-
.glorious-textarea-blue:disabled {
|
20
|
-
@apply bg-green-300 cursor-not-allowed;
|
21
|
-
}
|
22
|
-
|
23
|
-
.glorious-textarea-gray {
|
24
|
-
@apply ring-gray-500;
|
25
|
-
@apply rounded-md ring-1 px-3;
|
26
|
-
}
|
27
|
-
.glorious-textarea-gray:focus-visible {
|
28
|
-
@apply outline-none ring-2;
|
29
|
-
}
|
30
|
-
.glorious-textarea-gray:disabled {
|
31
|
-
@apply bg-green-300 cursor-not-allowed;
|
32
|
-
}
|
33
|
-
|
34
|
-
.glorious-textarea-red {
|
35
|
-
@apply ring-red-500;
|
36
|
-
@apply rounded-md ring-1 px-3;
|
37
|
-
}
|
38
|
-
.glorious-textarea-red:focus-visible {
|
39
|
-
@apply outline-none ring-2;
|
40
|
-
}
|
41
|
-
.glorious-textarea-red:disabled {
|
42
|
-
@apply bg-green-300 cursor-not-allowed;
|
43
|
-
}
|
44
|
-
|
45
|
-
.glorious-textarea-green {
|
46
|
-
@apply ring-green-500;
|
47
|
-
@apply rounded-md ring-1 px-3;
|
48
|
-
}
|
49
|
-
.glorious-textarea-green:focus-visible {
|
50
|
-
@apply outline-none ring-2;
|
51
|
-
}
|
52
|
-
.glorious-textarea-green:disabled {
|
53
|
-
@apply bg-green-300 cursor-not-allowed;
|
54
|
-
}
|
55
|
-
|
56
|
-
.glorious-textarea {
|
57
|
-
@apply relative w-full flex flex-col;
|
58
|
-
}
|
59
|
-
.glorious-textarea > textarea {
|
60
|
-
@apply w-full p-2;
|
61
|
-
}
|
62
|
-
.glorious-textarea > textarea.validation-error {
|
63
|
-
@apply ring-red-500 bg-red-50;
|
64
|
-
}
|
65
|
-
.glorious-textarea > textarea::placeholder {
|
66
|
-
@apply text-[14px];
|
67
|
-
}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
.glorious-timeline-items {
|
2
|
-
@apply relative;
|
3
|
-
}
|
4
|
-
.glorious-timeline-items div {
|
5
|
-
@apply relative;
|
6
|
-
}
|
7
|
-
.glorious-timeline-items div::before {
|
8
|
-
content: "";
|
9
|
-
@apply absolute w-[2px] right-[-15px];
|
10
|
-
}
|
11
|
-
.glorious-timeline-items div::before:not(:last-child) {
|
12
|
-
@apply h-[calc(100%+20px)];
|
13
|
-
}
|
14
|
-
.glorious-timeline-items-count {
|
15
|
-
@apply absolute w-5 h-5 top-0 right-[-24px] rounded-full;
|
16
|
-
@apply text-white flex justify-center items-center font-medium;
|
17
|
-
}
|
18
|
-
.glorious-timeline-items.color-orange > div::before {
|
19
|
-
@apply bg-orange-500;
|
20
|
-
}
|
21
|
-
.glorious-timeline-items.color-blue > div::before {
|
22
|
-
@apply bg-blue-500;
|
23
|
-
}
|
24
|
-
.glorious-timeline-items.color-gray > div::before {
|
25
|
-
@apply bg-gray-500;
|
26
|
-
}
|
27
|
-
.glorious-timeline-items.color-red > div::before {
|
28
|
-
@apply bg-red-500;
|
29
|
-
}
|
30
|
-
.glorious-timeline-items.color-green > div::before {
|
31
|
-
@apply bg-green-500;
|
32
|
-
}
|
33
|
-
.glorious-timeline-items.color-orange .glorious-timeline-items-count {
|
34
|
-
@apply bg-orange-500;
|
35
|
-
}
|
36
|
-
.glorious-timeline-items.color-blue .glorious-timeline-items-count {
|
37
|
-
@apply bg-blue-500;
|
38
|
-
}
|
39
|
-
.glorious-timeline-items.color-gray .glorious-timeline-items-count {
|
40
|
-
@apply bg-gray-500;
|
41
|
-
}
|
42
|
-
.glorious-timeline-items.color-red .glorious-timeline-items-count {
|
43
|
-
@apply bg-red-500;
|
44
|
-
}
|
45
|
-
.glorious-timeline-items.color-green .glorious-timeline-items-count {
|
46
|
-
@apply bg-green-500;
|
47
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
.glorious-tooltip {
|
2
|
-
@apply relative w-max;
|
3
|
-
}
|
4
|
-
.glorious-tooltip > .tooltip-slot:hover ~ .tooltip-content {
|
5
|
-
@apply opacity-100;
|
6
|
-
}
|
7
|
-
.glorious-tooltip > .tooltip-content {
|
8
|
-
@apply bg-white w-max rounded-lg shadow-md pt-2 px-3 flex absolute bottom-10 opacity-0 transition-all duration-100 ease-in;
|
9
|
-
}
|