@onepercentio/one-ui 0.8.2 → 0.8.4
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/assets/img/svg/checkbox.svg +3 -0
- package/dist/assets/styles/index.scss +2 -0
- package/dist/assets/styles/mixins.scss +12 -0
- package/dist/assets/styles/variables.scss +51 -0
- package/dist/components/AdaptiveContainer/AdaptiveContainer.module.scss +51 -0
- package/dist/components/AdaptiveDialog/AdaptiveDialog.module.scss +145 -0
- package/dist/components/AdaptiveSidebar/AdaptiveSidebar.module.scss +52 -0
- package/dist/components/AnchoredTooltip/AnchoredTooltip.module.scss +62 -0
- package/dist/components/AnimatedEntrance/AnimatedEntrance.module.scss +107 -0
- package/dist/components/Avatar/Avatar.module.scss +22 -0
- package/dist/components/BucketFill/BucketFill.module.scss +36 -0
- package/dist/components/BucketFill/BucketFill.stories.module.scss +3 -0
- package/dist/components/Button/Button.module.scss +42 -0
- package/dist/components/Card/Card.module.scss +12 -0
- package/dist/components/CheckBox/CheckBox.module.scss +25 -0
- package/dist/components/Collapsable/Collapsable.module.scss +34 -0
- package/dist/components/Divider/Divider.module.scss +7 -0
- package/dist/components/EmailInput/EmailInput.module.scss +0 -0
- package/dist/components/FadeIn/FadeIn.module.scss +18 -0
- package/dist/components/FileInput/FileInput.module.scss +27 -0
- package/dist/components/FlowController/FlowController.module.scss +47 -0
- package/dist/components/Header/Header.module.scss +119 -0
- package/dist/components/HeaderCloseBtn/HeaderCloseBtn.module.scss +44 -0
- package/dist/components/InfinityScroll/InfinityScroll.module.scss +30 -0
- package/dist/components/Input/Input.module.scss +69 -0
- package/dist/components/LinkToId/LinkToId.module.scss +4 -0
- package/dist/components/Loader/Loader.module.scss +40 -0
- package/dist/components/MainGrid/MainGrid.module.scss +28 -0
- package/dist/components/MutableHamburgerButton/MutableHamburgerButton.module.scss +179 -0
- package/dist/components/Notification/Notification.module.scss +25 -0
- package/dist/components/Parallax/Parallax.module.scss +28 -0
- package/dist/components/PasswordInput/PasswordInput.module.scss +11 -0
- package/dist/components/PixelatedScan/PixelatedScan.module.scss +86 -0
- package/dist/components/Portal/Portal.module.scss +3 -0
- package/dist/components/ProgressBar/ProgressBar.module.scss +32 -0
- package/dist/components/ProgressTexts/ProgressTexts.module.scss +37 -0
- package/dist/components/SectionContainer/SectionContainer.module.scss +30 -0
- package/dist/components/Select/Select.module.scss +46 -0
- package/dist/components/Spacing/Spacing.module.scss +13 -0
- package/dist/components/Table/Table.module.scss +76 -0
- package/dist/components/Tabs/Tabs.module.scss +22 -0
- package/dist/components/Text/Text.module.scss +77 -0
- package/dist/components/Transition/Transition.module.scss +188 -0
- package/dist/components/UncontrolledTransition/UncontrolledTransition.stories.module.scss +66 -0
- package/dist/components/utilitary/ScrollAndFocusLock/ScrollAndFocusLock.module.scss +5 -0
- package/dist/hooks/usePagination.js +11 -7
- package/dist/hooks/usePagination.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
@import "../../assets/styles/index.scss";
|
|
2
|
+
|
|
3
|
+
$animationDurationMs: 2000;
|
|
4
|
+
|
|
5
|
+
@value animationDuration #{$animationDurationMs};
|
|
6
|
+
|
|
7
|
+
$animationDuration: #{$animationDurationMs}ms;
|
|
8
|
+
|
|
9
|
+
.guide {
|
|
10
|
+
width: 100%;
|
|
11
|
+
position: absolute;
|
|
12
|
+
animation-duration: $animationDuration;
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
justify-content: flex-end;
|
|
16
|
+
animation-fill-mode: forwards;
|
|
17
|
+
animation-timing-function: linear;
|
|
18
|
+
min-height: 10px;
|
|
19
|
+
top: 0;
|
|
20
|
+
&::after {
|
|
21
|
+
content: " ";
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 10px;
|
|
24
|
+
background: $pixelatedGuideBackground;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.grid {
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: 0px;
|
|
31
|
+
right: 0px;
|
|
32
|
+
left: 0px;
|
|
33
|
+
bottom: 0px;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
> * {
|
|
36
|
+
display: flex;
|
|
37
|
+
opacity: 0;
|
|
38
|
+
&.guide {
|
|
39
|
+
opacity: 1;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
&.inverse {
|
|
43
|
+
transform: rotateX(180deg);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.gridItem {
|
|
48
|
+
background-color: var(--pixel-color);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.gridAnimate {
|
|
52
|
+
animation-duration: #{$animationDurationMs}ms;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.iterate {
|
|
56
|
+
.guide {
|
|
57
|
+
animation-name: upAndDown;
|
|
58
|
+
}
|
|
59
|
+
.gridAnimate {
|
|
60
|
+
animation-name: onAndOff;
|
|
61
|
+
will-change: opacity;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@keyframes onAndOff {
|
|
66
|
+
0% {
|
|
67
|
+
opacity: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
10% {
|
|
71
|
+
opacity: 1;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
100% {
|
|
75
|
+
opacity: 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@keyframes upAndDown {
|
|
80
|
+
0% {
|
|
81
|
+
height: 0%;
|
|
82
|
+
}
|
|
83
|
+
100% {
|
|
84
|
+
height: 100%;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
@import "../../assets/styles/index.scss";
|
|
3
|
+
|
|
4
|
+
.container {
|
|
5
|
+
margin: 0.375em;
|
|
6
|
+
height: 0.25em;
|
|
7
|
+
background-color: red;
|
|
8
|
+
position: relative;
|
|
9
|
+
border-radius: math.div(0.25em, 2);
|
|
10
|
+
background: var(--progress-bar-bg, #0000);
|
|
11
|
+
> :first-child {
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
background-color: green;
|
|
16
|
+
height: inherit;
|
|
17
|
+
border-top-left-radius: math.div(0.25em, 2);
|
|
18
|
+
border-bottom-left-radius: math.div(0.25em, 2);
|
|
19
|
+
background: var(--progress-bar-bar, var(--digital-blue));
|
|
20
|
+
transition: width var(--animation-speed-transition, $fast) ease-out;
|
|
21
|
+
}
|
|
22
|
+
> :last-child {
|
|
23
|
+
position: absolute;
|
|
24
|
+
margin-top: math.div(-0.5em, 1.25);
|
|
25
|
+
margin-left: -0.5em;
|
|
26
|
+
height: 1em;
|
|
27
|
+
width: 1em;
|
|
28
|
+
border-radius: 0.5em;
|
|
29
|
+
transition: left var(--animation-speed-transition, $fast) ease-out;
|
|
30
|
+
background: var(--progress-bar-guide, var(--digital-blue));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@import "../../assets/styles/index.scss";
|
|
2
|
+
|
|
3
|
+
.container {
|
|
4
|
+
font-family: Manrope;
|
|
5
|
+
transition: max-height $slow;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
max-height: 0px;
|
|
8
|
+
* {
|
|
9
|
+
text-align: left;
|
|
10
|
+
}
|
|
11
|
+
button {
|
|
12
|
+
text-align: center;
|
|
13
|
+
}
|
|
14
|
+
h1 {
|
|
15
|
+
font-weight: bold;
|
|
16
|
+
font-size: 34px;
|
|
17
|
+
line-height: 41px;
|
|
18
|
+
color: $spaceBlue !important;
|
|
19
|
+
}
|
|
20
|
+
p {
|
|
21
|
+
font-family: Roboto;
|
|
22
|
+
font-size: 22px;
|
|
23
|
+
line-height: 33px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.hidden {
|
|
28
|
+
max-height: 0px !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.loading * {
|
|
32
|
+
color: $spaceBlue !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.disabled * {
|
|
36
|
+
color: $mediumGray !important;
|
|
37
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.root {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
.content {
|
|
8
|
+
width: 100%;
|
|
9
|
+
max-width: 1200px;
|
|
10
|
+
&.decorated {
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.decoration {
|
|
15
|
+
position: absolute;
|
|
16
|
+
bottom: 0px;
|
|
17
|
+
left: 0px;
|
|
18
|
+
width: 16px;
|
|
19
|
+
height: 16px;
|
|
20
|
+
&.light {
|
|
21
|
+
background-color: white;
|
|
22
|
+
}
|
|
23
|
+
&.dark {
|
|
24
|
+
background-color: black;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
h1 {
|
|
28
|
+
margin-bottom: 24px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@import "../../assets/styles/index.scss";
|
|
2
|
+
|
|
3
|
+
> :last-child {
|
|
4
|
+
position: absolute;
|
|
5
|
+
right: 0px;
|
|
6
|
+
z-index: 100;
|
|
7
|
+
}
|
|
8
|
+
.items > * {
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
background: $mainBackgroundColor;
|
|
11
|
+
padding: 12px 32px;
|
|
12
|
+
margin-bottom: 8px;
|
|
13
|
+
margin-left: 4px;
|
|
14
|
+
margin-right: 4px;
|
|
15
|
+
text-align: left;
|
|
16
|
+
border-radius: 4px;
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
&.selected {
|
|
19
|
+
background-color: $lightGray;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.empty {
|
|
23
|
+
opacity: 0.3;
|
|
24
|
+
}
|
|
25
|
+
.input {
|
|
26
|
+
transition: opacity $fast;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
padding-right: 30px;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
text-overflow: ellipsis;
|
|
31
|
+
}
|
|
32
|
+
.indicator {
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
transition: transform $fast;
|
|
37
|
+
min-height: inherit;
|
|
38
|
+
transform: rotateX(0deg);
|
|
39
|
+
}
|
|
40
|
+
.open {
|
|
41
|
+
transform: rotateX(180deg);
|
|
42
|
+
}
|
|
43
|
+
.optionsContainer {
|
|
44
|
+
margin: 0px 8px;
|
|
45
|
+
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.16);
|
|
46
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
@import "../../assets/styles/index.scss";
|
|
2
|
+
|
|
3
|
+
.transitionContainer {
|
|
4
|
+
min-height: auto;
|
|
5
|
+
max-width: 100vw;
|
|
6
|
+
overflow: auto;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.container {
|
|
10
|
+
font-family: $mainFontFamily;
|
|
11
|
+
padding: 0px 4px;
|
|
12
|
+
width: 100%;
|
|
13
|
+
position: relative;
|
|
14
|
+
border-spacing: 0px;
|
|
15
|
+
th {
|
|
16
|
+
font-family: 14px;
|
|
17
|
+
line-height: 28px;
|
|
18
|
+
text-align: start;
|
|
19
|
+
font-weight: normal;
|
|
20
|
+
}
|
|
21
|
+
td,
|
|
22
|
+
th {
|
|
23
|
+
padding: 20px;
|
|
24
|
+
}
|
|
25
|
+
tbody tr {
|
|
26
|
+
background-color: $tableRowBgColor;
|
|
27
|
+
&:first-child td {
|
|
28
|
+
&:first-child {
|
|
29
|
+
border-top-left-radius: 8px;
|
|
30
|
+
}
|
|
31
|
+
&:last-child {
|
|
32
|
+
border-top-right-radius: 8px;
|
|
33
|
+
}
|
|
34
|
+
border-top: 1px solid $tableRowBorderColor;
|
|
35
|
+
}
|
|
36
|
+
&:last-child td {
|
|
37
|
+
&:first-child {
|
|
38
|
+
border-bottom-left-radius: 8px;
|
|
39
|
+
}
|
|
40
|
+
&:last-child {
|
|
41
|
+
border-bottom-right-radius: 8px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
td {
|
|
45
|
+
border-bottom: 1px solid $tableRowBorderColor;
|
|
46
|
+
&:first-child {
|
|
47
|
+
border-left: 1px solid $tableRowBorderColor;
|
|
48
|
+
}
|
|
49
|
+
&:last-child {
|
|
50
|
+
border-right: 1px solid $tableRowBorderColor;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.footer {
|
|
56
|
+
padding: 0px 4px;
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: flex-end;
|
|
60
|
+
--button-min-width: auto;
|
|
61
|
+
--button-min-height: auto;
|
|
62
|
+
|
|
63
|
+
.paging {
|
|
64
|
+
font-family: $mainFontFamily;
|
|
65
|
+
color: $digitalBlue;
|
|
66
|
+
margin: 0px 12px;
|
|
67
|
+
font-size: 18px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.iterable {
|
|
72
|
+
@include iteractibleElement;
|
|
73
|
+
&:first-child {
|
|
74
|
+
margin-left: auto;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@import "../../assets/styles/index.scss";
|
|
2
|
+
|
|
3
|
+
.container {
|
|
4
|
+
overflow-x: auto;
|
|
5
|
+
display: flex;
|
|
6
|
+
position: relative;
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
p {
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
margin: 1em 2em;
|
|
11
|
+
&.selected {
|
|
12
|
+
font-weight: bold;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.guide {
|
|
18
|
+
height: 0.1em;
|
|
19
|
+
background-color: $digitalBlue;
|
|
20
|
+
position: absolute;
|
|
21
|
+
transition: left $fast, width $fast, top $fast;
|
|
22
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@import "../../assets/styles/index.scss";
|
|
2
|
+
|
|
3
|
+
.title {
|
|
4
|
+
font-weight: 300;
|
|
5
|
+
font-size: 22px;
|
|
6
|
+
line-height: 33px;
|
|
7
|
+
}
|
|
8
|
+
.boldTitle {
|
|
9
|
+
font-family: $secondaryFontFamily;
|
|
10
|
+
font-size: 24px;
|
|
11
|
+
font-weight: bolder;
|
|
12
|
+
line-height: 26px;
|
|
13
|
+
}
|
|
14
|
+
.boldTitleBig {
|
|
15
|
+
font-family: $secondaryFontFamily;
|
|
16
|
+
font-size: 28px;
|
|
17
|
+
font-weight: bolder;
|
|
18
|
+
line-height: 33.8px;
|
|
19
|
+
}
|
|
20
|
+
.content {
|
|
21
|
+
font-size: 16px;
|
|
22
|
+
line-height: 24px;
|
|
23
|
+
font-family: $mainFontFamily;
|
|
24
|
+
}
|
|
25
|
+
.icon.description {
|
|
26
|
+
font-size: 14px;
|
|
27
|
+
line-height: 21px;
|
|
28
|
+
color: $darkestGray;
|
|
29
|
+
}
|
|
30
|
+
.text.error,
|
|
31
|
+
.text.caption {
|
|
32
|
+
font-size: 12px;
|
|
33
|
+
line-height: 18px;
|
|
34
|
+
}
|
|
35
|
+
.text.error {
|
|
36
|
+
color: $warningRed;
|
|
37
|
+
}
|
|
38
|
+
.text {
|
|
39
|
+
margin: 0px;
|
|
40
|
+
font-family: $mainFontFamily;
|
|
41
|
+
white-space: pre-wrap;
|
|
42
|
+
color: $textDefaultColor;
|
|
43
|
+
}
|
|
44
|
+
.highlightTitle {
|
|
45
|
+
font-family: $secondaryFontFamily;
|
|
46
|
+
font-size: 24px;
|
|
47
|
+
font-weight: bolder;
|
|
48
|
+
line-height: 29px;
|
|
49
|
+
color: $sunsetPink;
|
|
50
|
+
}
|
|
51
|
+
.subtitle {
|
|
52
|
+
font-family: $secondaryFontFamily;
|
|
53
|
+
font-size: 20px;
|
|
54
|
+
font-weight: 800;
|
|
55
|
+
line-height: 22px;
|
|
56
|
+
color: var(--text-default-color, $gray);
|
|
57
|
+
}
|
|
58
|
+
.link {
|
|
59
|
+
font-family: $mainFontFamily;
|
|
60
|
+
font-size: 12px;
|
|
61
|
+
font-weight: 400;
|
|
62
|
+
line-height: 18px;
|
|
63
|
+
}
|
|
64
|
+
.iteractible {
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
&:hover {
|
|
67
|
+
text-decoration: underline;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.highlight {
|
|
72
|
+
font-family: $secondaryFontFamily;
|
|
73
|
+
font-size: 14px;
|
|
74
|
+
font-weight: 500;
|
|
75
|
+
line-height: 20px;
|
|
76
|
+
color: $sunsetPink;
|
|
77
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
@import "../../assets/styles/index.scss";
|
|
2
|
+
|
|
3
|
+
.section {
|
|
4
|
+
* {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
}
|
|
7
|
+
position: relative;
|
|
8
|
+
min-height: 250px;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
> div {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
min-height: inherit;
|
|
15
|
+
min-width: 100%;
|
|
16
|
+
animation-duration: var(--animation-speed-transition, $fast);
|
|
17
|
+
animation-timing-function: var(--animation-timing-transition, initial);
|
|
18
|
+
animation-fill-mode: forwards;
|
|
19
|
+
transform-origin: inherit;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
div.entranceLeft {
|
|
24
|
+
animation-name: entranceLeft;
|
|
25
|
+
}
|
|
26
|
+
div.exitLeft {
|
|
27
|
+
animation-name: exitLeft;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@keyframes entranceLeft {
|
|
31
|
+
0% {
|
|
32
|
+
margin-left: -100%;
|
|
33
|
+
}
|
|
34
|
+
100% {
|
|
35
|
+
margin-left: 0%;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
@keyframes exitLeft {
|
|
39
|
+
0% {
|
|
40
|
+
margin-left: 0%;
|
|
41
|
+
}
|
|
42
|
+
100% {
|
|
43
|
+
margin-left: -100%;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
div.fadeOut {
|
|
48
|
+
animation-name: fadeOut;
|
|
49
|
+
position: absolute;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@keyframes fadeOut {
|
|
53
|
+
0% {
|
|
54
|
+
opacity: 1;
|
|
55
|
+
}
|
|
56
|
+
100% {
|
|
57
|
+
opacity: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
div.scaleIn {
|
|
62
|
+
animation-fill-mode: forwards;
|
|
63
|
+
animation-name: scaleIn;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@keyframes scaleIn {
|
|
67
|
+
0% {
|
|
68
|
+
transform: scale(0);
|
|
69
|
+
}
|
|
70
|
+
100% {
|
|
71
|
+
transform: scale(1);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
div.scaleOut {
|
|
76
|
+
animation-fill-mode: initial;
|
|
77
|
+
animation-name: scaleOut;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@keyframes scaleOut {
|
|
81
|
+
0% {
|
|
82
|
+
position: absolute;
|
|
83
|
+
transform: scale(1);
|
|
84
|
+
}
|
|
85
|
+
100% {
|
|
86
|
+
position: absolute;
|
|
87
|
+
transform: scale(0);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
div.fadeIn {
|
|
92
|
+
animation-name: fadeIn;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@keyframes fadeIn {
|
|
96
|
+
0% {
|
|
97
|
+
opacity: 0;
|
|
98
|
+
}
|
|
99
|
+
100% {
|
|
100
|
+
opacity: 1;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@keyframes fadeInDelayed {
|
|
105
|
+
0% {
|
|
106
|
+
opacity: 0;
|
|
107
|
+
}
|
|
108
|
+
50% {
|
|
109
|
+
opacity: 0.1;
|
|
110
|
+
}
|
|
111
|
+
100% {
|
|
112
|
+
opacity: 1;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
@keyframes fadeOutDelayed {
|
|
116
|
+
0% {
|
|
117
|
+
opacity: 1;
|
|
118
|
+
}
|
|
119
|
+
50% {
|
|
120
|
+
opacity: 0.1;
|
|
121
|
+
}
|
|
122
|
+
100% {
|
|
123
|
+
opacity: 0;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.fadeInDelayed {
|
|
128
|
+
animation-name: fadeInDelayed;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.fadeOutAbsolute {
|
|
132
|
+
position: absolute;
|
|
133
|
+
animation-name: fadeOutDelayed;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@keyframes flip {
|
|
137
|
+
0% {
|
|
138
|
+
transform: rotateX(0deg);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
25% {
|
|
142
|
+
transform: rotateX(36deg);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
50% {
|
|
146
|
+
transform: rotateX(90deg);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
75% {
|
|
150
|
+
transform: rotateX(90deg);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
100% {
|
|
154
|
+
transform: rotateX(90deg);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
@keyframes flipIn {
|
|
158
|
+
0% {
|
|
159
|
+
transform: rotateX(90deg);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
25% {
|
|
163
|
+
transform: rotateX(90deg);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
50% {
|
|
167
|
+
transform: rotateX(90deg);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
75% {
|
|
171
|
+
transform: rotateX(36deg);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
100% {
|
|
175
|
+
transform: rotateX(0deg);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
.flipBottomUpOut {
|
|
179
|
+
transform-origin: 50% 50% !important;
|
|
180
|
+
position: absolute !important;
|
|
181
|
+
animation-name: flip;
|
|
182
|
+
animation-timing-function: linear !important;
|
|
183
|
+
}
|
|
184
|
+
.flipBottomUpIn {
|
|
185
|
+
transform-origin: 50% 50% !important;
|
|
186
|
+
animation-name: flipIn;
|
|
187
|
+
animation-timing-function: linear !important;
|
|
188
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
.animatedContainer {
|
|
2
|
+
position: relative;
|
|
3
|
+
animation-name: pingpong;
|
|
4
|
+
animation-duration: 5s;
|
|
5
|
+
animation-iteration-count: infinite;
|
|
6
|
+
animation-timing-function: linear;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.resetHeight {
|
|
10
|
+
min-height: initial;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@keyframes pingpong {
|
|
14
|
+
0% {
|
|
15
|
+
left: 0%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
50% {
|
|
19
|
+
left: calc(100% - 100px);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
100% {
|
|
23
|
+
left: 0%;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
.fadeOut {
|
|
27
|
+
animation: fadeOutAnimation;
|
|
28
|
+
animation-duration: 2s !important;
|
|
29
|
+
animation-timing-function: linear;
|
|
30
|
+
position: absolute;
|
|
31
|
+
}
|
|
32
|
+
.outOfTheWay {
|
|
33
|
+
animation: fadeOutAnimation;
|
|
34
|
+
animation-duration: 2s !important;
|
|
35
|
+
animation-timing-function: linear;
|
|
36
|
+
position: absolute;
|
|
37
|
+
}
|
|
38
|
+
.fadeIn {
|
|
39
|
+
animation: fadeIn;
|
|
40
|
+
animation-duration: 2s !important;
|
|
41
|
+
animation-timing-function: linear;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@keyframes fadeIn {
|
|
45
|
+
0% {
|
|
46
|
+
background-color: green;
|
|
47
|
+
opacity: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
100% {
|
|
51
|
+
background-color: green;
|
|
52
|
+
opacity: 1;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@keyframes fadeOutAnimation {
|
|
57
|
+
0% {
|
|
58
|
+
background-color: red;
|
|
59
|
+
opacity: 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
100% {
|
|
63
|
+
background-color: red;
|
|
64
|
+
opacity: 0;
|
|
65
|
+
}
|
|
66
|
+
}
|