This commit is contained in:
vinicius.reif
2019-09-06 19:40:57 -03:00
parent 075b56fcc6
commit 742991ace8
8 changed files with 286 additions and 75 deletions

View File

@@ -1,4 +1,4 @@
.tui-progress {
.tui-progress-bar {
display: block;
position: relative;
height: 20px;
@@ -6,14 +6,14 @@
background-color: rgb(0, 168, 168);
overflow: hidden;
}
.tui-progress span {
.tui-progress {
position: absolute;
left: 0px;
background-color: rgb(0, 255, 255);
height: 20px;
height: 100%;
display: inline-block;
}
.tui-progress .tui-indeterminate {
.tui-progress-bar .tui-indeterminate {
position: absolute;
left: 0px;
background-color: rgb(0, 255, 255);
@@ -24,6 +24,13 @@
animation-iteration-count: infinite;
animation-timing-function: linear;
}
.tui-progress-label {
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
z-index: 1;
}
@keyframes indeterminate {
from {margin-left: -10%; }
to {margin-left: 100%}