From 7f06bedf11bddf9e2ee4f854e0b6032c52e14d89 Mon Sep 17 00:00:00 2001 From: Cecilie Seim <68303562+tilen1976@users.noreply.github.com> Date: Mon, 22 Apr 2024 15:18:51 +0200 Subject: [PATCH] Add progressbar color for class value in addition to browser values (#307) --- src/datadoc/assets/progressbar_style.css | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/src/datadoc/assets/progressbar_style.css b/src/datadoc/assets/progressbar_style.css index b1db1a2f..94b090da 100644 --- a/src/datadoc/assets/progressbar_style.css +++ b/src/datadoc/assets/progressbar_style.css @@ -6,22 +6,27 @@ background-color: #C3DCDC; } +.progress-bar[value]{ + background-color: #00824D; +} + #progress-bar-label{ position: absolute; top: 145px; left: 25%; z-index: 1; - color: #162327; + color: white; font-weight: 502; - } + progress::-webkit-progress-bar { background-color: #C3DCDC; - } - progress::-webkit-progress-value { - background-color: #1A9D49; - } +} + +progress::-webkit-progress-value { + background-color: #00824D; +} - progress[value]::-moz-progress-bar{ - background-color: #1A9D49; - } +progress[value]::-moz-progress-bar{ + background-color: #00824D; +}