-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use existing colors only animate when unknown or with flag animate via build caption and progressive rendering
- Loading branch information
1 parent
28e2c16
commit ba0e055
Showing
11 changed files
with
134 additions
and
97 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
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
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
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
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,75 @@ | ||
.app-progress-bar { | ||
--color: var(--accent-color); | ||
|
||
height: 12px; | ||
width: 104px; | ||
padding: 2px; | ||
border-radius: 6px; | ||
background-color: var(--text-color-secondary); | ||
margin-top: 2px; | ||
display: block; | ||
opacity: 1 !important; | ||
|
||
&--error > span { | ||
--color: var(--error-color); | ||
} | ||
|
||
&--unknown { | ||
width: 100%; | ||
} | ||
|
||
&--large { | ||
height: 24px; | ||
width: 208px; | ||
padding: 4px; | ||
border-radius: 12px; | ||
|
||
& > span { | ||
border-radius: 8px !important; | ||
} | ||
} | ||
|
||
& > span { | ||
height: 100%; | ||
min-width: 8%; | ||
background-color: var(--color); | ||
display: block; | ||
border-radius: 4px; | ||
} | ||
|
||
&--animate { | ||
background-image: linear-gradient( | ||
-45deg, | ||
var(--background) 25%, | ||
transparent 25%, | ||
transparent 50%, | ||
var(--background) 50%, | ||
var(--background) 75%, | ||
transparent 75%, | ||
transparent | ||
); | ||
z-index: 1; | ||
background-size: 25px 25px; | ||
animation: progress-bar 5s linear infinite; | ||
|
||
@keyframes progress-bar { | ||
0% { | ||
background-position: 0 0; | ||
} | ||
|
||
100% { | ||
background-position: 25px 25px; | ||
} | ||
} | ||
} | ||
|
||
&:link { | ||
&:hover { | ||
opacity: 0.75 !important; | ||
} | ||
|
||
&:active { | ||
opacity: 0.5 !important; | ||
} | ||
} | ||
} |