diff options
author | Kushal Pandya <kushal@gitlab.com> | 2018-01-15 17:01:28 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2018-01-15 17:01:28 +0530 |
commit | e64890e4ba4205f51ae84ff84020642466bb67ea (patch) | |
tree | 173c718eecefbd0fac40877caae8ebb68e2b9fb2 /app/assets/stylesheets/framework/stacked-progress-bar.scss | |
parent | 4ce5878f619e04bf1ca8c7168cc9bc0642af724c (diff) | |
download | gitlab-ce-e64890e4ba4205f51ae84ff84020642466bb67ea.tar.gz |
StackedProgressBar Component styles
Diffstat (limited to 'app/assets/stylesheets/framework/stacked-progress-bar.scss')
-rw-r--r-- | app/assets/stylesheets/framework/stacked-progress-bar.scss | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/stacked-progress-bar.scss b/app/assets/stylesheets/framework/stacked-progress-bar.scss new file mode 100644 index 00000000000..4869cda73e5 --- /dev/null +++ b/app/assets/stylesheets/framework/stacked-progress-bar.scss @@ -0,0 +1,54 @@ +.stacked-progress-bar { + display: flex; + height: 16px; + border-radius: 10px; + overflow: hidden; + background-color: $theme-gray-100; + + .status-unavailable, + .status-green, + .status-neutral, + .status-red, { + height: 100%; + min-width: 25px; + padding: 0 5px; + font-size: $tooltip-font-size; + font-weight: normal; + color: $white-light; + line-height: 16px; + + &:hover { + cursor: pointer; + } + } + + .status-unavailable { + padding: 0 10px; + color: $theme-gray-700; + } + + .status-green { + background-color: $green-500; + + &:hover { + background-color: $green-600; + } + } + + .status-neutral { + background-color: $theme-gray-200; + color: $gl-gray-dark; + + &:hover { + background-color: $theme-gray-300; + } + } + + .status-red { + background-color: $red-500; + + &:hover { + background-color: $red-600; + } + } +} |