-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #742 from thundersdata-frontend/feat/lego
feat: 用动画替代动态背景图
- Loading branch information
Showing
17 changed files
with
207 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@td-design/lego': minor | ||
--- | ||
|
||
feat: 用css动画替代动态背景图 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@prefix: .td-lego-circular-solid-pie; | ||
|
||
@{prefix}-bg { | ||
animation: innerLoading 8s linear infinite; | ||
} | ||
@{prefix}-outer-image { | ||
animation: outerLoading 5s linear infinite; | ||
} | ||
@{prefix}-inner-image { | ||
animation: innerLoading 3s linear infinite; | ||
} | ||
@keyframes innerLoading { | ||
/*以百分比来规定改变发生的时间 也可以通过"from"和"to",等价于0% 和 100%*/ | ||
0% { | ||
/*rotate(2D旋转) scale(放大或者缩小) translate(移动) skew(翻转)*/ | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
@keyframes outerLoading { | ||
/*以百分比来规定改变发生的时间 也可以通过"from"和"to",等价于0% 和 100%*/ | ||
0% { | ||
/*rotate(2D旋转) scale(放大或者缩小) translate(移动) skew(翻转)*/ | ||
transform: rotate(360deg); | ||
} | ||
100% { | ||
transform: rotate(0deg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@prefix: .td-lego-img-pie; | ||
|
||
@{prefix}-image { | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
} | ||
|
||
@{prefix}-bg { | ||
width: 252px; | ||
animation: bgLoading 10s linear infinite; | ||
} | ||
|
||
@keyframes bgLoading { | ||
/*以百分比来规定改变发生的时间 也可以通过"from"和"to",等价于0% 和 100%*/ | ||
0% { | ||
/*rotate(2D旋转) scale(放大或者缩小) translate(移动) skew(翻转)*/ | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@prefix: .td-lego-img-rose-pie; | ||
|
||
@{prefix}-bg { | ||
animation: innerLoading 8s linear infinite; | ||
} | ||
@{prefix}-outer-image { | ||
animation: outerLoading 5s linear infinite; | ||
} | ||
@{prefix}-inner-image { | ||
animation: innerLoading 3s linear infinite; | ||
} | ||
@keyframes innerLoading { | ||
/*以百分比来规定改变发生的时间 也可以通过"from"和"to",等价于0% 和 100%*/ | ||
0% { | ||
/*rotate(2D旋转) scale(放大或者缩小) translate(移动) skew(翻转)*/ | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
@keyframes outerLoading { | ||
/*以百分比来规定改变发生的时间 也可以通过"from"和"to",等价于0% 和 100%*/ | ||
0% { | ||
/*rotate(2D旋转) scale(放大或者缩小) translate(移动) skew(翻转)*/ | ||
transform: rotate(360deg); | ||
} | ||
100% { | ||
transform: rotate(0deg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters