今年Redmineに導入してよかったカスタマイズ。 Redmineの進捗度バーに10%ごとに同系色、1%毎に濃くしていくと進捗が一目でわかって捗る。 @for $i from 1 through 100 { table.progress.progress-#{$i} td.closed { @if $i%10 == 0{ background-color: unquote("hsla(#{(floor($i/10))*36}, 100%, 60%, 1)"); } @else { background-color: unquote("hsla(#{(floor($i/10))*36}, 100%, #{($i - 1)*3+73}%, 0.75)"); } } } table.progress.progress-1 td.closed { background-color: hsla(0,
![Redmineの進捗度バーに色付けすると捗る - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/439505f57c552035827b8600b1d9020063ff2082/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-412672c5f0600ab9a64263b751f1bc81.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9UmVkbWluZSVFMyU4MSVBRSVFOSU4MCVCMiVFNiU4RCU5NyVFNSVCQSVBNiVFMyU4MyU5MCVFMyU4MyVCQyVFMyU4MSVBQiVFOCU4OSVCMiVFNCVCQiU5OCVFMyU4MSU5MSVFMyU4MSU5OSVFMyU4MiU4QiVFMyU4MSVBOCVFNiU4RCU5NyVFMyU4MiU4QiZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTU2JnM9MjJkZDExMDllMzkwMjc1MDAzNjQwNjUxOWJiNzk1MTg%26mark-x%3D142%26mark-y%3D57%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9NzcwJnR4dD0lNDBoYWRha2FkZW5reXUmdHh0LWNvbG9yPSUyMzIxMjEyMSZ0eHQtZm9udD1IaXJhZ2lubyUyMFNhbnMlMjBXNiZ0eHQtc2l6ZT0zNiZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZzPWJkYzdhZTFiNjBjNmU0ZGRjN2VjZjU0ZTZhMzJiYzli%26blend-x%3D142%26blend-y%3D486%26blend-mode%3Dnormal%26s%3D53468fcc619fa93e797526f4a4efd156)