Skip to content

Commit

Permalink
[IMP] web_widget_progressbar_gradient: improve stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
rousseldenis committed Nov 15, 2024
1 parent 966916a commit 57b3b57
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions web_widget_progressbar_gradient/static/src/scss/progressbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ div:has(div.o_progressbar_gradient) .o_progressbar .o_progress {
mask: linear-gradient(#fff 0 0);
}

.o_progressbar .o_progress .o_progressbar_gradient.o_inverse::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: linear-gradient(to right, #198754, #ffc107, #dc3545);
}

.o_progressbar .o_progress .o_progressbar_gradient::before {
content: "";
position: absolute;
Expand All @@ -28,3 +18,7 @@ div:has(div.o_progressbar_gradient) .o_progressbar .o_progress {
bottom: 0;
background-image: linear-gradient(to right, #dc3545, #ffc107, #198754);
}

.o_progressbar .o_progress .o_progressbar_gradient.o_inverse::before {
background-image: linear-gradient(to right, #198754, #ffc107, #dc3545);
}

0 comments on commit 57b3b57

Please sign in to comment.