vanilla-jui 1.7.9 → 1.7.11
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/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/accordion.ts +1 -1
- package/src/components/flow.ts +1 -1
- package/src/components/form.ts +1 -1
- package/src/components/modal.ts +1 -1
- package/src/css/index.css +1 -2
- package/src/css/layout.css +156 -63
- package/src/css/status.css +0 -1
- package/src/css/themes/default/accordion.css +37 -1
- package/src/css/themes/default/avatar.css +23 -1
- package/src/css/themes/default/badge.css +20 -3
- package/src/css/themes/default/breadcrumb.css +65 -1
- package/src/css/themes/default/button.css +64 -11
- package/src/css/themes/default/drop.css +19 -1
- package/src/css/themes/default/editor.css +781 -7
- package/src/css/themes/default/form.css +650 -2
- package/src/css/themes/default/index.css +17 -14
- package/src/css/themes/default/loading.css +144 -2
- package/src/css/themes/default/menu.css +113 -125
- package/src/css/themes/default/modal.css +26 -4
- package/src/css/themes/default/offcanvas.css +19 -1
- package/src/css/themes/default/pagination.css +13 -1
- package/src/css/themes/default/swiper.css +99 -1
- package/src/css/themes/default/tabs.css +50 -1
- package/src/css/themes/default/theme-palette.css +24 -1
- package/src/css/themes/default/tip.css +36 -1
- package/src/css/themes/default/toast.css +42 -1
- package/src/css/themes/default/toolbar.css +29 -1
- package/src/css/themes/default/tooltip.css +8 -2
- package/src/css/themes/default/tree.css +40 -3
- package/src/css/accordion.css +0 -47
- package/src/css/avatar.css +0 -27
- package/src/css/badge.css +0 -8
- package/src/css/breadcrumb.css +0 -71
- package/src/css/button.css +0 -32
- package/src/css/components.css +0 -28
- package/src/css/divider.css +0 -9
- package/src/css/drop.css +0 -21
- package/src/css/editor.css +0 -794
- package/src/css/form.css +0 -658
- package/src/css/loading.css +0 -150
- package/src/css/menu.css +0 -74
- package/src/css/modal.css +0 -33
- package/src/css/offcanvas.css +0 -23
- package/src/css/pagination.css +0 -15
- package/src/css/popup.css +0 -66
- package/src/css/skeleton.css +0 -72
- package/src/css/swiper.css +0 -107
- package/src/css/tabs.css +0 -58
- package/src/css/tag.css +0 -36
- package/src/css/theme-palette.css +0 -28
- package/src/css/themes/default/popup.css +0 -7
- package/src/css/themes/default/tag.css +0 -85
- package/src/css/tip.css +0 -40
- package/src/css/toast.css +0 -54
- package/src/css/toolbar.css +0 -34
- package/src/css/tooltip.css +0 -12
- package/src/css/tree.css +0 -51
- /package/src/css/{flow.css → themes/default/flow.css} +0 -0
package/src/css/loading.css
DELETED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.j-loader {
|
|
3
|
-
display: flex;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
align-items: center;
|
|
6
|
-
position: absolute;
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.j-loader .loader {
|
|
12
|
-
display: inline-block;
|
|
13
|
-
width: var(--loader-size);
|
|
14
|
-
height: var(--loader-size);
|
|
15
|
-
border-width: var(--loader-width);
|
|
16
|
-
border-style: var(--loader-style);
|
|
17
|
-
border-color: var(--loader-fg);
|
|
18
|
-
border-right-color: transparent;
|
|
19
|
-
border-radius: 50%;
|
|
20
|
-
animation: var(--loader-speed) linear infinite animate-spin;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.j-loader .polygon-loader {
|
|
24
|
-
width: var(--loader-size);
|
|
25
|
-
aspect-ratio: 1;
|
|
26
|
-
border-radius: 50%;
|
|
27
|
-
border: 1.5px solid var(--loader-fg);
|
|
28
|
-
animation:
|
|
29
|
-
polygon-loader-1 0.8s infinite linear alternate,
|
|
30
|
-
polygon-loader-2 1.6s infinite linear;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@keyframes polygon-loader-1 {
|
|
34
|
-
0% {
|
|
35
|
-
clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
12.5% {
|
|
39
|
-
clip-path: polygon(
|
|
40
|
-
50% 50%,
|
|
41
|
-
0 0,
|
|
42
|
-
50% 0%,
|
|
43
|
-
100% 0%,
|
|
44
|
-
100% 0%,
|
|
45
|
-
100% 0%,
|
|
46
|
-
100% 0%
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
25% {
|
|
51
|
-
clip-path: polygon(
|
|
52
|
-
50% 50%,
|
|
53
|
-
0 0,
|
|
54
|
-
50% 0%,
|
|
55
|
-
100% 0%,
|
|
56
|
-
100% 100%,
|
|
57
|
-
100% 100%,
|
|
58
|
-
100% 100%
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
50% {
|
|
63
|
-
clip-path: polygon(
|
|
64
|
-
50% 50%,
|
|
65
|
-
0 0,
|
|
66
|
-
50% 0%,
|
|
67
|
-
100% 0%,
|
|
68
|
-
100% 100%,
|
|
69
|
-
50% 100%,
|
|
70
|
-
0% 100%
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
62.5% {
|
|
75
|
-
clip-path: polygon(
|
|
76
|
-
50% 50%,
|
|
77
|
-
100% 0,
|
|
78
|
-
100% 0%,
|
|
79
|
-
100% 0%,
|
|
80
|
-
100% 100%,
|
|
81
|
-
50% 100%,
|
|
82
|
-
0% 100%
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
75% {
|
|
87
|
-
clip-path: polygon(
|
|
88
|
-
50% 50%,
|
|
89
|
-
100% 100%,
|
|
90
|
-
100% 100%,
|
|
91
|
-
100% 100%,
|
|
92
|
-
100% 100%,
|
|
93
|
-
50% 100%,
|
|
94
|
-
0% 100%
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
100% {
|
|
99
|
-
clip-path: polygon(
|
|
100
|
-
50% 50%,
|
|
101
|
-
50% 100%,
|
|
102
|
-
50% 100%,
|
|
103
|
-
50% 100%,
|
|
104
|
-
50% 100%,
|
|
105
|
-
50% 100%,
|
|
106
|
-
0% 100%
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@keyframes polygon-loader-2 {
|
|
112
|
-
0% {
|
|
113
|
-
transform: scaleY(1) rotate(0deg);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
49.99% {
|
|
117
|
-
transform: scaleY(1) rotate(135deg);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
50% {
|
|
121
|
-
transform: scaleY(-1) rotate(0deg);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
100% {
|
|
125
|
-
transform: scaleY(-1) rotate(-135deg);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.j-loader .tone-loader {
|
|
130
|
-
width: var(--loader-size);
|
|
131
|
-
height: var(--loader-size);
|
|
132
|
-
border-width: var(--loader-width);
|
|
133
|
-
border-style: var(--loader-style);
|
|
134
|
-
border-color: var(--loader-fg);
|
|
135
|
-
border-top-color: var(--loader-top-fg);
|
|
136
|
-
border-radius: 50%;
|
|
137
|
-
animation: 1s linear infinite animate-spin;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.j-loader .flow-loader {
|
|
141
|
-
width: var(--loader-size);
|
|
142
|
-
height: var(--loader-size);
|
|
143
|
-
border: none;
|
|
144
|
-
border-radius: 50%;
|
|
145
|
-
aspect-ratio: 1;
|
|
146
|
-
background: var(--loader-bg);
|
|
147
|
-
mask: var(--loader-mask);
|
|
148
|
-
animation: 1s linear infinite animate-spin;
|
|
149
|
-
}
|
|
150
|
-
}
|
package/src/css/menu.css
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.j-menu {
|
|
3
|
-
width: 100%;
|
|
4
|
-
white-space: nowrap;
|
|
5
|
-
overflow-x: auto;
|
|
6
|
-
overflow-y: hidden;
|
|
7
|
-
scroll-behavior: smooth;
|
|
8
|
-
-ms-overflow-style: none;
|
|
9
|
-
scrollbar-width: none;
|
|
10
|
-
user-select: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.j-menu::-webkit-scrollbar {
|
|
14
|
-
display: none;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.j-menu ol,
|
|
18
|
-
.j-menu ul,
|
|
19
|
-
.j-menu ol li,
|
|
20
|
-
.j-menu ul li {
|
|
21
|
-
list-style: none;
|
|
22
|
-
margin: 0;
|
|
23
|
-
padding: 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.j-menu .menu {
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.j-menu .menu .menu-item {
|
|
32
|
-
flex-shrink: 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.j-menu .menu .menu-item:not(:has(a)) {
|
|
36
|
-
position: relative;
|
|
37
|
-
cursor: help;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.j-menu .menu .menu-item a {
|
|
41
|
-
display: flex;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
align-items: center;
|
|
44
|
-
flex-wrap: nowrap;
|
|
45
|
-
white-space: nowrap;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
appearance: button;
|
|
48
|
-
touch-action: manipulation;
|
|
49
|
-
text-decoration: none;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.j-menu:not([data-menu-type='mobile']):not([data-menu-type='bottom'])
|
|
53
|
-
.menu
|
|
54
|
-
.menu-item.menu-item-has-children
|
|
55
|
-
> a {
|
|
56
|
-
pointer-events: none;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.j-menu .menu .menu-item .sub-menu {
|
|
60
|
-
display: none;
|
|
61
|
-
position: absolute;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.j-menu .menu .menu-item .sub-menu .menu-item a {
|
|
65
|
-
justify-content: flex-start;
|
|
66
|
-
flex-wrap: wrap;
|
|
67
|
-
white-space: normal;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.j-menu .menu .menu-item.menu-item-has-children:hover .sub-menu {
|
|
71
|
-
display: block;
|
|
72
|
-
z-index: var(--z-submenu);
|
|
73
|
-
}
|
|
74
|
-
}
|
package/src/css/modal.css
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.j-modal {
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
position: relative;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.j-modal.is-fullscreen {
|
|
10
|
-
width: 100%;
|
|
11
|
-
height: 100%;
|
|
12
|
-
max-width: none;
|
|
13
|
-
max-height: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.j-modal .modal-header {
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: space-between;
|
|
19
|
-
align-items: center;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.j-modal .modal-body {
|
|
23
|
-
overflow-y: auto;
|
|
24
|
-
overflow-wrap: break-word;
|
|
25
|
-
flex: 1;
|
|
26
|
-
position: relative;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.j-modal .modal-footer {
|
|
30
|
-
display: flex;
|
|
31
|
-
justify-content: flex-end;
|
|
32
|
-
}
|
|
33
|
-
}
|
package/src/css/offcanvas.css
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.j-offcanvas-overlay {
|
|
3
|
-
position: fixed;
|
|
4
|
-
top: 0;
|
|
5
|
-
left: 0;
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: 100%;
|
|
8
|
-
pointer-events: auto;
|
|
9
|
-
z-index: var(--z-overlay);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.j-offcanvas {
|
|
13
|
-
position: fixed;
|
|
14
|
-
z-index: var(--z-offcanvas);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.j-offcanvas .offcanvas-content {
|
|
18
|
-
position: relative;
|
|
19
|
-
height: 100%;
|
|
20
|
-
overflow-y: auto;
|
|
21
|
-
scrollbar-width: none;
|
|
22
|
-
}
|
|
23
|
-
}
|
package/src/css/pagination.css
DELETED
package/src/css/popup.css
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.j-popup-layout {
|
|
3
|
-
display: flex;
|
|
4
|
-
position: fixed;
|
|
5
|
-
top: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
z-index: var(--z-popup);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.j-popup-layout,
|
|
13
|
-
.j-popup-layout.is-center,
|
|
14
|
-
.j-popup-layout.is-center-center {
|
|
15
|
-
justify-content: center;
|
|
16
|
-
align-items: center;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.j-popup-layout.is-top,
|
|
20
|
-
.j-popup-layout.is-top-center {
|
|
21
|
-
justify-content: center;
|
|
22
|
-
align-items: flex-start;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.j-popup-layout.is-bottom,
|
|
26
|
-
.j-popup-layout.is-bottom-center {
|
|
27
|
-
justify-content: center;
|
|
28
|
-
align-items: flex-end;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.j-popup-layout.is-left,
|
|
32
|
-
.j-popup-layout.is-left-center {
|
|
33
|
-
justify-content: flex-start;
|
|
34
|
-
align-items: center;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.j-popup-layout.is-right,
|
|
38
|
-
.j-popup-layout.is-right-center {
|
|
39
|
-
justify-content: flex-end;
|
|
40
|
-
align-items: center;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.j-popup-layout.is-top-left,
|
|
44
|
-
.j-popup-layout.is-left-top {
|
|
45
|
-
justify-content: flex-start;
|
|
46
|
-
align-items: flex-start;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.j-popup-layout.is-top-right,
|
|
50
|
-
.j-popup-layout.is-right-top {
|
|
51
|
-
justify-content: flex-end;
|
|
52
|
-
align-items: flex-start;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.j-popup-layout.is-bottom-left,
|
|
56
|
-
.j-popup-layout.is-left-bottom {
|
|
57
|
-
justify-content: flex-start;
|
|
58
|
-
align-items: flex-end;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.j-popup-layout.is-bottom-right,
|
|
62
|
-
.j-popup-layout.is-right-bottom {
|
|
63
|
-
justify-content: flex-end;
|
|
64
|
-
align-items: flex-end;
|
|
65
|
-
}
|
|
66
|
-
}
|
package/src/css/skeleton.css
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.j-skeleton {
|
|
3
|
-
display: block;
|
|
4
|
-
width: 100%;
|
|
5
|
-
min-height: var(--el-height-2xs);
|
|
6
|
-
border-radius: var(--radius-sm);
|
|
7
|
-
background: var(--ui-surface-muted);
|
|
8
|
-
color: transparent;
|
|
9
|
-
pointer-events: none;
|
|
10
|
-
user-select: none;
|
|
11
|
-
animation: animate-pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.j-skeleton::selection {
|
|
15
|
-
color: transparent;
|
|
16
|
-
background: transparent;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.j-skeleton.skeleton-inline {
|
|
20
|
-
display: inline-block;
|
|
21
|
-
width: 8rem;
|
|
22
|
-
vertical-align: middle;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.j-skeleton.skeleton-text {
|
|
26
|
-
height: var(--el-height-sm);
|
|
27
|
-
min-height: var(--el-height-sm);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.j-skeleton.skeleton-title {
|
|
31
|
-
width: 60%;
|
|
32
|
-
height: var(--el-height-md);
|
|
33
|
-
min-height: var(--el-height-md);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.j-skeleton.skeleton-block {
|
|
37
|
-
height: calc(var(--el-height-md) * 4);
|
|
38
|
-
min-height: calc(var(--el-height-md) * 4);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.j-skeleton.skeleton-avatar,
|
|
42
|
-
.j-skeleton.skeleton-circle {
|
|
43
|
-
aspect-ratio: 1;
|
|
44
|
-
border-radius: 999px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.j-skeleton.skeleton-avatar {
|
|
48
|
-
width: var(--el-height-md);
|
|
49
|
-
min-height: var(--el-height-md);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.j-skeleton.skeleton-button {
|
|
53
|
-
width: 5rem;
|
|
54
|
-
min-height: var(--el-height-md);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.j-skeleton.skeleton-image {
|
|
58
|
-
aspect-ratio: 16 / 9;
|
|
59
|
-
min-height: 0;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.j-skeleton.skeleton-static,
|
|
63
|
-
.j-skeleton[aria-busy='false'] {
|
|
64
|
-
animation: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
@media (prefers-reduced-motion: reduce) {
|
|
68
|
-
.j-skeleton {
|
|
69
|
-
animation: none;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
package/src/css/swiper.css
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.j-swiper {
|
|
3
|
-
position: relative;
|
|
4
|
-
display: block;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
touch-action: pan-y;
|
|
7
|
-
user-select: none;
|
|
8
|
-
width: 100%;
|
|
9
|
-
min-height: var(--swiper-min-height);
|
|
10
|
-
border-radius: var(--radius-md);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.j-swiper .swiper-wrapper {
|
|
14
|
-
display: flex;
|
|
15
|
-
will-change: transform;
|
|
16
|
-
position: relative;
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: 100%;
|
|
19
|
-
aspect-ratio: inherit;
|
|
20
|
-
border-radius: inherit;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.j-swiper .swiper-slide {
|
|
24
|
-
position: relative;
|
|
25
|
-
display: block;
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
color: inherit;
|
|
28
|
-
text-decoration: none;
|
|
29
|
-
user-select: none;
|
|
30
|
-
width: 100%;
|
|
31
|
-
min-width: 100%;
|
|
32
|
-
aspect-ratio: inherit;
|
|
33
|
-
border-radius: inherit;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.j-swiper .swiper-slide::before {
|
|
37
|
-
position: absolute;
|
|
38
|
-
content: 'loading';
|
|
39
|
-
top: 0;
|
|
40
|
-
left: 0;
|
|
41
|
-
width: 100%;
|
|
42
|
-
height: 100%;
|
|
43
|
-
aspect-ratio: inherit;
|
|
44
|
-
border-radius: inherit;
|
|
45
|
-
display: flex;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
align-items: center;
|
|
48
|
-
letter-spacing: 1px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.j-swiper .swiper-image {
|
|
52
|
-
position: relative;
|
|
53
|
-
display: block;
|
|
54
|
-
object-fit: cover;
|
|
55
|
-
pointer-events: none;
|
|
56
|
-
width: 100%;
|
|
57
|
-
height: 100%;
|
|
58
|
-
min-height: var(--swiper-min-height);
|
|
59
|
-
aspect-ratio: inherit;
|
|
60
|
-
border-radius: inherit;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.j-swiper .swiper-slide-title {
|
|
64
|
-
display: block;
|
|
65
|
-
position: absolute;
|
|
66
|
-
text-overflow: ellipsis;
|
|
67
|
-
white-space: nowrap;
|
|
68
|
-
z-index: 1;
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.j-swiper .swiper-pagination {
|
|
73
|
-
position: absolute;
|
|
74
|
-
display: flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
z-index: 2;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.j-swiper .swiper-pagination-indicator {
|
|
81
|
-
display: inline-block;
|
|
82
|
-
cursor: pointer;
|
|
83
|
-
border-radius: 999px;
|
|
84
|
-
outline: none;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.j-swiper .swiper-navigation {
|
|
88
|
-
position: absolute;
|
|
89
|
-
top: 50%;
|
|
90
|
-
z-index: 2;
|
|
91
|
-
display: inline-flex;
|
|
92
|
-
align-items: center;
|
|
93
|
-
justify-content: center;
|
|
94
|
-
cursor: pointer;
|
|
95
|
-
border-radius: 999px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.j-swiper .swiper-navigation svg {
|
|
99
|
-
pointer-events: none;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.j-swiper .swiper-navigation.is-disabled,
|
|
103
|
-
.j-swiper .swiper-navigation:disabled {
|
|
104
|
-
cursor: default;
|
|
105
|
-
opacity: 0.36;
|
|
106
|
-
}
|
|
107
|
-
}
|
package/src/css/tabs.css
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.j-tabs {
|
|
3
|
-
display: flex;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.j-tabs,
|
|
7
|
-
.j-tabs[data-tabs-direction='top'] {
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.j-tabs[data-tabs-direction='bottom'] {
|
|
12
|
-
flex-direction: column-reverse;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.j-tabs[data-tabs-direction='left'] {
|
|
16
|
-
flex-direction: row;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.j-tabs[data-tabs-direction='right'] {
|
|
20
|
-
flex-direction: row-reverse;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.j-tabs .tab-wrap {
|
|
24
|
-
overflow: hidden;
|
|
25
|
-
position: relative;
|
|
26
|
-
margin: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.j-tabs .tab-list {
|
|
30
|
-
display: flex;
|
|
31
|
-
-webkit-overflow-scrolling: touch;
|
|
32
|
-
scroll-behavior: smooth;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.j-tabs[data-tabs-direction='left'] .tab-list,
|
|
36
|
-
.j-tabs[data-tabs-direction='right'] .tab-list {
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.j-tabs .tab-list .tab-item {
|
|
41
|
-
flex-shrink: 0;
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.j-tabs .panel-list {
|
|
46
|
-
flex: 1;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.j-tabs .panel-list .panel-item {
|
|
50
|
-
display: none;
|
|
51
|
-
position: relative;
|
|
52
|
-
min-height: 22px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.j-tabs .panel-list .panel-item[aria-hidden='false'] {
|
|
56
|
-
display: block;
|
|
57
|
-
}
|
|
58
|
-
}
|
package/src/css/tag.css
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.j-tag {
|
|
3
|
-
display: inline-flex;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
align-items: center;
|
|
6
|
-
gap: var(--tag-gap);
|
|
7
|
-
padding: var(--tag-padding);
|
|
8
|
-
height: var(--tag-height);
|
|
9
|
-
line-height: var(--tag-line-height);
|
|
10
|
-
font-size: var(--tag-font-size);
|
|
11
|
-
font-weight: var(--tag-font-weight);
|
|
12
|
-
border-width: var(--tag-border-width);
|
|
13
|
-
border-style: var(--tag-border-style);
|
|
14
|
-
border-color: var(--tag-border-color);
|
|
15
|
-
border-radius: var(--tag-border-radius);
|
|
16
|
-
color: var(--tag-fg);
|
|
17
|
-
background: var(--tag-bg);
|
|
18
|
-
box-shadow: var(--tag-box-shadow);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.j-tag span {
|
|
22
|
-
display: inline-flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.j-tag img,
|
|
28
|
-
.j-tag svg {
|
|
29
|
-
width: var(--tag-icon-size);
|
|
30
|
-
height: var(--tag-icon-size);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.j-tag:hover {
|
|
34
|
-
opacity: var(--opacity-hover);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.j-theme-palette .palette-container,
|
|
3
|
-
.j-theme-palette .palette-item {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.j-theme-palette .items {
|
|
9
|
-
display: grid;
|
|
10
|
-
grid-template-columns: repeat(3, 1fr);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.j-theme-palette .j-button {
|
|
14
|
-
min-width: 0;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.j-theme-palette .j-button .item-hex {
|
|
19
|
-
display: inline-block;
|
|
20
|
-
border-radius: 50%;
|
|
21
|
-
flex-shrink: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.j-theme-palette .j-button .button-text {
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
text-overflow: ellipsis;
|
|
27
|
-
}
|
|
28
|
-
}
|