Skip to content

Commit dce1f8d

Browse files
committed
Use Bootstrap's progress bar styling
1 parent e50d599 commit dce1f8d

2 files changed

Lines changed: 1 addition & 20 deletions

File tree

src/style.css

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -103,25 +103,6 @@ ul.links-row li:not(:first-child)::before {
103103
margin-right: 0.5ch;
104104
}
105105

106-
/* ------------------------------ Index ------------------------------------- */
107-
108-
.progress-bar-container {
109-
border-radius: 4px;
110-
border: 1px solid rgba(0, 0, 0, 0.2);
111-
height: 20px;
112-
overflow: hidden;
113-
position: relative;
114-
}
115-
116-
.progress-bar {
117-
display: inline-block;
118-
color: white;
119-
height: 100%;
120-
line-height: 20px;
121-
border-top-left-radius: 3px;
122-
border-bottom-left-radius: 3px;
123-
}
124-
125106
/* ------------------------------ Metadata ---------------------------------- */
126107

127108
table {

templates/progress_bar.html.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- width: numeric width percentage (0-100)
44
- change: numeric change value (same units as width) or falsy
55
#}
6-
<div class="progress-bar-container {{ extra_container_class }}">
6+
<div class="progress {{ extra_container_class }}">
77
<div class="progress-bar" style="width: {{ width }}%;
88
{% if change and width %}
99
{# compute the relative change percentage safely #}

0 commit comments

Comments
 (0)