summaryrefslogtreecommitdiffstats
path: root/public/less/_repository.less
diff options
context:
space:
mode:
authormodmew8 <modmew8@gmail.com>2018-01-03 09:34:13 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2018-01-03 02:34:13 -0600
commitd996da6babf505c56802bb2a9afe530dca940d7a (patch)
tree8c6d314ce74e9910bc8f6331b4eee2370be8eb87 /public/less/_repository.less
parent22a7a7ec9b94aad6c689b7e61bee09c2e322fd57 (diff)
downloadgitea-d996da6babf505c56802bb2a9afe530dca940d7a.tar.gz
gitea-d996da6babf505c56802bb2a9afe530dca940d7a.zip
Added progressbar for issues (#1146). (#3171)
* Added progressbar for issues (#1146). * Updated the generated index.css. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed stored progress percentage and changed it to css calc. Also added the issue task progress to the user/dashboard/issues. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed unnecessary blanks. Signed-off-by: modmew8 <modmew8@gmail.com> * Formatted the files correctly, fmt-check terminates now without errors. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed variables, made computing the tasks on demand with precompiled regexp. Signed-off-by: modmew8 <modmew8@gmail.com>
Diffstat (limited to 'public/less/_repository.less')
-rw-r--r--public/less/_repository.less14
1 files changed, 14 insertions, 0 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index a69bc44d65..b4d0ae2f9e 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -1491,6 +1491,20 @@
.desc {
padding-top: 5px;
color: #999;
+ .progress-bar {
+ width: 80px;
+ height: 6px;
+ display: inline-block;
+ background-color: #eee;
+ overflow: hidden;
+ border-radius: 3px;
+ vertical-align: middle !important;
+ .progress {
+ background-color: #ccc;
+ display: block;
+ height: 100%;
+ }
+ }
a.milestone {
padding-left: 5px;
color: #999!important;