diff options
Diffstat (limited to 'progressbar.css')
| -rw-r--r-- | progressbar.css | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/progressbar.css b/progressbar.css new file mode 100644 index 0000000..0c1300d --- /dev/null +++ b/progressbar.css @@ -0,0 +1,29 @@ +:root { + --progress-bar-height: 6px; + --progress-bar-width: 87%; + --progress-bar-radius: 3px; +} +.progress-bar { + display: flex; + align-items: center; + justify-content: space-between; +} +.progress-bar div.progress-bar__base { + background-color: #bbb; + width: 100%; + height: var(--progress-bar-height); + width: var(--progress-bar-width); + border-radius: var(--progress-bar-radius); + +} +.progress-bar div.progress-bar__progress { + background-color: var(--dark-grey); + width: 68%; /* this can be controlled with javascript to set percent loaded */ + height: var(--progress-bar-height); + border-radius: var(--progress-bar-radius); +} +.progress-bar div.progress-bar__percentage { + font-size: var(--font-size-14); + font-weight: bold; + color: var(--light-grey); +}
\ No newline at end of file |
