This repository has been archived by the owner on Apr 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #5 from CGWebDev2003/color-shades
[v0.4.0]: Progress bar and button changes
- Loading branch information
Showing
13 changed files
with
324 additions
and
68 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,58 @@ | ||
/* Default progress bar */ | ||
.progress { | ||
position: relative; | ||
width: 25rem; | ||
height: 3rem; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
overflow: hidden; | ||
border: 1px solid var(--background); | ||
border-radius: var(--rounded-m); | ||
background-color: var(--background-light); | ||
} | ||
|
||
.progress .progress-bar { | ||
position: absolute; | ||
left: 0; | ||
width: 0; | ||
height: 100%; | ||
border-radius: var(--rounded-m); | ||
background-color: var(--background); | ||
z-index: 200; | ||
} | ||
|
||
/* Colors */ | ||
/* Primary */ | ||
.progress-primary > .progress-bar { background-color: var(--primary);} | ||
|
||
/* Accent */ | ||
.progress-accent > .progress-bar { background-color: var(--accent);} | ||
|
||
/* Information */ | ||
.progress-info > .progress-bar { background-color: var(--info);} | ||
|
||
/* Success */ | ||
.progress-success > .progress-bar { background-color: var(--success);} | ||
|
||
/* Warning */ | ||
.progress-warning > .progress-bar { background-color: var(--warning);} | ||
|
||
/* Error */ | ||
.progress-error > .progress-bar { background-color: var(--error);} | ||
|
||
/* Sizes */ | ||
/* Progress bar XS */ | ||
.progress-xs { height: .5rem;} | ||
|
||
/* Progress bar S */ | ||
.progress-s { height: 1rem;} | ||
|
||
/* Progress bar M */ | ||
.progress-m { height: 2rem;} | ||
|
||
/* Progress bar L */ | ||
.progress-l { height: 2.5rem;} | ||
|
||
/* Progress bar XL */ | ||
.progress-xl { height: 3rem;} |
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
Oops, something went wrong.