@arcblock/ux 3.0.13 → 3.0.14
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/lib/PageScroller/story/FullPage.js +1 -1
- package/lib/PageScroller/story/PageContain.js +1 -1
- package/lib/PageScroller/story/index.css +115 -0
- package/lib/Screenshot/devices.css +1366 -0
- package/lib/Screenshot/index.js +1 -1
- package/package.json +7 -7
- package/vite.config.mjs +1 -1
- package/lib/ux.css +0 -1
@@ -7,7 +7,7 @@ import c from "./SecondComponent.js";
|
|
7
7
|
import u from "./ThirdComponent.js";
|
8
8
|
import d from "./FourthComponent.js";
|
9
9
|
import f from "./FifthComponent.js";
|
10
|
-
|
10
|
+
import "./index.css";
|
11
11
|
function y() {
|
12
12
|
const [e, a] = m(0), n = [];
|
13
13
|
for (let o = 0; o < 5; o++)
|
@@ -7,7 +7,7 @@ import p from "./SecondComponent.js";
|
|
7
7
|
import d from "./ThirdComponent.js";
|
8
8
|
import h from "./FourthComponent.js";
|
9
9
|
import u from "./FifthComponent.js";
|
10
|
-
|
10
|
+
import "./index.css";
|
11
11
|
function F() {
|
12
12
|
const [e, a] = s(0), n = [];
|
13
13
|
for (let o = 0; o < 5; o++)
|
@@ -0,0 +1,115 @@
|
|
1
|
+
html,
|
2
|
+
body {
|
3
|
+
margin: 0;
|
4
|
+
height: 100%;
|
5
|
+
width: 100%;
|
6
|
+
overflow: hidden;
|
7
|
+
}
|
8
|
+
|
9
|
+
.links {
|
10
|
+
display: flex;
|
11
|
+
flex-direction: column;
|
12
|
+
margin-left: 50px;
|
13
|
+
}
|
14
|
+
|
15
|
+
.links .link {
|
16
|
+
margin-top: 20px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.component {
|
20
|
+
height: 100%;
|
21
|
+
width: 100%;
|
22
|
+
display: flex;
|
23
|
+
}
|
24
|
+
|
25
|
+
.component.first-component {
|
26
|
+
background-color: gray;
|
27
|
+
position: relative;
|
28
|
+
}
|
29
|
+
|
30
|
+
.first-component--inside-scroller {
|
31
|
+
position: absolute;
|
32
|
+
right: 20px;
|
33
|
+
top: 100px;
|
34
|
+
}
|
35
|
+
|
36
|
+
.component.second-component {
|
37
|
+
background-color: red;
|
38
|
+
}
|
39
|
+
|
40
|
+
.component.third-component {
|
41
|
+
background-color: blue;
|
42
|
+
}
|
43
|
+
|
44
|
+
.component.fourth-component {
|
45
|
+
background-color: yellow;
|
46
|
+
}
|
47
|
+
|
48
|
+
.component.fifth-component {
|
49
|
+
background-color: purple;
|
50
|
+
}
|
51
|
+
|
52
|
+
h2 {
|
53
|
+
margin: auto;
|
54
|
+
text-align: center;
|
55
|
+
}
|
56
|
+
|
57
|
+
.pagination-additional-class {
|
58
|
+
margin: 0;
|
59
|
+
position: fixed;
|
60
|
+
top: 20px;
|
61
|
+
display: flex;
|
62
|
+
justify-content: center;
|
63
|
+
width: 100%;
|
64
|
+
}
|
65
|
+
|
66
|
+
.pagination-additional-class > li:not(:last-of-type) > a,
|
67
|
+
.pagination-additional-class > li:not(:last-of-type) > span {
|
68
|
+
margin-right: 50px;
|
69
|
+
}
|
70
|
+
|
71
|
+
.demo-page-contain {
|
72
|
+
display: flex;
|
73
|
+
justify-content: center;
|
74
|
+
align-items: center;
|
75
|
+
height: 100vh;
|
76
|
+
flex-direction: column;
|
77
|
+
}
|
78
|
+
|
79
|
+
.demo-page-contain__hint {
|
80
|
+
margin-bottom: 20px;
|
81
|
+
}
|
82
|
+
|
83
|
+
@media (max-width: 768px) {
|
84
|
+
.pagination-additional-class > li:not(:last-of-type) > a,
|
85
|
+
.pagination-additional-class > li:not(:last-of-type) > span {
|
86
|
+
margin-right: 5px;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
.demo-page-full {
|
91
|
+
position: relative;
|
92
|
+
}
|
93
|
+
.progress {
|
94
|
+
position: absolute;
|
95
|
+
left: 0;
|
96
|
+
bottom: 0;
|
97
|
+
width: 0;
|
98
|
+
overflow: hidden;
|
99
|
+
transition: all 0.2s linear;
|
100
|
+
}
|
101
|
+
.progress,
|
102
|
+
.progress:before {
|
103
|
+
height: 6px;
|
104
|
+
}
|
105
|
+
.progress:before {
|
106
|
+
display: block;
|
107
|
+
width: 100%;
|
108
|
+
background-color: #4e6af6;
|
109
|
+
content: '';
|
110
|
+
transform-origin: 0 100%;
|
111
|
+
transform: skewX(45deg);
|
112
|
+
}
|
113
|
+
.progress[style*='100%']:before {
|
114
|
+
transform: none;
|
115
|
+
}
|